S Skandha Deepsita | 7d1621b | 2021-06-24 23:37:44 +0530 | [diff] [blame] | 1 | .. raw:: html |
| 2 | |
| 3 | <!--- |
| 4 | # SPDX-FileCopyrightText: 2020 Efabless Corporation |
| 5 | # |
| 6 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | # you may not use this file except in compliance with the License. |
| 8 | # You may obtain a copy of the License at |
| 9 | # |
| 10 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | # |
| 12 | # Unless required by applicable law or agreed to in writing, software |
| 13 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | # |
| 18 | # SPDX-License-Identifier: Apache-2.0 |
| 19 | --> |
| 20 | |
| 21 | Repositories and versions to use |
| 22 | ================================ |
| 23 | |
| 24 | skywater-pdk |
| 25 | ------------ |
| 26 | |
| 27 | | Please stick to commit hash: ``bb2f842ac8d1b750677ca25bc71fb312859edb82`` | |
| 28 | |
| 29 | .. code:: bash |
| 30 | |
| 31 | git clone https://github.com/google/skywater-pdk.git |
| 32 | cd skywater-pdk |
| 33 | git checkout -qf bb2f842ac8d1b750677ca25bc71fb312859edb82 |
| 34 | git submodule update --init libraries/sky130_fd_sc_hd/latest |
| 35 | git submodule update --init libraries/sky130_fd_sc_hvl/latest |
| 36 | git submodule update --init libraries/sky130_fd_sc_hs/latest |
| 37 | git submodule update --init libraries/sky130_fd_sc_ms/latest |
| 38 | git submodule update --init libraries/sky130_fd_sc_ls/latest |
| 39 | git submodule update --init libraries/sky130_fd_sc_hdll/latest |
| 40 | git submodule update --init libraries/sky130_fd_io/latest |
| 41 | make timing |
| 42 | |
| 43 | open\_pdks |
| 44 | ---------- |
| 45 | |
| 46 | Please stick to the |
| 47 | `1.0.150 <https://github.com/RTimothyEdwards/open_pdks/tree/1.0.150>`__ |
| 48 | tag. |
| 49 | |
| 50 | .. code:: bash |
| 51 | |
| 52 | git clone https://github.com/RTimothyEdwards/open_pdks.git -b 1.0.150 |
| 53 | |
| 54 | OpenLane |
| 55 | -------- |
| 56 | |
| 57 | Please stick to the v0.15 `tag <https://github.com/efabless/openlane/tree/v0.15>`__ of openlane. |
| 58 | |
| 59 | .. code:: bash |
| 60 | |
| 61 | git clone https://github.com/efabless/openlane.git -b v0.15 |
| 62 | |
| 63 | |
| 64 | Caravel/Caravel-lite |
| 65 | -------------------- |
| 66 | |
| 67 | Please stick to the ``mpw-two-c`` tag. |
| 68 | |
| 69 | .. code:: bash |
| 70 | |
| 71 | git clone https://github.com/efabless/caravel.git -b mpw-two-c |
| 72 | git clone https://github.com/efabless/caravel-lite.git -b mpw-two-c caravel |
| 73 | |
| 74 | Open\_mpw\_precheck |
| 75 | ------------------- |
| 76 | |
| 77 | Please run the offline |
| 78 | `precheck <https://github.com/efabless/open_mpw_precheck>`__: |
| 79 | |
| 80 | .. code:: bash |
| 81 | |
| 82 | git clone https://github.com/efabless/open_mpw_precheck.git |
| 83 | |
| 84 | |
| 85 | Notes |
| 86 | ----- |
| 87 | |
| 88 | - | If you have already successfully hardened your blocks and have a clean |
| 89 | | ``user_project_wrapper``, you don't have to recreate it and can just reuse it. |
| 90 | | This is only if no changes have been made to the user project area or to the tools that |
| 91 | | require you to reharden your design(s). |
| 92 | |
| 93 | - | If you will use openlane to harden your blocks, you can refer to |
| 94 | | this `README <https://github.com/efabless/caravel/blob/master/openlane/README.rst>`__. |
| 95 | |
| 96 | - | **IMPORTANT**. Do not forget to run ``make uncompress -j4`` in your user project root |
| 97 | | directory before you start working. Likewise, before you commit and push your |
| 98 | | changes back, run ``make compress -j4``. |
| 99 | |
| 100 | - | If you already have a clean working tree in a previously cloned repository from |
| 101 | | those listed above, what you need to do is: |
| 102 | | ``git pull git checkout tag`` |
| 103 | |