Вы находитесь на странице: 1из 6
Republic of the Philippines P OLYTECHNIC U NIVERSITY OF THE P HILIPPINES COLLEGE OF ENGINEERING

Republic of the Philippines POLYTECHNIC UNIVERSITY OF THE PHILIPPINES COLLEGE OF ENGINEERING COMPUTER ENGINEERING DEPARTMENT

COEN 3134 Logic Circuits Design

EXPERIMENT NO.

2

COMPUTER-AIDED LOGIC CIRCUIT DESIGN

Group #N (your group number)

(list all team members and affix signatures)

Team Members

Team Members Signature
Team Members Signature
Team Members Signature
Team Members Signature

Signature

Team Members Signature
Team Members Signature
Team Members Signature
Team Members Signature

LAB 2: Computer-aided Logic Circuit Designing

Duration: 3 Hours

OBJECTIVES:

To develop an understanding of the basic purpose and function of the 8 segment LED Display.

To learn how to use the MULTIMEDIA LOGIC Help Menu to learn about

devices

and their operation.

To learn how to change properties of devices

To learn how to connect basic peripheral devices using MULTIMEDIA LOGIC.

To draw simple Logic Diagrams from basic Boolean algebra equations.

To construct Truth Tables using Multimedia Logic.

MATERIALS:

1 Personal Computer (complete with accessories) MULTIMEDIA LOGIC 1.4 Software

PROCEDURES:

Note:

activities.

Answer all questions on these sheets and complete ALL required

1. Press the palette button (7 th button over on your status bar) to view your palette menu.

2. Press the Up Arrow button on the palette menu (row 1, column 1) to select a device.

3. Once the Up Arrow has been depressed, click on a device and drag over to the grid workspace.

4. Left click on the device in the grid workspace. The device will be surrounded by little black boxes.

5. Right click and choose Properties. You have the option(s) of changing input choices or, where appropriate, inverting the device. For example, you can change an AND into a NAND by clicking on Invert

Output. Click on Help button within Properties to obtain a detailed description as to how to use the device.

6. Example programs and tutorials are available through:

C\MMLOGIC\Examples\{Advanced, Basic, Devices, Moderate}.

7. The

attached

Tutorial

walks

MULTIMEDIA LOGIC.

you

through

the

basics

of

using

8. Each question requiring an answer is worth one (1) mark unless otherwise indicated.

Part 1: Five Segment LED

1. Place a Five Segment LED (captioned as a 8 Segment LED Device on the grid workspace. [Note: The default is 5-Segment LED]

2. Left click on the device and then right click into Properties area to print out a Help Sheet on the device.

3. Hook up five Toggle Switches to the Five Segment LED.

4. Using the top switch as the Most Significant Bit (MSB) and the second from the bottom switch as the Least Significant Bit (LSB), count up in binary from 0000 to 1111.

5. What does the Five Segment LED register as you change the settings of the switches?

6. What does the bottom switch represent?

7. What would be the switch settings to register: C.

8. Change one of the switches to a Momentary On Switch.

9. Run the Application using the Momentary On Switch.

10. What is one drawback of the Momentary On Switch?

11. How do you change the On/Off defaults for the toggles or the Momentary On Switches?

Part 2: Eight Segment 1. Hook up eight toggle switches to an 8 Segment LED

Part 2: Eight Segment

1. Hook up eight toggle switches to an 8 Segment LED (row 4, column 4 on palette – shown as an “8” captioned as “7 Segment LED” on palette – shown in properties as 8 Segment LED.

2. The device will default to 5 Segment LED. Segment LED?

How do you change it to 8

3. Place 8 toggle switches onto the display grid. Hook them up to the device in the order top to bottom as shown. Consider them to be two nibbles of binary numbers with the top bit being MSB and the lowest bit being LSB.

4. Run the simulation. Practice flipping various toggle switches to display numbers 0 to 0 or 0. to 9.

5. Which

toggle

switch

represents

the

decimal

point?

6. If you are not displaying a decimal point, what would your LSB binary bit always be?

7. Run your simulation and fill in the table below: [8 marks] Decimal Number  

7. Run your simulation and fill in the table below: [8 marks]

Decimal Number

 

Toggle Switch

Settings

 
 

MSB

4 binary bits

4 binary bits

LSB

0

     

1

     

2

     

3

     

4

     

5

     

6

     

7

     

8

     

9

     

0.

     

1.

     

2.

     

3.

     

4

     

5.

     

6.

     

7.

     

8.

     

9.

     

8.

Using MULTIMEDIA LOGIC, create a circuit that would allow you to display a two-digit decimal number. [Hint: You will require two sets of eight toggle switches and two (2) 8 Segment LED’s]. Print off your completed MULTIMEDIA LOGIC Circuit and attach

9.

10.

Show the 16 digit binary number that you would use to represent the toggle switch settings to display the decimal number: 85.

Part 3: Eight Segment LED

1. Using input toggles labeled: X, A, B and LED’s labeled: Y and Z,

construct a MULTIMEDIA LOGIC CIRCUIT to show:

Z A B C .

Print it off and attach.

Y A BC and

2. The logic gates have a default of 2 inputs. How do you get them to accept 3 inputs?

3. What is the maximum number of inputs that the AND and OR gates will accept?

4. By running your simulation, fill in the Truth Table below: [8 marks]

A

B

X

Y A BC

Z A B C

0

0

0

   

0

0

1

   

0

1

0

   

0

1

1

   

1

0

0

   

1

0

1

   

1

1

0

   

1

1

1

   

CONCLUSION: