FSM with two clock?

Guest #2923932
Rate this post
• ▲ useful
▼ not useful
If you want to make your design work properly on a real target and if 
you are not really familiar with VHDL, constraining, clock domains etc 
you will run into big shit, if you try it this way..

Which clock rates do you intend to have on your design?
Moderator (Company: Titel) #2924047
Rate this post
• ▲ useful
▼ not useful
> i want to design FSM with to two clocks in vhdl.
Pls. show in a short sample code how this should work.
Do you know, how FSM are implemented on hardware?

> so my prosesing of program can be fast at input.
> slow at display output.
What is "input"?
What is "fast"?
What "display"?
What is "slow"?
What do you want to do?

> can u help me?
Not until much more details are known.
What is connected to "the FSM"?
What function must be implemented in "the FSM"?


All in all:
Usually if one has a problem and one does't find a almost similar 
solution, then one is on the wrong way. And I never saw a FSM with two 
clocks...
OP (Company: brawijaya university) #2924686
Rate this post
• ▲ useful
▼ not useful
clock input in FSM architecture divided by two..example one clock for 
10khz frequency and others 1hz frequency..so i can to select one of two 
clock for delaying display of 7 segment, cause if i use counter, i will 
count more value for looping ..like counter in microcontroller...
Guest #2924785
Rate this post
• ▲ useful
▼ not useful
If you want to "slow down" some functionality in your design you shall 
not divide the clock or worse: switch between different clocks!

You use a single system clock (fast) and you generate different slower 
enable-signals via counter derived form this system clock via counter an 
comparator.

With this enable-signals the slower functionality ist enabled (or 
disabled)

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.