1. FSDB Dump Command Supported Simulators
2.General Dumping Commands
$fsdbDumpfile("FSDB_Name" | FSDB_Name_var [ ,Limit_Size | ,Limit_Size_var ]);
This command closes all FSDB files in the current simulation and stops dumping of signals.
This command forces the signal values to be flushed to the FSDB file while the simulation is running.
- The user uses Ctrl-C to break the simulation.
2.4 $fsdbDumpon
$fsdbDumpon([ "option"| option_var| ]);
$fsdbDumpoff([ "option"| option_var]);
$fsdbDumpvars([ depth, | "level=",depth_var, ] [instance | "instance=",instance_var] [ ,"option" | ,"option=",option_var ]*);
option: "+mda", "+all", "+fsdbfile+filename"
$fsdbDumpvars(1, "instance=", instance_string);
Use Environment Variable(s) in the String Argument
$fsdbLog(["label"], ["message"], [severity], ["stream_name"] [["format"]*, variables | "string"]* );
$fsdbLog( , , , , var1);
2.8 $fsdbDumpSVA
参考文章《fsdbDump用法》、《fdsb那些事》《将fsdb波形文件dump到多个文件中》
eg: simv +fsdb+dump_log=off可以关闭novas_dump.log
2.10 使用TCL
fsdbDumpfile test.fsdb
fsdbDumpvars 0 tb_top
fsdbDumpvars 0 top.instance
vcs ucli -i ucli.do
xrun -input ucli.do
run 0
show
set name [get tb_top.testname]
$name.fsdb -type FSDB dump -file
dump -add tb_top -depth 0 -fsdb_opt +sva -aggregates -fid FSDB0
run
########################################
### call {cmd}
### call {$fsdbDumpvars(0, tb_top)};
#### dump after a break
fsdbDumpfile break.fsdb
fsdbDumpvars 0 top
fsdbDumpoff
continue -command {fsdbDumpon} stop -file tb.v -line 13 -once -
run
quit
另外,由于微信群已经超过200人,添加小编的微信,拉你进入WX学习群。
最后的最后,如果对您有帮助,希望点个“在看”。好好学习,天天向上!