This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Installation for Hardware-Software Co-Design

To work with the hardware-software (HW/SW) co-design workflow within the Communications Toolbox™ Support Package for USRP®[1] Embedded Series Radio, you must install and configure third-party tools and additional support packages.

Step 1. Set Up Host-Radio Communication

Note

If the radio hardware is already set up to communicate with the host computer, and you know its assigned IP address, skip this step.

When the support package installation is complete, you must set up the hardware. Take a note of the IP address assigned to the radio hardware during the hardware setup process. You need this information in Step 5. Set Up IP Address in MATLAB.

Step 2. Install Third-Party Tools

  • Xilinx® Vivado® development tools, version 2018.2

Step 3. Install HDL Coder Support Package for Xilinx Zynq Platform

This support package enables you to generate code for the FPGA portion of the underlying Zynq® board. (requires HDL Coder™)

  1. On the MATLAB® Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.

  2. In the Add-On Explorer window, browse or search for the HDL Coder Support Package for Xilinx Zynq Platform.

  3. Select the support package and then click Install.

Step 4. Install Embedded Coder Support Package for Xilinx Zynq Platform

This support package enables you to generate embedded ARM® code targeted for the underlying Zynq board (requires Embedded Coder®, Simulink® Coder™, and Embedded Coder Support Package for ARM Cortex®-A Processors)

  1. On the MATLAB Home tab, in the Environment section, click Add-Ons > Get Hardware Support Packages.

  2. In the Add-On Explorer window, browse or search for the Embedded Coder Support Package for Xilinx Zynq Platform.

  3. Select the support package and then click Install. The installation requires a download of several gigabytes. Depending on your network connection, installing this support package can take a long time.

    Note

    When the installation of the Embedded Coder Support Package for Xilinx Zynq Platform is complete, do not proceed with the hardware setup associated with the Embedded Coder. If you do so, you must reconfigure your hardware for the software-defined radio capabilities of this support package by following the steps in Guided Host-Radio Hardware Setup.

The next step guides you through the configuration process.

Step 5. Set Up IP Address in MATLAB

Call the zynq function with the following syntax to make sure that MATLAB is set up with the correct physical IP address of the radio hardware.

devzynq = zynq('linux','192.168.3.2','root','root','/tmp');

MATLAB uses this IP address for software deployment to the hardware. This address must match the physical IP address you specified for the radio in Step 1. Set Up Host-Radio Communication. By default, the physical IP address is 192.168.3.2. If you alter the radio hardware IP address during the hardware setup process, you must supply that address instead.

Related Topics


[1] USRP, USRP2, UHD, and Ettus Research are trademarks of National Instruments Corp.