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 04-05-2006, 12:31 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.

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

For the 1.3 series, no, it's not currently possible.

It supposedly is available with Manchester's code fork (the 2.0pre
series) but I have not verified that feature or its stability. I plan
on promoting 1.3 to 3.0 in the near future so pause/restart is
"potentially" on my to-do list but it is not a priority as there are
more pressing feature adds in development.

http://ivi.sourceforge.net/ might be more along the lines of what you
need. gtkwave was intended to be a post-mortem simulation analysis
tool, not one that can run in lockstep with a simulator.

-Tony

Reply With Quote
  #3 (permalink)  
Old 04-05-2006, 04:59 PM
Stephen Williams
Guest
 
Posts: n/a
Default Re: Pause and resume functionality in GTKWave Viewer.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] wrote:
> For the 1.3 series, no, it's not currently possible.
>
> It supposedly is available with Manchester's code fork (the 2.0pre
> series) but I have not verified that feature or its stability. I plan
> on promoting 1.3 to 3.0 in the near future so pause/restart is
> "potentially" on my to-do list but it is not a priority as there are
> more pressing feature adds in development.



Actually, there is some minimal support. First, the LXT2 format
that Icarus Verilog can dump can be read incrementally. It writes
out in blocks, and you can start gtkwave on the dumpfile while
Icarus Verilog is still simulating. "man vvp" to learn how to
activate different dumpers.

Second, the run time engine can be paused with a Ctrl-C. This gets
you a prompt. Then at the prompt, type $dumpflush to flush the
current dumper state. You can resume with the continue command.
But again, gtkwave doesn't automatically load additional data if
the dump file grows, you need to restart it.

- --
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
http://www.icarus.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEM+lirPt1Sc2b3ikRAvtOAKCapb0KVFCLUmky/CH+dIrsMwtkfQCfVO85
eQ4VKkVCEPLHeRePMpBrG/8=
=Rx/S
-----END PGP SIGNATURE-----
Reply With Quote
  #4 (permalink)  
Old 04-06-2006, 04:58 AM
mk
Guest
 
Posts: n/a
Default Re: Pause and resume functionality in GTKWave Viewer.

On 5 Apr 2006 08:30:06 -0700, [email protected] wrote:

>For the 1.3 series, no, it's not currently possible.
>
>It supposedly is available with Manchester's code fork (the 2.0pre
>series) but I have not verified that feature or its stability. I plan
>on promoting 1.3 to 3.0 in the near future so pause/restart is
>"potentially" on my to-do list but it is not a priority as there are
>more pressing feature adds in development.


Is there a list of features you're considering for 3.0 ? Are you
taking requests? Supporting re-reading of growing lxt2 files would be
nice. Especially given that more simulators will support generating
lxt2 files pretty soon ;-)
Reply With Quote
  #5 (permalink)  
Old 04-06-2006, 07:08 PM
Guest
 
Posts: n/a
Default Re: Pause and resume functionality in GTKWave Viewer.

Kal,

Glad to see you're working on getting the LXT2 API to do what you want.
=)

Stuff on the list of features are things like source code annotation,
model traversals, a real instruction manual, more SMP capabilities in
the file readers, etc. Right now there's already a bunch of stuff
people generally don't know about such as being able to attach
disassemblers to the viewer so they can work in realtime with each
other. (Read ALIAS_README.TXT in the root directory.) Then there's
correlating sim logfiles with the waveform display, etc. Basically,
it's stuff I've recently needed in order to do my day job...

Dumpfile re-reading is certainly doable given enough brain surgery in
the viewer, but given the existance of savefiles, enough of the viewer
state is present so it's not a strict necessity. The main reason it's
not there is that sim jobs I run can take a half an hour or an hour so
it's not like I need to reload a dumpfile as I don't generate dumpfiles
in place as they're created by a sim pool.

-Tony

Reply With Quote
  #6 (permalink)  
Old 04-07-2006, 05:42 AM
Guest
 
Posts: n/a
Default Re: Pause and resume functionality in GTKWave Viewer.

[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.


Thank you all for your help. It was really appreciated.
-Amit.

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
gtkwave-1.3.63 [email protected] Verilog 2 07-25-2005 10:07 PM
break statement functionality in non-blocking verilog code newsreader Verilog 3 05-21-2004 04:09 PM
Resume: Design Verification Consultant (Specman) Veritec Verilog 0 10-10-2003 07:39 PM
Resume: Design Verification Consultant (Specman) Veritec Verilog 2 09-26-2003 08:24 PM
ncverilog PLI tf_{get,set}workarea non functionality Peter Riocreux Verilog 1 09-11-2003 08:01 PM


All times are GMT +1. The time now is 12:30 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