From 4da9d3beafcd4484c43c8e3d5e7072b88e4ec6ec Mon Sep 17 00:00:00 2001 From: Hunter Nichols Date: Sun, 30 May 2021 23:58:24 -0700 Subject: [PATCH] Removed config file as a prereq in makefile due to errors. Changes in config file will not result in a re-simming of that configuration now and will require a clean. --- compiler/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/Makefile b/compiler/Makefile index 5eecdbc7..175f628e 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -1,4 +1,4 @@ -TECH = freepdk45 +TECH = scn4m_subm CUR_DIR = $(shell pwd) TEST_DIR = ${CUR_DIR}/tests @@ -83,7 +83,7 @@ OPTS += -n # Verbosity #OPTS += -v # Spice -OPTS += -s hspice +#OPTS += -s hspice .PHONY: model @@ -91,7 +91,7 @@ model: $(STAMPS) mkdir -p $(CSV_DIR) python3 $(OPENRAM_HOME)/model_data_util.py $(SIM_DIR) $(CSV_DIR) -%.ok: $(DIR)/$(addsuffix .py, $(notdir %)) +%.ok: $(eval bname=$(basename $(notdir $<))) mkdir -p $(SIM_DIR)/$(bname) -python3 $(OPENRAM_HOME)/openram.py $(OPTS) -p $(SIM_DIR)/$(bname) -o $(bname) -t $(TECH) $< 2>&1 > /dev/null