200 likes | 542 Views
Circuits. Logic circuits for digital systems may be Combinational Circuits Sequential Circuits. Combinational Circuits. Consists of logic gates whose outputs at any time are determined by combining the values of the applied inputs using logical operations. Combinational Circuits.
E N D
Logic circuits for digital systems may be • Combinational Circuits • Sequential Circuits
Combinational Circuits • Consists of logic gates whose outputs at any time are determined by combining the values of the applied inputs using logical operations.
Combinational Circuits Combinational Circuit m outputs n inputs ... ...
Decoders • Encoders • Counters • Half Adder • Full Adder
Decoders • Combinational circuit with a number of output lines, only one of which is asserted at any time, dependent on the pattern of input lines.
Decoders • n inputs and 2n outputs. • 1 21 = 2 • 2 22 = 4 • 3 23 = 8 Converts binary information from the n coded inputs to a maximum of 2n unique outputs.
Decoder Expansion • Larger decoders from small decoders with enable inputs. • 3-8 line decoder from 2-4 line decoders • 6-64 line decoder from4-16 line decoders
3-to-8-line decoder constructed from two 2-to-4-line decoders • The MSB is connected to the enable inputs • if A2=0, upper is enabled; if A2=1, lower is enabled.
Encoders • Combinational logic circuit which performs reverse of decoder functions. • Accepts an active level on one of its inputs and converts to a coded output. • The process of converting familiar symbols or numbers to a coded format is called encoding.
Priority Encoder • Priority Function. • Highest priority takes precedence.