Forum Discussion
KRose13
New Contributor
6 years agoHello, I am trying to convert BCD to Decimal on my DE10-Lite board. I want utilize all all six seven-segment displays but I'm don't know how to go about it. At the moment I can't seem to get two of seven-segments displays to work correctly.
module DE10_LITE_Default (SW,HEX1,HEX0); input [3:0]SW; output [6:0]HEX1,HEX0; wire z ; wire [3:0]y , m; wire [2:0]b; assign y = {1'b0,b}; //------------------------- // comparator compar1(...
KRose13
New Contributor
6 years agoHello Syafieq_Intel,
I can compile the code but once I have loaded to the DE10-Lite board my display is out.
display results below.
All switches off : HEX1 = 0 , HEX0 = Blank
SW2 switched on: HEX1 and HEX0=0
SW1 and SW2 switched on: HEX1= 0 and HEX0= E
SW0, SW1 and SW2 switched on: HEX1= 0 and HEX0=H
The BCD to decimal display is not functioning correctly and I think the code is to big but I'm not sure how to condense it.
I will need to utilize all six of seven segment display and perhaps using the LED's to indicate the Binary inputs.
Thanks
Kassy