From 33f05839b7815a5a18a2b920dba4549d2bd7ce16 Mon Sep 17 00:00:00 2001 From: Wojciech Kosior Date: Sat, 10 Oct 2020 16:56:48 +0200 Subject: fix yosys synthesis --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index dff217c..39f1f1b 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +PROJ_DIR := . + include Makefile.config include Makefile.util include tools/Makefile.tools @@ -14,7 +16,8 @@ all : design.bin design.v : design/rom.mem design/*.v - $(IV) -E $(filter %.v,$^) -DROM_WORDS_COUNT=$(call FILE_LINES,$<) -o $@ + $(IV) -Iinclude/ -E $(filter %.v,$^) \ + -DROM_WORDS_COUNT=$(call FILE_LINES,$<) -o $@ design.json : design.v design/rom.mem design/font.mem $(YOSYS) -p 'read_verilog -defer $<' \ -- cgit v1.2.3