Mohamed Kassem | 7a3f478 | 2020-10-27 12:31:18 -0700 | [diff] [blame] | 1 | #!/bin/bash |
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 | |
Mohamed Kassem | 7a3f478 | 2020-10-27 12:31:18 -0700 | [diff] [blame] | 17 | |
| 18 | export MAGTYPE=mag ; |
| 19 | export BASE=/home/mk/zooz/ ; |
| 20 | export PDKPATH=$BASE/pdks/ef-skywater-s8/EFS8A ; |
| 21 | |
| 22 | magic -dnull -noconsole -rcfile $PDKPATH/libs.tech/magic/current/EFS8A.magicrc <<EOF |
| 23 | gds polygon subcell true |
| 24 | gds warning default |
| 25 | gds read $1.gds |
| 26 | load $1 |
| 27 | cellname delete \(UNNAMED\) |
| 28 | writeall force |
| 29 | select top cell |
| 30 | expand |
| 31 | drc on |
| 32 | drc euclidean on |
| 33 | drc check |
| 34 | drc catchup |
| 35 | drc listall |
| 36 | drc listall why |
| 37 | drc count total |
| 38 | drc count |
| 39 | quit -noprompt |
| 40 | EOF |