blackmesalabs / sump2

open-source logic analyzer for FPGAs
GNU General Public License v3.0
94 stars 14 forks source link

Doesn't synthesize with the open source toolchain #4

Open kitlith opened 7 years ago

kitlith commented 7 years ago

I attempted to synthesize the icoboard design files using the open source toolchain, but arachne-pnr fails with "fatal error: unknown model `$_DFFSRNPP"

ironsteel commented 7 years ago

I'm also trying synthesize it using the open source toolchain and I'm stuck at this error. Should we reference this issue in the arachne-pnr repo, maybe they can also help?

kitlith commented 7 years ago

That is a great idea, but a more minimal test case would probably be appreciated.

ironsteel commented 7 years ago

I'll try to drop some of the code to see which module is causing the error. I suppose that's what you mean by "a more minimal test case"? I'm a beginner in FPGA's and synthesis but have great interest in learning this material :)

kitlith commented 7 years ago

While I'm new to hardware design, I'm not as much as a stranger to software design.

A minimal test case refers to finding a minimal amount of code (read: not the entire program) that triggers the same issue.

The blif file generated seems to have information on what lines of code ended up generating which intrinsics... and iirc it's in the bit dealing with spi... which is actually in the mesabus repository. Perhaps we should go open an issue there.