You are on page 1of 4

CS206 CS 230 – Digital Logic Design

WEEK 3
Name: Yazeed Khaled Almalki ID: 391901123
Class Activity no. 4
Mark [2]
Designing a logic gate using Atanua Logic Simulator, use of truth table as well.
Objectives:
1. To verify the complement of a function by simulation.
2. To be able to manipulate/simplify Boolean expressions using truth table.

Procedures:
For each of the following pairs of expressions, do the following:
1. Derive Boolean expression of the given function.
2. Illustrate the logic circuits for the function and its complement in the provided boxes.
3. Using Atanua Logic Simulator, construct the truth table for the pair of functions.
4. To design the logic circuit using Atanua Logic Simulator and understand the behavior logic circuit using
the truth tables.

Q1: Video link is given here for first question. But you have to design logic circuit
using Atanua logic simulator.
Video link:
https://www.nagwa.com/en/videos/275148249024/
a) Design a logic circuit, using expression given, which is consist of multiple
logic gates. The expression is given below.

(A.C) + (B.D)

b) How many different possible combination of inputs are there for above
design logic circuit. // 2 × 2 × 2 × 2 = 16
c) Draw truth Table, of given logic circuit above, place the inputs and
expression and show the behavior of the logic circuit with a truth table:

CS 206 – CS 230 – Digital Logic Design Week 3 Lab Activity 4 page 1 of 4


A B C D (A.C) (B.D) (A.C) + (B.D)
(Input) (Input) (Input) (Input) (Output)
0 0 0 0 0 0 0
0 0 0 1 0 0 0
0 0 1 0 0 0 0
0 0 1 1 0 0 0
0 1 0 0 0 0 0
0 1 0 1 0 1 1
0 1 1 0 0 0 0
0 1 1 1 0 1 1
1 0 0 0 0 0 0
1 0 0 1 0 0 0
1 0 1 0 1 0 1
1 0 1 1 1 0 1
1 1 0 0 0 0 0
1 1 0 1 0 1 1
1 1 1 0 1 0 1
1 1 1 1 1 1 1

d) How many combination of inputs to this circuit produce an output of 0? // 9


e) How many combination of inputs to this circuit produce an output of 1? // 7

Q:2

a. Draw the given logic circuit using Atanua logic simulator.

b. Write the expression of given logic circuit given below:


Write your answer here: (A.B + C')' + (B.C)'
c. How many different possible combination of inputs are there for above
design logic circuit. 2 × 2 × 2 = 8

d. Draw truth Table, of given logic circuit above, place the inputs and
expression and show the behavior of the logic circuit with a truth table:

CS 206 – CS 230 – Digital Logic Design Week 3 Lab Activity 4 page 2 of 4


A B C (A.B+C')' + (B.C)'
C' A.B (B.C)' (A.B+C')'
(Input) (Input) (Input) (Output)
0 0 0 1 0 1 0 1

0 0 1 0 0 1 1 1

0 1 0 1 0 1 0 1

0 1 1 0 0 0 1 1

1 0 0 1 0 1 0 1

1 0 1 0 0 1 1 1

1 1 0 1 1 1 0 1

1 1 1 0 1 0 0 0

e. How many combinations of inputs to this circuit produce an output of 0? // 1

f. How many combinations of inputs to this circuit produce an output of 1? // 7

Q3: Proof the following Boolean Equations.

1. Proof: x + x . y =x
= x.1+x.y ➔ x=x.1
= x . (1+y) ➔ x . y + x . z = x . (y + z)
= x.1 ➔ 1+x=1
= x ➔ x.1=x
2. Proof: x . (x + y) = x
= x.x+x.y ➔ x . (y + z) = x . y + x . z
= x+x.y ➔ x.x=x
= x.1+x.y ➔ x=x.1
= x . (1+y) ➔ x . y + x . z = x . (y + z)
= x.1 ➔ 1+x=1
= x ➔ x.1=x

CS 206 – CS 230 – Digital Logic Design Week 3 Lab Activity 4 page 3 of 4


3. Proof: x + x.y = x + y

= x.1+x.y ➔ x=x.1
= (x . x + x . y) + (1 . x + 1 . y) ➔ x . (y + z) = x . y + x . z
= (x + x . y) + (x + y) ➔ x.x=x,x.1=x
= x.(1+y+1)+y ➔ x . y + x . z = x . (y + z)
= x.(1+1)+y ➔ 1+x=1
= x.1+y ➔ 1+1=1
= x+y ➔ x.1=x

CS 206 – CS 230 – Digital Logic Design Week 3 Lab Activity 4 page 4 of 4

You might also like