User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
labs:intro_digital_systems [2019/01/03 19:13]
wirthlin
labs:intro_digital_systems [2020/05/11 08:05] (current)
nelson
Line 1: Line 1:
 ====== Introduction to Digital Systems ====== ====== Introduction to Digital Systems ======
  
-In this lab you will familiarize yourself with digital numbers, digital systems, and applications of digital systems by experimenting with the digital FPGA development board that you will use throughout the semester. ​You will also learn how to properly create and submit lab reports for the course. +In this lab you will familiarize yourself with digital numbers, digital systems, and applications of digital systems by experimenting with the digital FPGA development board that you will use throughout the semester.
 ===== Learning Outcomes ===== ===== Learning Outcomes =====
  
   * Become familiar with the lab FPGA board.   * Become familiar with the lab FPGA board.
   * Learn about simple logic equations, binary numbers, and applications of digital systems.   * Learn about simple logic equations, binary numbers, and applications of digital systems.
-  * Understand how to complete and submit lab reports. 
  
 ===== Preliminary ===== ===== Preliminary =====
  
   * You will need an active [[tutorials:​making_a_caedm_account|CAEDM account]] to log onto the computers in room 423 EB.   * You will need an active [[tutorials:​making_a_caedm_account|CAEDM account]] to log onto the computers in room 423 EB.
-  * You will need a set of headphones to listen to instruction videos and perform the lab exercises. (This will be needed for all future ​labs.)+  * You will need a set of headphones to listen to instruction videos and perform the lab exercises. (This will be needed for the next few labs.) 
 +  * You  will need a notebook to be used as your lab book to record what you do for each lab. You will need to show what you record in your lab book to a TA as part of the pass off procedure.
   * Carefully read through the [[tutorials:​laboratory_instructions|instructions for completing lab assignments]].   * Carefully read through the [[tutorials:​laboratory_instructions|instructions for completing lab assignments]].
- 
  
 ===== Exercises ===== ===== Exercises =====
Line 46: Line 44:
 It is a good idea to make an **ECEn220** folder in your J Drive, make a **labs** folder inside of that. You should also create a sub-directory for each lab in the course. You will be generating a lot of files for these labs and need to keep them separate. It is a good idea to make an **ECEn220** folder in your J Drive, make a **labs** folder inside of that. You should also create a sub-directory for each lab in the course. You will be generating a lot of files for these labs and need to keep them separate.
  
-**Note:** The answers to these questions ​in red must be included ​in your lab reportas explained [[tutorials:​laboratory_instructions|here]].\\+So, why is the text below in <​color ​red>​red</​color>? ​ You will be completing a lab writeup on Learning Suite. ​ Things ​in the labs are marked red to signal to you that those things are some of what will be asked for as you complete the lab writeup. ​ As you run across themyou should write the questions and answers in your lab notebook so when you go to complete the lab writeup you will have the information you need.
  
 <color red>​Indicate your CAEDM user ID.</​color>​\\ <color red>​Indicate your CAEDM user ID.</​color>​\\
Line 55: Line 53:
  
 <color red> How do you request help from TAs in the Digital lab? </​color>​\\ <color red> How do you request help from TAs in the Digital lab? </​color>​\\
 +
 +**Exercise 1 Pass-off:** No pass-off for exercise 1. Answer the above questions on Learning Suite.
 +
 +\\ \\
  
  
Line 97: Line 99:
 */ */
  
 +
 +**Exercise 2 Pass-off:** Summarize what the default program does, and explain what the two connecting cables do.\\ \\
  
 ==== Exercise #3 - Digital Logic and Binary Numbers ==== ==== Exercise #3 - Digital Logic and Binary Numbers ====
Line 102: Line 106:
 In this next exercise, you will configure the FPGA with a different circuit. To use and experiment with this new circuit, you need to load {{ :​labs:​nexys4byuuserdemo.bit |this configuration,​ or bit, file}} onto the FPGA. You will be loading bit files on the the FPGA for **every** lab each week. You will be creating your own bit files in future lab assignments from the circuits you design. In this next exercise, you will configure the FPGA with a different circuit. To use and experiment with this new circuit, you need to load {{ :​labs:​nexys4byuuserdemo.bit |this configuration,​ or bit, file}} onto the FPGA. You will be loading bit files on the the FPGA for **every** lab each week. You will be creating your own bit files in future lab assignments from the circuits you design.
  
-Follow [[tutorials:​downloading_to_the_nexys_4_using_adept|this tutorial]] to program the FPGA with the new bit file!+Follow [[tutorials:​downloading_bitfile|this tutorial]] to program the FPGA with the new bit file!
  
 The FPGA should now be acting differently in its behavior than when you first powered it on. The FPGA should now be acting differently in its behavior than when you first powered it on.
Line 112: Line 116:
 {{ labs:​eight_digit_seven_segment_display.png?​nolink&​300 | }} {{ labs:​eight_digit_seven_segment_display.png?​nolink&​300 | }}
  
-Press different buttons on the board to see what happens to this display.When none of the buttons are pressed, the display on the right-most digit is determined by the settings of the first four switches (SW3-SW0). Determine the value of the digit for all 16 combinations of switches SW3-SW0. ​<color red> Add the completed table below to your lab report</​color>​.+Press different buttons on the board to see what happens to this display.When none of the buttons are pressed, the display on the right-most digit is determined by the settings of the first four switches (SW3-SW0). ​<color red>Determine the value of the digit for all 16 combinations of switches SW3-SW0. </​color>​.
  
 ^ SW3 ^ SW2 ^ SW1 ^ SW0 ^ Digit ^ ^ SW3 ^ SW2 ^ SW1 ^ SW0 ^ Digit ^
Line 136: Line 140:
 === Tri-Color LEDs === === Tri-Color LEDs ===
  
-The NEXYS4 board also has two **tri-color LEDs** (labelled LD17 and LD 16 on the board). Each of these LEDs actually contains three LEDs one each for the colors red, green, and blue. Different colors can be made from different combinations of the colors. The color of both LEDs is determined by the values of SW6-SW4 (SW6 = Red, SW5 = Green, and SW4 = Blue). Determine the colors for all eight combinations of switches SW6-SW4 in the table below. ​<color red> Add your completed table below to your lab report</​color>​. Note that you don't have to be exact in your color description - just describe the color you see in your own words and the TAs will be able to match your description with the expected color.+The NEXYS4 board also has two **tri-color LEDs** (labelled LD17 and LD 16 on the board). Each of these LEDs actually contains three LEDs one each for the colors red, green, and blue. Different colors can be made from different combinations of the colors. The color of both LEDs is determined by the values of SW6-SW4 (SW6 = Red, SW5 = Green, and SW4 = Blue). ​<color red>Determine the colors for all eight combinations of switches SW6-SW4 in the table below. </​color>​
  
 ^ SW6 ^ SW5 ^ SW4 ^ LED Color ^ ^ SW6 ^ SW5 ^ SW4 ^ LED Color ^
Line 162: Line 166:
 | 1 | 1 | 0 |  | | | | | | 1 | 1 | 0 |  | | | | |
 | 1 | 1 | 1 |  | | | | | | 1 | 1 | 1 |  | | | | |
 +
 +
 +**Exercise 3 Pass-off:** Show the steps you need to take to program the board with a bit file and briefly summarize what your program does.\\ \\
  
 ==== Exercise #4 - VGA Display ==== ==== Exercise #4 - VGA Display ====
Line 171: Line 178:
   * [[tutorials:​changing_video_display|Selecting the Display Video Input]]   * [[tutorials:​changing_video_display|Selecting the Display Video Input]]
  
-<color red> Briefly describe the overall layout of the display you see generated by the NEXYS4.</​color>​ 
  
 === Accelerometer === === Accelerometer ===
Line 188: Line 194:
  
 <color red> Describe what happens to the waveform displayed on the screen when you talk into the microphone.</​color>​ <color red> Describe what happens to the waveform displayed on the screen when you talk into the microphone.</​color>​
 +
 +===== Final Pass Off =====
 +
 +To pass off your lab, show a TA the following:
 +
 +  * Show that you completed the pass-offs for Exercise 2 and 3.
 +  * Show the FPGA board operating with the configuration file given to you in this lab
 +  * Briefly describe the overall layout you see on the VGA display.
 +
 +<color red>How many hours did you work on the lab?</​color>​
 +
 +<color red>​Provide any suggestions for improving this lab in the future.</​color>​
  
 ===== Personal Exploration ===== ===== Personal Exploration =====
  
-As described in the [[tutorials:​laboratory_instructions]] tutorial,​you are required to do a simple personal exploration exercise for each lab. The intent is to have you learn more by doing something ​you are interested in and that is not required in the lab.  +As described in the [[tutorials:​laboratory_instructions]] tutorial, you are required to do a simple personal exploration exercise for some labs. The intent is to have you learn more by doing something ​additional.
-You probably have already done some personal exploration as you have completed the lab and are welcome to describe what you did in the lab report. To help you come up with personal exploration ideas, each lab assignment will provide some suggestions.+
  
-Here are a few suggestions of personal exploration activities for this lab:+Here are a few choices for personal exploration activities for this lab.  Choose one and do it and describe it in your lab book:
   * Configure the FPGA with the original configuration bit file by repowering the board. Describe what is shown on the VGA display with the original circuit and compare it with the display with the configuration file provided in this lab.   * Configure the FPGA with the original configuration bit file by repowering the board. Describe what is shown on the VGA display with the original circuit and compare it with the display with the configuration file provided in this lab.
   * View the temperature of the three different devices on the board and record their values. Discuss the differences in temperature. Why would the temperature on different parts be different?   * View the temperature of the three different devices on the board and record their values. Discuss the differences in temperature. Why would the temperature on different parts be different?
Line 203: Line 220:
  
 <color red>​Describe your personal exploration activities.</​color>​ <color red>​Describe your personal exploration activities.</​color>​
- 
-===== Pass Off ===== 
- 
-To pass off your lab, show a TA the following: 
- 
-  * Show your completed tables from Exercise #3 
-  * Show the FPGA board operating with the configuration file given to you in this lab 
- 
-Print the {{:​pass_off_sheet.pdf|Pass Off Sheet}} that you'll use for all labs in this class. Follow the [[tutorials:​printing_to_a_caedm_printer]] tutorial to print to the printer in the lab. Note that this is also linked in the sidebar to the left. 
- 
-<color red>How many hours did you work on the lab?</​color>​ 
- 
-<color red>​Provide any suggestions for improving this lab in the future.</​color>​ 
- 
-//​Don'​t forget to complete and submit your laboratory report//. Refer to [[tutorials:​laboratory_instructions#​lab_report|these instructions]] for submitting your laboratory report. 
  
 /* /*
Line 248: Line 250:
 ---- ----
 [[labs:​ta:​introduction|TA Notes and Feedback]] [[labs:​ta:​introduction|TA Notes and Feedback]]
 +
 +[[testingA]]