[dv] Verilator unused parameter handling

Forward a currently unused parameter.

Disable error exit for warnings. Newer Verilator versions will fail if
for example parameters are unused. As this test does not cover
everything, allow those warning to be printed, but not fail the build.
This commit is contained in:
Tobias Wölfel 2021-01-18 14:53:27 +01:00 committed by Tobias Wölfel
parent ca31ca43f3
commit d315c38527
2 changed files with 2 additions and 0 deletions

View file

@ -59,6 +59,7 @@ module tb_cs_registers #(
/* verilator lint_off PINMISSING */
ibex_cs_registers #(
.DbgTriggerEn (DbgTriggerEn),
.ICache (ICache),
.MHPMCounterNum (MHPMCounterNum),
.MHPMCounterWidth (MHPMCounterWidth),
.PMPEnable (PMPEnable),

View file

@ -124,3 +124,4 @@ targets:
- '-CFLAGS "-std=c++14 -Wall -DTOPLEVEL_NAME=tb_cs_registers -DVM_TRACE_FMT_FST -g"'
- '-LDFLAGS "-pthread -lutil -lelf"'
- "-Wall"
- '-Wno-fatal' # Do not fail on (style) issues, only warn about them.