From 52bf8d09d7dae2f1741029537c29731c4eb6b261 Mon Sep 17 00:00:00 2001 From: Hunter Nichols Date: Tue, 25 May 2021 15:21:32 -0700 Subject: [PATCH] Added tech dir to model output so different tech dont overwrite the outputs of eachother. --- compiler/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/Makefile b/compiler/Makefile index d3e26c11..73bd5aa4 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -1,4 +1,4 @@ -TECH = scn4m_subm +TECH = freepdk45 CUR_DIR = $(shell pwd) TEST_DIR = ${CUR_DIR}/tests @@ -90,8 +90,8 @@ model: $(MODEL_CONFIGS) $(MODEL_CONFIGS): $(eval bname=$(basename $(notdir $@))) - mkdir -p $(SIM_DIR)/$(bname) - python3 $(OPENRAM_HOME)/openram.py $(OPTS) -p $(SIM_DIR)/$(bname) -o $(bname) $@ 2>&1 > /dev/null + mkdir -p $(SIM_DIR)/$(TECH)/$(bname) + python3 $(OPENRAM_HOME)/openram.py $(OPTS) -p $(SIM_DIR)/$(TECH)/$(bname) -o $(bname) -t $(TECH) $@ 2>&1 > /dev/null clean: find . -name \*.pyc -exec rm {} \;