mirror of https://github.com/VLSIDA/OpenRAM.git
Change pdk path in root directory mount command.
This commit is contained in:
parent
d30f05a1ae
commit
ef7120c5cd
5
Makefile
5
Makefile
|
|
@ -183,8 +183,9 @@ macros:
|
|||
|
||||
mount:
|
||||
@docker run -it -v $(TOP_DIR):/openram \
|
||||
-v $(SKY130_PDK):$(SKY130_PDK) \
|
||||
-e PDK_ROOT=$(PDK_ROOT) \
|
||||
-v $(PDK_ROOT):/pdk \
|
||||
-e PDK_ROOT=/pdk \
|
||||
-e PDKPATH=/pdk/sky130A \
|
||||
-e OPENRAM_HOME=/openram/compiler \
|
||||
-e OPENRAM_TECH=/openram/technology \
|
||||
-v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro \
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ OPENRAM_HOME := $(abspath $(TOP_DIR)/compiler)
|
|||
OPENRAM_TECH := $(abspath $(TOP_DIR)/technology)
|
||||
OPENRAM_COMPILER := $(OPENRAM_HOME)/openram.py
|
||||
|
||||
PDK_ROOT = $(TOP_DIR)
|
||||
PDK_ROOT ?= $(TOP_DIR)
|
||||
|
||||
ifeq (,$(wildcard $(OPENRAM_COMPILER)))
|
||||
$(error Did not find '$(OPENRAM_COMPILER)' in '$(OPENRAM_HOME)' (from $$OPENRAM_HOME))
|
||||
|
|
|
|||
Loading…
Reference in New Issue