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
6c84c571
Commit
6c84c571
authored
Sep 28, 2022
by
sakundu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated placement.tcl generation script from plc and protobuf netlist.
parent
9bca3407
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-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_plc_from_pb.py
View file @
6c84c571
...
...
@@ -40,6 +40,8 @@ keys = set()
for
line
in
lines
:
words
=
line
.
split
()
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_id
+=
1
elif
words
[
0
]
==
'name:'
:
...
...
Flows/util/plc_pb_to_placement_tcl.py
View file @
6c84c571
...
...
@@ -58,6 +58,8 @@ keys = set()
for
line
in
lines
:
words
=
line
.
split
()
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_id
+=
1
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