Skip to content

Commit

Permalink
mock area: prettier output
Browse files Browse the repository at this point in the history
Signed-off-by: Øyvind Harboe <[email protected]>
  • Loading branch information
oharboe committed Oct 12, 2024
1 parent a3f4601 commit 9738289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mock_area.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ set scale [expr $::env(MOCK_AREA) / $dbu_per_uu]

set file [open $out_file w]
tee $file "export DIE_AREA=0 0 [expr $scale*[$die_bbox xMax]] [expr $scale*[$die_bbox yMax]]"
tee $file "export CORE_AREA=[expr $scale*[$core_bbox xMin]] [expr $scale*[$core_bbox yMin]] \
[expr $scale*([$die_bbox xMax] - ([$die_bbox xMax] - [$core_bbox xMax]))] \
tee $file "export CORE_AREA=[expr $scale*[$core_bbox xMin]] [expr $scale*[$core_bbox yMin]]\
[expr $scale*([$die_bbox xMax] - ([$die_bbox xMax] - [$core_bbox xMax]))]\
[expr $scale*([$die_bbox yMax] - ([$die_bbox yMax] - [$core_bbox yMax]))]"
tee $file "export CORE_UTILIZATION="
close $file

0 comments on commit 9738289

Please sign in to comment.