blob: 969e2af8edf3b98628a6f3327a7d81b8de6d230d [file] [log] [blame] [view]
lowRISC Contributors802543a2019-08-31 12:12:56 +01001# FPGA Splice flow
2This is a FPGA utiity script which embedds the generated rom elf file into FPGA bitstream.
3Script assumes there is pre-generated fpga bit file in the build directory.The boot rom mem file is auto generated.
4
5## How to run the script
6Utility script to load MEM contents into BRAM FPGA bitfile.
7* Usage:
8```console
9$ cd $REPO_TOP
10$ ./util/fpga/splice_nexysvideo.sh
11```
12
13Updated output bitfile located : at the same place as raw vivado bitfile @
14`build/lowrisc_systems_top_earlgrey_nexysvideo_0.1/synth-vivado/lowrisc_systems_top_earlgrey_nexysvideo_0.1.splice.bit`
15
16This directory contains following files
17* splice_nexysvideo.sh - master script
18* bram_load.mmi - format which vivado tool understands on which FPGA BRAM locations the SW contents should go
19* addr4x.py - utility script used underneath to do address calculation to map with FPGA BRAM architecture