CASPER Tutorials
v2019
SNAP Tutorials
Tutorial 1: Introduction to Simulink
Creating Your Design
Create a New Model
Library organization
Add Xilinx System Generator and XSG core config blocks
Flashing LED
Add a counter
Add a slice block to select out the msb
Add a GPIO block
Add a terminator
Connect your design
Software control
Add the software registers
Add the counter
Add the slice blocks
Connect it all up
Adder
Add the software registers
Add the adder block
Add the scope and simulation inputs
Connect it all together
Simulating
Compiling
Advanced Compiling
Programming the FPGA
Getting the required packages
Copy your .fpg file to your Server
Connecting to the board
Conclusion
Tutorial 2: 10GbE Interface
Introduction
Background
Create a new model
Add reset logic
Add a software register
Add Goto blocks
Add 10GbE and associated registers for data transmission
Add a 10GbE block for data transmission
Add registers to provide the target IP address and port number
Create a subsystem to generate a counter to transmit as data
Construct a subsystem for data generation logic
Add a counter to generate a certain amount of data
Add a counter to limit the data rate
Finalise logic including counter to be used as data
Receive blocks and logic
Buffers to capture received and transmitted data
LEDs and status registers
Compilation
Programming and interacting with the FPGA
Conclusion
Tutorial 3: Wideband Spectrometer
Introduction
Setup
Spectrometer Basics
Simulink / CASPER Toolflow
Simulink Design Overview
adc
pfb_fir_real
fft_wideband_real
power
quant
simple_bram_vacc
Even and Odd BRAMs
Software Registers
Configuration and Control
Hardware Configuration
The snap_tut_spec.py spectrometer script
iPython walkthrough
Conclusion
Tutorial 4: Wideband Pocket Correlator
Introduction
Background
Interferometry
Correlation
Polarization
The Correlator
Creating Your Design
Create a new model
System Generator and Platform Blocks
Sync Generator
ADCs
Control Register
Clip Detect and status reporting
PFBs, FFTs and Quantisers
LEDs
ADC RMS
The MAC operation
Software
Yellow Block Tutorial: Bidirectional GPIO
Making a Bidirectional GPIO - HDL
Making a Bidirectional GPIO - Simulink
Am I on the right track?
Python auto-gen scripts (JASPER Toolflow)
Testing
Add yellow block to XPS Library
SKARAB Tutorials
Tutorial 1: Introduction to Simulink
Creating Your Design
Create a New Model
Library organization
Add Xilinx System Generator and XSG core config blocks
Flashing LED
Add a counter
Add a slice block to select out the msb
Add a GPIO block
Add a terminator
Connect your design
Software control
Add the software registers
Add the counter
Add the slice blocks
Connect it all up
Adder
Add the software registers
Add the adder block
Add the scope and simulation inputs
Connect it all together
Simulating
Compiling
Advanced Compiling
Programming the FPGA
Getting the required packages
Copy your .fpg file to your Server
Connecting to the board
Conclusion
Tutorial 2: 40GbE Interface
Introduction
Background
Tutorial Outline
Tx Design
Rx Design
Running the python script
Script arguments
Tutorial 3: HMC Interface
Introduction
Background
Create a new model
Add control and reset logic
Add a software register
Add Goto Blocks
Add a write and read counter to generate test data for the HMC
Add Counter Blocks
Add Delay Blocks
Add Goto and From Blocks
Add Gateway Out Blocks and Scopes
Add functionality to control the write and read data rate
Add a Counter Block
Add Xilinx Constant Blocks
Add Slice Block
Add From Blocks
Add Xilinx Convert (cast) Block
Add Xilinx Bus Multiplexer (Mux) Block
Add Xilinx Logical Block
Add Gateway Out and To Workspace Block (Optional)
Add HMC and associated registers for error monitoring
Add the HMC yellow block for memory accessing
Add a register to provide HMC status monitoring
Implement the HMC reordering functionality
Buffers to capture HMC write, HMC read and HMC reordered read data
HMC status registers
Write status registers
Read status registers
Simulink Simulation
Compilation
Programming the FPGA
Getting the required packages
Copy your .fpg file to your NFS server
Connecting to the board
Running a Python script and interacting with the FPGA
Analysing the Display Data
Other notes
Conclusion
Tutorial 3: Wideband Spectrometer
Introduction
Setup
Spectrometer Basics
Simulink / CASPER Toolflow
Simulink Design Overview
adc
fft
power
simple_bram_vacc
Software Registers
Configuration and Control
Hardware Configuration
The tut_spec.py spectrometer script
Conclusion
Red Pitaya Tutorials
Tutorial 1: Introduction to Simulink
Creating Your Design
Create a New Model
Library organization
Add Xilinx System Generator and XSG core config blocks
Flashing LED
Add a counter
Add a slice block to select out the msb
Add a GPIO block
Add a terminator
Connect your design
Software control
Add the software registers
Add the counter
Add the slice blocks
Connect it all up
Adder
Add the software registers
Add the adder block
Add the scope and simulation inputs
Connect it all together
Simulating
Compiling
Advanced Compiling
Programming the FPGA
Getting the required packages
Copy your .fpg file to your Server
Connecting to the board
Conclusion
Tutorial 2 : ADC and DAC Interface
Introduction
Required Equipment
Background
Create a new model
Add Reset logic
Add a software register
Add Goto Block
Add Edge_Detect block
Add ADC and associated registers and gpio for debugging
Add the ADC yellow block for digital to analog interfacing
Add registers and gpio to provide ADC debugging
Add DAC
Add the DAC yellow block for digital to analog interfacing
Buffers to capture ADC Data Valid, ADC Channel 1 and ADC Channel 2
Compilation
Programming the FPGA (Zynq PL)
Getting the required packages
Copy your .fpg file to your NFS server
Connecting to the board
Running a Python script and interacting with the Zynq PL
Analysing the Display Data
Bonus Challenge
Other notes
Conclusion
Tutorial 3: Wide(-ish)band Spectrometer
Introduction
Setup
Spectrometer Basics
Simulink / CASPER Toolflow
Simulink Design Overview
adc
Xilinx FFT
power
simple_bram_vacc
Snap Blocks
Software Registers
Configuration and Control
Hardware Configuration
The tut_spec.py spectrometer script
Conclusion
ROACH Tutorials
Tutorial 1: Introduction to Simulink
Creating Your Design
Create a New Model
Library organization
Add Xilinx System Generator and XSG core config blocks
Flashing LED
Add a counter
Add a slice block to select the MSB
Add a GPIO block
Add a terminator
Connect your design
Software control
Add the software registers
Add the counter
Add the slice blocks
Connect it all up
Adder
Add the software registers
Add the adder block
Add the scope and simulation inputs
Connect it all together
Simulating
Compiling
Programming the FPGA
Getting the required packages
Copy your .fpg file to your Server
Connecting to the board
Conclusion
Tutorial 2: 10GbE Interface
Introduction
Background
Create a new model
Add reset logic
Add a software register
Add Goto blocks
Add 10GbE and associated registers for data transmission
Add a 10GbE block for data transmission
Add registers to provide the target IP address and port number
Create a subsystem to generate a counter to transmit as data
Construct a subsystem for data generation logic
Add a counter to generate a certain amount of data
Add a counter to limit the data rate
Finalise logic including counter to be used as data
Receive blocks and logic
Buffers to capture received and transmitted data
LEDs and status registers
Compilation
Programming and interacting with the FPGA
Conclusion
Tutorial 3: Wideband Spectrometer
Introduction
Setup
Spectrometer Basics
Simulink / CASPER Toolflow
Simulink Design Overview
adc
pfb_fir_real
fft_wideband_real
power
quant
simple_bram_vacc
Even and Odd BRAMs
Software Registers
Configuration and Control
Hardware Configuration
The tut3.py spectrometer script
iPython walkthrough
Conclusion
Tutorial 4: Wideband Pocket Correlator
Introduction
Background
Interferometry
Correlation
Polarization
The Correlator
Setup
Creating Your Design
Create a new model
System Generator and XSG Blocks
Sync Generator
ADCs
Control Register
Clip Detect and status reporting
PFBs, FFTs and Quantisers
LEDs
ADC RMS
The MAC operation
Software
CASPER Tutorials
Docs
»
Index
Edit on GitHub
Index
Read the Docs
v: v2019
Versions
latest
v2019
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.