Nios II Classic Processor Reference Guide

ID 683620
Date 10/28/2016
Public
Document Table of Contents

3.6.3.4. MMU TLB RAM

  1. Use a WRCTL instruction to set ECCINJ.TLB to INJS or INJD.
  2. Use a WRCTL instruction to write a TLB entry. The ECC error is injected at this time and any associated uTLB entry can be flushed.
  3. Use a RDCTL instruction to ensure the value of ECCINJ.TLB is NOINJ.
  4. Perform an instruction/data access to cause the hardware to read the TLB entry (copied into uTLB) and the ECC decoder should detect the ECC error at this time. Alternatively, initiate a software read of the TLB (by writing TLBMISC.RD to 1).
  5. If a software read was initiated, the TLBMISC.EE field should be set to 1 on any instruction after the WRCTL that triggered the software read.
  6. If a hardware read was initiated, the ECC error should be triggered on the first instruction after the hardware read.