DigitalMediaProfessionals / tool

DV network conversion tool
Apache License 2.0
0 stars 1 forks source link

FPGANetwork.convert_network() might behave unexpectedly for net /w branch. #36

Closed YuyaKobayashi closed 5 years ago

YuyaKobayashi commented 5 years ago

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].

YuyaKobayashi commented 5 years ago

I found it's my mistake