Skip to content

Commit

Permalink
Merge pull request #2526 from Pinata-Consulting/synth-nit
Browse files Browse the repository at this point in the history
synth: nit, ephemral files belong in OBJECTS_DIR
  • Loading branch information
maliberty authored Oct 30, 2024
2 parents 10cbc1e + 9daa681 commit 8ac4d86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flow/scripts/synth_hier_report.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand All @@ -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
}
Expand Down

0 comments on commit 8ac4d86

Please sign in to comment.