Cyclone® V Hard Processor System Technical Reference Manual

ID 683126
Date 8/28/2023
Public
Document Table of Contents

A.6.2. Shared Memory

The shared memory contains information that the boot ROM code passes to the preloader. The boot ROM code passes the location of shared memory to the preloader in register r0, as described in the HPS State on Entry to Preloader section.

The shared memory holds the last value of the stat register in the Reset Manager Module and a version number that is passed by the boot ROM. The value of the stat register in shared memory is only valid if the version number passed by the boot ROM is 0x00000000. The table below shows where the stat register value and version number reside in the shared memory as an offset from the address stored in register r0.
Table 280.  Shared Memory Locations
Shared Memory Content Address Location Description
Version Number r0 + 0x0008 The stat register value in shared memory is only valid if the value of this shared memory location is 0x00000000.
stat Register r0 + 0x0038 This location holds the last value the boot ROM writes to the stat register in the Reset Manager before it is erased.