Collection of projects using the Spartan Edge Accelerator Board
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.
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 |
- 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
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
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 |