ncverilog仿真查看周期
时间: 2023-10-10 11:10:24 浏览: 230
在ncverilog仿真中,您可以使用`+ncstatus`选项来查看仿真的周期信息。具体操作步骤如下:
1. 打开终端,并进入ncverilog所在的工作目录;
2. 运行以下命令启动仿真,并在命令后面添加`+ncstatus`选项:
```
ncverilog <仿真文件名> +ncstatus
```
3. 仿真运行时,您将看到类似于以下输出的周期信息:
```
# ** Note: $ncsim has started the simulation with the following command line arguments:
# +access+r <仿真文件名> +ncstatus
#
# ** Note: (vsim-3813) Design is being optimized...
#
# ** Note: (vsim-3813) Design is being optimized...
#
# ** Note: (ncsim-3435) Simulation is running...
#
# ** Note: (ncsim-3435) cycle-count=1
#
# ** Note: (ncsim-3435) cycle-count=2
#
# ** Note: (ncsim-3435) cycle-count=3
# ...
```
其中,`cycle-count`表示仿真运行的周期数。您可以在仿真运行过程中随时查看这个信息,以了解仿真的进展情况。
阅读全文