Anmol Purty | 55cd9db | 2021-05-03 18:10:22 +0530 | [diff] [blame^] | 1 | # SPDX-FileCopyrightText: 2020 Efabless Corporation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # SPDX-License-Identifier: Apache-2.0 |
| 15 | |
| 16 | lef read $::env(PDKPATH)/libs.ref/techLEF/scs8hd/scs8hd_tech.lef |
| 17 | set macro_mags "openram_tc_core.mag" |
| 18 | |
| 19 | # lef read ../lef/sram_1rw1r_32_256_8_sky130_lp1.lef |
| 20 | |
| 21 | foreach ff $macro_mags { drc off; after 500; load $ff -dereference; select top cell; property LEFview TRUE } |
| 22 | |
| 23 | load openram_tc_1kb -dereference |
| 24 | |
| 25 | select top cell |
| 26 | extract do local |
| 27 | extract |
| 28 | ext2spice lvs |
| 29 | ext2spice openram_tc_1kb.ext |
| 30 | feedback save extract.tcl.log |
| 31 | exit |