Skip to content

Commit

Permalink
Allow parallel compilation of the verilated model
Browse files Browse the repository at this point in the history
  • Loading branch information
tilk committed Mar 21, 2024
1 parent 044b125 commit 5074fbc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/regression/cocotb/benchmark.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SIM_BUILD = build/benchmark
# Yosys/Amaranth borkedness workaround
ifeq ($(SIM),verilator)
EXTRA_ARGS += -Wno-CASEINCOMPLETE -Wno-CASEOVERLAP -Wno-WIDTHEXPAND -Wno-WIDTHTRUNC
BUILD_ARGS += -j`nproc`
endif

ifeq ($(TRACES),1)
Expand Down
1 change: 1 addition & 0 deletions test/regression/cocotb/signature.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SIM_BUILD = build/signature
# Yosys/Amaranth borkedness workaround
ifeq ($(SIM),verilator)
EXTRA_ARGS += -Wno-CASEINCOMPLETE -Wno-CASEOVERLAP -Wno-WIDTHEXPAND -Wno-WIDTHTRUNC
BUILD_ARGS += -j`nproc`
endif

ifeq ($(TRACES),1)
Expand Down
1 change: 1 addition & 0 deletions test/regression/cocotb/test.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ SIM_BUILD = build/test
# Yosys/Amaranth borkedness workaround
ifeq ($(SIM),verilator)
EXTRA_ARGS += -Wno-CASEINCOMPLETE -Wno-CASEOVERLAP -Wno-WIDTHEXPAND -Wno-WIDTHTRUNC
BUILD_ARGS += -j`nproc`
endif

ifeq ($(TRACES),1)
Expand Down

0 comments on commit 5074fbc

Please sign in to comment.