search
[last updated: 2025-06-09]
...
-----
# Verilog synthesis
yosys -p "synth_ice40 -blif rot.blif" rot.v
# place & route
arachne-pnr -d 1k -p rot.pcf rot.blif -o rot.asc
# Create bit stream file for progrmming
icepack rot.asc rot.bin
# Progrsm the FPGA.
iceprog rot.bin
Yes ... most FPGA boards are programmable via something like USB ...
If not, you can use a commercially available JTAG probe (about $20) or make your own JTAG probe (about $5).
But the question is: Is it possible to do development for fpgas with your pi? Yes, that's what this thread points out.
btw: This is not only possible for the FPGAs mentioned, but also for less well-known FPGAs (e.g. Trion T120FXXX with 112,000 LUTs, the development system is based on VPR, an open source project (MIT license) from University of Toronto, recompilation for ARM required).
Have a nice time with our FPGAs.
mic_s"
The next question is why you would only want to use a RPi to program your FPGA? Vivado has a full feature systemverilog simulator and waveform viewer in the free version. That runs on linux x86 and it programs my board with no issues. I need the x86 computing power with my FPGA designs, a single turn takes 25 minutes... that could be hours on a RPi.
If I needed to program the FPGA with the RPi, I think that would be very possible... but developing on the RPi when there are awesome free tools on x86 linux, I think only a religious person (church of raspberry pi) would do that."
1) FPGA vendor tools are invariably huge, complex, clunky and slow.
2) An open source solution saves you from becoming dependent on an FPGA vendor.
3) An open source solution saves you from becoming dependent on whatever architecture and platform the vendor supports.
4) This is a bit long....
I was amazed to find that I could hack up some Verilog and check it out Icarus Verilog http://iverilog.icarus.com/ or the Verilator https://www.veripool.org/wiki/verilator with a much shorter edit, check, edit, development cycle than using any vendor tool like Quartus.
Not only that one can turn that Verilog into a working FPGA config much faster using Yosys.
In short, writing Verilog becomes as simple as writing Python!
I believe this kind of simplicity is just what we need to get youngsters motivated to investigate doing their own hardware designs.
So, as much as there is a "Pi religion" which is all about making it cheap and easy for kids to play with software, why not also make it cheap and easy for kids to dabble in hardware?"
----------------------------------------------------------
.
.
.
eof