16
1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

Embed Size (px)

Citation preview

Page 1: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

1

Tutorial: ITI1100Dewan Tanvir Ahmed

SITE, UofO

Page 2: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

2

Question 4-5• Design a combinatorial circuit with three inputs, x, y, and x and

three outputs, A, B, and C. When the binary input is 0, 1, 2, or 3, the binary output is one greater than the input. When the binary input is 4, 5, 6, or 7, the binary output is one less than the input.

Page 3: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

3

Solution 4-5

Page 4: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

4

Question 4-6• A majority circuit is a combinatorial circuit whose output is equal

to 1 if the input variables have more 1’s than 0’s. Design a 3-input majority circuit

Page 5: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

5

Solution 4-6

Page 6: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

6

Question 4-10• Design a 4-bit combinational circuit 2’s complementer. Show that

the circuit can be constructed using exclusive-OR gates. Can you predict what the output functions are for a 5-bit 2’s complementer?

Page 7: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

7

Solution 4-10

Page 8: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

8

Question 4-11• Design a 4-bit combinational circuit incrementer. The circuit can

be designed using 4 half adders.

Page 9: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

9

Solution 4-11

Page 10: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

10

Question 4-22• Design a excess-3-to-binary decoder using NOR gates only.

Include an enable input.

Page 11: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

11

Solution 4-22

Page 12: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

12

Question 4-27• A combinational circuit is specified by following three Boolean

functions:F1 = (2, 4, 7)F2 = (0, 3)F3 = (0, 2, 3, 4, 7)

Implement the circuit with a decoder constructed with NAND and NAND or AND gates connected to the decoder outputs. Use a block diagram for the decoder. Minimize the number of inputs in the external gates.

Page 13: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

13

Solution 4-27

Page 14: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

14

Question 4-32• Implement the following Boolean function with a multiplexer:

F(A, B, C, D) = (0, 1, 3, 4, 8, 9, 15)

Page 15: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

15

Solution 4-32

Page 16: 1 Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO

16

Thank You!