Professional Documents
Culture Documents
Introduction to Digital
system
Introduction
• Definition: Computer is an electronic device operated by instructions
stored in its memory
• Components: Hardware + Software
• Basic Functions: Data storage, movement, processing, and control
Why Digital ?
• Digital Technology: Generates, stores, and processes data in 0s
and 1s
• Binary Representation: Positive and non-positive states
• Bit: Binary digit, the smallest unit of digital data
Digital Signal
• Definition: Discrete series of pulses represented as 1s and 0s
• Characteristics: Counts but does not measure, discrete pulses,
prevalent in computer-based devices
• Examples: Light switch, volume control on a radio
Logic Gates
• Definition: Circuits manipulating binary information
• George Bool: Mid-19th century, introduced the concept of logic
in mathematics
• Electric Logic: True represented by voltage, False represented by
no voltage
Gate - Fundamental Building Block
• Definition: Implements a single Boolean or logical operation
• Output Signal: Simple Boolean operation on input signals
• Types: AND, OR, NOT, NAND, NOR, XOR
• AND,OR,and NOT gets constitutes a functionally complete set, b/c they
represent the three operation of Boolean algebra.
NOT (Inverter)
• inverts the logic sense of a binary signal. It produces the NOT or
complement function.
• Logic notation x’ or
Buffer
• Input same as output
• Used merely for power amplification
NAND (not-AND)
• Complement of the AND function
x y NAND
0 0 1
0 1 1
1 0 1
1 1 0
XOR (Exclusive-OR)
F3
F4
F4 = x y' + x' z
Boolean Algebra
Combinational Circuits
• Overview of Combinational Circuits
• Characteristics
n binary inputs from an external source
m binary outputs to an external destination
Described by a truth table or a Boolean function
Cont…
Cont…
• Q? draw combination circuit and truth table for the following
Boolean expression
Half Adder
A combinational circuit that performs the athematic addition of two bits
• The input variable of a half adder is called the augend and addend bits. the output
variables sum and carry.
• A half adder circuit has one significant drawback: since pair of bits can produce
an output carry, in addition to the inputs A and B, we need to account for a
possible carry over from a bit of the lower order of magnitude. Unfortunately, half
adder has no support for such carry over input by design.
Full Adder
• Full adder is developed to overcome the drawback of Half Adder circuit.
• It can add two one-bit numbers A and B, and carry c.
• The Full Adder is a three input and two output combinational circuit.
Full Adder
Cont…
Cont…
The output is equal to 1 when only one input is equal to 1 or when all
three inputs are equal to 1.
The output has a carry 1 if two or three inputs are equal to 1
Implementation of Boolean Functions
• Electronic Implementation
• Alternatives: Various realizations for a given function
• Example: Boolean function represented by a truth table
Sequential Circuits
• Definition of Sequential Circuits
• Clock: Emits pulses with a precise pulse width and interval
• Types
Synchronous: Responds at discrete time intervals
Asynchronous: Immediately responds to input level changes
Sequential circuits can be divided into
1. Synchronous
2. Asynchronous
Synchronous: responds to the inputs only at discrete time intervals.
Asynchronous: immediately responds to input level changes
• In synchronous sequential circuit, all flip-flops are moved by the same clock pulse
so that all flip-flops involved change simultaneously.
Cont…
In asynchronous circuit, the change of flip-flop condition depends on the change
that occurs on the input and the late time that is in the circuit. It illustrates as the
following diagram
Clock
• A clock is a circuit that emits a series of pulses with a precise pulse
width and a precise interval between consecutive pulses.
• This interval is called the clock cycle time. Clock speed is generally
measured in megahertz (MHz), or millions of pulses per second.
• A clock is used by a sequential circuit to decide when to update the
state of the circuit