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
5f50ed30
Unverified
Commit
5f50ed30
authored
Sep 28, 2022
by
Sayak Kundu
Committed by
GitHub
Sep 28, 2022
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #31 from TILOS-AI-Institute/flow_scripts
Flow scripts
parents
dd31b3a7
6c84c571
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
Flows/util/gen_macro_place_def.tcl
+2
-0
Flows/util/gen_plc_from_pb.py
+2
-0
Flows/util/plc_pb_to_placement_tcl.py
+2
-0
No files found.
Flows/util/gen_macro_place_def.tcl
View file @
5f50ed30
...
@@ -58,6 +58,8 @@ if {[info exist ::env(pb_netlist)] &&
...
@@ -58,6 +58,8 @@ if {[info exist ::env(pb_netlist)] &&
"macro_place.tcl"
$origin
_x
$origin
_y
"macro_place.tcl"
$origin
_x
$origin
_y
}
}
source
macro_place.tcl
if
{
[
info
exist ::env
(
run_refine_macro_place
)]
&&
$::env
(
run_refine_macro_place
)
== 1
}
{
if
{
[
info
exist ::env
(
run_refine_macro_place
)]
&&
$::env
(
run_refine_macro_place
)
== 1
}
{
dbset
[
dbget top.insts.cell.subClass block -p2
]
.pStatus placed
dbset
[
dbget top.insts.cell.subClass block -p2
]
.pStatus placed
refine_macro_place
refine_macro_place
...
...
Flows/util/gen_plc_from_pb.py
View file @
5f50ed30
...
@@ -40,6 +40,8 @@ keys = set()
...
@@ -40,6 +40,8 @@ keys = set()
for
line
in
lines
:
for
line
in
lines
:
words
=
line
.
split
()
words
=
line
.
split
()
if
words
[
0
]
==
'node'
:
if
words
[
0
]
==
'node'
:
if
len
(
node_list
)
>
0
and
node_list
[
-
1
]
.
name
==
'"__metadata__"'
:
node_list
.
pop
(
-
1
)
node_list
.
append
(
pb_object
(
node_id
))
node_list
.
append
(
pb_object
(
node_id
))
node_id
+=
1
node_id
+=
1
elif
words
[
0
]
==
'name:'
:
elif
words
[
0
]
==
'name:'
:
...
...
Flows/util/plc_pb_to_placement_tcl.py
View file @
5f50ed30
...
@@ -58,6 +58,8 @@ keys = set()
...
@@ -58,6 +58,8 @@ keys = set()
for
line
in
lines
:
for
line
in
lines
:
words
=
line
.
split
()
words
=
line
.
split
()
if
words
[
0
]
==
'node'
:
if
words
[
0
]
==
'node'
:
if
len
(
node_list
)
>
0
and
node_list
[
-
1
]
.
name
==
'"__metadata__"'
:
node_list
.
pop
(
-
1
)
node_list
.
append
(
pb_object
(
node_id
))
node_list
.
append
(
pb_object
(
node_id
))
node_id
+=
1
node_id
+=
1
elif
words
[
0
]
==
'name:'
:
elif
words
[
0
]
==
'name:'
:
...
...
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