agorararmard | 312a1cd | 2020-12-10 18:35:12 +0200 | [diff] [blame] | 1 | <!--- |
| 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 Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 19 | # Repositories and versions to use |
| 20 | |
| 21 | ## skywater-pdk: |
| 22 | |
| 23 | Please stick to version `v0.0.0-303-g3d7617a` |
| 24 | (commit hash: `3d7617a1acb92ea883539bcf22a632d6361a5de4`) |
| 25 | ``` |
agorararmard | 3cd607d | 2020-12-08 21:08:29 +0200 | [diff] [blame] | 26 | git clone https://github.com/google/skywater-pdk.git |
| 27 | cd skywater-pdk |
| 28 | git checkout v0.0.0-303-g3d7617a |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 29 | git submodule update --init libraries/sky130_fd_sc_hd/latest |
| 30 | git submodule update --init libraries/sky130_fd_sc_hvl/latest |
Mohamed Kassem | 05da39c | 2020-12-07 11:21:36 -0800 | [diff] [blame] | 31 | git submodule update --init libraries/sky130_fd_sc_hs/latest |
| 32 | git submodule update --init libraries/sky130_fd_sc_ms/latest |
| 33 | git submodule update --init libraries/sky130_fd_sc_ls/latest |
| 34 | git submodule update --init libraries/sky130_fd_sc_hdll/latest |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 35 | git submodule update --init libraries/sky130_fd_io/latest |
Mohamed Kassem | 05da39c | 2020-12-07 11:21:36 -0800 | [diff] [blame] | 36 | make timing |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 37 | ``` |
| 38 | |
| 39 | ## open_pdks: |
| 40 | |
agorararmard | e4ffba6 | 2020-12-14 23:30:00 +0200 | [diff] [blame] | 41 | Please stick to the [1.0.85](https://github.com/RTimothyEdwards/open_pdks/tree/1.0.85) tag. |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 42 | ``` |
agorararmard | e4ffba6 | 2020-12-14 23:30:00 +0200 | [diff] [blame] | 43 | git clone https://github.com/RTimothyEdwards/open_pdks.git -b 1.0.85 |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 44 | ``` |
| 45 | |
| 46 | ## OpenLane: |
| 47 | |
agorararmard | e4ffba6 | 2020-12-14 23:30:00 +0200 | [diff] [blame] | 48 | Please stick to the [mpw-one-b](https://github.com/efabless/openlane/tree/mpw-one-b) tag. |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 49 | ``` |
agorararmard | e4ffba6 | 2020-12-14 23:30:00 +0200 | [diff] [blame] | 50 | git clone https://github.com/efabless/openlane.git -b mpw-one-b |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 51 | ``` |
agorararmard | e4ffba6 | 2020-12-14 23:30:00 +0200 | [diff] [blame] | 52 | Note that the `mpw-one-b` tag is equivalent to the `rc6` tag. Also, note that |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 53 | running `make` inside the openlane directory will automatically grab the right |
| 54 | versions of `open_pdks` and `skywater-pdk` as listed above and install them to |
| 55 | PDK_ROOT. |
| 56 | |
| 57 | For example, |
| 58 | |
| 59 | ``` |
| 60 | export PDK_ROOT=$HOME/pdks |
| 61 | cd openlane |
| 62 | make |
| 63 | ``` |
| 64 | |
agorararmard | 3cd607d | 2020-12-08 21:08:29 +0200 | [diff] [blame] | 65 | ## Caravel: |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 66 | |
agorararmard | e4ffba6 | 2020-12-14 23:30:00 +0200 | [diff] [blame] | 67 | Please stick to the `mpw-one-b` tag. |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 68 | ``` |
agorararmard | e4ffba6 | 2020-12-14 23:30:00 +0200 | [diff] [blame] | 69 | git clone https://github.com/efabless/caravel.git -b mpw-one-b |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 70 | ``` |
| 71 | |
agorararmard | 3cd607d | 2020-12-08 21:08:29 +0200 | [diff] [blame] | 72 | ## Open_mpw_precheck: |
| 73 | Please run the offline [precheck](https://github.com/efabless/open_mpw_precheck): |
| 74 | ``` |
| 75 | git clone https://github.com/efabless/open_mpw_precheck.git |
| 76 | ``` |
| 77 | |
Ahmed Ghazy | 0893d01 | 2020-12-05 23:30:25 +0200 | [diff] [blame] | 78 | ## 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 |