主要内容

自定义板卡支持

R2026b
将新的基于 AMD® 的硬件板添加到 SoC Blockset™ for AMD 中受支持的硬件板列表

板卡支持允许开发人员将新硬件板添加到 SoC Blockset for AMD 中的可用硬件板选择中。添加板支持后,Simulink 模型可以选择新硬件板,并使用 SoC Blockset for AMD 的功能(例如处理器-内存-FPGA 或 IO 设备交互)进行仿真。要在 SoC Blockset for AMD 中添加新硬件板条目,Board Support API 会向 Simulink® 环境添加和注册工具、库、配置、源文件和头文件。有一组用于特定目的的工具、配置和文件来定义 Board Support 的功能。可以将功能(例如外部模式或核探查)映射到硬件板,从而启用这些功能并使其在关联硬件板的 Simulink 配置参数和 SoC 构建器中可见。与 Embedded Coder® 和 HDL Coder™ 结合使用时,Board Support 允许 Simulink 将模型作为 C/C++ 和 HDL 代码部署到该硬件板上的 SoC 器件。在硬件上运行时,由 Board Support 启用的功能(例如探查和外部模式)可用于实时监控已部署的模型并与之交互。

您可以使用 Board Support 参考创建一个已包含许多功能的新 Hardware Board 对象。使用参考时,您只需添加或修改您的 Hardware Board 和 Board Support 特有的功能。

主题

函数

soc.sdk.loadBoardSupportLoad board support given the name of board support
soc.sdk.packageBoardSupportPackage board support given the board support name
soc.sdk.setupSoftwareToolsSet up software tools given the board name

类

全部展开

soc.sdk.BoardSupportDefine and register tools and features of a supported hardware board
soc.sdk.ExternalModeExternal mode configuration
soc.sdk.PILProcessor-in-the-loop simulation configuration
soc.sdk.ProfilerCode execution profiler that collects timing information for generated code
soc.sdk.OperatingSystemOperating system definition for the processor
soc.sdk.DeployerApplication deployment configuration
soc.sdk.ToolchainToolchain configuration
soc.sdk.LoaderAn object that describes how to load code to hardware
soc.sdk.SynthesisToolAn object that defines the synthesis tool used by the deployer
soc.sdk.HardwareHardware that runs generated code
soc.sdk.ProcessorCoreProcessor core definition in Hardware object
soc.sdk.FPGACoreFPGA core definition in Hardware object
soc.sdk.MemoryMemory on a hardware board
soc.sdk.LEDLED object on hardware board
soc.sdk.ClockClock object representing the input clock on hardware board
soc.sdk.DIPSwitchDIP switch on the hardware board
soc.sdk.ResetInput reset switch on hardware board
soc.sdk.PushButtonPush button on the hardware board
soc.sdk.FPGAPeripheralInterfaceFPGA peripheral interface on hardware board (自 R2026a 起)
soc.sdk.ProcessingSystemProcessing system definition in FPGACore object
soc.sdk.MemorySystemMemory system on FPGA core
soc.sdk.BuildConfigurationConfiguration that describes how to build generated code
soc.sdk.BitstreamLoaderAn object that describes how to load bitstream code to hardware

精选示例