Assume a test core operates in the following method when the core is enabled through a register bit:
- Checks for the Configuration register values
- Generates output based on the configuration
- Updates the Status register after completed
This is tested in hardware using the System Test mode of the AXI Traffic Generator by developing the COE files.
After following the example, this can be tested with this test sequence.
- Program Configuration register (
0x4
) to a value of0x12A0_1100
. - Enable completion status bit in Status Enable register
(
0x8
) with a value0x0000_000F
. - Enable the core by writing to the Control register
(
0x0
) with a value of0x0000_0001
. - Read the Status register (
0xC
) until the status value is0x0000_000F
.
Based on the test sequence, four COE files need to be
developed. Using these COE files the AXI Traffic Generator generates the test sequence
and asserts done
with the appropriate status
.