blob: 5956d84771535454634ccec93f77662d40da1053 [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
Ahmed Ghazy83fc6852020-11-30 22:38:21 +020016set script_dir [file dirname [file normalize [info script]]]
17
18set ::env(DESIGN_NAME) mgmt_protect_hv
19
20set ::env(STD_CELL_LIBRARY) sky130_fd_sc_hvl
21
Ahmed Ghazye75f2622020-12-10 19:29:38 +020022set ::env(DESIGN_IS_CORE) 1
23set ::env(FP_PDN_LOWER_LAYER) met2
24set ::env(FP_PDN_UPPER_LAYER) met3
Ahmed Ghazy4c9be282020-12-14 20:13:23 +020025set ::env(FP_PDN_AUTO_ADJUST) 0
Ahmed Ghazye75f2622020-12-10 19:29:38 +020026set ::env(FP_PDN_VWIDTH) 0.3
27set ::env(FP_PDN_HWIDTH) 0.3
Ahmed Ghazy4c9be282020-12-14 20:13:23 +020028set ::env(FP_PDN_CORE_RING_VSPACING) 0.4
29set ::env(FP_PDN_CORE_RING_HSPACING) 0.4
30set ::env(FP_PDN_VOFFSET) 10
31set ::env(FP_PDN_HOFFSET) 1
32set ::env(FP_PDN_VWIDTH) 0.3
33set ::env(FP_PDN_HWIDTH) 0.3
34set ::env(FP_PDN_VPITCH) 80
35set ::env(FP_PDN_HPITCH) 10.8
Ahmed Ghazye75f2622020-12-10 19:29:38 +020036
37set ::env(GLB_RT_MAXLAYER) 4
38# set ::env(FP_PDN_CORE_RING) 1
39set ::env(SYNTH_USE_PG_PINS_DEFINES) "USE_POWER_PINS"
Ahmed Ghazy83fc6852020-11-30 22:38:21 +020040set ::env(VERILOG_FILES) "\
41 $script_dir/../../verilog/rtl/defines.v\
42 $script_dir/../../verilog/rtl/mgmt_protect_hv.v"
43
44set ::env(SYNTH_READ_BLACKBOX_LIB) 1
45
46set ::env(SYNTH_TOP_LEVEL) 1
47
48set ::env(FP_SIZING) absolute
Ahmed Ghazy4c9be282020-12-14 20:13:23 +020049set ::env(DIE_AREA) "0 0 150 20"
Ahmed Ghazye75f2622020-12-10 19:29:38 +020050
51set ::env(FP_PIN_ORDER_CFG) $script_dir/pin_order.cfg
Ahmed Ghazy83fc6852020-11-30 22:38:21 +020052
53set ::env(CLOCK_TREE_SYNTH) 0
54
55set ::env(CELL_PAD) 0
56
57set ::env(PL_RANDOM_GLB_PLACEMENT) 1
58
59set ::env(BOTTOM_MARGIN_MULT) 1
Ahmed Ghazy4c9be282020-12-14 20:13:23 +020060set ::env(TOP_MARGIN_MULT) 0
Ahmed Ghazye75f2622020-12-10 19:29:38 +020061set ::env(LEFT_MARGIN_MULT) 10
62set ::env(RIGHT_MARGIN_MULT) 0
Ahmed Ghazy83fc6852020-11-30 22:38:21 +020063
64set ::env(PLACE_SITE) "unithv"
65set ::env(PLACE_SITE_WIDTH) 0.480
66set ::env(PLACE_SITE_HEIGHT) 4.07