Tightly-coupled SRAM
Copyright © ARM Limited 2000. All rights reserved.
5-3
5.2
Using CP15 control register
When out of reset, the behavior of the tightly-coupled SRAM is controlled by the state
of CP15 control register.
5.2.1
Enabling the I-SRAM
You can enable the I-SRAM by setting bit 18 of the CP15 control register. You must
use read-modify-write to access this register to preserve the contents of the bits not
being modified. See Register 1, Control register on page 2-11 for details of how to read
and write the CP15 control register. When you have enabled the I-SRAM, all future
ARM9E-S instruction fetches and data accesses to the I-SRAM address space cause the
I-SRAM to be accessed.
Enabling the I-SRAM greatly increases the performance of the ARM946E-S because
the majority of accesses to it can be performed with no stall cycles. Accessing the AHB
however, can cause several stall cycles for each access.
Note
You must take care to ensure that the I-SRAM is appropriately initialized before it is
enabled and used to supply instructions to the ARM9E-S core. If the core tries to
execute instructions from uninitialized I-SRAM, the behavior is unpredictable.
5.2.2
Disabling the I-SRAM
You can disable the I-SRAM by clearing bit 18 of the CP15 control register. See
Register 1, Control register on page 2-11 for details of how to read and write the CP15
control register. When you have disabled the I-SRAM, all future ARM9E-S instruction
fetches access the AHB.
Note
The contents of the SRAM are preserved when it is disabled. If it is re-enabled, accesses
to previously initialized SRAM locations return the preserved data.
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...