Divider circuit

Status
Not open for further replies.

DigiJock

New Member
Hi everyone,

I am trying to calculate speed electronically by dividing distance(d) "always constant" by time(t) - variable, the output should be a 3-digit number with accuracy +/- 5%. The input parameters: time is a single BCD digit (4-bit), and distance is a 3-digit BCD number (12-bits).

I am not allowed to use any kind of PLD's, however, a hint was given to us; a counter should be used to count the number of times that (t) can be subtracted from (d) while the output is positive. In other words, I just need to know how to subtract t from d (and put it in a loop).

Please let me know if you have any ideas on how to approach this problem

Thank you
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…