Skip to content

LBNL Fast Orbit Feedback (FOB) Cell controller firmware and software

Notifications You must be signed in to change notification settings

BerkeleyLab/LBNL-Cell-controller

Repository files navigation

Cell Controller

Gateware/Software for Cell Controller

Building

This repository contains both gateware and software for the Cell Controller project.

Gateware Dependencies

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.

Software Dependencies

To build the software the following dependencies are needed:

  • mb-gcc toolchain, bundled within Vitis

Building Instructions

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

Deploying

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.

Deploying gateware

The following script can download the gateware via JTAG:

Deploying software

The following script can download the software via JTAG:

About

LBNL Fast Orbit Feedback (FOB) Cell controller firmware and software

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published