Contenido principal

Peripherals

R2026b
Design and develop the external peripheral components, from GPIO to integrated video stream components, of an SoC application

Create Simulink® models with simulations of the peripherals available on SoC devices. Connect peripherals to the software algorithms and hardware user-logic subsystems of an SoC application model. Add asynchronous communication and data capture simulation to the model using I/O device blocks with event message signals. Capture data from peripherals on hardware boards in deployed models to use in simulation.

Blocks

expand all

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

Objects

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

Tools

Hardware MappingMap memory, tasks, and peripherals in a model to hardware board configurations (Since R2022b)

Topics

Design and Simulation

Build and Measurement

Featured Examples