View Single Post
  #3 (permalink)  
Old 10-20-2003, 10:10 AM
Vazquez
Guest
 
Posts: n/a
Default Re: Error Message when using process with wait-statement in testbench

Hi,
so how can I write a process (within a testbench!) for a reset signal
which should be
asynchronous?

Best regards
Andrés Vázquez
G&D

Mike Treseler <[email protected]> wrote in message news:<[email protected]>...
> Vazquez wrote:
>
> > process
> > begin
> > t_reset <= '1', '0' after 100 ns;
> > wait;
> > end process;
> >
> > I thought that is was a legal wait-statement when writing a testbench for functional
> > simulation.

>
> The problem is that the wait is unconditional.
> Even if the code were legal, you would never
> get past the first loop of the process at 0 nS.
>
> -- Mike Treseler

Reply With Quote