mirror of
https://github.com/olofk/serv.git
synced 2025-04-22 04:47:16 -04:00
Use internal reset
This commit is contained in:
parent
f66f82a57a
commit
0362192769
1 changed files with 0 additions and 3 deletions
|
@ -42,15 +42,12 @@ int main(int argc, char **argv, char **env)
|
|||
signal(SIGINT, INThandler);
|
||||
|
||||
top->wb_clk = 1;
|
||||
top->wb_rst = 1;
|
||||
|
||||
while (!(done || Verilated::gotFinish())) {
|
||||
top->eval();
|
||||
tfp->dump(main_time);
|
||||
top->wb_clk = !top->wb_clk;
|
||||
main_time+=5;
|
||||
if (main_time > 100)
|
||||
top->wb_rst = false;
|
||||
}
|
||||
tfp->close();
|
||||
exit(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue