Waveform files

200 views
Skip to first unread message

Abel Alaniz

unread,
Jun 20, 2017, 5:56:50 PM6/20/17
to SVUnit User Group
Is there any command line options to dump a wave file into our output directory.    

Thanks
-Abel

Jerry Page

unread,
Jun 20, 2017, 6:01:19 PM6/20/17
to SVUnit User Group
What simulator?

David Stanford

unread,
Sep 11, 2017, 4:42:22 PM9/11/17
to SVUnit User Group

use the -r option when calling runSVUnit and pass it a .do file that contains log -r /*.

log_all_to_wlf.do file contents:
log -r /*

then on the command line:
runSVUnit -s modelsim -r “-do log_all_to_wlf.do”

Abel Alaniz

unread,
Sep 26, 2017, 12:03:38 PM9/26/17
to SVUnit User Group
Hi Jerry,

My simulator is VCS.    So this is a simulator option and not an SVUnit option.

Thanks,

Abel

Jerry Page

unread,
Sep 26, 2017, 4:20:16 PM9/26/17
to SVUnit User Group
Hi Abel:

It is still a SVUnit option to pass switches to the simulator, so David Stanford is correct that you will be using SVUnit's -r option.  I believe that for every simulator switch you add it needs to have it's own -r switch for svunit.

Sorry for taking so long to reply Abel... Unfortunately I currently don't have access to Synopsys simulators or licenses, so I can't verify the exact switches needed to dump wave files.  Perhaps one of the other users on this list can supply the correct switches for vcs?.

With Questa, I use: runSVUnit -s questa -r -voptargs=+acc -r -gui
Then when the GUI comes up, first do a "log -r /*" to make sure everything is logged correctly in the resulting .wlf file.  Or you can pass in a dofile with that command as David's email shows. Leave off the -gui switch and it will run in batch by default.

With Cadence, I believe it's simply adding a -r +gui to SVUnit if you want the gui, then add the specific switches you need to direct the output to either Verdi or SimVision waveform DBs.  Remember each simulator switch requires a separate -r switch for SVUnit. 
Reply all
Reply to author
Forward
0 new messages