blob: dc62a068ac546e8635f5b0b3fd8b2c64157e06ef [file] [log] [blame]
agorararmarde5780bf2020-12-09 21:27:56 +00001# Copyright 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.
agorararmardafa96ea2020-12-09 23:37:31 +020014# SPDX-License-Identifier: Apache-2.0
agorararmarde5780bf2020-12-09 21:27:56 +000015
Mohamed Kassem7a3f4782020-10-27 12:31:18 -070016lef 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