YosysHQ / oss-cad-suite-build

Multi-platform nightly builds of open source digital design and verification tools
ISC License
742 stars 67 forks source link

Yosys crashes on LiteX build with `std::out_of_range` #81

Closed josuah closed 10 months ago

josuah commented 10 months ago
[...]
Info:     Created 2 LRAM_CORE cells from:
Info:              2x SP512K_MODE
terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 64) > this->size() (which is 32)
build_lattice_crosslink_nx_evn.sh: line 4: 27089 Aborted                 nextpnr-nexus --json lattice_crosslink_nx_evn.json --pdc lattice_crosslink_nx_evn.pdc --fasm lattice_crosslink_nx_evn.fasm --device LIFCL-40-9BG400C --timing-allow-fail --seed 1

I will try to give a reproducer, for now I am bissecting it:

oss-cad-suite-2023-07-05.ok
oss-cad-suite-2023-08-13.err
oss-cad-suite-2023-08-22.err
oss-cad-suite-2023-08-23.err

More info about it tomorrow!

gatecat commented 10 months ago

This was fixed yesterday in nextpnr https://github.com/YosysHQ/nextpnr/pull/1196, which should make it into today's build.

josuah commented 10 months ago

Bad timing from me! I might have searched nextpnr a bit to early... Thank you a lot for all the work on this!