Asynchronous / synchronous reset

Moderator (Company: Titel) #4364893
Alex R. wrote:
> What is the difference between these?
First: the name!

Second: the sync reset needs a (continous) clock to reset the actual 
value of a flipflop, the async reset resets a flipflop immediately.

Third: why do you ask? Whats the actual problem?
OP (Company: None) #4364935
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
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
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
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

A question of your own? This thread is over 10 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.