Visible to Intel only — GUID: mwh1416946932943
Ixiasoft
Visible to Intel only — GUID: mwh1416946932943
Ixiasoft
9.3. Initializing the Nios II Cache after Reset
The Nios II caches cannot be disabled by software; they are always enabled. To allow proper operation, a processor reset causes the instruction cache to invalidate the one instruction cache line that corresponds to the reset handler address. This forces the instruction cache to fetch instructions corresponding to this cache line from memory. The reset handler address must be aligned to the size of the instruction cache line.
It is the responsibility of the first eight instructions of the reset handler to initialize the remainder of the instruction cache. The Nios II initi instruction initializes a single instruction cache line. Do not use the flushi instruction because it might cause undesired effects when used to initialize the instruction cache in future Nios II implementations.