Skip to content

Commit

Permalink
ifp: Fix tcl formatting.
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Costa <[email protected]>
  • Loading branch information
titan73 committed Oct 31, 2024
1 parent d1afcdf commit b8982c4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ifp/src/InitFloorplan.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ proc initialize_floorplan { args } {
if { [info exists keys(-utilization)] } {
set util $keys(-utilization)
if { [info exists keys(-die_area)] } {
utl::error IFP 14 "-die_area cannot be used with -utilization."
utl::error IFP 14 "-die_area cannot be used with -utilization."
}
if { [info exists keys(-core_area)] } {
utl::error IFP 20 "-core_area cannot be used with -utilization."
utl::error IFP 20 "-core_area cannot be used with -utilization."
}
if { [info exists keys(-core_space)] } {
set core_sp $keys(-core_space)
Expand Down Expand Up @@ -129,13 +129,13 @@ proc initialize_floorplan { args } {
$flipped_sites
} elseif { [info exists keys(-die_area)] } {
if { [info exists keys(-utilization)] } {
utl::error IFP 23 "-utilization cannot be used with -die_area."
utl::error IFP 23 "-utilization cannot be used with -die_area."
}
if { [info exists keys(-core_space)] } {
utl::error IFP 24 "-core_space cannot be used with -die_area."
utl::error IFP 24 "-core_space cannot be used with -die_area."
}
if { [info exists keys(-aspect_ratio)] } {
utl::error IFP 33 "-aspect_ratio cannot be used with -die_area."
utl::error IFP 33 "-aspect_ratio cannot be used with -die_area."
}
set die_area $keys(-die_area)
if { [llength $die_area] != 4 } {
Expand Down

0 comments on commit b8982c4

Please sign in to comment.