From: <ni...@ly...> - 2019-10-14 21:08:31
|
Stephen Williams <st...@ic...> writes: > I have a bug report for Icarus Verilog requesting that $fatal cause > the vvp program to return EXIT_FAILURE or some-such, instead of > EXIT_SUCCESS like all other variants of $finish. In my verilog test programs, I currently use $finish_and_return(1) to indicate failure to the test driver script. If that can be replaced with $fatal (which I take is more standard?), that would be nice. How do other simulators implement $fatal? If Icarus departs from conventions by returning EXIT_FAILURE, then I would better stay with $finish_and_return(1) which will fail in a more obvious way if not using Icarus. Regards, /Niels -- Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677. Internet email is subject to wholesale government surveillance. |