Skip to content

myriadrf/xtrx-fpga-source

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XTRX SDR FPGA image source code

This repository contains the source code of the XTRX SDR FPGA image.

How to build

You will need a copy of Vivado, which can be freely downloaded on the Xilinx website.

Start by sourceing the settings64.sh file from the Vivado install. For example:

source /opt/Xilinx/Vivado/2019.1/settings64.sh

To build the bitstream, ensure you are in the fpga-source directory and the same shell run:

cd top/xtrxr5
./build.sh

If successful, the output bitstream will be available in the following path:

top/xtrxr5/xtrxr5/xtrxr5.runs/impl_1/xtrxr4_top.bit

Programming with OpenOCD and JTAGHS2 cable

Inside the openocd directory, there are scripts to allow programming with OpenOCD and a Digilent JTAG HS2 cable

After the bistream is built, one may simply run:

./prog.sh

to flash the bitstream to the xtrx device.

License

RTL IP sources are released under the CERN Open Hardware Licence Version 2 - Weakly Reciprocal Please refer to the LICENSE file of the source code for the full text of the license.