Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part V Consider the circuit shown in Figure 7. It uses a two-bit wide 4-to-1 multiplexer to enable the section characters that are displayed on
Part V Consider the circuit shown in Figure 7. It uses a two-bit wide 4-to-1 multiplexer to enable the section characters that are displayed on a 7-segment display. Using the 7-segment decoder from Part this circuit can display the characters d, E, 0, 1, 2, or "blank' depending on your DE-series board. The character codes are set according to Table 2 by using the switches SW1-0, and a specific character is selected for display by setting the switches SW9-8- An outline of the VHDL code that represents this circuit is provided in Figure 8. Note that we have used the circuits from Parts III and IV as subcircuits in this code. You are to extend the code in Figure 8 so that it uses four 7-segment displays rather than just one. You will need to use four instances of each of the subcircuits. The purpose of your circuit is to display any word on the three 7-segment displays that is composed of the characters in Table 2, and be able to rotate this word in a circular fashion across the displays when the switches SW9-B are toggled. As an example, if the displayed word is dE10, then your circuit should produce the output patterns illustrated in Table 3. SW, SW SW,-6 + SW-4 7-segment decoder SW, 2 SW,- 0 Figure 7: A circuit that can select and display one of four characters. SW,-8 00 01 Characters d E 1 0 E 10 d 10 d E 0 d E 1 Table 3: Rotating the word dE10 on four displays. Perform the following steps. 1. Create a new Quartus project for your circuit. 2. Include your VHDL entity in the Quartus project. Connect the switches SW9-8 to the select inputs of each of the three instances of the two-bit wide 3-to-1 multiplexers. Also connect SW3-0 to each instance of the multiplexers as required to produce the patterns of characters shown in Table 2. Connect the SW switches to the red lights LEDR, and connect the outputs of the three multiplexers to the 7-segment displays HEX2, HEX1, and HEXO. 3. Include the required pin assignments for your DE-series board for all switches, LEDs, and 7-segment dis- plays. Compile the project. 4. Download the compiled circuit into the FPGA chip. Test the functionality of the circuit by setting the proper character codes on the switches SW n and then toggling SW, -8 to observe the rotation of the characters. Part VI extend your design from Part V so that is uses all 7-segment displays on your DE-series board. Your circuit needs to display a three- or four-letter word, corresponding to Table 2, using 'blank' characters for unused displays. Implement rotation of this word from right-to-left as indicated in Table 4 and Table 5. To do this, you will need to connect 6-to-1 multiplexers to each of six 7-segment display decoders for the DE10-Lite, DEO-CV and DEI-SOC. Note that for the DETO-Lite you will need to use 3-bit codes for your characters, because five characters are needed when including the 'blank' character (your 7-segment decoder will have to use 3-bit codes, and you will need to use 3-bit wide 6-to-1 multiplexers). For the DE2-115, you will need to connect 8-to-1 multiplexers to each of the eight 7-segment display decoders. You will need to use three select lines for each of the multiplexers: connect the select lines to switches SW,-7. In your VHDL code connect constants to the 6-to-1 (or 8-to-1) multiplexers that select each character, because there are not enough SW switches. SW-7 | Character pattern 000 de 10 001 d E 10 010 d E 1 0 011 E 10d 100 10 d E 101 O d E 1 Table 4: Rotating the word dE10 on six displays. 2 d E E 2 d E SW,-7 Character pattern 000 001 d 010 011 d E 2 de 2 101 d E 2 110 E 2 1112 2 100 d E Table 5: Rotating the word dE2 on eight displays. Perform the following steps: 1. Create a new Quartus project for your circuit. 2. Include your VHDL entity in the Quartus project. Connect the switches SW,-7 to the select inputs of each instance of the multiplexers in your circuit. Connect constants in your VHDL code to the multiplexers as required to produce the patterns of characters shown in Table 4 or Table 5 depending on your DE-series board. Connect the outputs of your multiplexers to the 7-segment displays HEX5, ..., HEXO of the DE 10- Lite, DEO-CV and DE 1-SoC or HEX7, ..., HEXO for the DE2-115. 3. Include the required pin assignments for your DE-series board for all switches, LEDs, and 7-segment dis- plays. Compile the project. 4. Download the compiled circuit into the FPGA chip. Test the functionality of the circuit by toggling SW3-7 to observe the rotation of the characters. Part V Consider the circuit shown in Figure 7. It uses a two-bit wide 4-to-1 multiplexer to enable the section characters that are displayed on a 7-segment display. Using the 7-segment decoder from Part this circuit can display the characters d, E, 0, 1, 2, or "blank' depending on your DE-series board. The character codes are set according to Table 2 by using the switches SW1-0, and a specific character is selected for display by setting the switches SW9-8- An outline of the VHDL code that represents this circuit is provided in Figure 8. Note that we have used the circuits from Parts III and IV as subcircuits in this code. You are to extend the code in Figure 8 so that it uses four 7-segment displays rather than just one. You will need to use four instances of each of the subcircuits. The purpose of your circuit is to display any word on the three 7-segment displays that is composed of the characters in Table 2, and be able to rotate this word in a circular fashion across the displays when the switches SW9-B are toggled. As an example, if the displayed word is dE10, then your circuit should produce the output patterns illustrated in Table 3. SW, SW SW,-6 + SW-4 7-segment decoder SW, 2 SW,- 0 Figure 7: A circuit that can select and display one of four characters. SW,-8 00 01 Characters d E 1 0 E 10 d 10 d E 0 d E 1 Table 3: Rotating the word dE10 on four displays. Perform the following steps. 1. Create a new Quartus project for your circuit. 2. Include your VHDL entity in the Quartus project. Connect the switches SW9-8 to the select inputs of each of the three instances of the two-bit wide 3-to-1 multiplexers. Also connect SW3-0 to each instance of the multiplexers as required to produce the patterns of characters shown in Table 2. Connect the SW switches to the red lights LEDR, and connect the outputs of the three multiplexers to the 7-segment displays HEX2, HEX1, and HEXO. 3. Include the required pin assignments for your DE-series board for all switches, LEDs, and 7-segment dis- plays. Compile the project. 4. Download the compiled circuit into the FPGA chip. Test the functionality of the circuit by setting the proper character codes on the switches SW n and then toggling SW, -8 to observe the rotation of the characters. Part VI extend your design from Part V so that is uses all 7-segment displays on your DE-series board. Your circuit needs to display a three- or four-letter word, corresponding to Table 2, using 'blank' characters for unused displays. Implement rotation of this word from right-to-left as indicated in Table 4 and Table 5. To do this, you will need to connect 6-to-1 multiplexers to each of six 7-segment display decoders for the DE10-Lite, DEO-CV and DEI-SOC. Note that for the DETO-Lite you will need to use 3-bit codes for your characters, because five characters are needed when including the 'blank' character (your 7-segment decoder will have to use 3-bit codes, and you will need to use 3-bit wide 6-to-1 multiplexers). For the DE2-115, you will need to connect 8-to-1 multiplexers to each of the eight 7-segment display decoders. You will need to use three select lines for each of the multiplexers: connect the select lines to switches SW,-7. In your VHDL code connect constants to the 6-to-1 (or 8-to-1) multiplexers that select each character, because there are not enough SW switches. SW-7 | Character pattern 000 de 10 001 d E 10 010 d E 1 0 011 E 10d 100 10 d E 101 O d E 1 Table 4: Rotating the word dE10 on six displays. 2 d E E 2 d E SW,-7 Character pattern 000 001 d 010 011 d E 2 de 2 101 d E 2 110 E 2 1112 2 100 d E Table 5: Rotating the word dE2 on eight displays. Perform the following steps: 1. Create a new Quartus project for your circuit. 2. Include your VHDL entity in the Quartus project. Connect the switches SW,-7 to the select inputs of each instance of the multiplexers in your circuit. Connect constants in your VHDL code to the multiplexers as required to produce the patterns of characters shown in Table 4 or Table 5 depending on your DE-series board. Connect the outputs of your multiplexers to the 7-segment displays HEX5, ..., HEXO of the DE 10- Lite, DEO-CV and DE 1-SoC or HEX7, ..., HEXO for the DE2-115. 3. Include the required pin assignments for your DE-series board for all switches, LEDs, and 7-segment dis- plays. Compile the project. 4. Download the compiled circuit into the FPGA chip. Test the functionality of the circuit by toggling SW3-7 to observe the rotation of the characters
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started