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...
SyafieqS
Super Contributor
5 years agoHi Javier,
I found an example related to Implementation of a 4-bit Adder with
7-segment HDL decoder using VHDL in the link below. Probably can give you some ideas. Most of time, decoder is used for seven segment display and in case you work with VHDL, you can use the "WITH-SELECT-WHEN".
http://www.pldworld.com/_hdl/2/-seas.upenn.edu/_ese201/lab/Lab4bAddDec/Lab4bAddDecF01.html
Thanks,
Regards