Main Content

EmbeddedCoderSupportPackage

Class: hdlcoder.ReferenceDesign
Namespace: hdlcoder

Specify whether to use an Embedded Coder support package

Syntax

EmbeddedCoderSupportPackage

Description

EmbeddedCoderSupportPackage specifies if you want to use an Embedded Coder® support package for your reference design. Use this parameter if you are targeting a standalone FPGA board or an SoC device such as the Xilinx® Zynq®-7000 platform.

If you are targeting a standalone FPGA board, the reference designs do not require an Embedded Coder support package. If hRD is the reference design object that you construct with the hdlcoder.ReferenceDesign class, then use this syntax:

hRD.EmbeddedCoderSupportPackage = ... 
            hdlcoder.EmbeddedCoderSupportPackage.None;

When you are not using the support package, HDL Coder™ displays the Generate Software Interface task in the HDL Workflow Advisor, but has the Generate Simulink software interface model check box greyed out. If you have HDL Verifier™ installed, on the Set Target Reference Design task, set Insert AXI Manager (HDL Verifier required) to JTAG or Ethernet based on the interface that communicates between your host machine and the FPGA board. For Ethernet, specify the IP address of the FPGA board using the Board IP Address parameter.

Note

By default, the Ethernet option is available for only the Artix®-7 35T Arty, Kintex®-7 KC705, and Virtex®-7 VC707 boards. To enable this option for other Xilinx boards that have the Ethernet physical layer (PHY), manually add the Ethernet media access controller (MAC) Hub IP in the plugin_board file using the addEthernetMACInterface method before you launch the HDL Workflow Advisor tool.

You can then generate a host interface model or host interface script or both in the Generate Software Interface task to rapidly prototype and test the HDL IP core functionality by using the AXI Manager. See Generate and Manage FPGA I/O Host Interface Scripts.

Note

To generate a host interface model, you must map each DUT signal that you want to capture to the AXI4 or AXI4-Lite interfaces in the Set Target Interface task.

If you are targeting SoC devices, use this syntax depending on whether you are using an Intel® SoC or a Xilinx Zynq platform.

hRD.EmbeddedCoderSupportPackage = ...
                       hdlcoder.EmbeddedCoderSupportPackage.Zynq;
hRD.EmbeddedCoderSupportPackage = ...
                       hdlcoder.EmbeddedCoderSupportPackage.AlteraSoC;

Version History

Introduced in R2016b