Академический Документы
Профессиональный Документы
Культура Документы
Processor
Control
Datapath
2011 Sem 1
Devices
Memory
Input
Output
2011 Sem 1
2011 Sem 1
With hierarchy
With parallelism
2011 Sem 1
eDRAM
Instr Data
Cache Cache
1s
10s
100s
Size (bytes):
Ks
10Ks
Ms
Cost:
2011 Sem 1
ITLB DTLB
Speed (%cycles): s
Datapath
RegFile
Second
Level
Cache
(SRAM)
100s
highest
Main
Memory
(DRAM)
Secondary
Memory
(Disk)
1,000s
Gs to Ts
lowest
Increasing
distance
from the
processor in
access time
L1$
8-32 bytes (block)
L2$
1 to 4 blocks
Inclusive what
is in L1$ is a
subset of what
is in L2$ is a
subset of what
is in MM that is
a subset of is
in SM
Main Memory
1,024+ bytes (disk sector = page)
Secondary Memory
Address
21
SRAM
2M x 16
Write enable
16
Dout[15-0]
Din[15-0]
16
2011 Sem 1
2011 Sem 1
10
Access time: time between the request and when the data is
available (or written)
2011 Sem 1
11
2011 Sem 1
The PMOS
transistor
Turned on
when gate
current is low
12
A real transistor
5 atoms thick
oxide layer
2011 Sem 1
13
The NMOS
transistor
Turned on
when gate
current is high
14
The basic
CMOS NOT gate
2011 Sem 1
15
OFF
1
0
ON
2011 Sem 1
16
ON
1
0
OFF
2011 Sem 1
17
DRAM
2011 Sem 1
18
R
o
w
D
e
c
o
d
e
r
row
address
RAM Cell
Array
Each intersection
represents a
6-T SRAM cell or
a 1-T DRAM cell
column
address
One memory row holds a block of data, so
the column address selects the requested
bit or word from that block
19
R
o
w
D
e
c
o
d
e
r
Each intersection
represents a
1-T DRAM cell
RAM Cell
Array
column
address
row
address
2011 Sem 1
.
. . data bit
ord
w
data
Column
Address
N cols
DRAM
N rows
Row
Address
M-bit Output
M bit planes
Cycle Time
1st M-bit Access
RAS
CAS
Row Address
2011 Sem 1
Col Address
Row Address
Col Address
21
Column
Address
N cols
DRAM
Row
Address
N rows
N x M SRAM
M bit planes
M-bit Output
Cycle Time
1st M-bit Access
2nd M-bit
3rd M-bit
4th M-bit
RAS
CAS
Row Address
2011 Sem 1
Col Address
Col Address
Col Address
Col Address
22
+1
After a row is
read into the SRAM register
N cols
DRAM
N rows
Row
Address
N x M SRAM
M bit planes
M-bit Output
4th M-bit
RAS
CAS
Row Address
2011 Sem 1
Col Address
Row Add
23
Double data rate because they transfer data on both the rising
and falling edge of the clock
http://xlrq.com/stacks/corsair/153707/index.html
2011 Sem 1
24
Control Signals
Sampled
Synchronously
4 Banks
Mode
Register
2011 Sem 1
25
DDR SDRAM
2011 Sem 1
26
2011 Sem 1
27
CPU
Cache
bus
32-bit data
&
32-bit addr
per cycle Memory
Assume
1.
2.
3.
2011 Sem 1
28
on-chip
CPU
Cache
bus
1
27
Memory
2011 Sem 1
30
on-chip
CPU
Cache
25 cycles
bus
25 cycles
25 cycles
Memory
25 cycles
2011 Sem 1
32
on-chip
CPU
Cache
51
bus
25 cycles
8 cycles
8 cycles
Memory
8 cycles
2011 Sem 1
bytes per
A review of memory technology
clock
34
on-chip
CPU
Cache
bus
25 cycles
25 cycles
25 cycles
36
2011 Sem 1
37