Basic CPU Tutorial won't compile "Nextpnr exited with status: 1"

I was following along the CPU tutorial but I couldn’t get it to actually work and was a bit stumped as to why. As a sanity check and a direct comparison I just copied and pasted the complete code from the tutorial itself to a new file but that code fails to compile and throws the error above.

Here are my files, basicCPU is my attempt and tutorial CPU is the tutorial copy and pasted.

basicCPU.zip (60.1 KB)

tutorial CPU.zip (90.1 KB)

I’m using the Cu V2 and the Yosis toolchain. I would try it with iCEcube2 to test if that’s the issue but no one is responding to my emails asking for a license so Yosis is my only option for the time being.

Update: The terminal keeps saying “65 arcs ripped up due to negative slack” which is I think a timing issue? I tried using a counter to slow down the clock and that did compile, but it just doesn’t do anything at all in the simulator or on the real board. Any advice for how to fix this would be helpful.