Lecture14_d9974016-5182-41d8-b931-289da74f912c (2).pptx

callback4r 7 views 21 slides Sep 19, 2024
Slide 1
Slide 1 of 21
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21

About This Presentation

ok


Slide Content

ESC201: Lecture 14 1

Implementation of a Function using Mux 2 A 2 variable function can be implemented with a 4:1 mux with 2 select lines: one-to-one correspondence x 1 x 2 1 1 1 1 1 1 1 1 Can we do better?

Implementation of a Function using Mux 3 A 2 variable function can be implemented with a 2:1 mux with 1 select line x 2 x 2 1 1 y = x 2 when x 1 = 0 1 1 1 1 y = x 2 when x 1 = 1

Implementation of a Function using Mux 4 A 3 variable function can be implemented with a 4:1 mux with 2 select lines x y z z 1 x y z F 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 F = z when xy = 00 F = when xy =01   F = 0 when xy = 10 F = 1 when xy = 11

Implementation of a Function using Mux 5 A 3 variable function can be implemented with a 4:1 mux with 2 select lines: not an unique implementation y z x 1 x F = 0 when yz = 00 F = x when yz =01 F = 1 when yz = 10 0 0 0 0 1 0 1 0 1 1 1 1 0 1 0 1 1 1 1 1 1 1 1 1 F = x when yz = 11

Mux Applications 6 Resource Sharing

Decoders Decodes an encoded information maps a smaller number of inputs to a larger set of outputs 7  

Decoders with ‘Enable’ input 8

Decoders in Vending Machine 9

Term Generator for SOP Expression of a Function 10 term

Implementation of a Function using Decoders Decoder allows a quick implementation No minimization, but lots of gates… 11

e c E A B Bigger Decoders 3 by 8 decoder using a 2 by 4 decoder 12 1 1 1 1 e c b a

De-Multiplexer 13 S 1 S y y 1 y 2 y 3 D 1 D 1 D 1 1 D Data

De-Mux vs Decoder Only difference is in name and application 14 S 1 S Y Y 1 Y 2 Y 3 D 1 D 1 D 1 1 D

Exercise: Multiplier 15 B 1 B A 1 A A B 1 A B A 1 B 1 A 1 B Multiplicand Multiplier Partial products C3 C2 C 1 C

Binary Multiplication of n-bit Numbers Circuit for multiplying 4 bit numbers Complications : How to add four bits and carry Circuit for left or right shifting? 16

Binary Division Circuit for division Complications : How to compare two numbers? Circuit for left and right shifting? 17

Comparator 18

Bit-wise Comparison 19 where x i = 1 only if the pair of bits in position i are equal (i.e., if both are 1 or both are 0).

Bit-wise Comparison 20   only if and   only if and       only if and both are false  

Comparator via Modular Approach 21          
Tags