Académique Documents
Professionnel Documents
Culture Documents
Semester 1
EMT 475/3
Computer Organization
& Architecture
Chapter 4 : Internal Memory
Outline
Semiconductor Main Memory
Error Correction
Random Access Memory (RAM)
Flash Memory
Newer Nonvolatile Solid-State Memory Technologies
Outline
Semiconductor Main Memory
Error Correction
Random Access Memory (RAM)
Flash Memory
Newer Nonvolatile Solid-State Memory Technologies
Category
Erasure
Write
Mechanism
Volatility
Read-write
memory
Electrically,
byte-level
Electrically
Volatile
Read-only
memory
Read-mostly
memory
Not possible
Masks
UV light
chip-level
Electrically,
byte-level
Electrically
Nonvolatile
Electrically,
block-level
School of Microelectronic Engineering
Universiti Malaysia Perlis
0000
1
3
3
2
1111
1
Write operation
Read operation
10
OFF
OFF
ON
12
ON
ON
OFF
13
Dynamic, DRAM
Advantages
Disadvantages
Faster
Cache
Simpler to build, smaller
Needs refresh
More dense
circuit
Less expensive
Larger memory units
14
15
16
(EPROM)
Erased by UV
Electrically Erasable
(EEPROM)
Takes much longer to
write than read
Flash memory
Erase whole memory
electrically
17
18
19
20
21
22
23
Outline
Semiconductor Main Memory
Error Correction
Random Access Memory (RAM)
Flash Memory
Newer Nonvolatile Solid-State Memory Technologies
24
Error Correction
Categories
Hard failure
Permanent physical defect
e.g. unreliable store data, erratically switch
Harsh environment, manufacturing defects & wear
Soft failure
Random, nondestructive event
Power supply problem/alpha particles
Undesirable
Modern main memory system
Logic for detecting & correcting errors
School of Microelectronic Engineering
Universiti Malaysia Perlis
25
Error Correction
Error Correcting Code Function
a) No errors
b) corrected errors
c) Errors
detected but
not possible to
correct it.
26
Error Correction
Error-correcting code
Simplest Hamming code (Richard Hamming, Bell Lab)
How long the code must be?
Bit-by-bit comparison using exclusive-OR of the two inputs
The result called syndrome word
K
Syndrome word range, 0 to 2 -1
For M data bits or K check bits
K
2 -1 M + K
Example : for M = 8,
3
K = 3: 2 -1< 8 + 3
4
K = 4: 2 -1> 8 + 4
27
Outline
Semiconductor Main Memory
Error Correction
Random Access Memory (RAM)
Flash Memory
Newer Nonvolatile Solid-State Memory Technologies
28
29
Address inputs
BA0, BA1
CLK
Clock input
CKE
Clock enable
CS
Chip select
RAS
CAS
WE
Write enable
DQ0 to DQ15
Data input/output
DQM
Data mask
30
CL
RL
BL
31
32
33
34
DDR1
2
2.5
200400
DDR2
4
1.8
DDR3
8
1.5
DDR4
8
1.2
35
Outline
Semiconductor Main Memory
Error Correction
Random Access Memory (RAM)
Flash Memory
Newer Nonvolatile Solid-State Memory Technologies
36
Flash Memory
Structure
37
Flash Memory
Operation
38
Flash Memory
Types
NOR & NAND
NOR
NAND
Basic unit of access is a bit Organized in transistor arrays
(memory cell)
(16/32 transistors)
Connected in parallel to the bit Bit line goes low if all word
lines
lines are turned on
Read/write/erased individually
Similar in function to a NAND
Bit line goes low if any word
logic gate
line is turned on.
Similar in function to a NOR
logic gate
School of Microelectronic Engineering
Universiti Malaysia Perlis
39
Flash Memory
NOR & NAND structure
40
Flash Memory
Comparison
Specification
Access speed
High
Low
Bit density
Read speed
Write speed
Application
Internal
External
eXecute InPlace
41
Outline
Semiconductor Main Memory
Error Correction
Random Access Memory (RAM)
Flash Memory
Newer Nonvolatile Solid-State Memory Technologies
42
43
44
45
46
Finish!
Q&A
47