CPU Registers

Test Name: CPU Register Test.

Purpose of test: Detect stuck bits in the CPU registers.

Requirement ID: SW_CPU_REGISTER_TEST_01

Acceptable Measure: Functional Test.

Description: CPU registers are tested for stuck bits and coupling faults between each of the bits inside the individual registers but not between registers.

The basic algorithm works as Below:

The content of the register is pushed to stack so it will be possible to restore the register after the test. The register is set to a known value and verified. Then the register bits are forced to change state, and the register content is verified once more. If the content of the register is incorrect after either verification, the error flag is raised. When the test is done the register is restored with the original value pushed to the stack. Two types of registers will be tested: register file registers (R0-R31) and I/O registers. These are located in separate memory spaces and are accessed with different instructions.

API Documentation: SW_CPU_REGISTER_TEST_01