FPGAwars / apio

:seedling: Open source ecosystem for open FPGA boards
https://github.com/FPGAwars/apio/wiki
GNU General Public License v2.0
794 stars 136 forks source link

Update SConstruct to link ecp5/cells_bb.v #374

Closed TeaOfJay closed 5 months ago

TeaOfJay commented 5 months ago

iverilog fails compilation when working with ECP5 primitives such as EHXPLLL. Issue is documented here: https://github.com/FPGAwars/icestudio/issues/542

I'm not sure if this is the 'correct' fix, but linking ecp5/cells_bb.v (since that's where the EHXPLLL definition is) appears to allow compilation to proceed. Feel free to refactor if there's a better or more longstanding change that would better amend this. This is otherwise not desirable behavior for apio verify to fail when using ecp5 primitives.

cavearr commented 5 months ago

Thanks a lot i'll try it and appears works! i'll try in depth but for the moment appears works.

Thanks again!