Rework macros to run ROM tests too.

This commit is contained in:
mrg
2023-03-30 11:30:50 -07:00
committed by Jacob Walker
parent eec0f02bb8
commit 041c738cb2
33 changed files with 43 additions and 22 deletions
+4 -3
View File
@@ -1,11 +1,12 @@
OPENRAM_HOME := $(abspath $(TOP_DIR)/compiler)
OPENRAM_TECH := $(abspath $(TOP_DIR)/technology)
OPENRAM_COMPILER := $(abspath $(TOP_DIR)/sram_compiler.py)
SRAM_COMPILER := $(abspath $(TOP_DIR)/sram_compiler.py)
ROM_COMPILER := $(abspath $(TOP_DIR)/rom_compiler.py)
PDK_ROOT ?= $(TOP_DIR)
ifeq (,$(wildcard $(OPENRAM_COMPILER)))
$(error Did not find '$(OPENRAM_COMPILER)' in '$(OPENRAM_HOME)' (from $$OPENRAM_HOME))
ifeq (,$(wildcard $(SRAM_COMPILER)))
$(error Did not find '$(SRAM_COMPILER)' in '$(OPENRAM_HOME)' (from $$OPENRAM_HOME))
endif
export OPENRAM_HOME
export OPENRAM_TECH