The Processor I/O sub-library in SoC Blockset™ contains blocks that simulate the data transfer between the processor system and memory or I/O devices in the SoC application. Processor I/O blocks, including the Register Read, Register Write, and Stream Read, can read and write data to memory, such as DDR or hardware registers, on the SoC. Similarly, the TCP Read, TCP Write, UDP Read, and UDP Write blocks can read and write data to external I/O devices.
In simulation, an IO Data Source block sends data messages to the Processor I/O block using an entity. Together, this mechanism allows tasks simulate using either previously recorded or generated I/O data with timing accurate execution. For more information on entities, see Entities in an SoC Blockset Model.
The IO Data Source block and a Processor I/O block can be configured to simulate in one of three modes:
Replay recorded data from file
From input port