The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> Problem on simulating VerilogA comparator model with PSS analysis https://designers-guide.org/forum/YaBB.pl?num=1408458006 Message started by AMSA on Aug 19th, 2014, 7:20am |
Title: Re: Problem on simulating VerilogA comparator model with PSS analysis Post by Ken Kundert on Aug 19th, 2014, 10:40am http://www.designers-guide.org/Analysis/hidden-state.pdf |
Title: Re: Problem on simulating VerilogA comparator model with PSS analysis Post by Ken Kundert on Aug 20th, 2014, 10:47am I recommend that you not post code using images. It makes it harder to quote the code, which is often needed to help you. You should change your model as follows: Code:
This will fix several problems in your model, one of which is the hidden state problem. The other problems are: 1. It would output the wrong value at the start of the simulation (before a threshold crossing occurs) 2. You should never pass a continuous signal (in this case either V(vdd) or V(vss)) through a transition function. -Ken |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |