

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Maciej Ciesielski
Department of Electrical and Computer Engineering
11/26/
11/26/
Engin 112 - Intro to ECE
Combinational logic y Sequential logic y Timing analysis
Random Access Memory (RAM) y Read Only Memory (ROM)
11/26/
Engin 112 - Intro to ECE
Control Data-path
Processor
regs
SecondaryMemory
Cache
L1Cache
Main Memory
Speed (ns):
1ns
2ns
6ns
100ns
10,000,000ns
Size (MB):
Cost ($/MB):
Technology:
Regs
Disk
11/26/
Engin 112 - Intro to ECE
Smallest unit is “word” (
n^
bits wide)
y^
Identified by “address”
k
address lines^ » At most
^2 k^ words storage
y^
n data lines input and output
Size =
k^ ×
n
bits
1024-bit memory with 16-bit words y How many address lines?
11/26/
Engin 112 - Intro to ECE
Address y^
Read y^
Write
Apply address to address lines
Apply data to data input lines
Activate write input
Apply address to address line
Activate read input
Read value from data output lines
11/26/
Engin 112 - Intro to ECE
Memory enable y Read and write (often
read/write
Access time
= time to read a word
y^
Cycle time
= time to write a word
y^
Also:
setup
and
hold time
on address
Memory
Read /
Memory
enable
write
operation
none
write to selected word
read from selected word
11/26/
Engin 112 - Intro to ECE
Address needs to be valid before memory enable y Data becomes valid before access time expires
Memory access can take multiple clock cycles
11/26/
Engin 112 - Intro to ECE
Note: memory is not clocked
11/26/
Engin 112 - Intro to ECE
DD
5
6
^4
1 M
2
^3
11/26/
Engin 112 - Intro to ECE
Uses Polysilicon-Diffusion Capacitance
M^1
word line
Diffusedbit line
Polysilicon
gate
Polysiliconplate
Capacitor
Metal word line
Poly
SiO
2
Field Oxide
n
n
Poly Inversion layerinduced byplate bias
11/26/
Engin 112 - Intro to ECE
Larger Memories – Address Decoding
Number of binary cells increases (that’s expected) y Decoder becomes really large!
k^
y^
k 2 AND gates with k inputs each!
1024-word memory decoderrequires 1024 AND gates with10 inputs
address decoding
11/26/
Engin 112 - Intro to ECE
Coincident Decoding – Address Splitting Split decoders into two dimensions:
y^
k/
k/
decoder in
each dimension
32 + 32 = 64 ANDswith 5 inputs
11/26/
Engin 112 - Intro to ECE
Address y Outputs y No data inputs
32 × 8 ROM y 256 internal^ connections
No connection = 0 y Connection = 1
11/26/
Engin 112 - Intro to ECE
“x” indicatesconnection
All connectionexist as “fuses” y Higher voltage canblow fuse y Blown fuse indicates 0