Documente Academic
Documente Profesional
Documente Cultură
BITS Pilani
Pilani Campus
Rekha.A Faculty
Full Subtractor
00
01
11
10
1 1
B = xz+xy+yz
Comparators
Comparators are designed to compare the magnitude of two binary numbers and indicate whether one is greater than, less than or equal to the other. One bit comparator
Decoders
Discrete quantities of information are represented in digital systems by binary codes A decoder is a combinational circuit that converts the binary information from n input lines to a maximum of 2n output lines. A decoder is a device which when activated , selects one of its possible 2n outputs based on its n bit digit.
12
2 to 4 Decoder
Y0
Y1
Y2
Y3
13
14
Implement with a suitable decoder with active low enable input for the function f(w,x,y,z) = (3,7,9)
15
17
19
ENCODERS Decoders accept an input code and produce a HIGH(or LOW) at one output line.Decoder identifies, recognise or detects a particular code An encoder has a number of input lines , only one of which is activated at a given time and produces an n-bit output code, depending on which input is activated. An Encoder has 2n(or fewer) input lines and n output lines. The output lines as an aggregate, generate the binary code corresponding to the input value.
20
21
22
Priority Encoder A priority encoder is an encoder circuit that includes the priority function. When more than one inputs are equal to 1 at the same time, the input having the highest priority will take precedence. In addition to the outputs, the circuit has the output designated as V which is the valid bit. Valid bit indicator is set to 1 when one or more inputs are equal to 1.
23
24
00 00
X0 X1
01
11
10
00 00
01
11
10
1 1 1
1 1 1 1
1 1 1
1 1 1 1 1 1
1 1 1 1
01
01
11
11
1
10
10
y1 = x2 + x3
y0 = x3+ x1x2
MULTIPLEXER
A multiplexer is a combinational circuit that selects binary information from one of the many input lines and directs it to a single output line. The selection of a particular input line is controlled by a set of selection lines. 2n input lines , n select lines whose bit combinations determine which input is selected.
26
28
30
31
32