FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > Verilog

Verilog comp.lang.verilog newsgroup / usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-07-2006, 07:20 PM
Guest
 
Posts: n/a
Default Pause and resume functionality in GTKWave Viewer.

| Hi All,
| I am using Icarus Verilog compiler and GTKWave as a viewer.
| My question is, can I pause a simulation in Icarus, take a .vcd dump
| (till the paused point), view it in GTKWave and then continue the
| simulation till another point, again pause it there and view the
| results of the second part without loading a new dump altogether ?
|
| I have tried to find out whether this is possible in GTKWave (using
| whatever online help that's available), but couldn't get anywhere.
|
| Any help on this would be really appreciated.
|
| Thanks in advance,
| Amit.

In gtkwave-3.0.8:

1) Create named pipe in your filesystem: mkfifo filename.vcd
2) Use the filename in (1) as the name of your dumpfile:
$dumpfile("filename.vcd")
3) shmidcat filename.vcd | gtkwave -v -I filename.sav

....there is no need to pause simulation. You can watch the VCD build
in progress as it is read from the named pipe if you zoom out far
enough. The scrollbar at the bottom of the screen will also
shrink/move to reflect the growing status of the VCD file.

-t

Reply With Quote
  #2 (permalink)  
Old 08-08-2006, 09:34 PM
mk
Guest
 
Posts: n/a
Default Re: Pause and resume functionality in GTKWave Viewer.

On 7 Aug 2006 10:20:23 -0700, [email protected] wrote:

>| Hi All,
>| I am using Icarus Verilog compiler and GTKWave as a viewer.
>| My question is, can I pause a simulation in Icarus, take a .vcd dump
>| (till the paused point), view it in GTKWave and then continue the
>| simulation till another point, again pause it there and view the
>| results of the second part without loading a new dump altogether ?
>|
>| I have tried to find out whether this is possible in GTKWave (using
>| whatever online help that's available), but couldn't get anywhere.
>|
>| Any help on this would be really appreciated.
>|
>| Thanks in advance,
>| Amit.
>
>In gtkwave-3.0.8:
>
>1) Create named pipe in your filesystem: mkfifo filename.vcd
>2) Use the filename in (1) as the name of your dumpfile:
>$dumpfile("filename.vcd")
>3) shmidcat filename.vcd | gtkwave -v -I filename.sav
>
>...there is no need to pause simulation. You can watch the VCD build
>in progress as it is read from the named pipe if you zoom out far
>enough. The scrollbar at the bottom of the screen will also
>shrink/move to reflect the growing status of the VCD file.
>
>-t


Does this also work under windows ?
BTW, 3.0.8 binary of GTKWave for windows is available here:
http://www.dspia.com/gtkwave.html
Reply With Quote
  #3 (permalink)  
Old 08-08-2006, 11:26 PM
Guest
 
Posts: n/a
Default Re: Pause and resume functionality in GTKWave Viewer.

mk wrote:

> Does this also work under windows ?
> BTW, 3.0.8 binary of GTKWave for windows is available here:
> http://www.dspia.com/gtkwave.html


Nope, the dynamic loading/interactive feature doesn't work under
windows (yet) as I haven't looked up how to establish shared memory
handles under Win32.

-t

Reply With Quote
  #4 (permalink)  
Old 08-10-2006, 10:25 PM
Guest
 
Posts: n/a
Default Re: Pause and resume functionality in GTKWave Viewer.

mk wrote:

> BTW, 3.0.8 binary of GTKWave for windows is available here:
> http://www.dspia.com/gtkwave.html


In 3.0.9, I pushed out a quick fix today for a bug in 3.0.8 for
dynamically loaded traces (blank traces cause a viewer crash), but this
doesn't affect the windows version so there's no need for a recompile
of it.

-t

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADD WINGS TO YOUR RESUME !!!! Gopi Verilog 0 05-15-2006 04:51 PM
Pause and resume functionality in GTKWave Viewer. [email protected] Verilog 5 04-07-2006 06:42 AM
break statement functionality in non-blocking verilog code newsreader Verilog 3 05-21-2004 05:09 PM
Resume: Design Verification Consultant (Specman) Veritec Verilog 0 10-10-2003 08:39 PM
ncverilog PLI tf_{get,set}workarea non functionality Peter Riocreux Verilog 1 09-11-2003 09:01 PM


All times are GMT +1. The time now is 12:15 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved