mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
Fix examples not flushing vcd (#2787).
This commit is contained in:
parent
36eb952b60
commit
2b72218dd8
2
Changes
2
Changes
@ -9,6 +9,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
|
|||||||
|
|
||||||
**** Fix $fread extra semicolon inside statements. [Leendert van Doorn]
|
**** Fix $fread extra semicolon inside statements. [Leendert van Doorn]
|
||||||
|
|
||||||
|
**** Fix examples not flushing vcd (#2787). [Richard E George]
|
||||||
|
|
||||||
|
|
||||||
* Verilator 4.108 2021-01-10
|
* Verilator 4.108 2021-01-10
|
||||||
|
|
||||||
|
@ -38,5 +38,5 @@ int main(int argc, char** argv, char** env) {
|
|||||||
delete top;
|
delete top;
|
||||||
|
|
||||||
// Return good completion status
|
// Return good completion status
|
||||||
exit(0);
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -71,5 +71,6 @@ int main(int argc, char** argv, char** env) {
|
|||||||
top = nullptr;
|
top = nullptr;
|
||||||
|
|
||||||
// Return good completion status
|
// Return good completion status
|
||||||
exit(0);
|
// Don't use exit() or destructor won't get called
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -102,5 +102,6 @@ int main(int argc, char** argv, char** env) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Return good completion status
|
// Return good completion status
|
||||||
exit(0);
|
// Don't use exit() or destructor won't get called
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user