blob: 5283852a8fd35e813d629f7583448cd22ef0dbae [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.
14
Mohamed Kassem7a3f4782020-10-27 12:31:18 -070015# assumes an /ef tree or at least a symlink
16drc off
17gds readonly true
18gds rescale false
19set ::env(MAGTYPE) mag
20
21# gds read <hard macros read as-is.gds>
22gds read ../gds/sram_1rw1r_32_256_8_sky130_lp1.gds
23
24load sram_1rw1r_32_256_8_sky130 -dereference
25load openram_tc_core -dereference
26load openram_tc_1kb -dereference
27
28select top cell
29
30cif *hier write disable
31
32gds write openram_tc_1kb.gds