Google Answers Logo
View Question
 
Q: Verilog (Car wheel sensor) Dividing speed by time taken to give distance ( No Answer,   0 Comments )
Question  
Subject: Verilog (Car wheel sensor) Dividing speed by time taken to give distance
Category: Computers > Programming
Asked by: earger_beaver-ga
List Price: $20.00
Posted: 03 Feb 2005 07:31 PST
Expires: 09 Feb 2005 10:14 PST
Question ID: 468095
I am creating a module in verlog to simulate a sensor on car wheel
which will count the number of wheel turns and therefore work out the
speed at which the car is travelling and the total distance is has
travelled.The sensor will be represented by a push button.I am trying
to MULTIPLY the number of turns of wheel by the wheel circum(fixed) to
get the distance travelled and then DIVIDE this by the time
taken(count of a clock divider running at a second). All these inputs
and reg values are binary and verilog wont let me use the operators *
and / for this. Will i have to use a divider/multiply module to
implement this or is there some sort of convert_to_integer shortcut?
Also some advice and sample code would help enormously and would be
rewarded,

Thanks
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy