This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
labs:discrete_gates [2018/10/03 08:03] wirthlin [Preliminary] |
labs:discrete_gates [2019/07/12 22:26] (current) jgoeders [Exercise #3 - Powering and testing your circuit with the NEXYS 4] |
||
---|---|---|---|
Line 46: | Line 46: | ||
In this first exercise, you will design the Alarm Fan circuit using 7400 series gates. To begin this exercise, carefully read the [[tutorials:7400_series_logic]] tutorial. | In this first exercise, you will design the Alarm Fan circuit using 7400 series gates. To begin this exercise, carefully read the [[tutorials:7400_series_logic]] tutorial. | ||
- | Create a schematic drawing of your circuit for the fan alarm using 7400 ICs. You can create your schematic circuit diagram in one of three ways: | + | Create a schematic drawing of your circuit for the fan alarm using 7400 ICs. You can create your schematic circuit diagram in one of two ways: |
- | - You can draw your circuit diagram by hand and [[tutorials:using_the_caedm_scanner|scan it]] | + | - You can draw your circuit diagram by hand. |
- | - You can create a diagram electronically. You may want to use the following {{ :labs:three_7400_device_template.pptx |power point slide}} with the 7400 devices and use power point to wire up the circuit according to your design. You will need to generate an electronic version of your finalized schematic and include it in your laboratory report. | + | - You can create a diagram electronically. You may want to use the following {{ :labs:three_7400_device_template.pptx |power point slide}} with the 7400 devices and use power point to wire up the circuit according to your design. |
Your diagram must include each of the following: | Your diagram must include each of the following: | ||
Line 57: | Line 57: | ||
* Draw wires for the two primary outputs (F and A) and label them. | * Draw wires for the two primary outputs (F and A) and label them. | ||
* Draw wires between the various gates of the 7400 series devices to implement the correct logic equation. | * Draw wires between the various gates of the 7400 series devices to implement the correct logic equation. | ||
- | |||
- | <color red>Include a copy of your circuit diagram in your laboratory report.</color> | ||
The example below demonstrates a circuit diagram to give you an idea on what your circuit diagram might look like. The example below demonstrates a circuit diagram for a 7400 series schematic circuit that implements the function: ''Z = AB' + ABC'''. Note that you do not need to draw the internal gates. | The example below demonstrates a circuit diagram to give you an idea on what your circuit diagram might look like. The example below demonstrates a circuit diagram for a 7400 series schematic circuit that implements the function: ''Z = AB' + ABC'''. Note that you do not need to draw the internal gates. | ||
Line 65: | Line 63: | ||
{{ resources:gates_example.png?850&nolink |}} | {{ resources:gates_example.png?850&nolink |}} | ||
+ | **Exercise 1 Pass-off:** Show a TA your circuit diagram and explain how you know it is correct. \\ \\ | ||
==== Exercise #2 - Constructing Your Circuit on the Breadboard ==== | ==== Exercise #2 - Constructing Your Circuit on the Breadboard ==== | ||
Line 87: | Line 86: | ||
<color red>How many wires did you need to build your circuit?</color> Include **all** the wires you used in your count, including wires for powering the circuit, wires for the inputs and outputs, and wires between the 7400 series chips. | <color red>How many wires did you need to build your circuit?</color> Include **all** the wires you used in your count, including wires for powering the circuit, wires for the inputs and outputs, and wires between the 7400 series chips. | ||
- | ==== BEFORE PROCEEDING ==== | + | **Exercise 2 Pass-off:** Show a TA your circuit and have them check that it will not damage the board. Do not turn on the NEXYS 4 board until you have reviewed your circuit with a TA. It is relatively easy to damage the logic chips on the FPGA board if you hook up your logic circuit incorrectly. \\ \\ |
- | + | ||
- | **Call a TA to look over your circuit** to make sure it will not damage the board. Do not turn on the NEXYS 4 board until you have reviewed your circuit with a TA. It is relatively easy to damage the logic chips or the FPGA board if you hook up your logic circuit incorrectly. | + | |
==== Exercise #3 - Powering and testing your circuit with the NEXYS 4 ==== | ==== Exercise #3 - Powering and testing your circuit with the NEXYS 4 ==== | ||
Line 96: | Line 93: | ||
- Download the {{ resources:alarm_fan.bit |}} configuration bit file. | - Download the {{ resources:alarm_fan.bit |}} configuration bit file. | ||
- Turn the Nexys 4 board **on** (make sure there is no smoke or any other evidence of damage from the chips or wires before proceeding). | - Turn the Nexys 4 board **on** (make sure there is no smoke or any other evidence of damage from the chips or wires before proceeding). | ||
- | - Configure the FPGA board with the downloaded bit file using [[tutorials:downloading_to_the_nexys_4_using_adept|Adept]]. | + | - Configure the FPGA board with the downloaded bit file using [[tutorials:downloading_bitfile|Vivado]]. |
At this point, the FPGA board should provide the button inputs to your circuit and the LEDs will display the logic produced by your circuit. Test all input combinations to make sure your two functions (F and A) are producing the correct results. | At this point, the FPGA board should provide the button inputs to your circuit and the LEDs will display the logic produced by your circuit. Test all input combinations to make sure your two functions (F and A) are producing the correct results. | ||
Line 102: | Line 99: | ||
If their operation does not match the truth table given at the beginning of the lab, your circuit has a mistake! Turn off the NEXYS 4 and make changes as necessary. **Have a TA check your circuit each time before you turn the NEXYS 4 back on.** | If their operation does not match the truth table given at the beginning of the lab, your circuit has a mistake! Turn off the NEXYS 4 and make changes as necessary. **Have a TA check your circuit each time before you turn the NEXYS 4 back on.** | ||
- | When it operates correctly, <color red>take a picture of your circuit and include it in your report.</color> | + | ===== Final Pass Off ===== |
- | Now **pass off** your circuit with the TAs before you move on to the personal exploration section. You need your original circuit built for pass off. | + | The following are required for pass off: |
- | ===== Personal Exploration ===== | + | * Completed pass offs for Exercise 1 and 2. |
- | + | ||
- | Here are some ideas for personal exploration in this laboratory: | + | |
- | * Create a schematic drawing of a different logic circuit of your own choosing. | + | |
- | * Implement a different logic function using the logic gates available in the lab. | + | |
- | * Investigate different 7400 series devices and discuss the different gates that are available. | + | |
- | * Find and summarize an interesting project online that uses 7400 series chips (there are a variety of interesting YouTube videos of digital logic projects using 7400 series chips). | + | |
- | + | ||
- | <color red>Describe your personal exploration activities.</color> | + | |
- | + | ||
- | ===== Pass Off ===== | + | |
- | + | ||
- | The following are required for TA pass off: | + | |
- | + | ||
- | * The schematic drawing of your circuit. | + | |
* Your functioning circuit built on the breadboard. | * Your functioning circuit built on the breadboard. | ||
Line 131: | Line 114: | ||
<color red>Provide any suggestions for improving this lab in the future.</color> | <color red>Provide any suggestions for improving this lab in the future.</color> | ||
+ | ===== Personal Exploration ===== | ||
+ | |||
+ | Here are some ideas for personal exploration in this laboratory: | ||
+ | * Using the 7400 series diagram, create a schematic drawing for a different logic circuit of your own choosing. | ||
+ | * Implement a different logic function using the logic gates available in the lab. | ||
+ | * Investigate different 7400 series devices and discuss the different gates that are available. | ||
+ | * Find and summarize an interesting project online that uses 7400 series chips (there are a variety of interesting YouTube videos of digital logic projects using 7400 series chips). | ||
+ | |||
+ | <color red>Describe your personal exploration activities.</color> | ||
---- | ---- | ||
[[labs:ta:discrete_gates|TA Notes and Feedback]] | [[labs:ta:discrete_gates|TA Notes and Feedback]] |