Commit 6c84c571 by sakundu

Updated placement.tcl generation script from plc and protobuf netlist.

parent 9bca3407
......@@ -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:':
......
......@@ -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:':
......
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