Chapter Three
Chapter Three
1
Outlin
e
Integrated Circuits
Decoders, multiplexers and registers
Binary counters
Memory units
2
Integrated Circuits
Digital circuits are constructed with integrated circuits.
an integrated circuits (IC)is a small silicon semiconductor crystal called chip,
containing the electronic components for the digital gates.
The various gates are interconnected inside the chip to form the circuit
the number of pins may range from 14 in a small IC package to 100or more in
a larger package
As the technology of IC’s has improved, the number of gates that can be put
in a single chip has increased considerably.
The differentiation between those chips that have a few internal gates and
having hundreds or thousands of gates is made by a customary reference to a
package as being either a small·, medium·, or large-scale integration device
3
Integrated Circuits…
Small-scale integration (SSI): devices contain several independent gates in
a single package
The inputs and outputs of the gates are connected directly to the pins in the
package.
The number of gates is less than 10 and is limited by the number of pins
available in the IC
Medium-scale integration (MSI): devices have a complexity of
approximately10 to 200 gates in a single package
They usually perform specific elementary digital functions such as decoders,
adders, and registers.
4
Integrated Circuits…
Large-scale integration (LSI): devices contain between 200 and a few
thousand gates in a single package.
They include digital systems, such as processors, memory chips, and
programmable modules
Very-large-scale integration (VLSI) devices contain thousands of gates
TTL within a single package.
E.g. large memory arrays and complex microcomputer chips
VLSI devices have revolutionized the computer system design technology,
giving designers the capability to create structures economical.
small size and low cost
Digital integrated circuits are classified by
logic operation and specific circuit technology to which they belong 5
Integrated Circuits…
Many different logic families of integrated circuits have been introduced
commercially
The following are the most popular
TTL Transistor-transistor logic
ECL Emitter-coupled logic
MOS Metal-oxide semiconductor
CMOS Complementary metal-oxide semiconductor
The transistor-transistor logic family used diodes and transistors for the
basic NAND gate
This technology was called DTL, for "diode-transistor logic.“
Later the diodes were replaced by transistors to improve the circuit
operation and the name of the logic family was changed to "transistor-
transistor logic. 6
Integrated Circuits…
There are several variations of the TTL family
E.g. high-speed TTL, low-power TTL, etc .
The power supply voltage for TTL circuits is 5 volts, and the two logic
levels are approximately 0 and 3.5 volts.
Emitter-coupled logic (ECL) family provides the highest-speed digital
circuits in integrated form
ECL is used in systems such as supercomputers and signal processors where
high speed is essential
The transistors in ECL gates operate in a nonsaturated state, a condition that
allows the achievement of propagation delays of 1 to 2 nanoseconds
7
Integrated Circuits…
Metal-oxide semiconductor (MOS) is a unipolar transistor that depends on
the flow of only one type of carrier, which may be electrons (n-channel) or
holes (p-channel).
This is in contrast to the bipolar transistor used in TTL and ECL gates,
where both carriers exist during normal operation.
A p-channel MOS is referred to as PMOS and an n-channel as NMOS
NMOS is the one that is commonly used in circuits with only one type of
MOS transistor
Complementary MOS (CMOS) technology uses PMOS and NMOS
transistors connected in a complementary fashion in all circuits.
8
Integrated Circuits…
The advantages of CMOS over bipolar are the high packing density of
circuits, a simpler processing technique during fabrication, and a more
economical operation because of low power consumption
Decoders
Discrete quantities of information are represented in digital computers with
binary codes.
A binary code of n bits is capable of representing up to 2n distinct elements
of the coded information.
A decoder is a combinational circuit that converts binary information from
1
0
Decoders…
The three inverters provide the complement of the inputs, and each of the
eight AND gates generates one of the binary combination
Commercial decoders include one or more enable inputs to control the
operation of the circuit
The decoder is enabled when E is equal to 1 and disabled when E is equal
to 0
When the enable input E is equal to 0, all the outputs are equal to 0
regardless of the values of the other three data inputs.
The three x's in the table designate don't-care conditions.
When the enable input is equal to 1, the decoder operates in a normal
fashion
1
1
Decoders…
1
2
Decoders…
NAND Gate Decoder
Some decoders are constructed with NAND instead of AND gates.
Since a NAND gate produces the AND operation with an inverted output, it
becomes more economical to generate the decoder outputs in their
complement form
A 2-to-4-line decoder with an enable input constructed with NAND gates
1
3
Decoders…
Encoders : is a digital circuit that performs the inverse operation of a decoder.
An encoder has 2n (or less) input lines and n output lines. The output lines
generate the binary code corresponding to the input value
1
4
Encoders …
The encoder can be implemented with OR gates whose inputs are determined
directly from the truth table. Output
Ao = 1 if the input octal digit is 1 or 3 or 5 or 7.
Similar conditions apply for the other two outputs.
These conditions can be expressed by the following Boolean functions:
Ao = D1 + D3 + D5 + D7
A1 = D2 + D3 + D6 + D7
A2 = D4 + D5 + D6 + D7
The encoder can be implemented with three OR gates.
1
5
Number systems
b. Positional Number System
The total number of digits present in any number system is called its Base or
Radix.
Every number is represented by a base (or radix) x, which represents x digits.
The base is written after the number as subscript such as
It is a Decimal number as its base is 10.
To determine the quantity that the number represents, the number is multiplied
by an integer power of x depending on the position it is located and then finds
the sum of the weighted digits.
E.g. Consider a decimal number which can be represented in equivalent value
as: 5x102 + 1x101 + 2x100 + 4x10-1 + 5x10-2
1
6
Number systems
b. Positional Number System
The total number of digits present in any number system is called its Base or
Radix.
Every number is represented by a base (or radix) x, which represents x digits.
The base is written after the number as subscript such as
It is a Decimal number as its base is 10.
To determine the quantity that the number represents, the number is multiplied
by an integer power of x depending on the position it is located and then finds
the sum of the weighted digits.
E.g. Consider a decimal number which can be represented in equivalent value
as: 5x102 + 1x101 + 2x100 + 4x10-1 + 5x10-2
1
7
Positional Number System
1
8
Positional Number System…
2
2
NumberSystem Conversions
Convert from Binary to Decimal, Octal and Hex
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Binary Arithmetic …
Binary Subtraction
When we subtract 1 from 0, it is necessary to borrow 1 from the next left
column i.e. from the next higher order position
E.g. Subtract the following number
a) 10 from 14 b) 9 from 29 c) 3 from 5
If the signs differ, we need to subtract the smaller magnitude from the
larger magnitude, and keep the sign of the larger magnitude
Representation of Singed Integers…
1’s Complement representation
This is the simplest method of representing negative binary number.
The 1’s complement of a binary number is obtained by changing each 0 to
1 and each 1 to 0.
In other words, change each bit in the number to its complement.
Example 1: Find the 1’s complement of 101000.
1’s complement
Add 1 to LSB
2’s complement
Bit Models…
2’s Complement …
To determine the magnitude of a negative number, we perform the exact same
steps:
11101101 = -19
00010010 flip bits
00010011 add one
Ee.00010011
Find the= 1’s
19 magnitude
and 2’s complement of 1011101.