mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2024-10-01 01:45:38 -04:00
FPGA: Ignore lint warnings in cell library
For Verilator >5.019 `-Wno-GENUNNAMED` needs to be added to LINT_FLAGS to silence warnings from the cell library. Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
bb4469ffda
commit
49e81be1e1
@ -186,7 +186,10 @@ check-binary-hashes:
|
||||
# Source linting.
|
||||
#-------------------------------------------------------------------
|
||||
LINT=verilator
|
||||
LINT_FLAGS = +1364-2005ext+ --lint-only -Wall -Wno-DECLFILENAME \
|
||||
# For Verilator 5.019 -Wno-GENUNNAMED needs to be added to LINT_FLAGS for the
|
||||
# cell library.
|
||||
LINT_FLAGS = +1364-2005ext+ --lint-only \
|
||||
-Wall -Wno-DECLFILENAME -Wno-WIDTHEXPAND \
|
||||
--timescale 1ns/1ns -DNO_ICE40_DEFAULT_ASSIGNMENTS
|
||||
|
||||
lint: $(FPGA_SRC) $(VERILOG_SRCS) $(ICE40_SIM_CELLS)
|
||||
|
Loading…
Reference in New Issue
Block a user