verilog可用的FSDB dump命令

verilog可用的FSDB dump命令

命令总览

$fsdbAutoSwitchDumpfile
$fsdbDumpfile
$fsdbDumpflush
$fsdbDumpon, $fsdbDumpoff
$fsdbDumpvars
$fsdbDumpvarsByFile
$fsdbDumpvarsES
$fsdbDumpFinish
$fsdbDumpMDA
$fsdbDumpSVA
$fsdbLog
$fsdbReplay
$fsdbSuppress
$fsdbSwitchDumpfile

命令描述

详见附件

$fsdbDumpfile

描述
To specify the FSDB file name created by the Novas object files for FSDB dumping. If not specified, the default FSDB file name is “novas.fsdb”. This command is valid only before $fsdbDumpvars is executed and is ignored if specified after $fsdbDumpvars.

To restrict the largest dump file size to the user-defined size limitation, please specify the limit size in megabyte format. This function will affect the FSDB file that is specified in “FSDB_Name”. The FSDB dumper uses the sliding window scheme to keep the last signal values in the FSDB file. It drops the old values if file size exceeds the user-specified limitation.

For $fsdbDumpvars, $fsdbDumpMDA, $fsdbDumpvarsES, $fsdbDumpSVA and $fsdbDumpvarsByFile, user can use the option “+fsdbfile+filename.fsdb” to specify the target FSDB file to dump. It is equal to using $fsdbDumpfile then $fsdbDumpvars.

语法
$fsdbDumpfile(“FSDB_Name” | FSDB_Name_var [ ,Limit_Size | ,Limit_Size_var ]);

FSDB_Name
Specify the name of the FSDB file generated by the Novas object files for FSDB dumping.
FSDB_Name_var
Specify the FSDB file name in a variable.
Limit_Size
Specify the maximum FSDB file size in megabyte.
Limit_Size_var
Specify the maximum FSDB file size in a variable.

举例

$fsdbDumpfile("novas.fsdb", 32);
/* Specify dump file as novas.fsdb and limit to 32 megabytes */
$fsdbDumpvars(0, design_top);

fsdbAutoSwitchDumpfile

描述
Automatically switch to a new dump file when the working FSDB file hits the
specified size limitation. The unit associated with $fsdbAutoSwitchDumpfile’s
File_Size parameter is a megabyte.

语法
$fsdbAutoSwitchDumpfile(File_Size | File_Size_var, “FSDB_Name” | FSDB_Name_var, Number_of_Files | Number_of_Files_var
[ ,“log_filename” | ,log_filename_var ]);

File_Size
The FSDB file size limit.
File_Size_var
Specify the FSDB file size in a variable.
FSDB_Name
Specify the FSDB file generated by the Novas object files for FSDB dumping.
FSDB_Name_var
Specify the FSDB file name in a variable.
Number_of_Files
The maximum number of FSDB files to generate.
Number_of_Files_var
Specify the maximum number of FSDB files to generate in a variable.
Log_filename
This argument is optional. Specify the file name for the log file.
log_filename_var
Specify the log file name in a variable.

举例

$fsdbAutoSwitchDumpfile(10, "test.fsdb", 20);
$fsdbDumpvars(0, system);
  • 23
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值