Open Oscilllator opened 2 years ago
Hi, I haven't done anything with FPGAs for about a year or so. I've had trouble reactivating my toolchain, so I wasn't able to reproduce this yet. Any news from your side?
Hi @Oscilllator and @dpiegdon
I also stopped playing with FPGAs. I do not remember having to enable anything specific in order to use a TRELLIS_SLICE
. I would suggest to open an issue on YosysHQ/prjtrellis.
Support for TRELLIS_SLICE was removed from yosys/nextpnr: https://github.com/YosysHQ/nextpnr/issues/1131
I've tried replacing it with LUT4 (https://github.com/davidar/verilog-buildingblocks/commit/589a4acc3e220d263081ff94057940f1b0fdc75e) but I'm still getting build errors due to timing analysis getting confused by the ring:
Info: loop 2207:
Info: M_frame_display.rng9.m_osc[9].r2.delayline[0].chain_lut.A (M_frame_display.rng9.m_osc[9].r2.chain_wire[0])
Info: M_frame_display.rng9.m_osc[9].r2.delayline[0].chain_lut.F (M_frame_display.rng9.m_osc[9].s2)
Info: M_frame_display.rng9.m_osc[9].r2.delayline[1].chain_lut.A (M_frame_display.rng9.m_osc[9].s2)
Info: M_frame_display.rng9.m_osc[9].r2.delayline[1].chain_lut.F (M_frame_display.rng9.m_osc[9].r2.chain_wire[0])
Info: loop 2208:
Info: M_frame_display.rng9.m_osc[9].r3.delayline[0].chain_lut.A (M_frame_display.rng9.m_osc[9].r3.chain_wire[0])
Info: M_frame_display.rng9.m_osc[9].r3.delayline[0].chain_lut.F (M_frame_display.rng9.m_osc[9].s3)
Info: M_frame_display.rng9.m_osc[9].r3.delayline[1].chain_lut.A (M_frame_display.rng9.m_osc[9].s3)
Info: M_frame_display.rng9.m_osc[9].r3.delayline[1].chain_lut.F (M_frame_display.rng9.m_osc[9].r3.chain_wire[0])
ERROR: Timing analysis failed due to combinational loops.
0 warnings, 1 error
I can't get things to compile for the ecp5 architecture.
I am using a recent (last week or so) build of oss-cad-suite to do the synthesis. synthesising fails with the following error message:
This is a pity as I was hoping to use this repository as an example of how to use the
TRELLIS_SLICE
primitive to build a ring oscillator after reading: https://github.com/DurandA/verilog-buildingblocks/issues/1I'll update this issue with a solution if I manage to find one...