verilator/test_regress
Tobias Wölfel 18f8cd0529
Allow assert disable (#2168)
* Add +verilator+noassert flag

This allows to disable the assert check per simulation argument.

* Add AssertOn check for assert

Insert the check AssertOn to allow disabling of asserts.
Asserts can be disabled by not using the `--assert` flag or by calling
`AssertOn(false)`, or passing the "+verilator+noassert" runtime flag.
Add tests for this behavior.
Bad tests check that the assert still causes a stop.
Non bad tests check that asserts are properly disabled and cause no stop
of the simulation.

Fixes #2162.

Signed-off-by: Tobias Wölfel <tobias.woelfel@mailbox.org>

* Correct file location

Signed-off-by: Tobias Wölfel <tobias.woelfel@mailbox.org>

* Add description for single test execution

Without this description it is not obvious how to run a single test from
the regression test suite.

Signed-off-by: Tobias Wölfel <tobias.woelfel@mailbox.org>
2020-02-15 18:17:23 -06:00
..
t Allow assert disable (#2168) 2020-02-15 18:17:23 -06:00
.gdbinit Debug: Add default .gdbinit file 2012-03-02 20:59:47 -05:00
.gitignore Add XSim support to driver.pl, bug1493. 2019-08-29 17:00:49 -04:00
CMakeLists.txt Update copyright year. 2020-01-06 18:05:53 -05:00
Makefile Spelling fixes 2020-01-24 20:10:44 -05:00
Makefile_obj Update copyright year. 2020-01-06 18:05:53 -05:00
driver.pl tests: Driver style fix. 2020-02-03 18:43:56 -05:00
input.vc Tests: Check for and remove trailing newlines 2019-05-13 19:47:52 -04:00
input.xsim.vc Add XSim support to driver.pl, bug1493. 2019-08-29 17:00:49 -04:00
vgen.pl Fix shebang breaking some shells. Closes #2067. 2020-01-09 20:01:12 -05:00