主要内容

外设

R2026b
设计和开发 SoC 应用的外部外设组件,涵盖 GPIO 和集成的视频流组件等

创建 Simulink® 模型,并对在 SoC 器件上可用的外设进行仿真。将外设连接到 SoC 应用模型的软件算法和硬件用户逻辑子系统。使用具有事件消息信号的 I/O 设备模块,向模型添加异步通信和数据采集仿真。在已部署模型中从硬件板上的外设采集数据以在仿真中使用。

模块

全部展开

DIP Switch blockDIP SwitchConnect signals attached to DIP switches on hardware board
LED blockLEDConnect signals attached to LEDs on hardware board
Push Button blockPush ButtonConnect signals attached to push buttons on hardware board
IO Data Sink blockIO Data SinkRecord, output, or terminate input message
IO Data Source blockIO Data SourcePlay back recorded data
TCP Read blockTCP ReadReceive TCP/IP packets from remote host over TCP/IP network
TCP Write blockTCP WriteSend TCP/IP packets to remote host over TCP/IP network
UDP Read blockUDP ReadReceive UDP packets from remote host
UDP Write blockUDP WriteSend UDP packets to remote host
UDP Read (HOST) blockUDP Read (HOST)Receive UDP packets on local host computer from remote host
UDP Write (HOST) blockUDP Write (HOST)Send UDP packets from host computer to remote host
Video Stream FIFO blockVideo Stream FIFOControl backpressure between hardware logic and upstream video interface
Video Stream Connector blockVideo Stream ConnectorConnect two IPs with video streaming interfaces
Video Test Sink blockVideo Test SinkReceive continuous video stream data
Video Test Source blockVideo Test SourceGenerate continuous video stream data

对象

socHardwareBoardConnection to SoC hardware board
DataRecorderData recording session for specified SoC hardware board
soc.iosourceInput source on SoC hardware board
socFileReaderFile reader
socAXIManagerRead and write memory locations on hardware board from MATLAB
socIPCoreCreate object to represent IP core running on FPGA board
socMemoryProfilerRetrieve and display memory performance data

工具

硬件映射Map memory, tasks, and peripherals in a model to hardware board configurations (自 R2022b 起)

主题

设计和仿真

编译和测量

精选示例