Hi, I am looking for a method to convert fix point values to BCD so that I can display the numbers on Spartan 3E LCD.
for example I have a 8 bit x register with the fix point value of 1.111 0000, 1.111 0000 represents 1.875 decimal value. So I am wondering if there is any algorithm that I can convert this fix point value into BCD and display the character 1 8 7 5 respectively.
So far what I can find is just converting integer representation of binary into BCD which is not exactly what I am looking for. Thanks in advance for anyone who can provide me with some help.