dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 1 | # Global |
| 2 | # ------ |
| 3 | |
| 4 | set script_dir [file dirname [file normalize [info script]]] |
| 5 | # Name |
| 6 | set ::env(DESIGN_NAME) glbl_cfg |
dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 7 | |
dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 8 | |
| 9 | # Timing configuration |
| 10 | set ::env(CLOCK_PERIOD) "10" |
| 11 | set ::env(CLOCK_PORT) "mclk" |
| 12 | |
dineshannayya | ea1e6f3 | 2021-06-20 14:49:02 +0530 | [diff] [blame] | 13 | set ::env(SYNTH_MAX_FANOUT) 4 |
dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 14 | |
| 15 | # Sources |
| 16 | # ------- |
| 17 | |
| 18 | # Local sources + no2usb sources |
| 19 | set ::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 | |
dineshannayya | ea1e6f3 | 2021-06-20 14:49:02 +0530 | [diff] [blame] | 25 | set ::env(SDC_FILE) "$script_dir/base.sdc" |
| 26 | set ::env(BASE_SDC_FILE) "$script_dir/base.sdc" |
dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 27 | |
dineshannayya | 3f698f9 | 2021-06-24 14:38:50 +0530 | [diff] [blame] | 28 | set ::env(LEC_ENABLE) 0 |
| 29 | |
dineshannayya | feb1877 | 2021-06-27 14:33:18 +0530 | [diff] [blame] | 30 | set ::env(VDD_PIN) [list {vccd1}] |
| 31 | set ::env(GND_PIN) [list {vssd1}] |
| 32 | |
| 33 | |
dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 34 | |
| 35 | # Floorplanning |
| 36 | # ------------- |
| 37 | |
| 38 | set ::env(FP_PIN_ORDER_CFG) $::env(DESIGN_DIR)/pin_order.cfg |
| 39 | |
dineshannayya | ea1e6f3 | 2021-06-20 14:49:02 +0530 | [diff] [blame] | 40 | set ::env(FP_SIZING) absolute |
dineshannayya | 3f698f9 | 2021-06-24 14:38:50 +0530 | [diff] [blame] | 41 | set ::env(DIE_AREA) "0 0 300 400" |
dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 42 | |
| 43 | |
dineshannayya | a908000 | 2021-06-27 22:40:09 +0530 | [diff] [blame^] | 44 | # If you're going to use multiple power domains, then keep this disabled. |
| 45 | set ::env(RUN_CVC) 0 |
dineshannayya | ea1e6f3 | 2021-06-20 14:49:02 +0530 | [diff] [blame] | 46 | |
dineshannayya | feb1877 | 2021-06-27 14:33:18 +0530 | [diff] [blame] | 47 | #set ::env(PDN_CFG) $script_dir/pdn.tcl |
dineshannayya | ea1e6f3 | 2021-06-20 14:49:02 +0530 | [diff] [blame] | 48 | |
dineshannayya | ea1e6f3 | 2021-06-20 14:49:02 +0530 | [diff] [blame] | 49 | |
dineshannayya | a908000 | 2021-06-27 22:40:09 +0530 | [diff] [blame^] | 50 | set ::env(PL_ROUTABILITY_DRIVEN) 1 |
dineshannayya | 44e67e1 | 2021-06-18 07:46:46 +0530 | [diff] [blame] | 51 | |
dineshannayya | a908000 | 2021-06-27 22:40:09 +0530 | [diff] [blame^] | 52 | set ::env(FP_IO_VEXTEND) 4 |
| 53 | set ::env(FP_IO_HEXTEND) 4 |
dineshannayya | ea1e6f3 | 2021-06-20 14:49:02 +0530 | [diff] [blame] | 54 | |
| 55 | |
dineshannayya | a908000 | 2021-06-27 22:40:09 +0530 | [diff] [blame^] | 56 | set ::env(GLB_RT_MAXLAYER) 4 |
| 57 | set ::env(GLB_RT_MAX_DIODE_INS_ITERS) 10 |
| 58 | |