hi friends

Thread Starter

jabar

Joined Oct 13, 2009
14
i have a big problem:
i want to use three 7-segment for my calculater.
but i wonder how to implement division algorithem.
e.g (2 3 4 /2 3) must be encoded to binary in order to implement commonplace algorithem.
what to do?
god bless all of u.
 

Thread Starter

jabar

Joined Oct 13, 2009
14
To devide 234/23 you can start a loop and subtract 23 from 234 and you will continue subtracting till the reminder is greater than or equal to 23. At the end of the process, the count is the quotient and the remainder is the remainder.(which could be anything from 0 to 22)

Alberto
thanks for your quick reply
but it must be done in binary set.
what can i do?
 

Thread Starter

jabar

Joined Oct 13, 2009
14
Transform the decimal value into binary and apply the same principle.

Alberto
look at me alberto
i know the principle very well
my problem is how to transform ?
i know how to transform e.g 7 to binary =111
but on 7segment e.g 456 is not 400+50+6 it is 4 5 6
you read 456
ok?
 

Thread Starter

jabar

Joined Oct 13, 2009
14
Seven segments is the final decoding to display the value! Can you please clearify what have you in mind to do?

Alberto
take it easy!
i have decided to implement project by FPGA.
can u guide me?
link?
e-book?
anything that u might think help me?
best regards
 
Top