diff --git a/bin/verilator b/bin/verilator index 046baf81f..aed3ef2d6 100755 --- a/bin/verilator +++ b/bin/verilator @@ -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