Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
macroplacement
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
macroplacement
Commits
af634837
Commit
af634837
authored
Aug 12, 2022
by
sakundu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update protobuff generation script to include floorplan box
Signed-off-by: sakundu <sakundu@ucsd.edu>
parent
678a5bc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
Flows/util/gen_pb.tcl
+8
-3
No files found.
Flows/util/gen_pb.tcl
View file @
af634837
...
@@ -4,6 +4,10 @@
...
@@ -4,6 +4,10 @@
# We thank Cadence for granting permission to share our research to help
# We thank Cadence for granting permission to share our research to help
# promote and foster the next generation of innovators.
# promote and foster the next generation of innovators.
# Author: Sayak Kundu, ABKGroup, UCSD
# Author: Sayak Kundu, ABKGroup, UCSD
#
# Usage: First source the script in Innovus shell. then use gen_pb_netlist
# command to write out the netlist. The protobuf netlist will be available
# as <design name>.pb.txt.
#############################################################################
#############################################################################
#### Print the design header ####
#### Print the design header ####
...
@@ -12,13 +16,14 @@ proc print_header { fp } {
...
@@ -12,13 +16,14 @@ proc print_header { fp } {
set user
[
exec
whoami
]
set user
[
exec
whoami
]
set date
[
exec
date
]
set date
[
exec
date
]
set run_dir
[
exec
pwd
]
set run_dir
[
exec
pwd
]
set fp_box
[
dbget top.fplan.box
]
set fp_box_ll
[
dbget top.fplan.box_ll
]
set fp_box_ur
[
dbget top.fplan.box_ur
]
puts
$fp
"# User:
$user
"
puts
$fp
"# User:
$user
"
puts
$fp
"# Date:
$date
"
puts
$fp
"# Date:
$date
"
puts
$fp
"# Run area:
$run
_dir"
puts
$fp
"# Run area:
$run
_dir"
puts
$fp
"#
C
urrent_design:
$design
"
puts
$fp
"#
c
urrent_design:
$design
"
puts
$fp
"# FP bbox:
$fp
_box"
puts
$fp
"# FP bbox:
$fp
_box
_ll
$fp
_box_ur
"
}
}
#### Print helper ####
#### Print helper ####
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment