Nios® II Processor Reference Guide

ID 683836
Date 10/22/2020
Public
Document Table of Contents

3.6.3.4. Register File RAM Blocks

  1. Use a WRCTL instruction to set ECCINJ.RF to INJS or INJD (as desired).
  2. Execute any instruction that writes any register except R0.
  3. Use a RDCTL instruction to ensure that the value of ECCINJ.RF is NOINJ.
  4. Use an instruction to read the desired register from rA such as OR rd, r0, rx where rx is the register written in the previous step. This action triggers the ECC error.
  5. Use an instruction to read the desired register from rB such as OR rd, rx, r0 where rx is the register written in the previous step.

Did you find the information on this page useful?

Characters remaining:

Feedback Message