DOC PREVIEW
Purdue ECE 27000 - Experiment 7

This preview shows page 1-2 out of 5 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

ECE 270 Lab Verification / Evaluation Form Experiment 7 Evaluation: IMPORTANT! You must complete this experiment during your scheduled lab period. All work for this experiment must be demonstrated to and verified by your lab instructor before the end of your scheduled lab period. STEP DESCRIPTION MAX SCORE Pre-Lab 1 Build Circuit on Breadboard 4 Pre-Lab 2 Calculate Current/Power Dissipation 2 Step 1 Test and Verify Circuit 2 Step 2 Create Alphanumeric Display ABEL Program 6 Step 3 Measure Voltages and Currents Using DMM 3 Step 4 Create “Dorm Alarm” ABEL Program 6 Step 5 Thought Questions 2 TOTAL 25 Signature of Evaluator: ________________________________________________________ Academic Honesty Statement: IMPORTANT! Please carefully read and sign the Academic Honesty Statement, below. You will not receive credit for this lab experiment unless this statement is signed in the presence of your lab instructor. “In signing this statement, I hereby certify that the work on this experiment is my own and that I have not copied the work of any other student (past or present) while completing this experiment. I understand that if I fail to honor this agreement, I will receive a score of ZERO for this experiment and be subject to possible disciplinary action.” Printed Name: _____________________ Class No. __ __ __ __ - __ Signature: ____________________________________ Date: _______ECE 270 - Experiment 7 Purdue IM:PACT Little Bits Lab Manual -1- © 2013 by D. G. Meyer 7-Segment Display PLD Exercises Instructional Objectives: • To review how to create an ABEL source file that specifies the design of a combinational logic circuit for implementation on a programmable logic device (PLD) • To review how to use ispLEVERTM to compile an ABEL source file and “fit” the design into a specific PLD and how to use a Universal Programmer to “burn” a fuse map (JEDEC file) produced by a compiler into a PLD Pre-lab Preparation: • Read this document in its entirety • Review the GAL22V10 data sheets (available the course web site under References) • Complete the Pre-lab Steps Lecture/Demonstration: Your lab instructor will give a brief presentation that includes the following: • A review of how to program a PLD using the Universal Programmer • A demonstration of the completed experiment Experiment Description: For this experiment you will use the 7-segment LED in your parts kit in conjunction with your GAL22V10 to realize two different functions. The first function that will be realized is an alphanumeric decoder. The second function realized will be a “dorm room” alarm featuring prioritized sensors. The display device will be a common anode 7-segment LED, illustrated in Figure 1. (Common anode means that the LED anodes are all tied together, and the LED cathodes are available individually – this means that current must be sunk by the PLD for each LED segment.) The active low PLD outputs will be connected, via 150 ohm (brown-green-brown) current limiting resistors, to the individual LED cathodes, and the common anode pins of the 7-segment display will be connected to +5 VDC. Figure 1. Common Anode 7-Segment LED Pinout. Display code pattern for the character “A”ECE 270 - Experiment 7 Purdue IM:PACT Little Bits Lab Manual -2- © 2013 by D. G. Meyer 5VNote: Pin 12 (notshown) is groundCommon Anode 7-Segment LED1505 V10K 10K 10K 10KI7 I4I5I610K10K 10K10KI1I2I3 I05 VI/CLK1I2I3I4I5I6I/O14I/O15I/O16I/O17I/O19I/O20I/O21I/O22I/O18I/O23I7I8I9I10I11I13VCC24GAL22V10abcdefgdpPre-lab Step (1): Build the following circuit using your DIP switch, 7-segment common anode LED, and GAL22V10, leaving ample room around the PLD to easily remove it from the breadboard for reprogramming. Use a 150 Ω resistor in series with each LED segment.ECE 270 - Experiment 7 Purdue IM:PACT Little Bits Lab Manual -3- © 2013 by D. G. Meyer Pre-lab Step (2): Given that each LED segment exhibits a forward voltage drop (VLED) of approximately 2.0 volts, that a 150 ohm current limiting resistor is being used, and that the VOL of a 22V10 output pin is at most 0.5 volts (at an IOL of 24 mA – see data sheets available on the course web site), calculate ILED (the amount of current that flows through each LED segment, which is also the amount of current sunk by each 22V10 output pin). Also, calculate the amount of power dissipated by each LED current limiting resistor. Experiment Step (1): Write an ABEL program that routes the data read from the DIP switch to the corresponding LED segment (I0 to LED segment a, I1 to LED segment b, etc.). Note that the LED segment outputs should be declared as active low. Compile your ABEL source file using ispLEVERTM, targeting it for a GAL22V10 device, and use the Universal Programmer at your lab station to “burn” your design (JEDEC file) into your 22V10 PLD. Test and verify the operation of your circuit, and demonstrate it to your lab instructor. Experiment Step (2): Create a second ABEL program which realizes an alphanumeric decoder that functions as follows: (a) If the mode selector I4=0, the decoder should function as a hexadecimal display decoder, i.e., the alphanumeric characters 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, b, C, d, E, F (note case) should be displayed in response to 4-bit input codes 0000 – 1111, respectively. (b) If the mode selector I4=1, the decoder should function as an alphabetic display decoder for all the (non-BCD) alphabetic characters that can be meaningfully displayed, i.e., A, b, C, d, E, F, g, H, J, L, n, o, P, r, U, y (note case) should be displayed in response to 4-bit input codes 0000 – 1111, respectively. The mode control signal I4 and the 4-bit code (I3, I2, I1, I0) will be input using the DIP switch. Route I4 to the DP LED segment to visually indicate the mode of operation. Compile your ABEL source file using ispLEVERTM, targeting it for a GAL22V10 device, and use the Universal Programmer at your lab station to “burn” your design (JEDEC file) into your 22V10 PLD. Test and verify the operation of your circuit, and demonstrate it to your lab instructor. Show calculations: CAUTION: Be sure to select the correct part number on the Universal Programmer. (The


View Full Document

Purdue ECE 27000 - Experiment 7

Download Experiment 7
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Experiment 7 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Experiment 7 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?