Main Content

EmbeddedCoderSupportPackage

Class: hdlcoder.ReferenceDesign
Package: 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 JTAG MATLAB as AXI Master (HDL Verifier Required) to on. You can then generate a software interface script in the Generate Software Interface task to rapidly prototype and test the HDL IP core functionality by using the MATLAB AXI Master. See Generate Software Interface Script to Probe and Rapidly Prototype HDL IP Core.

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;

Introduced in R2016b