Home > Community > Forums > Custom IC Design > Pspice model errors in Virtuoso

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Pspice model errors in Virtuoso 

Last post Fri, Apr 11 2014 12:41 AM by Andrew Beckett. 9 replies.
Started by Politekniko 17 Jan 2014 03:06 PM. Topic has 9 replies and 4147 views
Page 1 of 1 (10 items)
Sort Posts:
  • Fri, Jan 17 2014 3:06 PM

    • Politekniko
    • Not Ranked
    • Joined on Fri, Jan 17 2014
    • Davis, CA
    • Posts 5
    • Points 100
    Pspice model errors in Virtuoso Reply

     Hi Guys

    I am trying to simulate MAX9643U and EL7202 (using their Pspice models) as a part of my design, in Virtuoso. While I have reviewed many similar problems and solutions in this informative website, I still can not overcome the errors.

    1) MAX9643U
    (the model is available here:
    http://www.maximintegrated.com/design/tools/modeling-simulation/spice/current-sense-amps/orcad/MAX9643U.LIB)

    The problem points to the line:

    Fi+ RS+ GND VALUE={-I(Vi+)+20.02u}

    I read in one of the posts that I have replace {} by ''. but the error still exists and says:
    "Expected 1 controlling voltage sources, but found 0"

    2) EL7202
    (the model is available here:
    http://www.intersil.com/content/dam/Intersil/documents/el72/el7202.txt)

    The problem (I guess) is related to the lines below:

    .model spmod vswitch ron=3 roff=2meg von=1 voff=1.5
    .model snmod vswitch ron=4 roff=2meg von=3 voff=2
    e1 out vss table {(v(inp)-v(inm))*5000} = (0,0) (3.2,3.2)

    and  the error says:
    "Error (CMI-2078): I1016.sn: Required parameter 'file' is missing"
    "Error (CMI-2078): I1016.sp: Required parameter 'file' is missing"

     

    Any comment is highly appreciated, in advance
    Politekniko

    • Post Points: 20
  • Tue, Jan 21 2014 3:03 AM

    Re: Pspice model errors in Virtuoso Reply

    I tried both those examples usign the new pspice_include statement that's in MMSIM13.1 and both parse with no issues.

    In IC616 (recent ISRs) there's now a pspice_include on the setup environment form in ADE, but if using an older version, create a file called (say) includePspice.scs containing pspice_include "MAX9643U.LIB" (for example). See "spectre -h pspice_include" for more details.

    Regards,

    Andrew.

    • Post Points: 35
  • Tue, Jan 28 2014 5:39 PM

    • Politekniko
    • Not Ranked
    • Joined on Fri, Jan 17 2014
    • Davis, CA
    • Posts 5
    • Points 100
    Re: Pspice model errors in Virtuoso Reply

     Dear Andrew

     Hi and thanks a lot for your kind guidance.
     Could you please tell me how I can Analyze (or Calculate) the overall Efficiency of a circuit, including Op-Amps, FETs, Comparator, ... in Cadence Virtuoso? Is there such simulation in this design environement?

     Thanks a lot, in advance.

    • Post Points: 35
  • Tue, Jan 28 2014 6:25 PM

    Re: Pspice model errors in Virtuoso Reply

    It probably depends on what you mean by "Efficiency"...

    Andrew.

    • Post Points: 5
  • Tue, Jan 28 2014 7:04 PM

    • Tawna
    • Top 25 Contributor
    • Joined on Fri, Jul 11 2008
    • Snohomish, WA
    • Posts 216
    • Points 5,720
    Re: Pspice model errors in Virtuoso Reply

    If you are talking about PSS analysis (periodic steady state analysis), there is a way to calculate PAE (power added efficiency). 

    Article 1837740 Power Added Efficiency Calculation after PSS simulation

    http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=1837740

     

    There is an equation in this reference which shows the equation for efficiency, when defined as "The efficiency, η of the circuit is the proportion of all the energy dissipated in the circuit that is dissipated in the load."   You can create a calculator expression for this.

     

    As Andrew mentioned...there are different types of efficiency.  A clearer problem description will likely give you better answers.  :-)

     

    best regards,

    Tawna

     

    Best regards, Tawna Wilsey Staff Support AE, Global Customer Support Cadence Design Systems, Inc.
    • Post Points: 20
  • Tue, Jan 28 2014 8:39 PM

    • Politekniko
    • Not Ranked
    • Joined on Fri, Jan 17 2014
    • Davis, CA
    • Posts 5
    • Points 100
    Re: Pspice model errors in Virtuoso Reply

    Dear Andrew and Tawna

    Thanks a lot for your both helps. I really appreciate it.
    Actually, my design is an Envelope Modulator for Envelope Tracking Power Amplifier. To find the overall efficiency of PA, we need to know the efficiency of the Envelope Modulator (Am I right?). Because of that, I am looking for a way to analyze / calculate this efficiency.
    Besides, in many relevant papers, I see they analyze the Efficiency of the Envelope Modulator. So, in this way, there should be a global definition for that.

    So, with my explained case, do you have any more guide?
    Thanks a lot, again 

    • Post Points: 5
  • Thu, Apr 10 2014 12:04 PM

    • afuno
    • Not Ranked
    • Joined on Thu, Apr 10 2014
    • Posts 3
    • Points 60
    Re: Pspice model errors in Virtuoso Reply

    Dear Andrew 

     Thank you for the link. However, I haven't got the point...

    If I couldn't find "pspice_include" on the setup>environment in ADE, my version isn't IC616, right?

    Alternatively, I made the following way. But it doesn't work. 

     

     1) Create a file called "pspice.scs" which constains the statement as the following. In the Model Libraries in ADE, this file has been included.

    pspice_include "mos.lib" 

    2) Prepre a file "mos.lib"  which contains the model in PSPICE format.

     

    Unfortunately I wasn't able to find any information about "spectre -h pspice_include" for more details.

    Where am I supposed to find this information? 

    • Post Points: 20
  • Thu, Apr 10 2014 1:15 PM

    Re: Pspice model errors in Virtuoso Reply

    You need to be using MMSIM13.1 to be able to use pspice_include. Check what "spectre -W" returns - unless it's a 13.1 version, "spectre -h pspice_include" won't work as it is not in the simulator. 

    Regards,

    Andrew 

    • Post Points: 20
  • Thu, Apr 10 2014 11:53 PM

    • afuno
    • Not Ranked
    • Joined on Thu, Apr 10 2014
    • Posts 3
    • Points 60
    Re: Pspice model errors in Virtuoso Reply

     Dear Andrew

    Thank you, again. Unfortunately, I couldn't use MMSIM13.1 because it seems really new.

    "pspice_include" is also available in MMSIM12.11?

    I would like to ask you about this because you mentioned in the 1st message of this page, which is also shown as the following, that there is a way to use "pspice_include" in an older version.

    In IC616 (recent ISRs) there's now a pspice_include on the setup environment form in ADE, but if using an older version, create a file called (say) includePspice.scs containing pspice_include "MAX9643U.LIB" (for example).

    Current version in my instition is MMSIM10.11, where I couldn't use "pspice_include". But it can be upgrade up to MMSIM12.11. If I knew "pspice_include" was available in MMSIM 12.11, I will ask my colleague to upgrade to this version.

    Best regards, 

    • Post Points: 20
  • Fri, Apr 11 2014 12:41 AM

    Re: Pspice model errors in Virtuoso Reply

    Yes, but in the same post that you reference, I also said "I tried both those examples usign the new pspice_include statement that's in MMSIM13.1".

    However, upon checking, this has also been backported to MMSIM12.1 ISRs from around the same time as MMSIM13.1. MMSIM131 was released in October 2013 (so I wouldn't call that "really new"), but it's also in MMSIM121 ISR13 onwards:

    UNIX> spectre -W
    sub-version  12.1.1.115.isr13

    That's not the MMSIM12.1.1 update release - but a hotfix based on the 12.1.1 update release. This build is dated 27th August 2013.

    Regards,

    Andrew.

    • Post Points: 5
Page 1 of 1 (10 items)
Sort Posts:
Started by Politekniko at 17 Jan 2014 03:06 PM. Topic has 9 replies.