Nios® II Processor Reference Guide

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

3.6.3.9. DTCMs

  1. Use a WRCTL instruction to set the ECCINJ.DTCM field to INJS or INJD for the desired DTCM.
  2. Use a STW instruction to write an address in the DTCM.
  3. Use a RDCTL instruction to ensure the value of the field written by the WRCTL to ECCINJ is NOINJ.
  4. Use a LOAD instruction from the same address in the DTCM.
  5. The ECC error should be triggered on the LOAD instruction.