blob: 57c4e51bf4587c014d892c10d470f22566c48402 [file] [log] [blame]
dineshannayya913410a2021-10-13 22:29:46 +05301# SPDX-FileCopyrightText: 2021 , Dinesh Annayya
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# SPDX-License-Identifier: Apache-2.0
15# SPDX-FileContributor: Modified by Dinesh Annayya <dinesha@opencores.org>
16
17# Global
18# ------
19
20set script_dir [file dirname [file normalize [info script]]]
21# Name
dineshannayyac928ee32021-11-19 21:20:20 +053022set ::env(DESIGN_NAME) wb_interconnect
dineshannayya913410a2021-10-13 22:29:46 +053023
dineshannayya913410a2021-10-13 22:29:46 +053024
25set ::env(DESIGN_IS_CORE) "0"
dineshannayyac928ee32021-11-19 21:20:20 +053026set ::env(FP_PDN_CORE_RING) "0"
dineshannayya913410a2021-10-13 22:29:46 +053027
28# Timing configuration
dineshannayyac928ee32021-11-19 21:20:20 +053029set ::env(CLOCK_PERIOD) "10"
30set ::env(CLOCK_PORT) "clk_i"
dineshannayya913410a2021-10-13 22:29:46 +053031
32set ::env(SYNTH_MAX_FANOUT) 4
33
34# Sources
35# -------
36
37# Local sources + no2usb sources
38set ::env(VERILOG_FILES) "\
dineshannayyac928ee32021-11-19 21:20:20 +053039 $script_dir/../../verilog/rtl/clk_skew_adjust/src/clk_skew_adjust.gv \
40 $script_dir/../../verilog/rtl/lib/wb_stagging.sv \
41 $script_dir/../../verilog/rtl/wb_interconnect/src/wb_interconnect.sv \
42 "
dineshannayya913410a2021-10-13 22:29:46 +053043
dineshannayya59a04a62021-11-22 08:12:11 +053044set ::env(SYNTH_PARAMS) "CH_CLK_WD 9,\
45 CH_DATA_WD 104 \
46 "
dineshannayya913410a2021-10-13 22:29:46 +053047set ::env(SYNTH_READ_BLACKBOX_LIB) 1
dineshannayyaff3bedd2021-11-14 22:31:41 +053048set ::env(SDC_FILE) "$script_dir/base.sdc"
49set ::env(BASE_SDC_FILE) "$script_dir/base.sdc"
dineshannayya913410a2021-10-13 22:29:46 +053050
51set ::env(LEC_ENABLE) 0
52
53set ::env(VDD_PIN) [list {vccd1}]
54set ::env(GND_PIN) [list {vssd1}]
55
56
57# Floorplanning
58# -------------
59
60set ::env(FP_PIN_ORDER_CFG) $::env(DESIGN_DIR)/pin_order.cfg
61
62set ::env(FP_SIZING) absolute
dineshannayya59a04a62021-11-22 08:12:11 +053063set ::env(DIE_AREA) "0 0 200 2200"
dineshannayya913410a2021-10-13 22:29:46 +053064
65
66# If you're going to use multiple power domains, then keep this disabled.
dineshannayyac928ee32021-11-19 21:20:20 +053067set ::env(RUN_CVC) 0
dineshannayya913410a2021-10-13 22:29:46 +053068
69#set ::env(PDN_CFG) $script_dir/pdn.tcl
70
71
dineshannayyaff3bedd2021-11-14 22:31:41 +053072set ::env(PL_TIME_DRIVEN) 1
dineshannayyac928ee32021-11-19 21:20:20 +053073set ::env(FP_CORE_UTIL) "50"
74set ::env(PL_TARGET_DENSITY) "0.50"
dineshannayya913410a2021-10-13 22:29:46 +053075
dineshannayyac928ee32021-11-19 21:20:20 +053076# helps in anteena fix
77set ::env(USE_ARC_ANTENNA_CHECK) "0"
dineshannayya913410a2021-10-13 22:29:46 +053078
79set ::env(FP_IO_VEXTEND) 4
80set ::env(FP_IO_HEXTEND) 4
81
82set ::env(FP_PDN_VPITCH) 100
83set ::env(FP_PDN_HPITCH) 100
84set ::env(FP_PDN_VWIDTH) 5
85set ::env(FP_PDN_HWIDTH) 5
86
87set ::env(GLB_RT_MAXLAYER) 5
88set ::env(GLB_RT_MAX_DIODE_INS_ITERS) 10
dineshannayya913410a2021-10-13 22:29:46 +053089set ::env(DIODE_INSERTION_STRATEGY) 4
90
91
dineshannayya99bd6ab2021-10-20 19:33:20 +053092set ::env(QUIT_ON_TIMING_VIOLATIONS) "0"
dineshannayyac928ee32021-11-19 21:20:20 +053093set ::env(QUIT_ON_MAGIC_DRC) "1"
dineshannayya99bd6ab2021-10-20 19:33:20 +053094set ::env(QUIT_ON_LVS_ERROR) "0"
95set ::env(QUIT_ON_SLEW_VIOLATIONS) "0"
dineshannayyac928ee32021-11-19 21:20:20 +053096
97set ::env(GLB_RESIZER_TIMING_OPTIMIZATIONS) "0"
98set ::env(PL_RESIZER_BUFFER_INPUT_PORTS) "0"
dineshannayya4376ed52021-11-23 14:02:30 +053099set ::env(PL_RESIZER_BUFFER_OUTPUT_PORTS) "1"
dineshannayyac928ee32021-11-19 21:20:20 +0530100