Presentation is loading. Please wait.

Presentation is loading. Please wait.

Princess Sumaya University

Similar presentations


Presentation on theme: "Princess Sumaya University"— Presentation transcript:

1 Princess Sumaya University
Digital Logic Design Read Only Memory (ROM) A block diagram of a ROM consisting of k inputs and n outputs is shown below. The inputs provide the address for memory, and the outputs give the data bits of the stored word that is selected by the address. The number of words in a ROM is determined from the fact that k address input lines are needed to specify 2k words. Number of words Size of word

2 Princess Sumaya University
Digital Logic Design Read Only Memory (ROM) Draw a 32  8 ROM. The unit consists of 32 words of 8 bits each.

3 Read Only Memory (ROM)

4 Read Only Memory (ROM) Inputs outputs . I4 I3 I2 I1 I0
A7 A6 A5 A4 A3 A2 A1 A0

5 Read Only Memory (ROM) Example 7.1: Design a combinational circuit using a ROM. The circuit accepts a three-bit number and outputs a binary number equal to the square of the input number. (minimize the ROM if possible)

6 Read Only Memory (ROM) Example 7.1: Design a combinational circuit using a ROM. The circuit accepts a three-bit number and outputs a binary number equal to the square of the input number. We need a ROM with a size = 8  4

7 Read Only Memory (ROM)

8

9 Programmable Logic Devices

10 Programmable Logic Array (PLA)
F1=AB\+AC+A\BC\ F2=(AC+BC)\

11 Programmable Logic Array (PLA)
Example 7.2 :Implement the following two Boolean functions with a PLA: F1(A, B, C) = (0,1,2,4) F2(A, B, C) = (0,5,6,7) F1 F2 F1= A\B\+A\C\+B\C\ F2= AB+AC+A\B\C\ F1= (AB+AC+BC)\ F2= (A\B+A\C+AB\C\)\

12 Programmable Logic Array
F1= (AB+AC+BC)\ F2= AB+AC+A\B\C\ AB AC BC A\B\C\

13

14

15

16 16 14

17

18 2^15

19

20

21 Without minimizing With minimizing

22

23 Without minimizing

24 B) With minimizing

25

26

27

28


Download ppt "Princess Sumaya University"

Similar presentations


Ads by Google