FPGA Hacking =================== - HDL template - pointers to toolchain setup and FPGA learning resources - kernel and userland details - performance and "numbers" table - expansion header pinouts GPBB FPGA Communications Quickstart ------------------------------------- Run these commands from a Novena with the GPBB attached:: sudo apt-get install i2c-tools libi2c-dev cd # sic. git clone https://github.com/bunnie/novena-gpbb-example cd novena-gpbb-example make -j4 sudo ./configure.sh novena_fpga.bit sudo ./novena-gpbb -v Simple test --- toggle four on-board LEDs, connected to I/O port B, pins 0--3:: sudo ./novena-gpbb -oeb 1 # set port B to drive for BIT in 0 1 2 3; do sudo ./novena-gpbb -p_set b $BIT # Set pin sleep 1 done sudo ./novena-gpbb -p b 00 # Write 0x00, i.e. reset all pins sudo ./novena-gpbb -oeb 0 # return port B to tristate mode