blob: a38c9cb6ba9a18841b00c0cb0d23625f339f109d [file] [log] [blame]
Anmol Purty55cd9db2021-05-03 18:10:22 +05301# 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
16lef read $::env(PDKPATH)/libs.ref/techLEF/scs8hd/scs8hd_tech.lef
17set macro_mags "openram_tc_core.mag"
18
19# lef read ../lef/sram_1rw1r_32_256_8_sky130_lp1.lef
20
21foreach ff $macro_mags { drc off; after 500; load $ff -dereference; select top cell; property LEFview TRUE }
22
23load openram_tc_1kb -dereference
24
25select top cell
26extract do local
27extract
28ext2spice lvs
29ext2spice openram_tc_1kb.ext
30feedback save extract.tcl.log
31exit