Skip to content

Commit 8606a48

Browse files
authored
Merge pull request #17 from efabless/ol_fix
Update Caravel to `mpw-5a`
2 parents fc85327 + 38f5a2d commit 8606a48

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

Makefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ CARAVEL_LITE?=1
2424
ifeq ($(CARAVEL_LITE),1)
2525
CARAVEL_NAME := caravel-lite
2626
CARAVEL_REPO := https://github.com/efabless/caravel-lite
27-
CARAVEL_TAG := 'mpw-5'
27+
CARAVEL_TAG := 'mpw-5a'
2828
else
2929
CARAVEL_NAME := caravel
3030
CARAVEL_REPO := https://github.com/efabless/caravel
31-
CARAVEL_TAG := 'mpw-5'
31+
CARAVEL_TAG := 'mpw-5a'
3232
endif
3333

3434
# Include Caravel Makefile Targets
@@ -110,11 +110,6 @@ run-precheck: check-precheck check-pdk check-caravel
110110
docker run -e INPUT_DIRECTORY=$(INPUT_DIRECTORY) -e PDK_ROOT=$(PDK_ROOT) -v $(PRECHECK_ROOT):$(PRECHECK_ROOT) -v $(INPUT_DIRECTORY):$(INPUT_DIRECTORY) -v $(PDK_ROOT):$(PDK_ROOT) \
111111
-u $(shell id -u $(USER)):$(shell id -g $(USER)) efabless/mpw_precheck:latest bash -c "cd $(PRECHECK_ROOT) ; python3 mpw_precheck.py --pdk_root $(PDK_ROOT) --input_directory $(INPUT_DIRECTORY)"
112112

113-
# Install PDK using OL's Docker Image
114-
.PHONY: pdk-nonnative
115-
pdk-nonnative: skywater-pdk skywater-library skywater-timing open_pdks
116-
docker run --rm -v $(PDK_ROOT):$(PDK_ROOT) -v $(CARAVEL_ROOT):$(CARAVEL_ROOT) -e CARAVEL_ROOT=$(CARAVEL_ROOT) -e PDK_ROOT=$(PDK_ROOT) -u $(shell id -u $(USER)):$(shell id -g $(USER)) efabless/openlane:current sh -c "cd $(CARAVEL_ROOT); make build-pdk; make gen-sources"
117-
118113
# Clean
119114
.PHONY: clean
120115
clean:

docs/source/index.rst

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,7 @@ power supply to the circuit.
128128
Building the PDK
129129
================
130130

131-
You have two options for building the pdk:
132-
133-
- Build the pdk natively.
134-
135-
Make sure you have `Magic VLSI Layout Tool <http://opencircuitdesign.com/magic/index.html>`__ `version 8.3.160 <https://github.com/RTimothyEdwards/magic/tree/8.3.160>`__ installed on your machine before building the pdk.
131+
Make sure you have `Magic VLSI Layout Tool <http://opencircuitdesign.com/magic/index.html>`__ `version 8.3.265 <https://github.com/RTimothyEdwards/magic/tree/8.3.265>`__ installed on your machine before building the pdk.
136132

137133
.. code:: bash
138134
@@ -145,18 +141,7 @@ Make sure you have `Magic VLSI Layout Tool <http://opencircuitdesign.com/magic/i
145141
146142
make pdk
147143
148-
- Build the pdk using openlane's docker image which has magic installed.
149-
150-
.. code:: bash
151-
152-
# set PDK_ROOT to the path you wish to use for the pdk
153-
export PDK_ROOT=<pdk-installation-path>
154-
155-
# you can optionally specify skywater-pdk and open-pdks commit used
156-
# by setting and exporting SKYWATER_COMMIT and OPEN_PDKS_COMMIT
157-
# if you do not set them, they default to the last verfied commits tested for this project
158144
159-
make pdk-nonnative
160145
161146
Running Full Chip Simulation
162147
============================

0 commit comments

Comments
 (0)