Fpga Seven-Segment-Display by Using Altera De2-115 Board With Practice and Implementation
Fpga Seven-Segment-Display by Using Altera De2-115 Board With Practice and Implementation
.
Figure: 2 Block Diagram
2.1 Board Diagram:
Figure: 4
Then click on “Next” buttonas shown in Figure.5.
Figure: 5
After this we will be on this page. click on option ”1” for select the directory of your project where you want to
save your project then click on “Next” button “2” as shown in Figure.6.
Figure: 6
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[2251]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
Volume:03/Issue:05/May-2021 Impact Factor- 5.354 www.irjmets.com
Select the cyclone family “Cyclone IV” and Device chip Number “EP4CE115F29C7”of your Alter DE2-115
Board as shown in Figure.7.
Figure: 7
Open “File” option and create a new “Verilog File” as shown in Figure.8.
Figure: 8
Create Verilog file with the name of “hexdigit” as shown in Figure.8 or any other name whatever you want to
write code manually in C++ for derive the logic functions required for the Seven-Segment Display from (0 - 9)
and specify each logic function as a Boolean expression as shown in Figure.9.
Figure: 9
Now Create another Verilog file with the name of “myproject” or any other name as you want and write main
calling function for the Verilog file “hexdigit” as show in Figure.9 for the display of Seven-Segment Display by
Figure: 10
At the end clicks on “Start Compile” button from the upper menu bar as shown in Figure.11.
Figure: 11
When Compilation process done then open “Modelsim” Software and create new a project imports both files
that we already have done with the name of “hexdigit” and “myproject” in my case to display decimal numbers
from (0 to 9) to check the output of Seven-Segment Display as shown in Figure.12.
Figure: 12
Now press the “Start Simulation” button from the upper menu bar options. Now enter input by using SW [3-0]
“0010” and by using SW [7-4] “0110” as shown in Figure.13.
Figure: 13
Now press the “Run” button from the upper menu bar options and you will see the output of SW [3-0], SW [7-4]
on HEX [0] and HEX [1]as shown in Figure.14.
III. RESULTS AND DISCUSSION
The purpose of this paper to learn how to use switches as input and get output by using HEX [0] and HEX [1]
LCDs on Altera DE2-115 Board FPGA Devices. TheFigure.14 had shown the output of Hex [0] and Hex [1].The
simulation result shows the output for the Seven-Segments Display unit which have been generated by using
“Modelsim” tool.