主要内容

在自定义硬件上部署 IP 核

通过定义自定义板和参考设计将生成的 IP 核集成到目标 SoC 器件、Speedgoat® I/O 模块或独立的 FPGA 板中

HDL Coder™ 支持有限数量的预先存在的目标平台。对于快速原型,可以使用预先存在的板,但对于生产,通常需要自定义平台。创建一个自定义平台以将 IP 核集成到独立 FPGA 板或具有 Xilinx® Vivado® IP Integrator 或 Intel® Qsys 的 SoC 平台中。

您可以在 MATLAB® 中创建自己的自定义参考设计,并使用 HDL Coder 将 IP 核集成到参考设计中。

有关工作流的更多详细信息,请参阅Targeting FPGA & SoC Hardware Overview

Create a custom hardware platform workflow

hdlcoder.BoardBoard registration object that describes SoC custom board
hdlcoder.ReferenceDesignReference design registration object that describes SoC reference design

函数

全部展开

addCustomEDKDesignSpecify Xilinx EDK MHS project file
addCustomQsysDesignSpecify Altera Qsys project file
addCustomVivadoDesignSpecify Xilinx Vivado exported block design Tcl file
addCustomLiberoDesignSpecify Microchip Libero SoC exported block design Tcl file (自 R2022b 起)
addIPRepositoryInclude IP modules from your IP repository folder in your custom reference design
addParameterAdd and define custom parameters for your reference design
validateReferenceDesignCheck property values in reference design object
validateBoardCheck property values in board object
addEthernetMACInterface Define Ethernet MAC interface for board object (自 R2022b 起)
addExternalIOInterfaceDefine external IO interface for board object
addExternalPortInterfaceDefine external port interface for board object
addFPGADataCaptureInterfaceAdd and define FPGA Data Capture interface (自 R2025a 起)
addInternalIOInterfaceAdd and define internal IO interface between generated IP core and existing IP cores
addAXI4MasterInterfaceAdd and define AXI4 Master interface
addAXI4SlaveInterfaceAdd and define AXI4 slave interface
addAXI4StreamInterfaceAdd AXI4-Stream interface
addAXI4StreamVideoInterfaceAdd AXI4-Stream Video interface
addClockInterfaceAdd clock and reset interface
addMemoryInterfaceAccess memory regions on your FPGA or SoC hardware (自 R2023a 起)
CallbackCustomProgrammingMethodFunction handle for custom callback function that gets executed during Program Target Device task in the Workflow Advisor
CustomizeReferenceDesignFcnFunction handle for callback function that gets executed before Set Target Interface task in the HDL Workflow Advisor
EmbeddedCoderSupportPackageSpecify whether to use an Embedded Coder support package
PostBuildBitstreamFcnFunction handle for callback function that gets executed after the build FPGA bitstream task runs
PostCreateProjectFcnFunction handle for callback function that gets executed after the create project task runs
PostSWInterfaceFcnFunction handle for custom callback function that gets executed after the generate software interface task runs
PostTargetInterfaceFcnFunction handle for callback function that gets executed after the set target interface task runs
PostTargetReferenceDesignFcnFunction handle for callback function that gets executed after the target reference design is set
addDeviceTreeAdd device tree for board object (自 R2021b 起)
addDeviceTreeIncludeDirectorySpecify the path of an include file to compile the device tree against (自 R2021b 起)
addDeviceTreeAdd device tree for reference design object (自 R2021b 起)
addDeviceTreeIncludeDirectorySpecify the path of an include file to compile the device tree against (自 R2021b 起)
socExportReferenceDesignExport custom reference design for HDL Workflow Advisor

主题

板和参考设计

特定硬件平台

疑难解答

Resolve Timing Failures in IP Core Generation and Simulink Real-Time FPGA I/O Workflows

Resolve timing failures in Build FPGA Bitstream step of IP Core Generation Workflow or Simulink Real-Time FPGA I/O Workflow for Vivado-Based Boards.

精选示例