Skip to content

Commit

Permalink
Fixed node lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshgore committed Jan 20, 2025
1 parent fbe150a commit b5d202a
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 307 deletions.
4 changes: 2 additions & 2 deletions examples/OpenFPGA_basic/06_generate_rrgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def main():
elif side.lower() == "ipin":
sink_nodes.append(
rrgraph_bin.pin_node_lookup[X - 1][Y - 1][
(int(rrgraph_bin.pin_to_ptc[seg_type]), None)
(int(rrgraph_bin.pin_to_ptc[seg_type]), "ipin")
]
)
else:
Expand Down Expand Up @@ -227,7 +227,7 @@ def main():
elif side.lower() == "opin":
source_nodes.append(
rrgraph_bin.pin_node_lookup[X - 1][Y - 1][
(int(rrgraph_bin.pin_to_ptc[seg_type]), None)
(int(rrgraph_bin.pin_to_ptc[seg_type]), "opin")
]
)

Expand Down
Loading

0 comments on commit b5d202a

Please sign in to comment.