Coprocessor Interface
7-4
Copyright © 2000 ARM Limited. All rights reserved.
ARM DDI 0186A
7.2
LDC/STC
The
LDC
and
STC
instructions are used respectively to transfer data to and from external
coprocessor registers and memory. In the case of the ARM966E-S, the memory can be
either tightly-coupled SRAM or AHB depending on the address range of the access and
SRAM enable.
The cycle timing for these operations is shown in Figure 7-1.
Figure 7-1 LDC/STC cycle timing
In this example, four words of data are transferred. The number of words transferred is
determined by how the coprocessor drives the
CHSDE[1:0]
and
CHSEX[1:0]
buses.
As with all other instructions, the ARM9E-S performs the main decode off the rising
edge of the clock during the Decode stage. From this, the core commits to executing the
instruction and so performs an instruction fetch. The coprocessor instruction pipeline
keeps in step with ARM9E-S core by monitoring
nCPMREQ
, which is a registered
version of the ARM9E-S core instruction memory request signal
InMREQ
.
At the rising edge of
CLK
, if
CPCLKEN
is HIGH, and
nCPMREQ
is LOW, an
instruction fetch is taking place, and
CPINSTR[31:0]
contains the fetched instruction
on the next rising edge of the clock, when
CPCLKEN
is HIGH.
This means that:
•
the last instruction fetched must enter the Decode stage of the coprocessor
pipeline
CLK
CPINSTR[31:0]
CPPASS
CHSEX[1:0]
CPLATECANCEL
CHSDE[1:0]
nCPMREQ
CPDIN[31:0]
STC
Fetch
Decode
Execute
(GO)
Execute
(GO)
Execute
(GO)
Execute
(LAST)
Memory
Write
LDC/STC
GO
GO
GO
LAST
Ignored
CPDOUT[31:0]
LDC
Coprocessor
pipeline
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 ...