forza_inter
New Member
I'm designing a 4-bit calculator with two input and they ( the inputs) are in BCD then i convert them to Binary.
the problem is that after I get the output in binary I need to convert it in BCD.
the output in binary will be 8 digits in BCD unless it was less or equal to 9( for example 3*9=27 and 27 is 0010 0111 in BCD)
so that means I create another truth table for Binary-to-BCD with 8 outputs?!!!!! that doesn't make sense!
the problem is that after I get the output in binary I need to convert it in BCD.
the output in binary will be 8 digits in BCD unless it was less or equal to 9( for example 3*9=27 and 27 is 0010 0111 in BCD)
so that means I create another truth table for Binary-to-BCD with 8 outputs?!!!!! that doesn't make sense!