TMR Inject - TMR Inject - 1.0 English - PG268

MicroBlaze Triple Modular Redundancy (TMR) Subsystem LogiCORE IP Product Guide (PG268)

Document_ID
PG268
Release_Date
2025-12-09
Version
1.0 English

The TMR Inject block diagram in the following figure depicts the implementation of the instruction inject functionality.

Figure 1. TMR Inject Block Diagram

TMR Inject has three registers to perform fault injection by replacing a particular instruction fetched by one of the processors. TMR Inject is inserted between the processor and the instruction LMB bus IP core, and responds to all LMB instruction read accesses from the processor.

The Address Register holds the Program Counter of the physical address of the instruction to replace, and is compared with the actual instruction fetch address to trigger a replacement. The Instruction Register holds the instruction, and the Control Register is used to enable injection for a particular processor.

When setting the Address Register, it is necessary to ensure that the processor has not already prefetched the instruction at that Program Counter to ensure that the instruction can be replaced.

Replacing the instruction in one of the three processors provides the possibility of generating internal errors by affecting the internal processor registers, and generating errors on any external interface by affecting load, store, put and get instructions to either change a bit in the address or in the write data.

It is possible to replace the instruction in two of the three processors simultaneously, but that does not result in a fatal error, because the TMR Manager transitions to the Lockstep state in this case.