blob: 3dbd66b2d481de8bf557ce99a2c1f7b9187546ca [file] [log] [blame]
dineshannayya44e67e12021-06-18 07:46:46 +05301# Global
2# ------
3
4set script_dir [file dirname [file normalize [info script]]]
5# Name
6set ::env(DESIGN_NAME) glbl_cfg
dineshannayya44e67e12021-06-18 07:46:46 +05307
dineshannayya44e67e12021-06-18 07:46:46 +05308
9# Timing configuration
10set ::env(CLOCK_PERIOD) "10"
11set ::env(CLOCK_PORT) "mclk"
12
dineshannayyaea1e6f32021-06-20 14:49:02 +053013set ::env(SYNTH_MAX_FANOUT) 4
dineshannayya44e67e12021-06-18 07:46:46 +053014
15# Sources
16# -------
17
18# Local sources + no2usb sources
19set ::env(VERILOG_FILES) "\
20 $script_dir/../../verilog/rtl/lib/registers.v \
21 $script_dir/../../verilog/rtl/lib/clk_ctl.v \
22 $script_dir/../../verilog/rtl/digital_core/src/glbl_cfg.sv \
23 "
24
dineshannayyaea1e6f32021-06-20 14:49:02 +053025set ::env(SDC_FILE) "$script_dir/base.sdc"
26set ::env(BASE_SDC_FILE) "$script_dir/base.sdc"
dineshannayya44e67e12021-06-18 07:46:46 +053027
dineshannayya3f698f92021-06-24 14:38:50 +053028set ::env(LEC_ENABLE) 0
29
dineshannayyafeb18772021-06-27 14:33:18 +053030set ::env(VDD_PIN) [list {vccd1}]
31set ::env(GND_PIN) [list {vssd1}]
32
33
dineshannayya44e67e12021-06-18 07:46:46 +053034
35# Floorplanning
36# -------------
37
38set ::env(FP_PIN_ORDER_CFG) $::env(DESIGN_DIR)/pin_order.cfg
39
dineshannayyaea1e6f32021-06-20 14:49:02 +053040set ::env(FP_SIZING) absolute
dineshannayya3f698f92021-06-24 14:38:50 +053041set ::env(DIE_AREA) "0 0 300 400"
dineshannayya44e67e12021-06-18 07:46:46 +053042
43
dineshannayyaa9080002021-06-27 22:40:09 +053044# If you're going to use multiple power domains, then keep this disabled.
45set ::env(RUN_CVC) 0
dineshannayyaea1e6f32021-06-20 14:49:02 +053046
dineshannayyafeb18772021-06-27 14:33:18 +053047#set ::env(PDN_CFG) $script_dir/pdn.tcl
dineshannayyaea1e6f32021-06-20 14:49:02 +053048
dineshannayyaea1e6f32021-06-20 14:49:02 +053049
dineshannayyaa9080002021-06-27 22:40:09 +053050set ::env(PL_ROUTABILITY_DRIVEN) 1
dineshannayya44e67e12021-06-18 07:46:46 +053051
dineshannayyaa9080002021-06-27 22:40:09 +053052set ::env(FP_IO_VEXTEND) 4
53set ::env(FP_IO_HEXTEND) 4
dineshannayyaea1e6f32021-06-20 14:49:02 +053054
55
dineshannayyaa9080002021-06-27 22:40:09 +053056set ::env(GLB_RT_MAXLAYER) 4
57set ::env(GLB_RT_MAX_DIODE_INS_ITERS) 10
58