Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Simulation warning in Modelsim

Reply
Thread Tools

Simulation warning in Modelsim

 
 
Naimesh Thakkar
Guest
Posts: n/a
 
      09-16-2004
Hello

I am getting following warning during simulation in ModelSim


* Warning: *DFE3C RECOVERY High VIOLATION ON CLR WITH RESPECT TO CLK;


# Expected := 1 ns; Observed := 0 ns; At : 61005 ns
# Time: 61005 ns Iteration: 1

Can any one tell what is RECOVERY High VIOLATION.
Thank for any help


Naimesh

 
Reply With Quote
 
 
 
 
Allan Herriman
Guest
Posts: n/a
 
      09-16-2004
On 16 Sep 2004 03:30:45 -0700, "Naimesh Thakkar"
<(E-Mail Removed)> wrote:

>Hello
>
>I am getting following warning during simulation in ModelSim
>
>
>* Warning: *DFE3C RECOVERY High VIOLATION ON CLR WITH RESPECT TO CLK;
>
>
># Expected := 1 ns; Observed := 0 ns; At : 61005 ns
># Time: 61005 ns Iteration: 1
>
>Can any one tell what is RECOVERY High VIOLATION.
>Thank for any help


Didn't you ask this same question in comp.arch.fpga recently?


Inputs to a ff must be stable just before until just after the active
edge of the clock for reliable operation.

You seem to have a transition on the async reset input at about the
same time as the active transition on the clock.

Moral: avoid using async reset inputs on ffs as a means of
implementing logic functions.

Regards,
Allan
 
Reply With Quote
 
 
 
 
Martin Bishop
Guest
Posts: n/a
 
      09-16-2004
Naimesh

You haven't specified your device or the details of your toolset (i.e.
simulation libraries).

However, I presume you're running a VITAL simulation.

If the documentation doesn't help, you should read the source for the VITAL
model to identify which timing check has been violated; enjoy the spaghetti
code.

A work-around approach to this issue is to control the relationship between
Reset and the active clock edge in the Testbench; e.g.
wait until falling_edge(Clk); -- sync to inactive clock edge
Reset_n <= '0'; -- release reset
Note that at 12" to the foot, you will get recovery time violations ...

If you read the following threads, in comp.lang.vhdl, you will be
enlightened as to how to fix this issue at 12" to the foot:
-11 1552 Sep04 : Stefan Oedenkoven : Statemachine working on Xilinx ...
-29 14:16 Jul 04 : The Weiss Famly : Asynchronous signal problem

The second thread concrens the general problem of asynchronous signals, of
which asynchronous resets are a subset. If metastability and synchronisers
are news to you read up on them in the VHDL FAQ and using Google, and apply
the techniques to your designs.

HTH

Martin


"Naimesh Thakkar" <(E-Mail Removed)> wrote in message
news:cibq0l$(E-Mail Removed)...
> Hello
>
> I am getting following warning during simulation in ModelSim
>
>
> * Warning: *DFE3C RECOVERY High VIOLATION ON CLR WITH RESPECT TO CLK;
>
>
> # Expected := 1 ns; Observed := 0 ns; At : 61005 ns
> # Time: 61005 ns Iteration: 1
>
> Can any one tell what is RECOVERY High VIOLATION.
> Thank for any help
>
>
> Naimesh
>



 
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
Re: Simulation warning in Modelsim Naimesh Thakkar VHDL 0 09-16-2004 11:03 AM
error in modelsim simulation viswanath VHDL 4 04-25-2004 06:12 PM
EDK Modelsim Behavioral Simulation Error hansman VHDL 3 01-30-2004 09:05 AM
Modelsim/Matlab co-simulation Ouadid VHDL 7 12-18-2003 03:54 AM
VHDL Simulation in ModelSim Manfred Balik VHDL 0 07-15-2003 02:12 PM



Advertisments