wnew / mlib_devel

Matlab/Simulink/XSG tool-flow for developing DSP systems for CASPER hardware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The CASPER Toolflow Documentation Status

Welcome to the CASPER Toolflow repository, mlib_devel!

What is mlib_devel?

The mlib_devel repository contains a set of FPGA DSP libraries and programming tools developed and maintained by the Collaboration for Astronomical Signal Processing and Electronics Research (CASPER). Within the collaboration, this collection of software is affectionately referred to as The Toolflow.

The CASPER toolflow allows you to generate signal processing designs using MATLAB's graphical programming tool Simulink. These designs can be turned into FPGA bitstreams and loaded onto a variety of supported hardware platforms to perform real-time digital signal processing systems. CASPER also provides a Python software library for interacting with running designs: casperfpga .

Using mlib_devel

For more information about installing and using the CASPER Toolflow, see the project's documentation.

If you want to build the documentation for a particular version of this repository you can do so by following these instructions. This may be useful if, for example, you're trying to do old (ROACH2) versions of tutorials.

Tutorials

CASPER maintain a set of tutorials, designed to introduce new users to the toolflow.

Updating an Existing Toolflow Installation

You can always update your installation of mlib_devel by pulling updated code from this repository. If you do this, chances are you'll need to update your Simulink models to match your new mlib_devel libraries.

A script is provided to automate this process. With your model open and active, in your MATLAB prompt, run

update_casper_blocks(bdroot)

This script will resynchronize every CASPER block in your design with its latest library version. Depending on the size of your model, it may take many minutes to complete! As always, back up your designs before attempting such a major operation. And, if you experience problems, please raise Github issues!

Upgrade Notes

As of version 2.0.0, chances are (if you're using the suggested MATLAB / OS versions) you'll need to add the following to your startsg.local file

export LD_PRELOAD=${LD_PRELOAD}:"/usr/lib/x86_64-linux-gnu/libexpat.so"

See the installation instructions for more information

Directory structure

casper_library
Simulink DSP libraries
xps_library
Simulink libraries for tool-flow supported modules (ADC interfaces, Ethernet cores, etc.)
xps_base
HDL code and Xilinx EDK wrappers used in older (ROACH2 and earlier) versions of the toolflow.
docs
Sphinx documentation for the software in this project.
jasper_library
Python and MATLAB scripts required to drive the compilation process. Also platform-dependent configuration information and source-code for IP modules used by the toolflow in the following directories:
jasper_library/platforms
YAML files defining the compile parameters and physical constraints of CASPER-supported FPGA platforms.
jasper_library/golden
Golden boot images for FPGA platforms which require them.
jasper_library/hdl_sources
HDL source files for all toolflow-suppled modules (eg. ADC interfaces, Ethernet cores, etc.).
jasper_library/sw
Codebase for embedded software processors used by the toolflow.
jasper_library/yellow_blocks
Python classes for each yellow block in the simulink xps_library.

Getting Involved

If you are a CASPER collaborator, or you’re just interested in what we’re up to, feel free to join our mailing list by sending a blank email here.

If would like to get involved in the development of the tools, please join our dev mailing list by sending a blank email here.

About

Matlab/Simulink/XSG tool-flow for developing DSP systems for CASPER hardware


Languages

Language:VHDL 93.3%Language:Verilog 3.0%Language:V 2.4%Language:C 0.7%Language:MATLAB 0.3%Language:Python 0.1%Language:Tcl 0.0%Language:Assembly 0.0%Language:C++ 0.0%Language:SystemVerilog 0.0%Language:Makefile 0.0%Language:Objective-C 0.0%Language:Shell 0.0%Language:Ruby 0.0%Language:Filebench WML 0.0%Language:HTML 0.0%Language:Perl 0.0%Language:CartoCSS 0.0%Language:Fortran 0.0%Language:Batchfile 0.0%