VCS/Xcelium dump fsdb

Demo

set fsdb_fn top.fsdb; #$env{TSNANE}.fsdb

set log_fn top.fsdb.log;

set mbyte_cont 1000; 

set file_cnt 30;

Xcelium:

call fsdbAutoSwitchDumpfile $mbyte_cnt \"$fsdb_fn\" $file_cnt \"$log_fn\"

call fsdbDumpvars 0 top

run; quit;

VCS:

call \$fsdbAutoSwitchDumpfile($mbyte_cnt, \"$fsdb_fn\", $file_cnt, \"$log_fn\")

call {$fsdbDumpvars(0, top)};

Questa:

fsdbAutoSwitchDumpfile $mbyte_cnt $fsdb_fn $file_cnt $log_fn

fsdbDumpvars 0 top;

 

二维数据

在dump fsdb的地方加上

$fsdbDumpfile(test_fsdb);

$fsdbDumpvars(0,"+all", tb_top);

$fsdbDumpon();

 

// dump assertion waveform

$fsdbDumpSVA;

 

在vcs command需要加:

-P $VERDI/share/PLI/VCS/LINUX64/novas.tab $VERDI/share/PLI/VCS/LINUX64/pli.a

 

fsdbdump task

包括fsdbAutoSwitchDumpfile

http://www.eetop.cn/blog/html/55/1518355-433684.html

或者

https://eecad.wordpress.com/2014/08/29/dump-waveform-in-multiple-files/

使用TCL

编写xx.fsdb

  fsdbDumpfile test.fsdb

  fsdbDumpvars 0 tb_top

  fsdbDumpvars 0 top.instance

  run

 vcs ucli -i xx.fsdb

xrun -input xxx.fsdb


版权声明:本文为ocarvb原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。