Docsity

Read Only Memory-Computer Logic Design-Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Read Only Memory-Computer Logic Design-Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

E&CE 223 Digital Circuits and Systems

Page 6

Read Only Memory (ROM) ย†^ Device that allows

permanent

storage of information.

ย†^ Device has k input (address) lines and n output (data) lines. ย†^ We can store

k^ 2 ยฃ^ n^ bits of information inside the device. ย†^ The address lines specify a

memory location

ย„^ The data outputs at any time represents the value stored at the memorylocation specified on the address lines.

E&CE 223 Digital Circuits and Systems

Page 7

ROM Block Diagram ย†^ High level block diagram for a ROM:

k inputs^

n outputs 2^k x nROM

E&CE 223 Digital Circuits and Systems

Page 9

Implementing Functions With ROM ย†^ Can implement multi-input/multi-output logic functions inside of ROM. ย†^ Data outputs are the logic functions and the address lines are the logic functioninputs. ย†^ We create a

ROM Table

to store the logic functions. ย„^ When an input (or address) is presented, the value stored in the specifiedmemory location appears at the data outputs. ย„^ Each data output represents the correct value for its logic function.

E&CE 223 Digital Circuits and Systems

Page 10

Implementing Functions With ROM ย†^ E.g., Implement the 3-input logics

f^ =^ โˆ‘^ (0,1,5,7), f^0

=^ โˆ‘^ (0,1,2,6) and f 1

=^ โˆ‘ 2

(2,3,4)^ using a ROM.

A(0) cA(1)bA(2)a 1

D(2)^ D(1)^

D(0)

READ EN 8 x 3 ROM

f2^ f^

011 (3)011 (3)110 (6)100(4)100(4)001 (1)010 (2)001 (1) f 0 1 2 3 4 5 6 7 3-to-8 decoder

E&CE 223 Digital Circuits and Systems

Page 12

Textbook ย†^ ROM are described in Chapter 7, Section 7.5 of the textbook.