| 1- You can use a floppy disk, a flash memory card stick (jump drive), or the student metwork drive (U:). Using the U: drive is the BEST option! | |
| 2- Complete the "Lab Work Procedure" on pages 20 to 26. | |
| 3- Skip forward from page 26 to page 33. Complete the lab work described on pages 33 to 43. The diagram below shows how the Altera board is configured with the logic gates. | |
  | |
| 4- You need to answer the question at the bottom of page 42. You can answer questions in your book or you can answer questions on separate piece of paper. The answer will be submitted at the end of the lab period. Answers in your book will be torn out and submitted. The question on page 42 (Figure 2-55) refers to "step 6 in Lab 01". You don't need to review Lab 01 if you know that Lab 01 proves the Altera LEDs are active low. Refer to the diagram below. It's the active low LEDs that make the system appear to NOT be working. | |
 | |
| 5- Fill in the tables at the bottom of page 43. The tables will be submitted at the end of the lab period. | |
| 6- Have the instructor test your system, sign your lab progress form, and collect your answers. | |
| 7- Remember to always exit the "Max-Plus II" program before logging off the computer otherwise you may corrupt the design files. | |
| 1- You need the worksheet you created in Tutorial #2 last week. It has the complete vending machine system design. | |
| 2- You need to create a folder called "lab03" on the U: drive. | |
| 3- Before running the Altera MAX software,click here Lab 03 GDF file for the Vending Machine System and place this file in "u:\lab03". | |
| 4- Run the Altera Max software and open the "lab03.gdf" file you downloaded then click the FILE menu, select PROJECT, and then SET PROJECT TO CURRENT FILE. | |
| 5- Complete the "Lab Work Procedure" on pages 48 to page 50. Do not start with PowerPoint. Whenever the book tells you to "use the lab work procedure in Lab 02 as a guide" then you should use the laminated orange card that is attached to your work station. The card summarizes all 17 design steps from lab 2. | |
| 6- When you have finished testing the new and improved vending machine system, get the paperwork ready to submit. It will include both tables and both answers. Have the instructor test your system, sign your lab progress form, and collect the answers. | |
| 7- Remember to always exit the "Max-Plus II" program before logging off the computer otherwise you may corrupt the design files. | |
| 1- Correct the error in the book. Truth table at top of page 87 should read "L Q3 Q2 Q1". | |
| 2- You need to create a folder called "lab05" on the U: drive. VHDL only works when files are stored in a folder. | |
| 3- Before running the Altera MAX software, right click here vending VHDL file choose "save target as ..." and place this file in "u:\lab05". | |
| 4- Before running the Altera MAX software, click here Lab 05 GDF file for the VHDL Vending Machine System and place this file in "u:\lab05". | |
| 5- Run the Altera Max software and open the "vending.vhd" file you downloaded then click the FILE menu, select PROJECT, and then SET PROJECT TO CURRENT FILE. | |
| 6- Complete the six step "Lab Work Procedure" on pages 81 to 84. Quickly read over "Steps" 1 to 5. You can skip all 5 of these "Steps" as they are not needed because you downloaded the Vending VHDL file. You must complete step 6 at the bottom of page 84. "Step" 6 converts the VHDL code into a symbol and places it in the symbol library. | |
| 7- Close the "vending.vhd" window. Open the "lab05.gdf" file you downloaded then click the FILE menu, select PROJECT, and then SET PROJECT TO CURRENT FILE. | |
| 8- Complete the six step "Lab Work Procedure" on pages 85 to 87. Quickly read over "Steps" 1 and 2. You can skip both "Steps" as they are not needed. Complete steps 3 through 6. Fill in the the table on page 87, | |
| 9- Change the vending machine system so that it outputs the correct amount of change. Double click the vending symbol. This will open up a text editor and allow you to make changes. Make the changes to the VHDL code now. | |
| 10- You must now create a new symbol. Leave the VHDL text editor open. Make sure you can still see the VHDL code that you changed. From the "File" menu select "Create Default Symbol". If Altera reports errors you will need to use the information on pages 87, 88, and 89 of the text to make corrections. Proceed to the next step if you are error free. | |
| 11- Shut down both the compiler and VHDL text editor windows. View the system diagram "lab05.gdf". You must update the VHDL Symbol. From the "Symbol" menu select "Update Symbol" and click the "OK" button. The symbol vending will now have the correct number of outputs. | |
12- Use the laminated orange card and complete steps 14 to 17. The system is ready to test but you must wait until your partner is ready before you procede. | |
| 1- Read the description on pages 93 to 94. | |
| 2- Complete the table shown in figure 6-2 on page 95. | |
| 3- You need to create a folder called "U:\Lab06". VHDL only works when files are stored in a folder. | |
| 4- Before running the Altera MAX software, right click here sound VHDL file choose "save target as ..." and place this file in "u:\lab06". | |
| 5- Before running the Altera MAX software, click here Lab 06 GDF file for the VHDL Sound Meter System and place this file in "u:\lab06". | |
| 6- Run the Altera Max software and open the "lab06.gdf" file you downloaded then click the FILE menu, select PROJECT, and then SET PROJECT TO CURRENT FILE. | |
| 7- You will see a symbol for the sound meter. The symbol does not have the correct number of outputs because the VHDL code for the symbol must be changed. To change the VHDL code for the symbol "sound" you must double click the symbol. This will open up a text editor and allow you to make changes. Make the changes to the VHDL code now. | |
| 8- You must now create a new symbol. Leave the VHDL text editor open. Make sure you can still see the VHDL code that you changed. From the "File" menu select "Create Default Symbol". If Altera reports errors you will need to use the information on pages 87, 88, and 89 of the text to make corrections. Proceed to the next step if you are error free. | |
| 9- Shut down both the compiler and VHDL text editor windows. View the system diagram "lab06.gdf". You must update the VHDL Symbol. From the "Symbol" menu select "Update Symbol" and click the "OK" button. The symbol sound will now have the correct number of outputs. | |
10- Use the laminated orange card and complete steps 10 to 17. The system is ready to test but you must wait until your partner is ready before you procede. | |
| 1- Read the description for steps 1 and 2 on pages 111 to 113. | |
| 2- You need the worksheet you detached from tutorial #4. You need to copy the table from the tutorial #4 worksheet into the table shown in figure 7-20 on page 112. To save time, only write out column "X". | |
| 3- Verify your table. The solution page is available at the front of the class room. | |
| 4- You need to create a folder called "U:\Lab07". VHDL only works when files are stored in a folder. | |
| 5- Before running the Altera MAX software, right click here drill VHDL file choose "save target as ..." and place this file in "u:\lab07". | |
| 6- Before running the Altera MAX software, click here Lab 07 GDF file for the VHDL Drill Machine System and place this file in "u:\lab07". | |
| 7- Run the Altera Max software and open the "lab07.gdf" file you downloaded then click the FILE menu, select PROJECT, and then SET PROJECT TO CURRENT FILE. | |
| 8- You will see a symbol for the drill machine. The symbol does not have the correct number of outputs because the VHDL code for the symbol must be changed. To change the VHDL code for the symbol "drill" you must double click the symbol. This will open up a text editor and allow you to make changes. Make the changes to the VHDL code now. | |
| 9- You must now create a new symbol. Leave the VHDL text editor open. Make sure you can still see the VHDL code that you changed. From the "File" menu select "Create Default Symbol". If Altera reports errors you will need to use the information on pages 87, 88, and 89 of the text to make corrections. Proceed to the next step if you are error free. | |
| 10- Shut down both the compiler and VHDL text editor windows. View the system diagram "lab07.gdf". You must update the VHDL Symbol. From the "Symbol" menu select "Update Symbol" and click the "OK" button. The symbol sound will now have the correct number of outputs. | |
| 11- Use the laminated orange card and complete steps 10 to 12. | |
| 12- Use the laminated orange card and complete step 13. Assign the 2 FLEX pushbuttons pins number 28 and 29 to start the drill. Assign 2 flex switches to simulate the cover sensor and the part clamped sensor. | |
 | |
| 13- Use the laminated orange card and complete steps 14 to 17. | |
14- To test the drill machine you need try all 16 switch combinations and place a check mark beside each table entry in Figure 7-20. Complete the system test now. - Once all 16 conditions have been tested then you need to answer the questions on page 114. - Tear out page 114 and place both your names at the top of the page. Demonstrate the operation of the drill machine system and get a signature. Bring these files back to the lab next week. | |
| 15- Remember to always exit the "Max-Plus II" program before logging off the computer otherwise you may corrupt the design files. These files will be needed next week to complete Lab 8. | |