caravel/openlane/mgmt_protect/config.tcl

125 lines
3.4 KiB
Tcl
Raw Normal View History

2021-11-13 04:34:33 -06:00
# SPDX-FileCopyrightText: 2020 Efabless Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0
set script_dir [file dirname [file normalize [info script]]]
set ::env(DESIGN_NAME) mgmt_protect
set ::env(ROUTING_CORES) 6
set ::env(VERILOG_FILES) "\
$script_dir/../../verilog/rtl/defines.v\
$script_dir/../../verilog/rtl/mgmt_protect.v"
set ::env(RUN_KLAYOUT) 0
# virtual clock
set ::env(CLOCK_PERIOD) 8
set ::env(CLOCK_PORT) ""
# Synthesis
set ::env(SYNTH_READ_BLACKBOX_LIB) 1
set ::env(SYNTH_USE_PG_PINS_DEFINES) "USE_POWER_PINS"
set ::env(CLOCK_TREE_SYNTH) 0
## Floorplan
set ::env(FP_SIZING) absolute
set ::env(DIE_AREA) "0 0 1100 120"
set ::env(FP_PIN_ORDER_CFG) $script_dir/pin_order.cfg
set ::env(FP_VERTICAL_HALO) 14
set ::env(FP_HORIZONTAL_HALO) 14
set ::env(FP_IO_MIN_DISTANCE) 5
set ::env(BOTTOM_MARGIN_MULT) 2
set ::env(TOP_MARGIN_MULT) 2
set ::env(LEFT_MARGIN_MULT) 12
set ::env(RIGHT_MARGIN_MULT) 12
set ::env(FP_IO_VEXTEND) 2
set ::env(FP_IO_HEXTEND) 2
set ::env(CELL_PAD) 0
## PDN
set ::env(PDN_CFG) $script_dir/pdn.tcl
set ::env(FP_PDN_CHECK_NODES) 0
set ::env(FP_PDN_IRDROP) "0"
set ::env(FP_PDN_AUTO_ADJUST) 0
set ::env(FP_PDN_VOFFSET) 15
set ::env(FP_PDN_HOFFSET) 5
set ::env(FP_PDN_VWIDTH) 0.9
set ::env(FP_PDN_HWIDTH) 0.9
set ::env(FP_PDN_VPITCH) 150.5
set ::env(FP_PDN_HPITCH) 5.44
set ::env(FP_PDN_VSPACING) 3.2
set ::env(FP_PDN_CORE_RING) 0
set ::env(FP_PDN_CORE_RING_VWIDTH) 0.9
set ::env(FP_PDN_CORE_RING_HWIDTH) 0.9
set ::env(FP_PDN_CORE_RING_VOFFSET) 7
set ::env(FP_PDN_CORE_RING_HOFFSET) 7
set ::env(FP_PDN_CORE_RING_VSPACING) 0.42
set ::env(FP_PDN_CORE_RING_HSPACING) 0.42
set ::env(FP_PDN_LOWER_LAYER) met4
set ::env(FP_PDN_UPPER_LAYER) met3
set ::env(VDD_NETS) "vccd vccd1 vccd2 vdda1 vdda2"
set ::env(GND_NETS) "vssd vssd1 vssd2 vssa1 vssa2"
## Placement
set ::env(PL_TARGET_DENSITY) 0.17
set ::env(PL_RESIZER_DESIGN_OPTIMIZATIONS) 1
set ::env(PL_RESIZER_TIMING_OPTIMIZATIONS) 0
set ::env(PL_RESIZER_MAX_SLEW_MARGIN) 25
## Routing
set ::env(GLB_RT_MINLAYER) 2
set ::env(GLB_RT_MAXLAYER) 5
set ::env(GLB_RT_ADJUSTMENT) 0.00
set ::env(GLB_RT_OVERFLOW_ITERS) 250
set ::env(GLB_RT_ALLOW_CONGESTION) 1
set ::env(GLB_RESIZER_TIMING_OPTIMIZATIONS) 0
## Diode Insertion
set ::env(DIODE_INSERTION_STRATEGY) 1
## Internal Macros
set ::env(MACRO_PLACEMENT_CFG) $script_dir/macro_placement.cfg
set ::env(VERILOG_FILES_BLACKBOX) "\
$script_dir/../../verilog/rtl/mprj_logic_high.v\
$script_dir/../../verilog/rtl/mprj2_logic_high.v\
$script_dir/../../verilog/rtl/mgmt_protect_hv.v"
set ::env(EXTRA_LEFS) "\
$script_dir/../../lef/mprj_logic_high.lef\
$script_dir/../../lef/mprj2_logic_high.lef\
$script_dir/../../lef/mgmt_protect_hv.lef"
set ::env(EXTRA_GDS_FILES) "\
$script_dir/../../gds/mprj_logic_high.gds\
$script_dir/../../gds/mprj2_logic_high.gds\
$script_dir/../../gds/mgmt_protect_hv.gds"
## LVS
set ::env(QUIT_ON_LVS_ERROR) 0