blob: 82ac6ccfd173db086a45d4e46b5140059aaa51c1 [file] [log] [blame] [view]
agorararmard312a1cd2020-12-10 18:35:12 +02001<!---
2# SPDX-FileCopyrightText: 2020 Efabless Corporation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16# SPDX-License-Identifier: Apache-2.0
17-->
18
Ahmed Ghazy0893d012020-12-05 23:30:25 +020019# Repositories and versions to use
20
21## skywater-pdk:
22
23Please stick to version `v0.0.0-303-g3d7617a`
24(commit hash: `3d7617a1acb92ea883539bcf22a632d6361a5de4`)
25```
agorararmard3cd607d2020-12-08 21:08:29 +020026git clone https://github.com/google/skywater-pdk.git
27cd skywater-pdk
28git checkout v0.0.0-303-g3d7617a
Ahmed Ghazy0893d012020-12-05 23:30:25 +020029git submodule update --init libraries/sky130_fd_sc_hd/latest
30git submodule update --init libraries/sky130_fd_sc_hvl/latest
Mohamed Kassem05da39c2020-12-07 11:21:36 -080031git submodule update --init libraries/sky130_fd_sc_hs/latest
32git submodule update --init libraries/sky130_fd_sc_ms/latest
33git submodule update --init libraries/sky130_fd_sc_ls/latest
34git submodule update --init libraries/sky130_fd_sc_hdll/latest
Ahmed Ghazy0893d012020-12-05 23:30:25 +020035git submodule update --init libraries/sky130_fd_io/latest
Mohamed Kassem05da39c2020-12-07 11:21:36 -080036make timing
Ahmed Ghazy0893d012020-12-05 23:30:25 +020037```
38
39## open_pdks:
40
agorararmarde4ffba62020-12-14 23:30:00 +020041Please stick to the [1.0.85](https://github.com/RTimothyEdwards/open_pdks/tree/1.0.85) tag.
Ahmed Ghazy0893d012020-12-05 23:30:25 +020042```
agorararmarde4ffba62020-12-14 23:30:00 +020043git clone https://github.com/RTimothyEdwards/open_pdks.git -b 1.0.85
Ahmed Ghazy0893d012020-12-05 23:30:25 +020044```
45
46## OpenLane:
47
agorararmarde4ffba62020-12-14 23:30:00 +020048Please stick to the [mpw-one-b](https://github.com/efabless/openlane/tree/mpw-one-b) tag.
Ahmed Ghazy0893d012020-12-05 23:30:25 +020049```
agorararmarde4ffba62020-12-14 23:30:00 +020050git clone https://github.com/efabless/openlane.git -b mpw-one-b
Ahmed Ghazy0893d012020-12-05 23:30:25 +020051```
agorararmarde4ffba62020-12-14 23:30:00 +020052Note that the `mpw-one-b` tag is equivalent to the `rc6` tag. Also, note that
Ahmed Ghazy0893d012020-12-05 23:30:25 +020053running `make` inside the openlane directory will automatically grab the right
54versions of `open_pdks` and `skywater-pdk` as listed above and install them to
55PDK_ROOT.
56
57For example,
58
59```
60export PDK_ROOT=$HOME/pdks
61cd openlane
62make
63```
64
agorararmard3cd607d2020-12-08 21:08:29 +020065## Caravel:
Ahmed Ghazy0893d012020-12-05 23:30:25 +020066
agorararmarde4ffba62020-12-14 23:30:00 +020067Please stick to the `mpw-one-b` tag.
Ahmed Ghazy0893d012020-12-05 23:30:25 +020068```
agorararmarde4ffba62020-12-14 23:30:00 +020069git clone https://github.com/efabless/caravel.git -b mpw-one-b
Ahmed Ghazy0893d012020-12-05 23:30:25 +020070```
71
agorararmard3cd607d2020-12-08 21:08:29 +020072## Open_mpw_precheck:
73Please run the offline [precheck](https://github.com/efabless/open_mpw_precheck):
74```
75git clone https://github.com/efabless/open_mpw_precheck.git
76```
77
Ahmed Ghazy0893d012020-12-05 23:30:25 +020078## Notes
79
80- If you have already successfully hardened your blocks and have a clean
81 `user_project_wrapper`, you don't have to recreate it and can just reuse it.
82 No changes have been made to the user project area or to the tools that
83 require you to reharden your design(s).
84
85- If you prefer to re-generate your blocks (using OpenLane), you can refer to
86 this [page][1].
87
88- **IMPORTANT**. Do not forget to run `make uncompress -j4` in the caravel root
89 directory before you start working. Likewise, before you commit and push your
90 changes back, run `make compress -j4`.
91
92- If you already have a clean working tree in a previously cloned repository from
93 those listed above, what you need to do is:
94 ```
95 git pull
96 git checkout tag
97 ```
98
99[1]: ./openlane/README.md