@@ -110,84 +110,11 @@ if { [env_var_equals REMOVE_ABC_BUFFERS 1] } {
110110 repair_timing_helper 0
111111}
112112
113- # #### Restructure for timing #########
114- if { [env_var_equals RESYNTH_TIMING_RECOVER 1] } {
115- repair_design_helper
116- repair_timing_helper
117- # pre restructure area/timing report (ideal clocks)
118- puts " Post synth-opt area"
119- report_design_area
120- report_worst_slack -min -digits 3
121- puts " Post synth-opt wns"
122- report_worst_slack -max -digits 3
123- puts " Post synth-opt tns"
124- report_tns -digits 3
125-
126- write_verilog $::env(RESULTS_DIR) /2_pre_abc_timing.v
127-
128- restructure -target timing -liberty_file $::env(DONT_USE_SC_LIB) \
129- -work_dir $::env(RESULTS_DIR)
130-
131- write_verilog $::env(RESULTS_DIR) /2_post_abc_timing.v
132-
133- # post restructure area/timing report (ideal clocks)
134- remove_buffers
135- repair_design_helper
136- repair_timing_helper
137-
138- puts " Post restructure-opt wns"
139- report_worst_slack -max -digits 3
140- puts " Post restructure-opt tns"
141- report_tns -digits 3
142-
143- # remove buffers inserted by optimization
144- remove_buffers
145- }
146-
147-
148113puts " Default units for flow"
149114report_units
150115report_units_metric
151116report_metrics 2 " floorplan final" false false
152117
153- if { [env_var_equals RESYNTH_AREA_RECOVER 1] } {
154-
155- utl::push_metrics_stage " floorplan__{}__pre_restruct"
156- set num_instances [llength [get_cells -hier *]]
157- puts " number instances before restructure is $num_instances "
158- puts " Design Area before restructure"
159- report_design_area
160- report_design_area_metrics
161- utl::pop_metrics_stage
162-
163- write_verilog $::env(RESULTS_DIR) /2_pre_abc.v
164-
165- set tielo_cell_name [lindex $env(TIELO_CELL_AND_PORT) 0]
166- set tielo_lib_name [get_name [get_property [lindex [get_lib_cell $tielo_cell_name ] 0] library]]
167- set tielo_port $tielo_lib_name /$tielo_cell_name /[lindex $env(TIELO_CELL_AND_PORT) 1]
168-
169- set tiehi_cell_name [lindex $env(TIEHI_CELL_AND_PORT) 0]
170- set tiehi_lib_name [get_name [get_property [lindex [get_lib_cell $tiehi_cell_name ] 0] library]]
171- set tiehi_port $tiehi_lib_name /$tiehi_cell_name /[lindex $env(TIEHI_CELL_AND_PORT) 1]
172-
173- restructure -liberty_file $::env(DONT_USE_SC_LIB) -target " area" \
174- -tiehi_port $tiehi_port \
175- -tielo_port $tielo_port \
176- -work_dir $::env(RESULTS_DIR)
177-
178- # remove buffers inserted by abc
179- remove_buffers
180-
181- write_verilog $::env(RESULTS_DIR) /2_post_abc.v
182- utl::push_metrics_stage " floorplan__{}__post_restruct"
183- set num_instances [llength [get_cells -hier *]]
184- puts " number instances after restructure is $num_instances "
185- puts " Design Area after restructure"
186- report_design_area
187- report_design_area_metrics
188- utl::pop_metrics_stage
189- }
190-
191118if { [env_var_exists_and_non_empty POST_FLOORPLAN_TCL] } {
192119 log_cmd source $::env(POST_FLOORPLAN_TCL)
193120}
0 commit comments