i am trying to convert Matlab code.Thanks it I can finde peaks in a signal. On the other hand, in VHDL We have an input each clk_period, but a can discard one in two if it was necessary. I am not able to see or use this code in VHDL. If I use a FSM I think that it takes longer to cycle through all states than it does for a new sample to arrive and restart the process. Can anyone help me? Thanks a lot!!
Abel B. wrote: > I am not able to see or use this code What does that code do? If you don't know that you must analyze it. > If I use a FSM I think that it takes longer to cycle through all states > than it does for a new sample to arrive and restart the process. As far as I see you will not need a FSM in hardware. Because there you don't get the data readily in an array, but instead one after each other as a continuous stream.
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.