...sorry to all...
so sorry to trouble all of you who has read this...
okok i try to explain clearer,
for example i am doing a heart rate counter.
for your information, i'm using cpld .
using xilinx, i have to create a program which counts a number of pulses within a certain time eg : 12 heartbeats within 10 secs, afterwhich i have to multiply them by 6 to get it in beats per min, which is 60 beats per min.
as explained earlier, if i have 12 heartbeats within 10 secs,
counta := 1 -- most significant beat
countb := 2 -- least significant beat
actually just to inform you all, it doesnt have to be exactly 10, it could be 6 secs, or other different timing as we are using 555 timer,
i didnt intend to combine them together, but i have no clue how to multiply
them when they are seperated.
whereas for bcd to 7 segment display... maybe i will just seperate them as you all adviced, and just add more case count for each digit... *i suppose*
i hope my explanation is quite detailed enough and i realli wish you all can help me...
my main problem is actually multiplying to get the final answer.