Introduction - If you have any usage issues, please Google them yourself
Write VHDL codes to show, on two 7-segment LEDs, the binary coded decimal (BCD) equivalence of the binary representation of the state of eight switches. Use a function to perform the specified task. Assume that the 7-segment LEDs are turned on with logic “1”s (7-segment LEDs with common cathodes).