Beruflich Dokumente
Kultur Dokumente
Integrated Circuits
An integrated circuit is a piece (also called a chip) of
silicon on which multiple gates have been embedded
Integrated Circuits(Contd.)
SSI, MSI, LSI: They perform small tasks such as addition of few
bits. Have small memories, small processors
VLSI: Large memory - Complex microprocessors
Digital Circuits
Two main classes of circuits:
1. Combinational circuits
Circuits without memory
Outputs depend only on current input values
Example : Half adder, full adder, subtractor
2. Sequential Circuits (also called Finite State Machine)
Circuits with memory
Memory elements to store the state of the circuit
The state represents the input sequence in the past
Outputs depend on both circuit state and current inputs
Example : flip flops, counters, shift registers
COMBINATIONAL LOGIC
CIRCUITS
Half Adder
x y
0
0
1
1
0
0
0
1
0
1
1
0
0
1
0
1
Full Adder
x
0
0
0
0
1
1
1
1
y
0
0
1
1
0
0
1
1
cn-1
0
1
0
1
0
1
0
1
cn s
0 0
0 1
0 1
1 0
0 1
1 0
1 0
1 1
Other Combinational
Circuits
etc
Multiplexer
Encoder
Decoder
Parity Checker
Parity Generator
MULTIPLEXER
4-to-1 Multiplexer
Select
S1 S0
0
0
0
1
1
0
1
1
Output
Y
I0
I1
I2
I3
I0
I1
I2
I3
S0
S1
Decoder
Accepts a value and decodes it
Output corresponds to value of n inputs
Consists of:
Inputs (n)
Outputs (2n , numbered from 0 2n - 1)
Selectors / Enable (active high or active low)
Enable inputs must be on for the decoder to function, otherwise its outputs
assume a single "disabled" output code word.
Decoders are sometimes called minterm generators.
For each of the input combinations, exactly one output is true.
Each output equation contains all of the input variables.
Decoder(Contd.)
Active-high decoders generate minterms.
Active-low decoders generate maxterms.
Q3
Q2
Q1
Q0
=
=
=
=
Q3
Q2
Q1
Q0
S1 S0
S1 S0
S1 S0
S1 S0
=
=
=
=
(S1 S0) = S1 + S0
(S1 S0) = S1 + S0
(S1 S0) = S1 + S0
(S1 S0) = S1 + S0
Encoders
Priority Encoder
Parity System(Contd.)
Parity can detect all single-bit errors
If even parity is used and a single bit changes, it will change the
parity to odd, which will be detected at the receiver end
The receiver end can detect the error, but cannot correct it
because it does not know which bit is erroneous
Can also detect some multiple-bit errors
Error in an odd number of bits
Parity Checker
beven
b0
beven
b6
b5
b4
b3
b2
b1
b0
Even Parity
error indicator
Hamming Code
Error Correcting code
Can detect and correct only single error
Hamming Code(Contd.)
By including extra parity bit, hamming code can be used
to detect double errors and correct single error