File tree Expand file tree Collapse file tree 9 files changed +24
-9
lines changed
Expand file tree Collapse file tree 9 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 104104# Default design
105105DESIGN_CONFIG ?= ./designs/nangate45/gcd/config.mk
106106
107- # Default TNS_END_PERCENT value
108- export TNS_END_PERCENT ?=5
107+ # Default TNS_END_PERCENT value for post CTS timing repair
108+ # Try fixing all violating endpoints by default (reduce to 5% for runtime)
109+ export TNS_END_PERCENT ?=100
109110
110111# If we are running headless use offscreen rendering for save_image
111112ifndef DISPLAY
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ export DESIGN_NAME = bsg_chip
33export PLATFORM = gf12
44
55export SKIP_GATE_CLONING = 1
6+ export TNS_END_PERCENT = 5
67
78# export VERILOG_FILES = $(PLATFORM_DIR)/bp/bsg_ac_black_parrot_single_core_v0/bsg_chip.sv2v.v
89export VERILOG_FILES = $(PLATFORM_DIR ) /bp/bsg_ac_black_parrot_single_core_v0/yosys/synth_don_abc_script.v \
Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ export DESIGN_NICKNAME = bp_single
22export DESIGN_NAME = bsg_chip
33export PLATFORM = gf12
44
5+ export SKIP_GATE_CLONING = 1
6+ export TNS_END_PERCENT = 5
7+
58export SYNTH_HIERARCHICAL = 1
69export RTLMP_FLOW = True
710#
Original file line number Diff line number Diff line change 6565export DESIGN_TYPE = CELL_NODEN
6666endif
6767
68- export SKIP_PIN_SWAP = 1
68+ # export SKIP_PIN_SWAP = 1
6969export SKIP_INCREMENTAL_REPAIR = 1
70+ export TNS_END_PERCENT = 5
Original file line number Diff line number Diff line change 2020export DESIGN_TYPE = CELL_NODEN
2121endif
2222
23- export SKIP_PIN_SWAP = 1
23+ # export SKIP_PIN_SWAP = 1
2424export SKIP_GATE_CLONING = 1
25+
Original file line number Diff line number Diff line change @@ -15,4 +15,5 @@ export CORE_AREA = 1.26 1.89 248 248
1515
1616
1717export PLACE_DENSITY = uniform
18- export SKIP_PIN_SWAP = 1
18+ # export SKIP_PIN_SWAP = 1
19+ export SKIP_GATE_CLONING = 1
Original file line number Diff line number Diff line change 325325 "synth__mem__peak" : 134532.0 ,
326326 "synth__runtime__total" : " 0:48.61" ,
327327 "total_time" : " 0:08:54.570000"
328- }
328+ }
Original file line number Diff line number Diff line change 2828 "compare" : " <="
2929 },
3030 "detailedroute__route__wirelength" : {
31- "value" : 283519 ,
31+ "value" : 265022 ,
3232 "compare" : " <="
3333 },
3434 "detailedroute__route__drc_errors" : {
5959 "value" : -10.0 ,
6060 "compare" : " >="
6161 }
62- }
62+ }
Original file line number Diff line number Diff line change @@ -70,7 +70,14 @@ if { ![info exists ::env(SKIP_INCREMENTAL_REPAIR)] } {
7070 # Repair timing using global route parasitics
7171 puts " Repair setup and hold violations..."
7272 estimate_parasitics -global_routing
73- repair_timing -verbose
73+
74+ # process user settings
75+ set additional_args " -verbose"
76+ append_env_var additional_args SKIP_PIN_SWAP -skip_pin_swap 0
77+ append_env_var additional_args SKIP_GATE_CLONING -skip_gate_cloning 0
78+ puts " repair_timing [ join $additional_args " " ] "
79+ repair_timing {*}$additional_args
80+
7481 if {[info exist ::env(DETAILED_METRICS)]} {
7582 report_metrics 5 " global route post repair timing"
7683 }
You can’t perform that action at this time.
0 commit comments