Shorted outputs don't work in the presence of split nodes
isovector opened this issue · comments
In the following netlist, A
and B0
both should be connected to the output:
{"modules":{"module":{"ports":{"A":{"direction":"input","bits":[0]},"B":{"direction":"input","bits":[0,1]},"Y":{"direction":"output","bits":[0]}},"cells":{}}}}
but they are not! Instead, B
is floating:
A more correct rendering would be something like this:
Interestingly removing the second wire from B
properly connects everything:
{"modules":{"module":{"ports":{"A":{"direction":"input","bits":[0]},"B":{"direction":"input","bits":[0]},"Y":{"direction":"output","bits":[0]}},"cells":{}}}}
Thus, this appears to be a bug at the intersection of split nodes and shorts.
Good catch! When I added hyper edge support I did not consider splits and joins and vice versa.