CFLabSheet1

Embed Size (px)

Citation preview

  • 8/7/2019 CFLabSheet1

    1/3

    Nimalika Fernando - 2007 Page 1 of 3

    Sri Lanka Institute of Information TechnologyB.Sc Degree in IT/IS/CN, Diploma in Information Technology

    Year 1/Semester1 -2007Computer Fundamentals

    Worksheet 1 Week 2

    Objective:

    (1) be familiar with basic drawing capabilities, how to save/open a file and run the simulator of the

    Multimedia Logic (ML) software

    (2) understand the behavior of Basic Logic gates (AND, OR, NOT, NOR, NAND) using ML

    Pre-requisites:Followed the Orientation Program. Followed lecture 1& 2

    1) Introduction to Multimedia Logic

    a) What is Multimedia Logic ?

    MultiMedia Logic is a powerful software which can be used to simulate digital logic circuits. It is a

    freeware produced by Softronics, Inc. It has facilities to connect directly to a computers real devices (e.g.Keyboard, Screen, Serial Ports) including MultiMedia ones (e.g. PC speaker) and use them in logic

    implementations. This software can be used effectively to experiment and learn digital logic.

    In CF lab sessions you will use MultiMedia Logic Version 1.3 to understand the logic circuits learned in

    lectures and tutorials.

    Following is the opening screen of MML. Ver 1.3

    Start Simulation

    Stop Simulation

    Start drawing mode

    Probe tool ( in run mode)

    Tool palette

  • 8/7/2019 CFLabSheet1

    2/3

    Nimalika Fernando - 2007 Page 2 of 3

    b) Modes of Operation of MML

    The Multimedia Logic Simulator can be used in several different modes of operation.

    Ready mode, ready to start drawing or start simulator.

    Drawing mode, devices can be added, deleted, moved, wired and modified.

    Running mode, devices can be operated, heard, and seen.

    Pause mode, examine circuits by stepping through them one cycle at a time.

    c) Drawing of devices ( control, input, output) , nodes and wiring

    To draw any device, click the tool in the palette and click the drawing canvas. Nodes also can be drawn

    same way. Use wire tool to connect devices. Nodes may be useful to arrange the circuits nicely.

    Use pointer tool to select any device drawn on the canvas. Then they can be moved, copied or deleted.

    Wires cannot be moved separately but by moving the devices wires also will move.

    d) Save file / Run the simulation

    Circuits implemented have to be saved before run the simulation. The file extension is .lgi. There can be

    more than one circuit in a single .lgi file. ( Note : there are few limitations when simulating some

    advanced circuits , when they are drawn in a single file. )

    Students are advised to create a separate folder in their Z drive to save CF Lab work. Create separate folder

    for each week and save all files there.

    Use Run button to run the simulator. Then change the input and observe the output. Probe tool can be

    used to check the state of a node at any time while in run mode. Refer ( b) above for other useful modes.

    2) Understand the truth table of basic logic gates

    a) Draw the truth tables for two input AND and OR gates. Draw the truth table for NOT gate. Addadditional column to each truth table. Implement and simulate above three gates in ML and observe the

    output for each input combination. Write the output in the blank column and verify your truth table.

    Save your file as basicGates1.lgi

    AND OR NOT

    b) Do the same for 3 input AND and OR gate. Save your file as basicGates2.lgi

    AND OR

  • 8/7/2019 CFLabSheet1

    3/3

    Nimalika Fernando - 2007 Page 3 of 3

    c)i) Implement and simulate the following circuits in a new ML file and obtain the truth tables of

    them. Save your file as basicGates3.lgi .What are the common names used for these two circuits?

    ii) Draw the truth table of NAND and NOR gates and implement them in ML. Compare them withthe truth tables of (1) above.