Professional Documents
Culture Documents
(II)
Speaker: Lung-Hao Chang 張龍豪
Advisor: Porf. Andy Wu 吳安宇教授
scan chain 2
extern0 Embedded scan chain 0
extern1
ICE
opc, r/w,
mreq, trans,
mas[1:0]
A[31:0] processor other
core signals
Din[31:0]
bus JTAG TAP
splitter controller
Dout[31:0]
ARM Core
Physical
Address AMBA
MMU
Virtual AMBA Address
Address Interface AMBA
Inst. & data
Data
Write
Inst. & data cache
Buffer
ARM710T ARM720T
– 8K unified write through – As ARM 710T but with WinCE
cache support
– Full memory management ARM 740T
unit supporting virtual – 8K unified write through cache
memory
– Memory protection unit
– Write buffer
– Write buffer
ARM Platform Design SOC Consortium Course Material 09/21/2003 13
Processor Core Vs CPU Core
Processor Core
– The engine that fetches instructions and execute them
– E.g.: ARM7TDMI, ARM9TDMI, ARM9E-S
CPU Core
– Consists of the ARM processor virtual address
address
physical
instructions & data
AMBA interface
AMBA AMBA
address data
ARM710T
ARM8 ARM9TDMI
prefetch
ARM10TDMI addresses
unit
Core Organization
– The prefetch unit is responsible for PC instructions
inst. decode
decode
register read
coproc
data multiplier
ALU/shifter execute
write
pipeline
+4 mux
write
data
address memor y
read
data
forwarding rot/sgn ex
paths
write
register write
physical address
address buffer
branch
offset
I decode
pc + 8
r15 instruction
decode
+ disp
branch register read
B, BL target
immediate
¼elds
MOV pc
LDM/
STM post-
+4 index reg
shift
shift
pre-index
execute
ALU & multiply forwarding
paths
mux
SUBS pc
rotate
D-cache buffer/
load/store data
address
rot/sgn ex
LDR pc
pc + 8 I decode
r15
instruction
decode
register read
immediate
fields
mul
LDM/
STM post-
+4 index reg
shift shift
pre-index
execute
ALU forwarding
paths
mux
B, BL
MOV pc
SUBS pc
byte repl.
D-cache buffer/
load/store data
address
rot/sgn ex
LDR pc
ARM9TDMI:
instr uction r. read data memor y reg
fetch shift/ALU access write
decode
Main memory
registers
instructions
processor
instructions
address and data
data
copies of
instructions address
copies of
data
memory
cache
instructions 00..0016
and data
instructions
cache
address instructions
instructions
registers
processor
address
copies of
data
data memory
cache
00..0016
ARM Platform Design SOC Consortium Course Material 09/21/2003 38
Cache Write Strategies
Write-through
– All write operations are passed to main memory
Write-through with buffered write
– All write operations are still passed to main memory and
the cache updated as appropriate, but instead of slowing
the processor down to main memory speed the write
address and data are stored in a write buffer which can
accept the write information at high speed.
Copy-back (write-back)
– No kept coherent with main memory