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