Skip to content

Commit dae5226

Browse files
authored
Merge pull request #64 from efabless/ol_fix
Update Caravel to `mpw-5a`
2 parents 9dda5c6 + e2c388a commit dae5226

File tree

2 files changed

+3
-25
lines changed

2 files changed

+3
-25
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

@@ -115,11 +115,6 @@ run-precheck: check-precheck check-pdk check-caravel
115115
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) \
116116
-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)"
117117

118-
# Install PDK using OL's Docker Image
119-
.PHONY: pdk-nonnative
120-
pdk-nonnative: skywater-pdk skywater-library skywater-timing open_pdks
121-
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:2021.09.19_20.25.16 sh -c "cd $(CARAVEL_ROOT); make build-pdk; make gen-sources"
122-
123118
# Clean
124119
.PHONY: clean
125120
clean:

docs/source/index.rst

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,8 @@ To make sure that this integration process goes smoothly without having any DRC
173173
Building the PDK
174174
================
175175

176-
You have two options for building the pdk:
177-
178-
- Build the pdk natively.
179-
180176
Make sure you have `Magic VLSI Layout Tool <http://opencircuitdesign.com/magic/index.html>`__ installed on your machine before building the pdk.
181-
The pdk build is tested with magic version ``8.3.209``.
177+
The pdk build is tested with magic version ``8.3.265``.
182178

183179
.. code:: bash
184180
@@ -191,19 +187,6 @@ The pdk build is tested with magic version ``8.3.209``.
191187
192188
make pdk
193189
194-
- Build the pdk using openlane's docker image which has magic installed.
195-
196-
.. code:: bash
197-
198-
# set PDK_ROOT to the path you wish to use for the pdk
199-
export PDK_ROOT=<pdk-installation-path>
200-
201-
# you can optionally specify skywater-pdk and open-pdks commit used
202-
# by setting and exporting SKYWATER_COMMIT and OPEN_PDKS_COMMIT
203-
# if you do not set them, they default to the last verfied commits tested for this project
204-
205-
make pdk-nonnative
206-
207190
Running Full Chip Simulation
208191
============================
209192

0 commit comments

Comments
 (0)