-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the CASPER tutorials wiki page. Here you will find all the tutorials for the four hardware platforms supported through the CASPER Community:
- ROACH
- ROACH2
- SNAP
- SKARAB
It is worth noting that even though SNAP (and SKARAB) require their firmwares to be developed using Xilinx's Vivado (as opposed to ISE), the SNAP tutorials are very similar to the ROACH/2 tutorials. In fact, the only real difference is the choice of hardware platform that is made in Simulink. This is done by selecting the SNAP Yellow Block in the Simulink library under CASPER XPS Blockset -> Hardware Platforms.
It is recommended to start with the introduction tutorial for the platform of your liking, then do that platform's GbE tutorial and finally move onto the spectrometer or correlator tutorial.
Casper Caltech Workshop 2017 Tutorials Help Page
We try to maintain working versions of the following tutorials:
Introduction to Simulink, communication with FPGAs. Build a simple program that flashes LEDs, counts and adds numbers on demand.
- Communicate with an FPGA board using the CasperFpga python library
- Includes step-by-step walkthrough for building your design, compiling it, loading onto ROACH and communicating with it.
Prerequisites:
- Your enthusiastic self
- A machine configured with MATLAB/ISE (for ROACH1/ROACH2) or MATLAB/Vivado (for SNAP/SKARAB)
Tutorial 1 Instructions (ROACH2 & SNAP)
Construct a design that transmits a counter over 10GbE to another ROACH port. During this tutorial, you will learn more about the CASPER hardware interfaces, communicating with ROACH remotely using KATCP and the supplied Python libraries. Prerequisites: Introduction tutorial (we expect conceptual understanding of software registers and PPC/FPGA mapped memory regions along with some basic Simulink experience). Also useful, but not required, is some experience in programming in Python, since the sample script for configuring and controlling the system is provided in Python. You will need a ROACH board and a 10GbE cable.
Tutorial 2 Instructions (ROACH1)