Counter
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Counter

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA
Author Message
weddick
Guest





Posted: Thu Jan 06, 2005 4:46 am    Post subject: Counter Reply with quote

In my state machine I would like to add a counter which is used to increment and address each time through a certain state. Whats the best way to implement this? I've tried defining a signal but not sure where to initialize it. Do I add and init state to the state machine? or is there another way?

Thanks, Joel
Back to top
Falk Brunner
Guest





Posted: Thu Jan 06, 2005 10:07 pm    Post subject: Re: Counter Reply with quote

<weddick> schrieb im Newsbeitrag news:ee8aefa.-1@webx.sUN8CHnE...
Quote:
In my state machine I would like to add a counter which is used to
increment and address each time through a certain state. Whats the best way

to implement this? I've tried defining a signal but not sure where to
initialize it. Do I add and init state to the state machine? or is there
another way?

You can add an (a)synchronus reset to the state machine. But why not simply
trying? If the clock frequency ist too high, many differetn ways will work.

Regards
Falk
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> FPGA All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB