주요 콘텐츠

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
IO Pin blockIO PinConnect model signals to I/O pins on hardware board (Since R2026a)
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
Audio Capture blockAudio CaptureCapture audio samples from an input audio device and send to an algorithm
Audio Capture Interface blockAudio Capture InterfaceSimulate capture of sample from audio stream on hardware
Audio Playback UI IconAudio PlaybackPlayback audio samples from an algorithm to an output audio device
Audio Playback Interface blockAudio Playback InterfaceSimulate audio output device on a hardware board
Video Capture blockVideo CaptureCapture video from input video device and send to algorithm
Video Capture Interface UI IconVideo Capture InterfaceSimulate capture of images from video stream on hardware
Video Display blockVideo DisplayDisplay image samples from an algorithm to an output video device
Video Display Interface blockVideo Display InterfaceSimulate display of images to video screen on device
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
AD936x Receiver iconAD936x ReceiverReceive data from AD936x-based Zynq radio hardware (Since R2024b)
AD936x Transmitter iconAD936x TransmitterSend data to AD936x-based Zynq radio hardware (Since R2024b)
AD936x Data Read iconAD936x Data ReadRead data from AD936x-based Zynq radio hardware (Since R2024b)
AD936x Data Write iconAD936x Data WriteWrite data to AD936x-based Zynq radio hardware (Since R2024b)
HDMI Rx blockHDMI RxConvert video stream to YCbCr 4:2:2 pixel stream
HDMI Tx blockHDMI TxConvert YCbCr 4:2:2 pixel stream to video frame
RF Data Converter blockRF Data ConverterProvide RF data path interface to hardware logic
ADC To Vector block iconADC To VectorConvert concatenated 16-bit ADC input samples to vector outputs
Vector To DAC block iconVector To DACConvert vector inputs to concatenated 16-bit DAC output samples
RFDC Bus Creator blockRFDC Bus CreatorConvert control signals into RF Data Converter real-time interface-compatible bus (Since R2022a)
RFDC Bus Selector blockRFDC Bus SelectorConvert RF Data Converter real-time interface-compatible bus into control signals (Since R2022a)
Aurora 64B66B blockAurora 64B66BProvide high-speed serial communication using Xilinx Aurora interface (Since R2023a)
AXI4-Stream IIO Read iconAXI4-Stream IIO Read (HOST)Read DDR memory buffer from IP core device into simulation model
AXI4-Stream IIO Write iconAXI4-Stream IIO Write (HOST)Write arrays to DDR memory buffer of IP core device from simulation model
AXI4-Register IIO Read iconAXI4-Register IIO Read (HOST)Read memory-mapped registers into simulation model
AXI4-Register IIO Write iconAXI4-Register IIO Write (HOST)Write data to memory-mapped registers from a simulation model
Memory IIO Read blockMemory IIO ReadRead from a shared memory region into simulation model (Since R2023a)
Memory IIO Write blockMemory IIO WriteWrite from simulation model to a shared memory region (Since R2023a)

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)
FPGA IP Block GeneratorGenerate Simulink block for FPGA IP core (Since R2023a)

Functions

xilinxsoclibOpen the SoC Blockset for AMD block library

Topics

Design and Simulation

Build and Measurement

Featured Examples