Gateware/Software for Cell Controller
This repository contains both gateware and software for the Cell Controller project.
To build the gateware the following dependencies are needed:
- GNU Make
- Xilinx Vivado (2020.2.2 tested), available here
- Xilinx Vitis (2020.2.2 tested), available here
Make sure vivado
and vitis
are in PATH.
To build the software the following dependencies are needed:
- mb-gcc toolchain, bundled within Vitis
With the dependencies in place a simple make
should be able to generate
both gateware and software:
make
A suggestion in running the make
command is to measure the time
and redirect stdout/stderr to a file so you can inspect it later:
MB_TOOLCHAIN_LOCATION=/media/Xilinx/Vivado/2020.2.2/Vitis/2020.2/gnu/microblaze/lin
(time make CROSS_COMPILE=${MB_TOOLCHAIN_LOCATION}/bin/mb- APP=cctrl PLATFORM=bmb7 && notify-send 'Compilation SUCCESS' || notify-send 'Compilation ERROR'; date) 2>&1 | tee make_output
For now the following APPs are supported:
- cctrl_aurora_8b10b
- cctrl_aurora_64b66b
To deploy the gateware and the software we can use a variety of methods. For development, JTAG is being used. Remember to check the DIP switches on development boards and ensure the switches are set to JTAG mode and NOT SD Card mode.
The following script can download the gateware via JTAG:
The following script can download the software via JTAG: