@@ -81,16 +81,12 @@ if { [info exist ::env(RESYNTH_TIMING_RECOVER)] && $::env(RESYNTH_TIMING_RECOVER
8181 puts " Post synth-opt tns"
8282 report_tns -digits 3
8383
84- if {![info exists save_checkpoint] || $save_checkpoint } {
85- write_verilog $::env(RESULTS_DIR) /2_pre_abc_timing.v
86- }
84+ write_verilog $::env(RESULTS_DIR) /2_pre_abc_timing.v
8785
8886 restructure -target timing -liberty_file $::env(DONT_USE_SC_LIB) \
8987 -work_dir $::env(RESULTS_DIR)
9088
91- if {![info exists save_checkpoint] || $save_checkpoint } {
92- write_verilog $::env(RESULTS_DIR) /2_post_abc_timing.v
93- }
89+ write_verilog $::env(RESULTS_DIR) /2_post_abc_timing.v
9490
9591 # post restructure area/timing report (ideal clocks)
9692 remove_buffers
@@ -123,9 +119,7 @@ if { [info exist ::env(RESYNTH_AREA_RECOVER)] && $::env(RESYNTH_AREA_RECOVER) ==
123119 report_design_area_metrics
124120 utl::pop_metrics_stage
125121
126- if {![info exists save_checkpoint] || $save_checkpoint } {
127- write_verilog $::env(RESULTS_DIR) /2_pre_abc.v
128- }
122+ write_verilog $::env(RESULTS_DIR) /2_pre_abc.v
129123
130124 set tielo_cell_name [lindex $env(TIELO_CELL_AND_PORT) 0]
131125 set tielo_lib_name [get_name [get_property [lindex [get_lib_cell $tielo_cell_name ] 0] library]]
@@ -143,9 +137,7 @@ if { [info exist ::env(RESYNTH_AREA_RECOVER)] && $::env(RESYNTH_AREA_RECOVER) ==
143137 # remove buffers inserted by abc
144138 remove_buffers
145139
146- if {![info exists save_checkpoint] || $save_checkpoint } {
147- write_verilog $::env(RESULTS_DIR) /2_post_abc.v
148- }
140+ write_verilog $::env(RESULTS_DIR) /2_post_abc.v
149141 utl::push_metrics_stage " floorplan__{}__post_restruct"
150142 set num_instances [llength [get_cells -hier *]]
151143 puts " number instances after restructure is $num_instances "
@@ -159,10 +151,8 @@ if { [info exists ::env(POST_FLOORPLAN_TCL)] } {
159151 source $::env(POST_FLOORPLAN_TCL)
160152}
161153
162- if {![info exists save_checkpoint] || $save_checkpoint } {
163- if {[info exists ::env(GALLERY_REPORT)] && $::env(GALLERY_REPORT) != 0} {
164- write_def $::env(RESULTS_DIR) /2_1_floorplan.def
165- }
166- write_db $::env(RESULTS_DIR) /2_1_floorplan.odb
167- write_sdc -no_timestamp $::env(RESULTS_DIR) /2_floorplan.sdc
154+ if {[info exists ::env(GALLERY_REPORT)] && $::env(GALLERY_REPORT) != 0} {
155+ write_def $::env(RESULTS_DIR) /2_1_floorplan.def
168156}
157+ write_db $::env(RESULTS_DIR) /2_1_floorplan.odb
158+ write_sdc -no_timestamp $::env(RESULTS_DIR) /2_floorplan.sdc
0 commit comments