Main Content

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. Together, this mechanism allows tasks to simulate using either previously recorded or generated I/O data with timing accurate execution.

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

| | | |