> sim RTL
ysyx_22040000 李心杨 Linux calcite 6.1.65 #1-NixOS SMP PREEMPT_DYNAMIC Sun Dec 3 06:32:13 UTC 2023 x86_64 GNU/Linux 19:57:21 up 22:55, 2 users, load average: 1.18, 0.73, 0.57
This commit is contained in:
parent
8b71fb7db5
commit
d3d2eaf59e
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ int main(int argc, char **argv, char **env) {
|
||||||
int round = 100;
|
int round = 100;
|
||||||
Verilated::commandArgs(argc, argv);
|
Verilated::commandArgs(argc, argv);
|
||||||
Vexample *top = new Vexample;
|
Vexample *top = new Vexample;
|
||||||
|
|
||||||
|
Verilated::traceEverOn(true);
|
||||||
VerilatedVcdC *m_trace = new VerilatedVcdC;
|
VerilatedVcdC *m_trace = new VerilatedVcdC;
|
||||||
top->trace(m_trace, 5);
|
top->trace(m_trace, 5);
|
||||||
m_trace->open("waveform.vcd");
|
m_trace->open("waveform.vcd");
|
||||||
|
|
Loading…
Reference in a new issue