Sie sind auf Seite 1von 21

King Abdul Aziz University

Faculty of Computing and Information Technology


Computer Science Department

LAB MANUAL
CPCS 211
Digital Logic Design

Prepared By:
Aman Ullah
Under the supervision of
Prof. Dr. Fadi Fouz
Spring 2012 - 1433
Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

Distribution of Marks
Theory: 60%
Lab: 40%
Number Marks of each Total Marks
Assignments 2 5 10
Quizzes 2 5 10
Project 1 20 20
Total Marks 40

Statement Purpose:
In this lab we shall discuss about the Installation of CEDAR LOGIC SIMULATOR step-by-step and how to
use Cedar logic Simulator.

Activity Outcomes:
The students will be able to easily Install CEDAR LOGIC SIMULATOR. They will also learn how to
design digital logic circuits using Cedar Logic Simulator.

Instructor Note:
Follow the steps of installing Cedar Logic Simulator on your computers very carefully. Practice using the
simulator as much as you can so that you may easily draw simple logic circuits with the help of this
simulator. This will give you a virtual demonstration of the functionality of these circuits. Try to design the
logic circuits for the Boolean functions given at the end of these notes.

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CEDAR Logic Simulator is an interactive digital logic simulator to be used for the teaching of
logic design or testing simple digital circuits.

Install Cedar LS step-by-step

Click on exe file of CLS

Press Next Now

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

Press Next

Press Next

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

Press Next

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

3. Place your cursor over the 3-input XOR gate in the gate palette so that a blue square
appears around the gate shape

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

4. Hold the left mouse button down and drag the gate shape onto the gate canvas.

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

5. Release the mouse button when the gate is at the desired location. When you left click
anywhere on the canvas or drag another gate onto the canvas, the gate will become
unselected.

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

Connecting Gates

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

Adding Text
1. Selected the TEXT object from the gate palette

2. Drag the TEXT object to the appropriate position.

3. Double click on the TEXT object so that a dialog box appears.

4. Type Input in the LABEL portion of the dialog box and press enter. Note that labels can be placed
anywhere on a circuit that you would wish.

5. To delete a label, simply select it like you would a gate and press the delete key. Play around with your
test circuit by adding as many text labels as you want until you feel comfortable with the process. Once you
are reasonably comfortable with it, delete the labels you added to the circuit and continue the tutorial.

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

CPCS-211 Digital Logic Design


Term
Fall 2013 Lab 1: How to Install Cedar Logic Simulator

Exercise:
Construct the logic circuit using Cedar Logic Simulator for each of the following Boolean functions, using
only AND, OR and NOT gates.

(i) F(A, B, C) = A.B + A.C


(ii) F(X, Y, Z) = (X + Y) . (X + Z)
(iii) F(A, B, C) = (A.B + A.B)
(iv) F(X, Y, Z) = (A.B + A.B)
(v) F(W, X, Y, Z) = W.X + [(X.Y) + (Y.Z)]
Also see the behavior of each of the above circuits by giving different values to the inputs involved.

CPCS-211 Digital Logic Design