If not mistake, FPGA_Network.convert_network() seems to assume consecutive nodes are consecutive even in the traverse_list but currently it might not be satisfied if network with branches is given.
Example network is this one.
0 --> 1 ---> 3 ---> 4
\ \
--> 2 --> 5 --> 6 --> 7
traverse_list can become [0, 1, 3, 2, 4, 5, 6, 7].
If not mistake,
FPGA_Network.convert_network()
seems to assume consecutive nodes are consecutive even in thetraverse_list
but currently it might not be satisfied if network with branches is given.Example network is this one.
traverse_list
can become [0, 1, 3, 2, 4, 5, 6, 7].