<pepijndevos>
Blinky is also using EW an NS wires and works so maybe it's not that...
<trabucayre>
It's really interesting, I think I understand words but the result is not really clear :-(
<pepijndevos>
So what I'm doing is looking at nextpnr JSON ROUTING attribute. And then I'm tracing the route from the reset IBUF to the LED OBUF. And for each step I try to see if it matches with the unpacked verilog.
<pepijndevos>
Yesterday it appeared that there was R2C6_EW20 in the Nextpnr JSON from the reset inverter LUT to the SR port of the flipflop that was missing in the unpacked code
<pepijndevos>
That would mean that either there is a bug in the unpacker, a human error in my debugging, a bug in the packer that didn't set this pip correctly, or a bug in nextpnr that incorrectly wired something. So I'm trying to rule out these options
<pepijndevos>
Ok maaaaybe there is a more obvious problem here...
<pepijndevos>
unpacker only sees DFF(E) while yosys output has DFFP and other variants
<pepijndevos>
omg
<pepijndevos>
that would explain why blinky does work, but async reset on shift does not.
<pepijndevos>
how am I even preserving flop type in nextpnr... I don't remember... what If I don't....
<pepijndevos>
OMG the packer just doesn't consider it
<pepijndevos>
YESSSSS
FabM has quit [Ping timeout: 240 seconds]
<pepijndevos>
trabucayre, should I add your shift example to the folder? It's apparently a good test for different flip-flop types
FabM has joined #apicula
<pepijndevos>
well fuck... attosoc still doesn't work
<pepijndevos>
trabucayre, do you have any more of those nice broken progams? XD
<trabucayre>
Yes of course You can :)
<trabucayre>
will retry my runber clock :)
<pepijndevos>
I guess now is a good time to update the Tang Nano LCD example to see if that one works.
<pepijndevos>
That's also a moderately sized one that is... potentially debuggable
<trabucayre>
It's amazing when reading the commit to see the simplicity... But this hide the complexity to find issue
<pepijndevos>
:'( yes
<trabucayre>
pepijndevos: maybe will try PMOD demo
<pepijndevos>
ah you have the oled pmod?
<pepijndevos>
that would be interesting
<trabucayre>
maybe the same (I'm not sure)
<pepijndevos>
Tempted to buy some pmods for my collection of stuff I never use
<pepijndevos>
Or maybe I should just finally take the time to do something with the audio pmod which I bought with a project in mind
<trabucayre>
I'have some stupid thing with pmod I2S :)