Intel NIOS II Owner Reference Manual page 71

Table of Contents

Advertisement

3. Programming Model
NII-PRG | 2018.04.18
3.6.3.1. Instruction Cache Tag RAM
1. Ensure all code up to the JMP instruction is in the same instruction cache line or is
located in an ITCM.
2. Use a
containing the executing code.
3. Use a
4. Use a
causes an ECC error to occur on the start of the next line fill.
5. Use a
6. The ECC error is injected when writing the tag RAM at the start of the line fill.
7. Use a
8. The ECC error triggers after the target of the
3.6.3.2. Instruction Cache Data RAM
1. Ensure all code up to the JMP instruction is in the same instruction cache line or is
located in an ITCM.
2. Use a
containing the executing code.
3. Use a
4. Use a
causes an ECC error to occur on the start of the next line fill.
5. Use a
6. The ECC error is injected when writing the tag RAM at the start of the line fill.
7. Use a
8. Execute the target of the
second to be triggered by it).
3.6.3.3. ITCMs
Software running on the Nios II cannot directly inject an ECC error in an
because the Nios II only writes
an
, the TCM RAM must also be connected to a
ITCM
provided
error in the TCM RAM as follows:
1. Use a
connected to the
2. Use a
3. Use a
WRCTL
4. Use a
5. The ECC error should be triggered on the target of the
instruction to flush an instruction cache line other than the line
FLUSHI
instruction to flush the pipeline.
FLUSHP
instruction to set
WRCTL
instruction to jump to an instruction address in the flushed line.
JMP
instruction to ensure that the value of
RDCTL
instruction to flush an instruction cache line other than the line
FLUSHI
instruction to flush the pipeline.
FLUSHP
instruction to set
WRCTL
instruction to jump to an instruction address in the flushed line.
JMP
instruction to ensure that the value of
RDCTL
JMP
ITCM
error injection mechanism (i.e.
DTCM
instruction to set
WRCTL
.
ITCM
instruction to write the
STW
instruction to ensure the value of the
RDCTL
is
.
NOINJ
instruction to jump to an instruction address in the ITCM.
JMP
to
ECCINJ.ICTAG
INJS
ECCINJ.ICTAG
instruction.
JMP
to
ECCINJ.ICDAT
INJS
ECCINJ.ICDAT
instruction twice (first to inject the ECC error and
s when correcting ECC errors. To inject an ECC in
DTCM
register) is used to inject an
ECCINJ
so that it will inject ECC errors in the
ECCINJ
.
DTCM
ECCINJ
or
. This setting
INJD
is
.
NOINJ
or
. This setting
INJD
is
.
NOINJ
ITCM
master. The Nios II
DTCM
field written by the
instruction.
JMP
Nios II Processor Reference Guide
71

Advertisement

Table of Contents
loading

Table of Contents