From 8dcf3ff820c0aed8ffaa285262874a32fa540a06 Mon Sep 17 00:00:00 2001 From: Jeff DiCorpo <42048757+jeffdi@users.noreply.github.com> Date: Sat, 1 Jun 2024 08:58:02 -0700 Subject: [PATCH] add pdk dependencies for lvs --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c8203d045..f3c1bb5ea 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ MAKEFLAGS+=--warn-undefined-variables export CARAVEL_ROOT?=$(PWD)/caravel +export UPRJ_ROOT?=$(PWD) PRECHECK_ROOT?=${HOME}/mpw_precheck export MCW_ROOT?=$(PWD)/mgmt_core_wrapper SIM?=RTL @@ -43,7 +44,8 @@ export ROOTLESS ifeq ($(PDK),sky130A) SKYWATER_COMMIT=f70d8ca46961ff92719d8870a18a076370b85f6c - export OPEN_PDKS_COMMIT?=6d4d11780c40b20ee63cc98e645307a9bf2b2ab8 + export OPEN_PDKS_COMMIT_LVS?=6d4d11780c40b20ee63cc98e645307a9bf2b2ab8 + export OPEN_PDKS_COMMIT?=78b7bc32ddb4b6f14f76883c2e2dc5b5de9d1cbc export OPENLANE_TAG?=2023.07.19-1 MPW_TAG ?= mpw-9j @@ -244,7 +246,7 @@ precheck: @docker pull efabless/mpw_precheck:latest .PHONY: run-precheck -run-precheck: check-pdk check-precheck +run-precheck: check-pdk check-precheck enable-lvs-pdk @if [ "$$DISABLE_LVS" = "1" ]; then\ $(eval INPUT_DIRECTORY := $(shell pwd)) \ cd $(PRECHECK_ROOT) && \ @@ -271,6 +273,9 @@ run-precheck: check-pdk check-precheck efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --input_directory $(INPUT_DIRECTORY) --pdk_path $(PDK_ROOT)/$(PDK)"; \ fi +.PHONY: enable-lvs-pdk +enable-lvs-pdk: + $(UPRJ_ROOT)/venv/bin/volare enable $(OPEN_PDKS_COMMIT_LVS) BLOCKS = $(shell cd lvs && find * -maxdepth 0 -type d) LVS_BLOCKS = $(foreach block, $(BLOCKS), lvs-$(block))