Asynchronous / synchronous reset

OP (Company: None) #4364935
Rate this post
• ▲ useful
▼ not useful
Thank you, Lothar. So the sync reset will wait for a clock signal, then 
it will reset a device, and the other does it at once. Am I right?

Here is the problem as a whole. I'm trying to use a Matlab-generated FIR 
filter. It runs on higher speed, then the main clock, and it's higher 
speed is generated by PLL. That is because the filter is made 20x serial 
to reduce the number of multipliers on a rather small EP4CE6. The data 
won't feed correctly into it.
Moderator (Company: Titel) #4364981
Rate this post
• ▲ useful
▼ not useful
Alex R. wrote:
> Here is the problem as a whole.
And how does this relate to sync or async resets?

> It runs on higher speed
Any figure for that "high speed"?
For me it seems like a simple constraint or clock-domain-crossing 
problem. Or the FPGA is simply to slow to handle the speed...

> The data won't feed correctly into it.
But the simulation runs fine?
Guest #4365169
Rate this post
• ▲ useful
▼ not useful
Alex R. wrote:
> Thank you, Lothar. So the sync reset will wait for a clock signal, then
> it will reset a device, and the other does it at once. Am I right?

No, not at all. Nothing waits for the clock, the clock triggers 
everything. The asynchrounous reset does nothing at once, it takes some 
nanosecs for the FF and sometimes longer than setup and clock to output 
time as for the synchrous reset.
OP (Company: None) #4365545
Rate this post
• ▲ useful
▼ not useful
Is somebody familiar with Matlab HDL filters logic? They have reset and 
clock enable inputs.

How to initialize the filter properly?

Lothar M. wrote:
> Alex R. wrote:
>> Here is the problem as a whole.
> And how does this relate to sync or async resets?

That's what I need to know to imagine timing diagram for the device.

>> It runs on higher speed
> Any figure for that "high speed"?
> For me it seems like a simple constraint or clock-domain-crossing
> problem. Or the FPGA is simply to slow to handle the speed...

Maybe, this needs to be explored.

>
>> The data won't feed correctly into it.
> But the simulation runs fine?

Unfortunately, I test just "in vivo" so far.

out of the mist wrote:


> Alex R. wrote:
>> Thank you, Lothar. So the sync reset will wait for a clock signal, then
>> it will reset a device, and the other does it at once. Am I right?
>
> No, not at all. Nothing waits for the clock, the clock triggers
> everything. The asynchrounous reset does nothing at once, it takes some
> nanosecs for the FF and sometimes longer than setup and clock to output
> time as for the synchrous reset.

I don't quite follow you. Of course a small amount of time is necessary 
for this.

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.