这是我第一次尝试生成 VCD,但遇到了一些麻烦。
我有一个名为 bench_minimips.vhdl 的测试平台,其中包含实体 sim_minimips。
我想模拟它并从中得到一个VCD。
我在 Modelsim shell 中输入以下命令:
vsim work.sim_minimips
vcd file myvcd1.vcd
vcd add -file bench_minimips.vhd/*
run
但是如果我在空文件中打开 myvcd1.vcd 。我应该做什么来创建转储?
我在另一个论坛中尝试并建议了该命令:
wlf2vcd -o myvcd2.vcd vsim.wlf
但生成了错误。
我真的很困惑,因为我找到的所有网站都告诉你使用由 altera 或其他公司生成的 TCL,但我没有他们的内容可供查看。
有人知道我应该做什么吗?
最好的,
斯特凡诺
It's the first time i try to generate a VCD and i am getting some troubles.
I have a testbench called bench_minimips.vhdl that contain the entity sim_minimips.
I want simulate it and get a VCD out of it.
i am typing the following command in the Modelsim shell:
vsim work.sim_minimips
vcd file myvcd1.vcd
vcd add -file bench_minimips.vhd/*
run
but if i open myvcd1.vcd in an empty file. What should i do to create the dump?
I tryed as well as sudgested in another forum the command:
wlf2vcd -o myvcd2.vcd vsim.wlf
but a error is generated.
I am really lost in understanding because all the websites i find tells you to use a TCL generated by altera or some other company and i do not have theyr content to look at.
Does someone knows what should i do?
Best,
Stefano
发布评论
评论(1)
vcd add
的-file
参数不用于指定信号,而是用于指定 VCD 的名称(如果您创建了多个 VCD)。相反,您想要做的是在模拟中添加对象。例如:
The
-file
parameter tovcd add
is not used to specify signals but the name of the VCD (if you've created several).What you want to do instead is to add objects in your simulation. For example: