Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Discussion "Async Reset"

 
Thread Tools Search this Thread
Old 10-25-2004, 12:18 PM   #1
Default Discussion "Async Reset"


Hi @ all,

I have read the discussion "Async Reset".

There it has been mentioned that it is one possibility to
synchronize an asynchronous reset so that all flip flops in
the FPGA are resetted within the same clock period.

Using this synchronized reset
can I still write the process like that:


process(Sync_reset, Clk)
begin
if Sync_reset='1' then
...
elsif rising_edge(Clk) then
...
end if;

end process;

or does it make more sense to write it like that:

process(Sync_reset, CLk)
begin
if rising_edge(Clk) then
if Sync_reset='1' then
...
else
...
end if;
end if;
end process;

I would be very thankful for your opinion.

Rgds
André


ALuPin
  Reply With Quote
Old 10-25-2004, 12:52 PM   #2
Element Blue
 
Posts: n/a
Default Re: Discussion "Async Reset"


On Mon, 25 Oct 2004, ALuPin wrote:

> Hi @ all,
>
> I have read the discussion "Async Reset".
>
> There it has been mentioned that it is one possibility to
> synchronize an asynchronous reset so that all flip flops in
> the FPGA are resetted within the same clock period.
>
> Using this synchronized reset
> can I still write the process like that:
>
>
> process(Sync_reset, Clk)
> begin
> if Sync_reset='1' then
> ...
> elsif rising_edge(Clk) then
> ...
> end if;
>
> end process;
>
> or does it make more sense to write it like that:
>
> process(Sync_reset, CLk)
> begin
> if rising_edge(Clk) then
> if Sync_reset='1' then
> ...
> else
> ...
> end if;
> end if;
> end process;
>
> I would be very thankful for your opinion.


The latter is a synchronous reset,i.e,FFs will reset ON the clock edge.
The former is asynchronous reset,which can be synchronized to the clock
edge to reset all FFs within a clock period,and to avoid setup/hold
conditions which arise when a async reset goes active "close" to clock
edge.So,if the reset signal is being syncronized to the clock externally,
both processes will work ok,else only the second process guarantees a
synchronous reset (which will reset FFs within the cycle).In the first
process,the reset happens whenever the Sync_reset goes high, and you
should ensure that it doesnt happen close to clock edge.
Hope that helps,
EB.

>
> Rgds
> André
>



Element Blue
  Reply With Quote
Old 10-27-2004, 05:03 AM   #3
Raghavendra
 
Posts: n/a
Default Re: Discussion "Async Reset"
(ALuPin) wrote in message news:<. com>...
> Hi @ all,
>
> I have read the discussion "Async Reset".
>
> There it has been mentioned that it is one possibility to
> synchronize an asynchronous reset so that all flip flops in
> the FPGA are resetted within the same clock period.
>
> Using this synchronized reset
> can I still write the process like that:
>
>
> process(Sync_reset, Clk)
> begin
> if Sync_reset='1' then
> ...
> elsif rising_edge(Clk) then
> ...
> end if;
>
> end process;
>
> or does it make more sense to write it like that:
>
> process(Sync_reset, CLk)
> begin
> if rising_edge(Clk) then
> if Sync_reset='1' then
> ...
> else
> ...
> end if;
> end if;
> end process;
>
> I would be very thankful for your opinion.
>
> Rgds
> André


HI,
To avoid problems with asynchronous reset you can have asynchronous
reset assert and synchronous dessert using synchronizers.
Raghavendra.Sortur


Raghavendra
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
70-621 - Exam Discussion Joseph MCITP 8 04-01-2008 03:10 PM
What? No Looney Tunes discussion? Jordan Lund DVD Video 3 11-06-2004 07:22 AM
DVD VERDICT and GENRE ONLINE more discussion Lookingglass DVD Video 0 06-20-2004 02:29 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46