hey folks, i'm kind of new to this forum..
well i had a major problem in creating a vhdl program that decodes bcd to 7 segments
yes they do have tutorials on it but it onli applies to ONE BCD
i need 3 BCDs and 3 seven segments as i have 3 digits
eg: 1 1 7 revolution per min
so how do i program it in such a way that the value of each digit will be displayed in seven segment?
here is how my program should work...
i already made a bcd counter that counts from 1 to 99
so for example it stops at 12.
counta := 2 --least significant bit
countb := 1 -- most significant bit.
so i use a adder and i combine them together as twelve
sum <= countb&counta;
so it will be the digit 12 = 0001 0010
i had to do a multiplyer by six.. but that is another problemm
but i know that my value will be in 3 BCD
for example
1 0 1 rpm
so yup yup i do hope someone can help me out in this.. its been a real headache and i hope you all understand what i'm trying to say
i'm willing to show peeps the program i partially did .. thanks a bunch
urgent...
yours sincerely,
musicgal
well i had a major problem in creating a vhdl program that decodes bcd to 7 segments
yes they do have tutorials on it but it onli applies to ONE BCD
i need 3 BCDs and 3 seven segments as i have 3 digits
eg: 1 1 7 revolution per min
so how do i program it in such a way that the value of each digit will be displayed in seven segment?
here is how my program should work...
i already made a bcd counter that counts from 1 to 99
so for example it stops at 12.
counta := 2 --least significant bit
countb := 1 -- most significant bit.
so i use a adder and i combine them together as twelve
sum <= countb&counta;
so it will be the digit 12 = 0001 0010
i had to do a multiplyer by six.. but that is another problemm
but i know that my value will be in 3 BCD
for example
1 0 1 rpm
so yup yup i do hope someone can help me out in this.. its been a real headache and i hope you all understand what i'm trying to say
i'm willing to show peeps the program i partially did .. thanks a bunch
urgent...
yours sincerely,
musicgal
Last edited: