Test Support
10-4
Copyright © 2000 ARM Limited. All rights reserved.
ARM DDI 0186A
10.3
BIST of tightly-coupled SRAM
Adding a simple memory test controller allows an exhaustive test of the memory arrays
to be performed. BIST test is activated by an
MCR
to the CP15 BIST control register and
can be run on one or both of the I-SRAM and D-SRAM simultaneously.
When a BIST test is performed on an SRAM, the functional enable for that SRAM is
automatically disabled, forcing all memory accesses to that SRAM address space to go
to the AHB. This enables BIST tests to be run in the background. For instance, the
instruction SRAM can be BIST tested, while code is executed over the AHB.
Full programmer control over the BIST mechanism is achieved through five registers
that are mapped to CP15 register 15 address space. For details of the
MCR
or
MRC
instructions used to access these registers, see
on page 2-9. Access to
these registers is also available in debug mode, see
10.3.1
BIST control register
This controls the operation of the SRAM memory BIST. Before initiating a BIST test,
a
MCR
is first performed to the BIST control register to set up the size of the test and
enable the SRAM to be tested. A further
MCR
is required to initiate the test.
The current status of a BIST test and result of a completed test can be accessed by
performing an
MRC
to the BIST control register. This returns flags to indicate that a test
is:
•
running
•
paused
•
failed
•
completed.
In addition to returning the state for the size of the test and SRAM enable status, having
completed a BIST test, the BIST enable must first be cleared by writing to the BIST
control register if the SRAM is to be used by you for functional operation. The SRAM
must then be re-enabled by writing to CP15 register 1. This is necessary as the BIST test
enable automatically clears the functional enable.
Summary of Contents for ARM966E-S
Page 6: ...Contents vi Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 20: ...Introduction 1 4 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 48: ...Tightly coupled SRAM 4 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 80: ...Bus Interface Unit 6 20 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 118: ...Debug Support 8 26 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 130: ...Test Support 10 8 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 142: ...Instruction cycle timings 11 12 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 158: ...Signal Descriptions A 16 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...
Page 176: ...AC Parameters B 18 Copyright 2000 ARM Limited All rights reserved ARM DDI 0186A ...