tree: 63aea3dcd83f59d6b3337bc9af309957eaa26b6f [path history] [tgz]
  1. addr4x.py
  2. bram_load.mmi
  3. README.md
  4. splice_nexysvideo.sh
util/fpga/README.md

FPGA Splice flow

This is a FPGA utility script which embedds the generated rom elf file into FPGA bitstream. Script assumes there is pre-generated FPGA bit file in the build directory. The boot rom mem file is auto generated.

How to run the script

Utility script to load MEM contents into BRAM FPGA bitfile.

Usage:

$ cd $REPO_TOP
$ ./util/fpga/splice_nexysvideo.sh

Updated output bitfile located : at the same place as raw vivado bitfile @ build/lowrisc_systems_top_earlgrey_nexysvideo_0.1/synth-vivado/lowrisc_systems_top_earlgrey_nexysvideo_0.1.splice.bit

This directory contains following files:

  • splice_nexysvideo.sh - main script to load memory contents into bitfile
  • bram_load.mmi - format which vivado tool understands on which FPGA BRAM locations the SW contents should go
  • addr4x.py - utility script used underneath to do address calculation to map with FPGA BRAM architecture