IC验证仿真时Dump波形时fsdbDumpvars的参数介绍

fsdb系统任务

$fsdbDumpfile(“file_name.fsdb”);
$fsdbAutoSwitchDumpfile(1000,"wave.fsdb",10,"fsdb_dump.log")
$fsdbDumpvars(0,"top.dut")
$fsdbDumpFlush
$fsdbDumpon
$fsdbDumpoff
$fsdbDumpFinish

$fsdbDumpvars 有三个参数:depth,scope和parameter。

depth:用来设置hierarchy tree层级结构的最大深度

scope:用来设置从哪个scope开始

parameter:用来控制某些特殊功能的打开或者关闭

使用方法:$fsdbDumpvars(depth, scope, parameter)

这三个参数是位置无关的,所以也可以这样写$fsdbDumpvars(depth, parameter,scope)

下面重点记录下各个parameter

"+mda"
Dump all memory and MDA signals in all scopes specified in fsdbDumpvars option or the entire design if no scope is specified. This option is covered by the "+all" option and is effective for SystemVerilog's MDAs only. For VCS users, the VCS option "+memcbk" may be needed while compiling the desing

"+packedmda"
Only dump the packed signals in the design (without array and memory types).

For example:

                                                     Table for packedmda and mda


"+functions"
Set to enable dumping the signals in function and task

"+Reg_Only"
Only reg type signals are dumped

"+packedmda"
dumps the packed signals in the desing. see example in table above

"+all"
dumps all

"+struct"
Dumps all structs in all scopes specified in fsdbDumpvars or in the entire design if no scope is specified

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值