verilator/include
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
..
gtkwave Merge from upstream gtkwave includes. 2020-01-23 17:48:27 -05:00
vltstd Support IEEE 1800-2017 as default language. 2018-03-12 22:26:34 -04:00
.gitignore Support VPI product info, warning calls, etc, bug588. 2013-01-17 21:40:37 -05:00
verilated_config.h.in Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_cov_key.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_cov.cpp Internals: Add VL_OVERRIDE to includes. No functional change intended. 2020-01-21 18:02:23 -05:00
verilated_cov.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_dpi.cpp Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_dpi.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_fst_c.cpp Fix GCC 4.4.7 errors. 2020-02-08 07:09:41 -05:00
verilated_fst_c.h Fix tracing -1 index arrays. Closes #2090. 2020-01-08 07:32:31 -05:00
verilated_heavy.h Clang warning fix. 2020-01-15 07:27:04 -05:00
verilated_imp.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_save.cpp Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_save.h Internals: Add VL_OVERRIDE to includes. No functional change intended. 2020-01-21 18:02:23 -05:00
verilated_sc.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_sym_props.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_syms.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_threads.cpp Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_threads.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_unordered_set_map.h Internals: Create VL_DO_DANGLING. No functional change intended. 2020-01-16 20:17:11 -05:00
verilated_vcd_c.cpp Fix tracing -1 index arrays. Closes #2090. 2020-01-08 07:32:31 -05:00
verilated_vcd_c.h Fix tracing -1 index arrays. Closes #2090. 2020-01-08 07:32:31 -05:00
verilated_vcd_sc.cpp Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_vcd_sc.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated_vpi.cpp Internals: Fix cppcheck warning including missing init. 2020-02-03 22:10:29 -05:00
verilated_vpi.h Update copyright year. 2020-01-06 18:05:53 -05:00
verilated.cpp Allow assert disable (#2168) 2020-02-15 18:17:23 -06:00
verilated.h Support / with assoc arrarys. Closes #2100. 2020-01-14 07:01:17 -05:00
verilated.mk.in Update copyright year. 2020-01-06 18:05:53 -05:00
verilated.v Update copyright year. 2020-01-06 18:05:53 -05:00
verilatedos.h Add VL_CACHE_LINE_BYTES and use 64 as defult. 2020-02-01 20:28:03 -05:00