Lecture 1
Lecture 1
Design
Dr. Omar A. M. Aly
Omar.aly@aun.edu.eg
Introduction
Dr. Omar A. M. Aly
Omar.aly@aun.edu.eg
M. M. Mano, “Digital Design With an Introduction to the Verilog HDL,” 5th Edition,
Pearson Education, 2013.
Outline
Grading
Homework: 5 (10%)
Quiz: 10 (10%)
Attendance: 5 (10%)
Activities: 5 (10%)
Total 50
Digital Circuits Design Slide 5
Chapter 1:
Digital Systems and
Binary Numbers
Dr. Omar A. M. Aly
Omar.aly@aun.edu.eg
M. M. Mano, “Digital Design With an Introduction to the Verilog HDL,” 5th Edition,
Pearson Education, 2013.
Outline
Digital Systems and Computer Systems
Information Representation
Number Systems [binary, octal and hexadecimal]
Arithmetic Operations
Base Conversion
Decimal Codes [BCD (binary coded decimal), parity]
Gray Codes
Alphanumeric Codes
State present
State updated at discrete times
=> Synchronous Sequential System
State updated at any time
=>Asynchronous Sequential System
Sender Receiver
Signal Signal
=16 +8 +0 +1 +0=
Since 23 = 8 and 24 = 16, each octal digit corresponds to three binary digits
and each hexadecimal digit corresponds to four binary digits
Example: How many bits are required to represent decimal digits with a
binary code?
Carry in (Z) of 1: Z 1 1 1 1
X 0 0 1 1
+Y +0 +1 +0 +1
CS 01 10 10 11
Carries 0 0
01100 10110
+ 10001 +10111
Sum
r-1 complement
Since the 2n – 1 factor consists of all 1's and since 1 – 0 = 1 and 1 – 1 = 0, the
one's complement is obtained by complementing each individual bit
(bitwise NOT).
The standard binary code for the alphanumeric characters is the American
Standard Code for Information Interchange (ASCII), which uses seven bits to
code 128 characters.