Initialization Sequence - Initialization Sequence - 1.15 English - UG585

Zynq 7000 SoC Technical Reference Manual (UG585)

Document_ID
UG585
Release_Date
2026-02-06
Version
1.15 English

As an example, a typical cache controller start-up programming sequence consists of the following register operations:

  • Write 0x020202 to the register at 0xF8000A1C. This is a mandatory step.
  • Write to the auxiliary, tag RAM latency, data RAM latency, pre-fetch, and Power Control registers using a read-modify-write to set up global configurations:
    • Associativity and way size
    • Latencies for RAM accesses
    • Allocation policy
    • Pre-fetch and power capabilities
  • Secure write to invalidate by way, offset 0x77C, to invalidate all entries in cache:
    • Write 0xFFFF to 0x77C
    • Poll the cache maintenance register until invalidate operation is complete.
  • If required, write to register 9 to lock down D and lock down I.
  • Write to the interrupt clear register to clear any residual raw interrupts set.
  • Write to the interrupt mask register if it is desired to enable interrupts.
  • Write to control register 1 with the LSB set to 1 to enable the cache.

If a write is performed to the auxiliary, tag RAM latency, or data RAM latency control register with the L2 cache enabled, a SLVERR (error) results. The L2 cache must be disabled by writing to the control register before writing to these registers.