Forum Discussion
Javo
New Contributor
5 years agoprogram for a calculator
Hello everyone, someone who can guide me to make the following code in vhdl; I need to do a 4-bit calculator (addition, subtraction, division and multiplication operations), the result sh...
sstrell
Super Contributor
5 years agoI don't think you're going to see folks here writing code for you.
For a seven-segment display, you need to write an encoder, usually a case statement (in a clocked process) or a selected signal assignment using WITH and SELECT (in a concurrent, non-clocked signal assignment), that enables the particular LED segments depending on the number you want to display.
Try writing the code and post it here for folks to check.