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 | |
Ahmed Ghazy | 83fc685 | 2020-11-30 22:38:21 +0200 | [diff] [blame] | 16 | set script_dir [file dirname [file normalize [info script]]] |
| 17 | |
| 18 | set ::env(DESIGN_NAME) mgmt_protect_hv |
| 19 | |
| 20 | set ::env(STD_CELL_LIBRARY) sky130_fd_sc_hvl |
| 21 | |
Ahmed Ghazy | e75f262 | 2020-12-10 19:29:38 +0200 | [diff] [blame] | 22 | set ::env(DESIGN_IS_CORE) 1 |
| 23 | set ::env(FP_PDN_LOWER_LAYER) met2 |
| 24 | set ::env(FP_PDN_UPPER_LAYER) met3 |
Ahmed Ghazy | 4c9be28 | 2020-12-14 20:13:23 +0200 | [diff] [blame] | 25 | set ::env(FP_PDN_AUTO_ADJUST) 0 |
Ahmed Ghazy | e75f262 | 2020-12-10 19:29:38 +0200 | [diff] [blame] | 26 | set ::env(FP_PDN_VWIDTH) 0.3 |
| 27 | set ::env(FP_PDN_HWIDTH) 0.3 |
Ahmed Ghazy | 4c9be28 | 2020-12-14 20:13:23 +0200 | [diff] [blame] | 28 | set ::env(FP_PDN_CORE_RING_VSPACING) 0.4 |
| 29 | set ::env(FP_PDN_CORE_RING_HSPACING) 0.4 |
| 30 | set ::env(FP_PDN_VOFFSET) 10 |
| 31 | set ::env(FP_PDN_HOFFSET) 1 |
| 32 | set ::env(FP_PDN_VWIDTH) 0.3 |
| 33 | set ::env(FP_PDN_HWIDTH) 0.3 |
| 34 | set ::env(FP_PDN_VPITCH) 80 |
| 35 | set ::env(FP_PDN_HPITCH) 10.8 |
Ahmed Ghazy | e75f262 | 2020-12-10 19:29:38 +0200 | [diff] [blame] | 36 | |
| 37 | set ::env(GLB_RT_MAXLAYER) 4 |
| 38 | # set ::env(FP_PDN_CORE_RING) 1 |
| 39 | set ::env(SYNTH_USE_PG_PINS_DEFINES) "USE_POWER_PINS" |
Ahmed Ghazy | 83fc685 | 2020-11-30 22:38:21 +0200 | [diff] [blame] | 40 | set ::env(VERILOG_FILES) "\ |
| 41 | $script_dir/../../verilog/rtl/defines.v\ |
| 42 | $script_dir/../../verilog/rtl/mgmt_protect_hv.v" |
| 43 | |
| 44 | set ::env(SYNTH_READ_BLACKBOX_LIB) 1 |
| 45 | |
| 46 | set ::env(SYNTH_TOP_LEVEL) 1 |
| 47 | |
| 48 | set ::env(FP_SIZING) absolute |
Ahmed Ghazy | 4c9be28 | 2020-12-14 20:13:23 +0200 | [diff] [blame] | 49 | set ::env(DIE_AREA) "0 0 150 20" |
Ahmed Ghazy | e75f262 | 2020-12-10 19:29:38 +0200 | [diff] [blame] | 50 | |
| 51 | set ::env(FP_PIN_ORDER_CFG) $script_dir/pin_order.cfg |
Ahmed Ghazy | 83fc685 | 2020-11-30 22:38:21 +0200 | [diff] [blame] | 52 | |
| 53 | set ::env(CLOCK_TREE_SYNTH) 0 |
| 54 | |
| 55 | set ::env(CELL_PAD) 0 |
| 56 | |
| 57 | set ::env(PL_RANDOM_GLB_PLACEMENT) 1 |
| 58 | |
| 59 | set ::env(BOTTOM_MARGIN_MULT) 1 |
Ahmed Ghazy | 4c9be28 | 2020-12-14 20:13:23 +0200 | [diff] [blame] | 60 | set ::env(TOP_MARGIN_MULT) 0 |
Ahmed Ghazy | e75f262 | 2020-12-10 19:29:38 +0200 | [diff] [blame] | 61 | set ::env(LEFT_MARGIN_MULT) 10 |
| 62 | set ::env(RIGHT_MARGIN_MULT) 0 |
Ahmed Ghazy | 83fc685 | 2020-11-30 22:38:21 +0200 | [diff] [blame] | 63 | |
| 64 | set ::env(PLACE_SITE) "unithv" |
| 65 | set ::env(PLACE_SITE_WIDTH) 0.480 |
| 66 | set ::env(PLACE_SITE_HEIGHT) 4.07 |