Download as pdf or txt
Download as pdf or txt
You are on page 1of 26

CSC201: Digital Logic Design

Level 2 – 1st Semester

Digital Logic Design


Section (1)

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

The section Will be divided into 3 Parts:


1. Application to the lecture.
2. Practical part.
3. Your Practice.

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

• A number System : defines how numbers can be represented using


distinct symbols.

• A number can be represented differently in different systems.

• For Example :
Binary Decimal Octa Hex

(0010 1010)2 (42)10 (52)8 (2A)16

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Computer number Systems :


• Binary Number System
• Octal Number System
• Decimal Number System
• Hexadecimal Number System

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Binary System:
Truth Table
Base : 2 Decimal A B
0 0 0
Digits : 0 , 1 1 0 1
2 1 0
Example : (0100)2 , (1010)2 , (01)2 3 1 1

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Truth Table
Octal System: Decimal A B C
0 0 0 0
Base : 8 1 0 0 1
2 0 1 0
Digits : 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 3 0 1 1
4 1 0 0
Example : (6)8 , (55)8 , (109)8 5 1 0 1
6 1 1 0
7 1 1 1

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester Truth Table
Decimal A B C D
Decimal System: 0 0 0 0 0
1 0 0 0 1
Base : 10 2 0 0 1 0
3 0 0 1 1
Digits : 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9
4 0 1 0 0

Example : (3)10 , (500)10 , (1045)10 5 0 1 0 1


6 0 1 1 0
7 0 1 1 1
8 1 0 0 0
9 1 0 0 1

Eng. Norhan Ahmed


Truth Table
CSC201: Digital Logic Design
Level 2 – 1st Semester Decimal A B1 C D
0 0 0 0 0
Hexadecimal System: 1 0 0 0 1
2 0 0 1 0
3 0 0 1 1
Base : 16
4 0 1 0 0
5 0 1 0 1
Digits : 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9, A , B , C,
6 0 1 1 0
7 0 1 1 1
D,E,F 8 1 0 0 0
9 1 0 0 1
Example : (3AB)16 , (500C)16 , (ABCD)16 A = 10 1 0 1 0
B = 11 1 0 1 1
C = 12 1 1 0 0
D = 13 1 1 0 1
E = 14 1 1 1 0
Eng. Norhan Ahmed F = 15 1 1 1 1
CSC201: Digital Logic Design
Level 2 – 1st Semester

Decimal Hexadecimal

Binary Octal

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Practical Part
Deeds
( Digital Electronics Education and Design Suite )
CSC201: Digital Logic Design
Level 2 – 1st Semester

Deeds ( Digital Electronics Education and Design Suite ) :

• Deeds is developed at The "DITEN"-


University in Italy.

• Deeds : is a set of educational tools for


Digital Electronics.

DITEN: refers to the Department of Electrical,


Electronic, and Telecommunication Engineering.

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

To Download Deeds :
https://www.digitalelectronicsdeeds.com/downloads.html

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

• Deeds: includes three design tools:


1. Deeds-DcS (Digital Circuit Simulator)

2. Deeds-FsM (Finite State Machine Simulator)

3. Deeds-McE (Micro Computer Emulator)

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Deeds
( Interface )
CSC201: Digital Logic Design
Level 2 – 1st Semester

Deeds Interface: 5 6 7

1. Inputs.
2. Outputs. 1 2 3 4
3. Wires.
4. Logic Components.
5. Strat Animation.
6. Stop Animation. 8
7. Timing Diagram Simulation.
8. Work Area

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic
Gates
CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic Gates:


• NOT Gate :

X X
x X=X
x 0 1

1 0
a) Circuit symbol b) Truth table c) Boolean Expression

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic Gates:


• AND Gate : X Y XY

0 0 0

x xy 0 1 0 C=X.Y
y 1 0 0

a) Circuit symbol 1 1 1 c) Boolean Expression

b) Truth table

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic Gates:


• NAND Gate : X Y XY XY

0 0 0 1

0 1 0 1 C=X.Y
x xy
y 1 0 0 1

a) Circuit symbol 1 1 1 0 c) Boolean Expression

b) Truth table

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic Gates:


• OR Gate : X Y XY

0 0 0

0 1 1
x x+y C=X+Y
y 1 0 1

a) Circuit symbol 1 1 1 c) Boolean Expression

b) Truth table

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic Gates:


• NOR Gate : X Y X+Y X+Y

0 0 0 1

x x+y 0 1 1 0 C=X+Y
y
1 0 1 0

a) Circuit symbol 1 1 1 0 c) Boolean Expression

b) Truth table

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic Gates:


• XOR Gate : X Y X+Y

0 0 0

0 1 1 C=X+Y
x xÅy
y 1 0 1

a) Circuit symbol 1 1 0 c) Boolean Expression

b) Truth table

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Basic Logic Gates:


• XNOR Gate : X Y X+Y

0 0 1

0 1 0 C=X+Y
1 0 0

a) Circuit symbol 1 1 1 c) Boolean Expression

b) Truth table

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Let’s Do This Digital Circuit :

Eng. Norhan Ahmed


CSC201: Digital Logic Design
Level 2 – 1st Semester

Any Questions
Eng. Norhan Ahmed
CSC201: Digital Logic Design
Level 2 – 1st Semester

Thank You
Eng. Norhan Ahmed

You might also like