File tree Expand file tree Collapse file tree 6 files changed +19
-13
lines changed Expand file tree Collapse file tree 6 files changed +19
-13
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ configuration file.
133133| <a name =" PLACE_PINS_ARGS " ></a >PLACE_PINS_ARGS| Arguments to place_pins| | |
134134| <a name =" PLACE_SITE " ></a >PLACE_SITE| Placement site for core cells defined in the technology LEF file.| | |
135135| <a name =" PLATFORM " ></a >PLATFORM| Specifies process design kit or technology node to be used.| | |
136+ | <a name =" PLATFORM_TCL " ></a >PLATFORM_TCL| Specifies a Tcl script with commands to run before loading design.| | |
136137| <a name =" POST_CTS_TCL " ></a >POST_CTS_TCL| Specifies a Tcl script with commands to run after CTS is completed.| | |
137138| <a name =" PROCESS " ></a >PROCESS| Technology node or process in use.| | |
138139| <a name =" PWR_NETS_VOLTAGES " ></a >PWR_NETS_VOLTAGES| Used for IR Drop calculation.| | |
@@ -413,6 +414,7 @@ configuration file.
413414- [ LIB_FILES] ( #LIB_FILES )
414415- [ MACRO_EXTENSION] ( #MACRO_EXTENSION )
415416- [ PLATFORM] ( #PLATFORM )
417+ - [ PLATFORM_TCL] ( #PLATFORM_TCL )
416418- [ PROCESS] ( #PROCESS )
417419- [ RCX_RULES] ( #RCX_RULES )
418420- [ RECOVER_POWER] ( #RECOVER_POWER )
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ ifeq ($(LIB_MODEL),)
77endif
88export LIB_DIR ?= $(PLATFORM_DIR ) /lib/$(LIB_MODEL )
99
10+ export PLATFORM_TCL = $(PLATFORM_DIR ) /liberty_suppressions.tcl
11+
1012# Library Setup variable
1113export TECH_LEF = $(PLATFORM_DIR ) /lef/asap7_tech_1x_201209.lef
1214
Original file line number Diff line number Diff line change 1+ # To remove [WARNING STA-1212] from the logs for ASAP7.
2+ # /OpenROAD-flow-scripts/flow/platforms/asap7/lib/asap7sc7p5t_SIMPLE_RVT_TT_nldm_211120.lib.gz line 13178, timing group from output port.
3+ # Added following suppress_message
4+ log_cmd suppress_message STA 1212
Original file line number Diff line number Diff line change @@ -3,6 +3,12 @@ source $::env(SCRIPTS_DIR)/util.tcl
33source $::env(SCRIPTS_DIR) /report_metrics.tcl
44
55proc load_design {design_file sdc_file} {
6+ # Source platform-related Tcl command (initially for suppressing Liberty
7+ # warnings
8+ if {[env_var_exists_and_non_empty PLATFORM_TCL]} {
9+ log_cmd source $::env(PLATFORM_TCL)
10+ }
11+
612 # Read liberty files
713 source $::env(SCRIPTS_DIR) /read_liberty.tcl
814
@@ -31,7 +37,7 @@ proc load_design {design_file sdc_file} {
3137 log_cmd source $::env(PLATFORM_DIR) /derate.tcl
3238 }
3339
34- log_cmd source $::env(PLATFORM_DIR) /setRC.tcl
40+ source $::env(PLATFORM_DIR) /setRC.tcl
3541
3642 if { [env_var_equals LIB_MODEL CCS] } {
3743 puts " Using CCS delay calculation"
Original file line number Diff line number Diff line change 1- # To remove [WARNING STA-1212] from the logs for ASAP7.
2- # /OpenROAD-flow-scripts/flow/platforms/asap7/lib/asap7sc7p5t_SIMPLE_RVT_TT_nldm_211120.lib.gz line 13178, timing group from output port.
3- # Added following suppress_message
4- if {[env_var_equals PLATFORM asap7]} {
5- suppress_message STA 1212
6- }
7-
81# Read Liberty
92if {[env_var_exists_and_non_empty CORNERS]} {
103 # corners
114 define_corners {*}$::env(CORNERS)
125 foreach corner $::env(CORNERS) {
136 set LIBKEY " [ string toupper $corner ] _LIB_FILES"
147 foreach libFile $::env($LIBKEY) {
15- read_liberty -corner $corner $libFile
8+ read_liberty -corner $corner $libFile
169 }
1710 unset LIBKEY
1811 }
@@ -23,7 +16,3 @@ if {[env_var_exists_and_non_empty CORNERS]} {
2316 read_liberty $libFile
2417 }
2518}
26-
27- if {[env_var_equals PLATFORM asap7]} {
28- unsuppress_message STA 1212
29- }
Original file line number Diff line number Diff line change @@ -146,6 +146,9 @@ LIB_FILES:
146146 A Liberty file of the standard cell library with PVT characterization,
147147 input and output characteristics, timing and power definitions for each
148148 cell.
149+ PLATFORM_TCL :
150+ description : |
151+ Specifies a Tcl script with commands to run before loading design.
149152DONT_USE_CELLS :
150153 description : |
151154 Dont use cells eases pin access in detailed routing.
You can’t perform that action at this time.
0 commit comments