The Simulink-USRP package makes a wide variety of functions of the USRP hardware available to Simulink. Some of the features are:
- Easy setup and installation. The need for external libraries or programs has been reduced as much as possible.
- Native Windows program: no need to install Cygwin or any other Linux emulation.
- Supports up to four data streams coming from the USRP, and up to two running into the USRP.
- Supports frame based signals of configurable length.
- Supports one complex or two real-valued data streams for each subdevice of a daughterboard.
- Supports carrier frequency tuning during runtime [*NEW*].
- Supports WBX daughterboard [*NEW*].
- Supports bitstream generation for the Altera Cyclone FPGA on the USRP mainboard [*NEW*].
- The sample time of blocks by default reflects the real sampling time of the USRP, taking into account decimation/interpolation. This can be changed to e.g. count the number of samples produced, instead of real time.
- Firmware, FPGA Bitstream, USB Block Size and the number of asynchronously read/written blocks can be easily configured.
- Multiple USRP boards can be used at once. (No MIMO operation until now, though.)
- Real Time Workshop builds (including Rapid Accelerator builds) are possible without the need to configure anything for Simulink-USRP.
These are the products required in order to run the Simulink-USRP software:
- MATLAB, Simulink, Signal Processing Blockset
Obviously, Simulink-USRP won't run without these. Signal Processing Blockset is needed to be able to use framed signals.
- Real Time Workshop (optional)
The Real Time Workshop can be used to speed up simulations quite a lot.
- Microsoft Visual C++
If you don't have it already, you may also use the Visual C++ Express Edition which can be downloaded from Microsoft for free (as in beer). The LCC compiler shipping with MATLAB is know NOT to work with Simulink-USRP. Other compilers may work, they have not been tested.
- Altera Quartus II Web Edition
The Quartus I Web Edition software is free and can be downloaded from Altera. The software is only needed if you want to generate a custom FPGA bitstream by yourself. The standard FPGA bitstream std_2rxhb_2tx.rbf is still included in the source.
Make sure all requirements are fulfilled before you proceed to the installation instructions.
The software-package Simulink-USRP consists of software from several authors under different licenses. The following table lists all included software packages:
||Copyright holder / Author
||Sourcecode Folders |
||Communication Engeneering Lab (CEL), Karlsruhe Institute ofTechnology (KIT) / Stefan Nagel, Enno Klasing, Michael Schwall
||GNU General Public License
||Free Software Foundation, Inc. / GNU Radio
||GNU General Public License
||Stephan Meyer, Johannes Erdfelt, Thomas Sailer
||GNU Lesser General Public License, GNU General Public License
||Boost Software License