Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > multiple asychronous resets

Reply
Thread Tools

multiple asychronous resets

 
 
Ruth
Guest
Posts: n/a
 
      06-26-2003
Hi,

Are there any problems with having more than one asynchronous reset? I
assumed that the synthesis tool just added an 'or' gate in front of the
reset on the FF, but I've ben told recently that this is not necessarily the
case and that it can cause problems. Can anyone shed any light on what
these might be please?

process (reset, clk, o_mreset)
begin
if (reset = '1') or (o_mreset = '1') then
dummy <= '0';
elsif rising_edge(slow_clk) then
if control = '1' then
dummy <= i_dummy;
end if;
end if;
end process;

Thanks

Ruth


 
Reply With Quote
 
 
 
 
Tim Hubberstey
Guest
Posts: n/a
 
      06-26-2003
Ruth wrote:
>
> Hi,
>
> Are there any problems with having more than one asynchronous reset? I
> assumed that the synthesis tool just added an 'or' gate in front of the
> reset on the FF, but I've ben told recently that this is not necessarily the
> case and that it can cause problems. Can anyone shed any light on what
> these might be please?
>
> process (reset, clk, o_mreset)
> begin
> if (reset = '1') or (o_mreset = '1') then
> dummy <= '0';
> elsif rising_edge(slow_clk) then
> if control = '1' then
> dummy <= i_dummy;
> end if;
> end if;
> end process;


The result of this depends on your target architecture.

If you're targeting an ASIC, you'll probably get exactly what you
expect.

However, FPGAs can be quite different. Xilinx (and other) FPGAs have a
global reset net that is routed directly to all FFs. However, if you use
*any* logic on the reset line, other than inversions, the synthesis
tools will kick all resets off the global net and onto regular routing
resources. There are Xilinx app notes and/or answer records that discuss
this. Xilinx recommends against using the dedicated reset net in bigger
parts due to timing issues but in many designs this is not an issue and
it does save routing resources.

This is really an implementation issue not a VHDL issue and you should
ask in comp.arch.fpga instead.
--
Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer
Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems
Vancouver, BC, Canada . . . . . . . . . . . http://www.marmot-eng.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Asychronous server socket problem cmrhema ASP .Net 0 08-07-2008 12:27 PM
Asychronous execution *with* return codes? utabintarbo Python 8 10-11-2006 11:49 AM
how to use asychronous calls SenthilVel ASP .Net 0 05-15-2006 02:10 PM
Problem with Asychronous Web Service Callback Frank Mamone ASP .Net 2 09-14-2004 01:39 PM
asychronous sram read and write yali VHDL 2 08-31-2004 05:11 AM



Advertisments