mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Commentary
This commit is contained in:
parent
e81abdb616
commit
7cc7afca04
@ -1972,7 +1972,7 @@ We'll compile this example into C++.
|
||||
Vour* top = new Vour;
|
||||
while (!Verilated::gotFinish()) { top->eval(); }
|
||||
delete top;
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
|
||||
@ -2043,7 +2043,7 @@ This is an example similar to the above, but using SystemC.
|
||||
top->clk(clk);
|
||||
while (!Verilated::gotFinish()) { sc_start(1, SC_NS); }
|
||||
delete top;
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
|
||||
@ -2704,7 +2704,7 @@ accesses the above signal "readme" would be:
|
||||
read_and_check();
|
||||
}
|
||||
delete top;
|
||||
exit(0);
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user