blob: 8d7057dc72c28c6eccac14288f445843613c1a5f [file] [log] [blame]
agorararmard6c766a82020-12-10 18:13:12 +02001# SPDX-FileCopyrightText: 2020 Efabless Corporation
agorararmarde5780bf2020-12-09 21:27:56 +00002#
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 -070016# assumes an /ef tree or at least a symlink
17drc off
18gds readonly true
19gds rescale false
20set ::env(MAGTYPE) mag
21
22# gds read <hard macros read as-is.gds>
23gds read ../gds/sram_1rw1r_32_256_8_sky130_lp1.gds
24
25load sram_1rw1r_32_256_8_sky130 -dereference
26load openram_tc_core -dereference
27load openram_tc_1kb -dereference
28
29select top cell
30
31cif *hier write disable
32
33gds write openram_tc_1kb.gds