Skip to content

Commit

Permalink
Merge pull request #400 from zapta/develop
Browse files Browse the repository at this point in the history
Added supression of verilator MULTITOP warnings in apio lint command.
  • Loading branch information
Obijuan authored Sep 3, 2024
2 parents 67d7cc5 + dcd1da4 commit b0b18ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apio/resources/ecp5/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ if 'test' in COMMAND_LINE_TARGETS:

# -- Verilator builder
verilator_builder = Builder(
action='verilator --lint-only --timing -Wno-TIMESCALEMOD -v {0}/ecp5/cells_sim.v {1} {2} {3} {4} $SOURCES'.format(
action='verilator --lint-only --timing -Wno-TIMESCALEMOD -Wno-MULTITOP -v {0}/ecp5/cells_sim.v {1} {2} {3} {4} $SOURCES'.format(
YOSYS_PATH,
'-Wall' if VERILATOR_ALL else '',
'-Wno-style' if VERILATOR_NO_STYLE else '',
Expand Down
2 changes: 1 addition & 1 deletion apio/resources/gowin/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ if 'test' in COMMAND_LINE_TARGETS:

# -- Verilator builder
verilator_builder = Builder(
action='verilator --lint-only --timing -Wno-TIMESCALEMOD {0} {1} {2} {3} $SOURCES'.format(
action='verilator --lint-only --timing -Wno-TIMESCALEMOD -Wno-MULTITOP {0} {1} {2} {3} $SOURCES'.format(
'-Wall' if VERILATOR_ALL else '',
'-Wno-style' if VERILATOR_NO_STYLE else '',
VERILATOR_PARAM_STR if VERILATOR_PARAM_STR else '',
Expand Down
2 changes: 1 addition & 1 deletion apio/resources/ice40/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ if 'test' in COMMAND_LINE_TARGETS:

# -- Verilator builder
verilator_builder = Builder(
action='verilator --lint-only --timing -Wno-TIMESCALEMOD {0} {1} {2} {3} $SOURCES'.format(
action='verilator --lint-only --timing -Wno-TIMESCALEMOD -Wno-MULTITOP {0} {1} {2} {3} $SOURCES'.format(
'-Wall' if VERILATOR_ALL else '',
'-Wno-style' if VERILATOR_NO_STYLE else '',
VERILATOR_PARAM_STR if VERILATOR_PARAM_STR else '',
Expand Down

0 comments on commit b0b18ac

Please sign in to comment.