Skip to content

starvoyage/pif

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pif - FPGA on a Raspberry Pi

This is the software for Bugblat's Raspberry Pi FPGA board - the pif board.

What is the pif board?

A pif board, which plugs into a Raspberry Pi, carries a non-volatile Lattice Semiconductor MachXO2 FPGA.

To program the FPGA, you start by writing a firmware program, usually in VHDL or Verilog though there are other options. The firmware program can be simulated and compiled to a JEDEC bitstream with Lattice's free Diamond software.

Then you have to inject the bitstream into the pif's FPGA, and that's the job of the software in this repo. Primarily in Python, there are programs to

  • program the onboard FPGA with a compiled bitstream
  • control the FPGA firmware from the Raspberry Pi processor

Example FPGA firmware programs are also included, plus an example of controlling the FPGA from a web application.

Many flavors of Linux are available for the Raspberry Pi. This software is written for the Raspbian/wheezy distribution.

More Information

The pif product pages, including links to the full documentation, are here.

Releases

No releases published

Packages

No packages published

Languages

  • C++ 45.7%
  • VHDL 28.3%
  • C 16.8%
  • Python 7.4%
  • HTML 0.8%
  • CSS 0.7%
  • Makefile 0.3%