Extension to build and program FPGA using icestorm
Board name | FPGA | Build Method | Program method | Requirements |
---|---|---|---|---|
Alchitry CU | Lattice iCE40-HX8K | yosys/nextpnr | iceprog | yosys, nextpnr, iceprog |
TinyFPGA-BX | Lattice iCE40-LP8K | APIO | APIO | APIO |
OK-iCE40Pro | Lattice iCE40-UP5K | APIO | APIO | APIO |
- icestorm.createproject (Create new FPGA project)
- icestorm.buildproject (Build the project into bitstream)
- icestorm.programproject (Program the FPGA board)
For users using tools that is not available in the system's default PATH (conda, virtualenv). Please modify the project file to add the path your tools can be located. An example is below:
type: TinyFPGA-BX
buildType: apio
buildTools:
- apio
programTools:
- apio
buildDir: build
build: apio build -b TinyFPGA-BX -p source
program: apio upload -b TinyFPGA-BX -p source
path: "/home/xxx/venv/bin/"
projectName: test
- Project creating with template code.
- Building using yosys and nextpnr or APIO
- Programming with iceprog or APIO
For Alchitry CU, nextpnr, icestorm and yosys is required.
https://github.com/YosysHQ/nextpnr
https://github.com/cliffordwolf/icestorm
https://github.com/YosysHQ/yosys
For TinyFPGA-BX, OK-iCE40Pro, APIO is required.
https://github.com/FPGAwars/apio
Only support Alchitry CU, TinyFPGA-BX and OK-iCE40Pro at the moment, I don't have other FPGA board to test, but adding new hardware support should be easy.
Initial release of extension
- Alchitry CU support
- Auto refresh project settings
- Building and flashing support
Added support to tool path
If you want to add your own board support, feel free to submit PR for the new hardware.
TinyFPGA-BX added by matt-hu
Icon made by icon king from www.freeicons.io
Build icon made by www.wishforge.games from www.freeicons.io
Download icon made by Raj Dev from www.freeicons.io