mirror of https://github.com/VLSIDA/OpenRAM.git
updated the open_pdks commit and added the gf180 pdk build target
This commit is contained in:
parent
a904874978
commit
8a5b0b4898
19
Makefile
19
Makefile
|
|
@ -18,7 +18,8 @@ SRAM_LIB_GIT_COMMIT ?= dd64256961317205343a3fd446908b42bafba388
|
|||
# Open PDKs
|
||||
OPEN_PDKS_DIR ?= $(PDK_ROOT)/open_pdks
|
||||
OPEN_PDKS_GIT_REPO ?= https://github.com/RTimothyEdwards/open_pdks.git
|
||||
OPEN_PDKS_GIT_COMMIT ?= 1.0.311
|
||||
# OPEN_PDKS_GIT_COMMIT ?= 1.0.311
|
||||
OPEN_PDKS_GIT_COMMIT ?= 1.0.395
|
||||
#OPEN_PDKS_GIT_COMMIT ?= 7ea416610339d3c29af9d0d748ceadd3fd368608
|
||||
SKY130_PDK ?= $(PDK_ROOT)/sky130A
|
||||
GF180_PDK ?= $(PDK_ROOT)/gf180
|
||||
|
|
@ -77,10 +78,11 @@ $(GF180_PDKS_DIR): check-pdk-root
|
|||
@echo "Cloning gf PDK..."
|
||||
@[ -d $(PDK_ROOT)/gf180mcu-pdk ] || \
|
||||
git clone https://github.com/google/gf180mcu-pdk.git $(PDK_ROOT)/gf180mcu-pdk
|
||||
@cd $(SKY130_PDKS_DIR) && \
|
||||
@cd $(GF180_PDKS_DIR) && \
|
||||
git checkout main && git pull && \
|
||||
git checkout -qf $(GF180_PDKS_GIT_COMMIT) && \
|
||||
git submodule update --init libraries/sky130_fd_pr/latest libraries/sky130_fd_sc_hd/latest
|
||||
git submodule update --init libraries/gf180mcu_fd_pr/latest libraries/gf180mcu_fd_sc_mcu7t5v0/latest libraries/gf180mcu_fd_sc_mcu9t5v0/latest
|
||||
|
||||
|
||||
$(OPEN_PDKS_DIR): $(SKY130_PDKS_DIR) $(GF180_PDKS_DIR)
|
||||
@echo "Cloning open_pdks..."
|
||||
|
|
@ -108,6 +110,15 @@ else
|
|||
conda deactivate
|
||||
endif
|
||||
|
||||
$(GF180_PDK): $(OPEN_PDKS_DIR) $(GF180_PDKS_DIR)
|
||||
@echo "Installing open_pdks..."
|
||||
$(DOCKER_CMD) sh -c ". /home/cad-user/.bashrc && cd /pdk/open_pdks && \
|
||||
./configure --enable-gf180mcu-pdk=/pdk/gf180mcu-pdk/libraries && \
|
||||
cd gf180mcu && \
|
||||
make veryclean && \
|
||||
make && \
|
||||
make SHARED_PDKS_PATH=/pdk install"
|
||||
|
||||
$(SRAM_LIB_DIR): check-pdk-root
|
||||
@echo "Cloning SRAM library..."
|
||||
@[ -d $(SRAM_LIB_DIR) ] || \
|
||||
|
|
@ -127,7 +138,7 @@ install: $(SRAM_LIB_DIR)
|
|||
@make $(INSTALL_DIRS)
|
||||
.PHONY: install
|
||||
|
||||
pdk: $(SKY130_PDK)
|
||||
pdk: $(SKY130_PDK) $(GF180_PDK)
|
||||
@true
|
||||
.PHONY: pdk
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue