From 81de94503094cbaee6a1b43909ade9c0a366d6eb Mon Sep 17 00:00:00 2001 From: Sean Anderson Date: Mon, 20 Feb 2023 23:03:57 -0500 Subject: [PATCH] Makefile: Silence warnings about array sensitivity Icarus verilog complains if you are sensitive to every element in an array: rtl/mii_elastic_buffer.v:78: warning: @* is sensitive to all 5 words in array 'data'. This makes sense if you intend to synthesize this array to a block RAM, but not really if it's supposed to be registers. Silence this warning. Signed-off-by: Sean Anderson --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 42891bd..a2a6505 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,11 @@ endef %.place.v: %.place.json %.v $(run-jsontov) +IFLAGS := -g2012 -gspecify -Wall # Don't warn about including the timescale from common.vh -IFLAGS := -g2012 -gspecify -Wall -Wno-timescale +IFLAGS += -Wno-timescale +# Don't warn about mem2reg sensitivity +IFLAGS += -Wno-sensitivity-entire-array EXTRA_V := rtl/iverilog_dump.v define run-icarus =