diff --git a/flow/scripts/synth_hier_report.tcl b/flow/scripts/synth_hier_report.tcl index cafe664309..d202330804 100644 --- a/flow/scripts/synth_hier_report.tcl +++ b/flow/scripts/synth_hier_report.tcl @@ -56,8 +56,8 @@ proc write_keep_hierarchy {} { set out_script_ptr [open $::env(SYNTH_STOP_MODULE_SCRIPT) w] puts $out_script_ptr "hierarchy -check -top $::env(DESIGN_NAME)" foreach module $module_list { - tee -o $::env(REPORTS_DIR)/synth_hier_stat_temp_module.txt stat -top "$module" {*}$stat_libs - set fptr1 [open $::env(REPORTS_DIR)/synth_hier_stat_temp_module.txt r] + tee -o $::env(OBJECTS_DIR)/synth_hier_stat_temp_module.txt stat -top "$module" {*}$stat_libs + set fptr1 [open $::env(OBJECTS_DIR)/synth_hier_stat_temp_module.txt r] set contents1 [read -nonewline $fptr1] close $fptr1 set split_cont1 [split $contents1 "\n"] @@ -73,7 +73,7 @@ proc write_keep_hierarchy {} { } } } - file delete -force $::env(REPORTS_DIR)/synth_hier_stat_temp_module.txt + file delete -force $::env(OBJECTS_DIR)/synth_hier_stat_temp_module.txt } close $out_script_ptr }