This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Use Memory and I/O Device Data in Processor Simulation

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

  • Zeros

Event-Driven Task

For event-driven task, the recorded data The IO Data Source also sends event messages to the Task Manager block to start the task containing the Processor I/O block.

Timer-Driven Task

See Also

| | | |

Related Topics