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.
133
133
| <a name =" PLACE_PINS_ARGS " ></a >PLACE_PINS_ARGS| Arguments to place_pins| | |
134
134
| <a name =" PLACE_SITE " ></a >PLACE_SITE| Placement site for core cells defined in the technology LEF file.| | |
135
135
| <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.| | |
136
137
| <a name =" POST_CTS_TCL " ></a >POST_CTS_TCL| Specifies a Tcl script with commands to run after CTS is completed.| | |
137
138
| <a name =" PROCESS " ></a >PROCESS| Technology node or process in use.| | |
138
139
| <a name =" PWR_NETS_VOLTAGES " ></a >PWR_NETS_VOLTAGES| Used for IR Drop calculation.| | |
@@ -413,6 +414,7 @@ configuration file.
413
414
- [ LIB_FILES] ( #LIB_FILES )
414
415
- [ MACRO_EXTENSION] ( #MACRO_EXTENSION )
415
416
- [ PLATFORM] ( #PLATFORM )
417
+ - [ PLATFORM_TCL] ( #PLATFORM_TCL )
416
418
- [ PROCESS] ( #PROCESS )
417
419
- [ RCX_RULES] ( #RCX_RULES )
418
420
- [ RECOVER_POWER] ( #RECOVER_POWER )
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ ifeq ($(LIB_MODEL),)
7
7
endif
8
8
export LIB_DIR ?= $(PLATFORM_DIR ) /lib/$(LIB_MODEL )
9
9
10
+ export PLATFORM_TCL = $(PLATFORM_DIR ) /liberty_suppressions.tcl
11
+
10
12
# Library Setup variable
11
13
export TECH_LEF = $(PLATFORM_DIR ) /lef/asap7_tech_1x_201209.lef
12
14
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
3
3
source $::env(SCRIPTS_DIR) /report_metrics.tcl
4
4
5
5
proc 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
+
6
12
# Read liberty files
7
13
source $::env(SCRIPTS_DIR) /read_liberty.tcl
8
14
@@ -31,7 +37,7 @@ proc load_design {design_file sdc_file} {
31
37
log_cmd source $::env(PLATFORM_DIR) /derate.tcl
32
38
}
33
39
34
- log_cmd source $::env(PLATFORM_DIR) /setRC.tcl
40
+ source $::env(PLATFORM_DIR) /setRC.tcl
35
41
36
42
if { [env_var_equals LIB_MODEL CCS] } {
37
43
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
-
8
1
# Read Liberty
9
2
if {[env_var_exists_and_non_empty CORNERS]} {
10
3
# corners
11
4
define_corners {*}$::env(CORNERS)
12
5
foreach corner $::env(CORNERS) {
13
6
set LIBKEY " [ string toupper $corner ] _LIB_FILES"
14
7
foreach libFile $::env($LIBKEY) {
15
- read_liberty -corner $corner $libFile
8
+ read_liberty -corner $corner $libFile
16
9
}
17
10
unset LIBKEY
18
11
}
@@ -23,7 +16,3 @@ if {[env_var_exists_and_non_empty CORNERS]} {
23
16
read_liberty $libFile
24
17
}
25
18
}
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:
146
146
A Liberty file of the standard cell library with PVT characterization,
147
147
input and output characteristics, timing and power definitions for each
148
148
cell.
149
+ PLATFORM_TCL :
150
+ description : |
151
+ Specifies a Tcl script with commands to run before loading design.
149
152
DONT_USE_CELLS :
150
153
description : |
151
154
Dont use cells eases pin access in detailed routing.
You can’t perform that action at this time.
0 commit comments