|
|
|
@ -459,7 +459,7 @@ class Circuit:
@@ -459,7 +459,7 @@ class Circuit:
|
|
|
|
|
for l, ll in zip(impl_out_lines, node_out_lines): # connect outputs |
|
|
|
|
if ll is None: |
|
|
|
|
if l.driver in node_map: |
|
|
|
|
self.remove_dangling_nodes(node_map[l.driver], keep=set(self.s_nodes)) |
|
|
|
|
self.remove_dangling_nodes(node_map[l.driver], keep=ios) |
|
|
|
|
continue |
|
|
|
|
if len(l.reader.outs) > 0: # output is also read by impl. circuit, connect to fork. |
|
|
|
|
ll.driver = node_map[l.reader] |
|
|
|
|