Unverified Commit 5f50ed30 by Sayak Kundu Committed by GitHub

Merge pull request #31 from TILOS-AI-Institute/flow_scripts

Flow scripts
parents dd31b3a7 6c84c571
...@@ -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
......
...@@ -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:':
......
...@@ -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:':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment