Commentary
This commit is contained in:
parent
3adb22e971
commit
2031bc7fc4
|
|
@ -39,6 +39,8 @@ int main(int argc, char **argv, char **env) {
|
||||||
top->clk = ~top->clk;
|
top->clk = ~top->clk;
|
||||||
top->eval();
|
top->eval();
|
||||||
tfp->dump((unsigned int)(main_time));
|
tfp->dump((unsigned int)(main_time));
|
||||||
|
// Advance by 0.5 time units, to make sure our fractional
|
||||||
|
// time is working correctly
|
||||||
main_time += VL_TIME_MULTIPLIER/2;
|
main_time += VL_TIME_MULTIPLIER/2;
|
||||||
}
|
}
|
||||||
tfp->close();
|
tfp->close();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue