agorararmard | 6c766a8 | 2020-12-10 18:13:12 +0200 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: 2020 Efabless Corporation |
agorararmard | e5780bf | 2020-12-09 21:27:56 +0000 | [diff] [blame] | 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. |
agorararmard | afa96ea | 2020-12-09 23:37:31 +0200 | [diff] [blame] | 14 | # SPDX-License-Identifier: Apache-2.0 |
agorararmard | e5780bf | 2020-12-09 21:27:56 +0000 | [diff] [blame] | 15 | |
Mohamed Kassem | 7a3f478 | 2020-10-27 12:31:18 -0700 | [diff] [blame] | 16 | # assumes an /ef tree or at least a symlink |
| 17 | drc off |
| 18 | gds readonly true |
| 19 | gds rescale false |
| 20 | set ::env(MAGTYPE) mag |
| 21 | |
| 22 | # gds read <hard macros read as-is.gds> |
| 23 | gds read ../gds/sram_1rw1r_32_256_8_sky130_lp1.gds |
| 24 | |
| 25 | load sram_1rw1r_32_256_8_sky130 -dereference |
| 26 | load openram_tc_core -dereference |
| 27 | load openram_tc_1kb -dereference |
| 28 | |
| 29 | select top cell |
| 30 | |
| 31 | cif *hier write disable |
| 32 | |
| 33 | gds write openram_tc_1kb.gds |