YosysHQ / arachne-pnr

Place and route tool for FPGAs
MIT License
413 stars 73 forks source link

Ignore ACCUMCI and SIGNEXTIN when tied to 0 #90

Closed daveshah1 closed 6 years ago

daveshah1 commented 6 years ago

Some of Lattice's example code ties ACCUMCI and SIGNEXTIN of the SB_MAC16s to 0, instead of leaving them unconnected. Functionally this is equivalent, but arachne-pnr doesn't have find pins in the chipdb, because they're for cascading, so was failing. This PR ignores them when they're at constant 0, which is the correct behaviour.

In the future a proper implementation of DSP cascading will need to be done, placing DSPs in a chain similar to LUT carry connections based on the connections of these pins.