Chapter 3
Chapter 3
1
Outlines
Integrated circuits
Decoder
Registers
Binary counters
Memory units
2
Integrated circuit (IC)
An integrated circuit (IC) is a small silicon semiconductor crystal,
called a chip, containing the electronic components for the digital
gates
The various gates are interconnected inside the chip to form the
required circuit
The inputs and outputs of gates are connected directly to the pins in
the package
The number of gates is usually less than 10
4
Integrated circuit (IC)……
Medium scale integration
It contains 10 to 200 gates in a single package
They perform elementary digital functions such as decoders, adders,
registers
Large scale integration
It contains gates between 200 to few thousand in a single package
They include digital systems such as processors, memory chips etc
Very large scale integration
It contains thousands of gates within a single package such as
microcomputer chip
Ultra very large scale integration
It contains hundred of thousands of gates within a single package such as
microcomputer chip
5
Integrated circuit (IC)……
ϗ Digital integrated circuits are classified not only by their logic
operations, but also by specific circuit technology they belongs
ϗ The circuit technologies are referred to as logic families
ϗ Many different logic families of integrated circuits have been
introduced commercially. These are:
ϗ Transistor-transistor logic(TTL)
ϗ Emitter-coupled logic(ECL)
ϗ Metal-oxide semiconductor(MOS)
ϗ Complementary Metal-oxide semiconductor(CMOS)
6
Integrated circuit (IC)……
Transistor-transistor logic(TTL)
ϗ Widespread logic family that have been used for many years
Emitter-coupled logic(ECL)
ϗ Provides highest speed digital circuit in integrated form
ϗ Used in system such as super computer and signal processor where
high speed is essential
Metal-oxide semiconductor(MOS)
ϗ Suitable for circuit that need high component density
Complementary Metal-oxide semiconductor(CMOS)
ϗ Preferable in a system requiring low power consumption
7
Decoder
ϗ Discrete quantities of information are represented in digital computer
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 the n coded inputs to a maximum of 2n unique output
ϗ A decoder has n inputs and m outputs, where m ≤ 2n, and are called n-
to-m-line decoders
ϗ Each output represents one of the combinations of the input
variables
ϗ An enable input controls operation of the decoder
8
Decoder….
Example: 3x8 decoder
ϗ The three A0, A1,A2 are decoded into eight output
ϗ Each output represent one of combination of three inputs binary
variables
ϗ A particular application of this decoder is a binary to octal conversion
ϗ A logic diagram is shown as follow
9
Encoder
ϗ An encoder is a digital circuit that performs the inverse of a decoder
10
Register
ϗ A register is a group of flip-flops with each flip-flop capable of storing one
bit of information
ϗ An n-bit register has a group of n flip-flops
ϗ A register may also have combinational gates that perform certain
data-processing tasks
ϗ The flip-flops hold the data and the gates control when and how
new data is transferred into the register
ϗ The simplest register is one that consists only of flip flops with no
external gates
ϗ The flip-flops have a common clock input
ϗ A common clear input is available to reset all the flip-flops asynchronously
11
12
Register …
ϗ The other type register have flip flop and gates
ϗ The transfer of new data into a register is called loading the register
ϗ If all bits are loaded simultaneously with a common clock pulse
transition, then the loading is done in parallel
ϗ The load input determines the action to be taken with each clock
pulse
ϗ If the load input is 1, then the data in the four inputs are transferred at
the next positive clock transition
ϗ If the load input is 0, the data inputs are inhibited and the output is fed
back to simulate a no change condition
13
14
Shift register
ϗ A shift register is capable of shifting its binary information in one or both
directions
ϗ The logical configuration is a chain of flip-flops, with the output of one
connected to the input of the next
ϗ The serial input determines what goes into the leftmost position during
the shift
ϗ The serial output is taken from the output of the rightmost flip-flop
15
Bidirectional shift register
ϗ A bi-directional shift register can shift in both directions
ϗ The most general shift register has all the following capabilities:
➢ An input for clock pulses to synchronize all operations
➢ A shift-right operation and a serial input line associated with the shift-right
➢ A shift-left operation and a serial input line associated with the shift-left
➢ A parallel load operation and n input lines associated with the parallel transfer
➢ n parallel output lines
➢ A control state that leaves the information in the register unchanged even though clock
pulses are applied continuously
➢ Shift registers are often used to interface digital systems situated remotely
➢ Rather than using n lines to transmit in parallel, transmit serially
➢ The receiver converts the incoming serial data to parallel clock pulses are
applied continuously
16
Bidirectional shift register …
17
Binary counter
ϗ A register that goes through a predetermined sequence of
states upon the application of input pulses is called a counter
ϗ The input pulses may be a clock or an external input
ϗ The input may occur at uniform intervals of time or randomly
ϗ Used to count the number of occurrences of an event and for
generating timing signals to control the sequence of
operations
ϗ A counter that follows the binary number sequence is a binary
counter
ϗ An n-bit binary counter is a register of n flip-flops and gates
18
that follow a sequence of states
Binary counter ……
ϗ Consider the sequence 0000, 0001, 0010, 0011, 1000, …
ϗ The lsb is complemented each count
ϗ Every other bit is complemented if all its lower-order bits are
equal to 1
ϗ Natural to use either T or JK flip-flops since they both have a
complement state
ϗ The counter has an enable input
ϗ Synchronous counters have a regular pattern with a common
clock
ϗ The chain of AND gates generate the logic for the flip-flop
19
inputs
20
Binary counter……
ϗ Counters often require a parallel load capability to transfer an
initial count value
ϗ These would then need a clear input to reset the initial value
ϗ An input load control disables the count and allows a transfer
of data
ϗ If the clear and load inputs are both 0, and the count input is 1,
then the count proceeds
ϗ Counters with parallel load are referred to as registers with
load and increment operations
21
Binary counter……
22
Memory unit
ϗ A memory unit is a collection of storage cells together with associated
ϗ A decoder inside the memory accepts an address and opens the paths
ϗ The memory capacity is stated as the total number of bytes that can be
23 stored
Memory unit(RAM)
ϗ Two major types of memory are used in computer system: RAM and
ROM
equal amount of time no matter where the cells are located physically
in memory
ϗ Communication between memory and its environment is achieved via
data input and output lines, address selections lines, and control lines
24
Memory unit(RAM) …..
ϗ The n data input lines provide the information to be stored in memory
ϗ The n data output lines supply the information coming out of memory
ϗ The two control lines specify the direction of transfer – either read or
write
25
Memory unit(RAM) ……
ϗ Steps to write to memory:
ϗ Apply the binary address of the desired word into the address lines
ϗ Apply the data bits that are to be stored in memory on the data lines
ϗ Apply the binary address of the desired word into the address lines
26
Memory unit (ROM)
ϗ A read-only memory (ROM) is a memory unit that performs the read
hardware production
27 bits each
Memory unit (ROM)…..
ϗ A ROM has k address lines to select one of m words in memory and n
ϗ The outputs are a function of only the present input (the address), so it
28
Memory unit (ROM)…..
ϗ ROMs find a wide range of application in the design of digital system
ϗ When used as a memory unit, it stores fixed programs that are not to
29
Memory unit (ROM)…….
Types of ROM
signals
30
31