-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macro placement: reuse BoomTile_floorplan macro placement
Signed-off-by: Øyvind Harboe <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
source $::env(SCRIPTS_DIR)/load.tcl | ||
|
||
set filename [file join $::env(WORK_HOME) "macro_placement.tcl"] | ||
puts "Macro placement written to $filename" | ||
|
||
load_design 2_floorplan.odb 2_floorplan.sdc | ||
|
||
write_macro_placement $filename.tmp | ||
set f [open $filename.tmp r] | ||
set content [read $f] | ||
puts "content: $content" | ||
set content [string map {"/" "."} $content] | ||
puts "content after: $content" | ||
close $f | ||
|
||
set f [open $filename w] | ||
puts -nonewline $f $content | ||
close $f |