Closed roby2014 closed 1 year ago
The logic utilization is simply way too high. Unless there is something really weird going on the project won't fit on an ECP5 with 24k LUTs.
Does Lattice Diamond succeed here? That it works for a different FPGA doesn't say much as the resources available can be orders of magnitude different.
It should not use so many LUTS (at least, it does not with other compilation tools, that what I meant) so I suppose its something about yosys/nextpnr that is weird.
Logic utilization is not directly comparable between vendors.
If anything this should be an issue in yosys as yosys is responsible for creating the netlist. I would advice you to first try the same design with Lattice Diamond to see if this is truly a yosys issue.
The first thing to look at here is probably whether memory inference is going wrong somehow - although that's squarely a Yosys issue as already mentioned.
Linux, Version:
Reproduction steps
Actual behaviour (place & route crashes with error):
Expected behaviour: Bitstream generation (it compiles with quartus/vivado toolchain)
Full log files in case it helps (synth and pnr): https://easyupload.io/m/wk2v03