Skip to content

Collection of projects using Verilog and Bluespec on the Spartan Edge Accelerator FPGA Board

Notifications You must be signed in to change notification settings

mhrtmnn/BSpartan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FPGA Playground

Collection of projects using the Spartan Edge Accelerator Board

OTA-Programming

If the ESP32 is running the firmware contained in esp32_fpga-downloader and is connected to the local WIFI, a webserver will be exposed at esp32_upload.local. Bistreams uploaded via the webform or using the make deploy target are programmed into the FPGA.

JTAG-Programming

Using xvcd the FPGA can be programmed using a FT232R USB UART (VID/PID: 0403:6001). Alternatively, OpenOCD can be used with the ft232r adapter driver.

Connection:

JTAG Pin FTDI Pin Bitbang Pin
TCK TX 0x01
TDI RX 0x02
TDO RTS 0x04
TMS CTS 0x08

Vivado/Vitis Info

  • Installer needs ncurses5-compat-libs package or must be run in CLI mode
  • Vitis needs xorg-xlsclients package
  • Disable WebTalk: Put export HTTPS_PROXY=localhost at the end of <VivadoPath>/bin/setupEnv.sh

Build instructions

Make sure vivado is in PATH, or alternatively put a cfg.local file in the projects directory that defines the variable VIVADO := .../bin/vivado.

In the prototyping project directory execute:

# build IPCores
make build_ip

# build block design
make build_bd

# compile Bluespec design
make update_bsv

# build the bitstream
make synth

# program FPGA (alternatively via JTAG or OTA)
make ocd

Connection

The following peripherals are connected to the FPGA GPIOs.

Pin Peripheral
IO0 I2S LRCLK
IO1 I2S SCLK
IO2 I2S SDATA
IO3 UART RX
IO4 UART TX
IO5 Logic Analyzer
IO6 Logic Analyzer
IO7 Logic Analyzer
IO8 Logic Analyzer
IO9 Logic Analyzer

About

Collection of projects using Verilog and Bluespec on the Spartan Edge Accelerator FPGA Board

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published