Skip to content

Commit ed035fe

Browse files
authored
Merge pull request #2402 from The-OpenROAD-Project-staging/hier-info
Print flatten/keep info in synth_hier_report.tcl
2 parents 2caf38b + 71a065e commit ed035fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

flow/scripts/synth_hier_report.tcl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,13 @@ proc write_keep_hierarchy {} {
6363
set split_cont1 [split $contents1 "\n"]
6464
foreach line $split_cont1 {
6565
if {[regexp { +Chip area for top module '(\S+)': (.*)} $line -> module_name area]} {
66-
puts "Area of module $module_name is $area"
6766
if {[expr $area > $ungroup_threshold]} {
68-
puts "Preserving hierarchical module: $module_name"
67+
puts "Preserving module: $module_name (area: $area)"
6968
puts $out_script_ptr "select -module {$module_name}"
7069
puts $out_script_ptr "setattr -mod -set keep_hierarchy 1"
7170
puts $out_script_ptr "select -clear"
71+
} else {
72+
puts "Flattening module $module_name (area: $area)"
7273
}
7374
}
7475
}

0 commit comments

Comments
 (0)