Revert Verilator external IP flags
This commit is contained in:
@@ -88,8 +88,7 @@ VERILATOR_OPT_FLAGS := \
|
|||||||
--output-split 10000 \
|
--output-split 10000 \
|
||||||
--output-split-cfuncs 10000
|
--output-split-cfuncs 10000
|
||||||
|
|
||||||
# default flags added for ariane (-Wno-fatal needed for -Wall to not cause
|
# default flags added for external IP (ariane/NVDLA)
|
||||||
# a crash, since 1000s of warnings are generated)
|
|
||||||
VERILOG_IP_VERILATOR_FLAGS := \
|
VERILOG_IP_VERILATOR_FLAGS := \
|
||||||
--unroll-count 256 \
|
--unroll-count 256 \
|
||||||
-Werror-PINMISSING \
|
-Werror-PINMISSING \
|
||||||
@@ -100,12 +99,13 @@ VERILOG_IP_VERILATOR_FLAGS := \
|
|||||||
-Wno-UNUSED \
|
-Wno-UNUSED \
|
||||||
-Wno-UNOPTFLAT \
|
-Wno-UNOPTFLAT \
|
||||||
-Wno-BLKANDNBLK \
|
-Wno-BLKANDNBLK \
|
||||||
-Wno-fatal
|
-Wno-style \
|
||||||
|
-Wall
|
||||||
|
|
||||||
# normal flags used for chipyard builds (that are incompatible with vlog ip aka ariane)
|
# normal flags used for chipyard builds (that are incompatible with vlog ip aka ariane)
|
||||||
CHIPYARD_VERILATOR_FLAGS :=
|
CHIPYARD_VERILATOR_FLAGS :=
|
||||||
|
|
||||||
# options dependent on whether ariane/NVDLA or chipyard is used
|
# options dependent on whether external IP (ariane/NVDLA) or just chipyard is used
|
||||||
# NOTE: defer the evaluation of this until it is used!
|
# NOTE: defer the evaluation of this until it is used!
|
||||||
PLATFORM_OPTS = $(shell \
|
PLATFORM_OPTS = $(shell \
|
||||||
if grep -qiP "module\s+(Ariane|NVDLA)" $(build_dir)/*.*v; \
|
if grep -qiP "module\s+(Ariane|NVDLA)" $(build_dir)/*.*v; \
|
||||||
|
|||||||
Reference in New Issue
Block a user