mkk | 91ada92 | 2020-12-02 09:08:26 -0800 | [diff] [blame] | 1 | #!/bin/sh |
agorararmard | 6c766a8 | 2020-12-10 18:13:12 +0200 | [diff] [blame] | 2 | # SPDX-FileCopyrightText: 2020 Efabless Corporation |
agorararmard | e5780bf | 2020-12-09 21:27:56 +0000 | [diff] [blame] | 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. |
agorararmard | afa96ea | 2020-12-09 23:37:31 +0200 | [diff] [blame] | 15 | # SPDX-License-Identifier: Apache-2.0 |
agorararmard | e5780bf | 2020-12-09 21:27:56 +0000 | [diff] [blame] | 16 | |
mkk | 91ada92 | 2020-12-02 09:08:26 -0800 | [diff] [blame] | 17 | |
| 18 | o-mag2maglef-maglef.sh simple_por |
| 19 | o-mag2maglef-maglef.sh gpio_control_block |
| 20 | o-mag2maglef-maglef.sh digital_pll |
| 21 | o-mag2maglef-maglef.sh storage |
| 22 | o-mag2maglef-maglef.sh mgmt_core |
| 23 | o-mag2maglef-maglef.sh sram_1rw1r_32_256_8_sky130 |
| 24 | o-mag2maglef-maglef.sh chip_io |
| 25 | |
| 26 | |
| 27 | |
| 28 | MAGTYPE=maglef magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag |
| 29 | MAGTYPE=mag magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag |
| 30 | |
| 31 | MAGTYPE=maglef magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag |
| 32 | MAGTYPE=mag magic -rcfile ./dot.magicrc.dist -d XR simple_por.mag |
| 33 | |
| 34 | |
| 35 | load ./digital_pll.mag ; select top cell ; expand ; drc on ; drc style drc(full) ; drc check ; drc catchup |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag |
| 41 | |
| 42 | MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l caravel..drc.out caravel.mag |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag |
| 48 | |
| 49 | MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l caravel..drc.out caravel.mag |
| 50 | |
| 51 | |
| 52 | MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l chip_io.drc.out chip_io.mag |
| 53 | MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l chip_io.drc.out chip_io.mag |
| 54 | |
| 55 | MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l digital_pll.drc.out digital_pll.mag |
| 56 | MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l digital_pll.drc.out digital_pll.mag |
| 57 | |
| 58 | MAGTYPE=mag magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag |
| 59 | MAGTYPE=maglef magicDrc -T $PDK_ROOT/sky130A/libs.tech/magic/current/sky130A.tech -S 'drc(full)' -l simple_por.drc.out simple_por.mag |
| 60 | |
| 61 | |
| 62 | |
| 63 | cd ~/foss/designs/openflow-drc-tests/torture_tests |
| 64 | git checkout master |
| 65 | git pull |
| 66 | mkdir -p $1 |
| 67 | cp -f ~/design/caravel/gds/$1.gds $1 |
| 68 | git add $1/* |
| 69 | git commit -m "DRC check for $1" |
| 70 | git push |
| 71 | |