


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of different types of memory used in computer systems, including their write ability ranges, storage permanence, and examples of each type. It also covers rom, combinational function implementation, and various types of ram. Details about mask-programmable rom, otp rom, eprom, eeprom, flash memory, and ram variations such as sram, dram, psram, and nvram.
Typology: Assignments
1 / 4
This page cannot be seen from the preview
Don't miss anything!



1
2
3
m n memory
…
…
n bits per word
m^ words
enable
2 k^ n read and write memory
A (^0) …
r/w
…
Q (^) n-1 Q (^0)
A (^) k-
memory external view
4
5
6
2 k^ n ROM
…
Q (^) n-1 Q (^0)
…
enable
A k-
External view
7
Example: 8x4 ROM
decoder
enable
word 0 word 1
programmable connection wired-OR
word line
data line
word 2
Internal view
8
Implementing Combinational Function
Any combinational circuit of n functions of same k
variables can be done with 2 k^ x n ROM
Truth table Inputs (address) Outputs a b c y z 0 0 0 0 0 0 0 1 0 1 0 1 0 0 1 0 1 1 1 0 1 0 0 1 0 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1
0 0 0 1 0 1 1 0 1 0 1 1 1 1 1 1 y z
c
enable
a
b
8 2 ROM word 0 word 1
word 7
9
Mask-Programmable ROM
Connections “programmed” at fabrication
Lowest write ability
Highest storage permanence
Typically used for final design of high-volume
systems
10
OTP ROM: One-Time Programmable ROM
Connections “programmed” by user
Very low write ability
Very high storage permanence
Commonly used in final products
11
EPROM: Erasable Programmable ROM
Transistor has “floating” gate surrounded by an insulator (a) Negative charges form a channel between source and drain storing a logic 1 (b) Large positive voltage at gate causes negative charges to move out of channel and get trapped in floating gate storing a logic 0 (c) (Erase) Shining UV rays on surface of floating-gate causes negative charges to return to channel from floating gate restoring the logic 1 (d) An EPROM package showing quartz window through which UV light can pass
(d)
(a)
(b) source^ drain
source drain
0V
(c)
source drain
floating gate
5-30 min
12
EEPROM: Electrically erasable
programmable ROM
Programmed and erased electronically
Better write ability
Similar storage permanence to EPROM (about 10 years)
Far more convenient than EPROMs, but more expensive
19
DRAM Integration Problem
SRAM easily integrated on same chip as processor
DRAM more difficult
20
Memory Management Unit (MMU)
Duties of MMU
Handles DRAM refresh, bus interface and
arbitration
Takes care of memory sharing among multiple
processors
Translates logic memory addresses from
processor to physical memory addresses of
DRAM
Modern CPUs often come with MMU built-in
21
Homework
With DE2 User’s Guide, determine types of
memory on DE2 FPGA board
Due: Monday 11/5/