Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation and Makefiles for iCE40 and ECP5 Lattice FPGAs #135

Closed
zipotron opened this issue Aug 4, 2021 · 7 comments
Closed

Comments

@zipotron
Copy link
Contributor

zipotron commented Aug 4, 2021

Hello everybody, first, thanks for this amazing work!
Well, I have at home the board AlhambraII (iCE40) and the ULX3S (ECP5), I am using Yosys with the GHDL plugin. I wanted to synthesize using Yosys and NextPNR for those boards, but couldn't find a start point to do it.
Please, if anyone support me I would like to do those Makefiles.
Thanks!

@stnolting
Copy link
Owner

Hey there!

first, thanks for this amazing work!

Thank you very much :)

Well, I have at home the board AlhambraII (iCE40) and the ULX3S (ECP5), I am using Yosys with the GHDL plugin. I wanted to synthesize using Yosys and NextPNR for those boards, but couldn't find a start point to do it.
Please, if anyone support me I would like to do those Makefiles.

The documentation of the osflow setups is currently work-in-progress (see #96 and #131).
I am not familiar with the AlhambraII or the ULX3S boards, but the makefiles for iCE40 and ECP5 FPGAs are already there:

You will just need to adapt the pin-mappings:

Then you can run this:

neorv32$ make -C setups/examples BOARD=<fpga_board> <soc>

For example for the ECP5-based OrangeCrab board using a minimal NEORV32 SoC you can do:

neorv32$ make -C setups/examples BOARD=OrangeCrab MinimalBoot

@zipotron
Copy link
Contributor Author

zipotron commented Aug 8, 2021

Hello! Thanks for the information, is perfect start point for try to make it run in those board! I will let you know the results!

@umarcor
Copy link
Collaborator

umarcor commented Aug 8, 2021

@zipotron, can you please confirm that you are using Alhambra II (HX4K) and not IceZum Alhambra (HX1K)? If so, I suggest you create a PR where:

We can then iterate on that.

@zipotron
Copy link
Contributor Author

zipotron commented Aug 8, 2021

@umarcor Confirmed! I have the Alhambra II (HX4K), I will start on that ASAP! (In two or three days I guess, depend on my work load)

@zipotron
Copy link
Contributor Author

zipotron commented Aug 9, 2021

PR done, I need help with the ULX3S Makefiles, I don't know why try to take iCE40 VHDL files instead ECP5.
AlhambraII is well done, but fails synthesis, seams something related with the optimization, I can work around with a bit of support

@zipotron zipotron closed this as completed Sep 1, 2021
@gojimmypi
Copy link

Looks like the setups have been moved here:

https://github.com/stnolting/neorv32-setups/tree/main/osflow/boards

@stnolting
Copy link
Owner

Right, we sourced-out the FPGA implementations to a new repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants