Chp1 - Digital Systems and Numbering Systems
Chp1 - Digital Systems and Numbering Systems
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
• The most striking property of the digital computer • Analog Representation—a continuously
is its generality. It can follow a sequence of variable.
instructions, called a program, that operates on
Sound through a microphone causes
given data.
voltage changes.
• One characteristic of digital systems is their Automobile speedometer changes with
ability to represent and manipulate discrete speed.
elements of information.
Mercury thermometer varies over a
• Early digital computers were used for numeric range of values with temperature.
computations. The discrete elements were the
digits.
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
1
10/1/2019
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
2
10/1/2019
• A large part of the worldwide electronics and • Short & long electric pulses, the dots & dashes of
telecommunication systems fall in the category of Morse code is used.
“digital systems.”
• This was a digital representation of information.
• It started as a simple digital system that used
only two states to represent information, that is • The electric signal is either on or off at all times.
the telegraph.
• The telegraph system used two distinct “symbols” • This relates to modern digital
to transmit any word or number. systems that use electrical signals to
represent 1s and 0s.
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
• A Tic-Tac-Toe game will be designed using • Digital circuits have inputs that are in one of two
combinational logic circuit. states: 1 or 0.
• The outputs are also either producing a 1 or a 0.
• A Computer will provide inputs by
randomly filling 3 digits-row either with • A timing diagram shows which state (1 or 0) the
system is in at any point in time.
“X” or “O”s.
• If one row is only full with three “X”s or
three “O”s, the logic circuit will trigger the
output to credit a score.
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
3
10/1/2019
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
Accuracy and precision are easier to • Convert the physical variable to an electrical
maintain. signal (analog).
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
4
10/1/2019
As expressing in coefficients:
a3103 + a2102 + a1101 + a0100 + a-110-1+ a-210-2+ a-3 10-3 7392,25 is :
a3a2a1a0 . a-1a-2a-3
a3 = 7, a2 = 3, a1 = 9, a0 = 2 . a-1 = 2, a-2 = 5
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
5
10/1/2019
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
6
10/1/2019
Repeated Division:
• The conversion of a decimal integer to a number in • Divide the decimal
base r is done by dividing the number and all number by 2.
successive quotients by r and accumulating the
remainders. • Write the remainder
after each division
• If the number includes a radix point, it is until a quotient of
necessary to separate the number into an integer zero is obtained.
part and a fraction part, since each part must be • The first remainder
converted differently. is the LSB.
• The last is the MSB.
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
7
10/1/2019
8
10/1/2019
• Binary numbers verify the double-dabble method: • Convert using the double-dabble method:
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
9
10/1/2019
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
10
10/1/2019
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
11
10/1/2019
• Convert BCD 011111000001 to its • The Gray code is used in applications where
numbers change rapidly.
decimal equivalent.
• Only one bit changes from each value to the
next.
The forbidden group represents
an error in the BCD number.
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
12
10/1/2019
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
13
10/1/2019
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
Parity Method for Error Detection Parity Method for Error Detection
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
14
10/1/2019
Parity Method for Error Detection Parity Method for Error Detection
• There are two parity methods, even and odd. The binary group 1 0 1 1 would require the
addition of a parity bit 1, making the group
The transmitter and receiver must “ agree ” on
the type of parity checking used. 1 1 0 1 1.
The parity bit may be added at either end of a
“Even” seems to be used more often. group.
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd. Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
Digital Systems, TWELFTH EDITION, GLOBAL EDITION Copyright © 2018 Pearson Education, Ltd.
Neal Widmer, Gregory Moss, & Ronald Tocci All Rights Reserved
15