Upload
pratik-talole
View
227
Download
0
Embed Size (px)
Citation preview
8/3/2019 Lecture5 Memory 2up
1/12
EE141
1
EECS141 1Lecture #5
EE141EE141--Fall 2010Fall 2010
Digital IntegratedDigital IntegratedCircuitsCircuits
Lecture 5Lecture 5
Overview of SemiconductorOverview of Semiconductor
MemoryMemory
EE141
2
EECS141 2Lecture #5
AnnouncementsAnnouncements Please use the news group to ask questions
Dont need a new program: tryhttp://groups.google.com
For additional questions, send emails toee141@cory
Reaches entire teaching staff
Homework #2 due today
Homework #3 due next Thursday Labs start tomorrow
8/3/2019 Lecture5 Memory 2up
2/12
EE141
3
EECS141 3Lecture #5
Class MaterialClass Material
Last lecture
Detailed Switch Model
CMOS Gates
Design Rules
Todays lecture
Overview of semiconductor memory
Reading (Chapter 12.1, 12.2.3, 12.3.1)
EE141
4
EECS141 4Lecture #5
SemiconductorSemiconductor
MemoryMemory
8/3/2019 Lecture5 Memory 2up
3/12
EE141
5
EECS141 5Lecture #5
Why Memory?Why Memory?
Intel 45nm Core 2
EE141
6
EECS141 6Lecture #5
Semiconductor Memory ClassificationSemiconductor Memory Classification
Read-Write MemoryNon-Volatile
Read-Write
Memory
Read-Only Memory
EPROM
E2PROM
FLASH
Random
Access
Non-Random
Access
SRAM
DRAM
Mask-Programmed
Programmable (PROM)
FIFO
Shift Register
CAM
LIFO
8/3/2019 Lecture5 Memory 2up
4/12
EE141
7
EECS141 7Lecture #5
Random Access Memories (RAM)Random Access Memories (RAM)
STATIC (SRAM)
DYNAMIC (DRAM)
Data stored as long as supply is applied
Larger (6 transistors/cell)
Fast
Differential (usually)
Periodic refresh required
Smaller (1-3 transistors/cell)
SlowerSingle Ended
EE141
8
EECS141 8Lecture #5
Random Access Chip ArchitectureRandom Access Chip Architecture Conceptual: linear array
Each box holds some data
But this does not lead to a nice layout shape
Too long and skinny
Create a 2-D array
Decode Row and Column
address to get data
8/3/2019 Lecture5 Memory 2up
5/12
EE141
9
EECS141 9Lecture #5
Basic Memory ArrayBasic Memory Array
CORE:- keep square within a 2:1 ratio- rows are word lines- columns are bit lines
DECODERS:- needed to reduce total numberof pins; N+M address lines for2N+M bits of storage
Ex: if N+M=20 220= 1Mb
MULTIPLEXING:- used to select one or more
columns for input or outputof data
- data in and out on columns
EE141
10
EECS141 10Lecture #5
Basic Static Memory ElementBasic Static Memory Element
If D is high, D_b will be driven low
Which makes D stay high
Positive feedback
8/3/2019 Lecture5 Memory 2up
6/12
EE141
11
EECS141 11Lecture #5
Positive Feedback: BiPositive Feedback: Bi--StabilityStabilityVi1 Vo2
Vo2 = Vi 1
Vo1 = Vi 2
V
o
1
V
i
2
5
V
o
1
V
i
2
5
V
o
1
Vi1
A
C
B
Vo2
Vi1 = Vo2
Vo1 Vi2
Vi2 = Vo1
EE141
12
EECS141 12Lecture #5
Writing into a CrossWriting into a Cross--Coupled PairCoupled Pair
Access transistor must be able to overpower the feedback
8/3/2019 Lecture5 Memory 2up
7/12
EE141
13
EECS141 13Lecture #5
Writing aWriting a11
EE141
14
EECS141 14Lecture #5
Memory CellMemory Cell
Complementary data values are written (read) from two sides
8/3/2019 Lecture5 Memory 2up
8/12
EE141
15
EECS141 15Lecture #5
SRAM ColumnSRAM Column
WL2
WL0
WL3
BL BL_B
EE141
16
EECS141 16Lecture #5
SRAM Array LayoutSRAM Array Layout
8/3/2019 Lecture5 Memory 2up
9/12
EE141
17
EECS141 17Lecture #5
65nm SRAM65nm SRAM
ST/Philips/Motorola
Access Transistor
Pull down Pull up
EE141
18
EECS141 18Lecture #5
DecodersDecoders
Word 0
Word 1
Word 2
Word N2 2
Word N2 1
Storagecell
M bits M bits
N
w or ds
S0
S1
S2
SN2 2
A 0
A 1
AK2 1
K = log2N
SN2 1
Word 0
Word 1
Word 2
Word N2 2
Word N2 1
Storagecell
S0
Input-Output(M bits)
Intuitive architecture for N x M memoryToo many select signals:
N words == N select signalsK = log2N
Decoder reduces the number of select signals
Input-Output(M bits)
De cod er
8/3/2019 Lecture5 Memory 2up
10/12
EE141
19
EECS141 19Lecture #5
Row DecodersRow Decoders
Collection of 2M complex logic gatesOrganized in regular and dense fashion
(N)AND Decoder
NOR Decoder
EE141
20
EECS141 20Lecture #5
Decoder Design ExampleDecoder Design Example
Look at decoder for 256x256 memoryblock (8KBytes)
8/3/2019 Lecture5 Memory 2up
11/12
EE141
21
EECS141 21Lecture #5
Problem SetupProblem Setup Goal: Build fastest, lowest possible power
decoder with static CMOS logic
What we know
Basically need 256 ANDgates, each one of themdrives one word line
N=8
EE141
22
EECS141 22Lecture #5
Possible AND8Possible AND8
Build 8-input NAND gate using 2-input gatesand inverters
Is this the best we can do?
Is this better than using fewer NAND4 gates?
8/3/2019 Lecture5 Memory 2up
12/12
EE141
23
EECS141 23Lecture #5
Possible DecoderPossible Decoder 256 8-input AND gates
Each built out oftree of NAND gatesand inverters
Need to drive a lotof capacitance (SRAMcells)
Whats the best way to do this?
EE141
24
EECS141 24Lecture #5
Next LectureNext Lecture
Buffer delay optimization