• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Pspice model simulation in ADE XL

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 125
  • Views 11858
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Pspice model simulation in ADE XL

xiaocheng
xiaocheng over 4 years ago

Hi everyone,

I am trying to simulate a system in which one sub-circuit is Spectre model and another sub-circuit of Memrisistor is Pspice model. I have created a config file and used the simulator AMS to simulate this system. And I have referenced the Pspice model via the "PSpice Files" section of the Setup->Simulation Files in ADE.

A subset of the errors output by the simulator are as follows:

Fullscreen 2072.New Text Document.txt Download
-endlib
        ./cds_globals.vams
        -l ../psf/irun.log
        -spectre_args +mts
file: ./netlist.vams
DBMDmodel6_R_NL #(.blotz(1.3806e-23), .theta(300), .richard(1201600), .mcharge(9.1093e-31), .electronvolt(1.6022e-19), .echarge(1.6022e-19), .epsilon0(8.8542e-12), .scale(10), .area("(1e-06)**2*scale"), .schottkywidth(2.5e-09), .phis0ev(0.7), .phis0p("phis0ev*electronVolt"), .......
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
ncvlog: *E,UNDIDN (./netlist.vams,823|1119): 'area': undeclared identifier [12.5(IEEE)].

DBMDmodel6_R_NL #(.blotz(1.3806e-23), .theta(300), .richard(1201600), .mcharge(9.1093e-31), .electronvolt(1.6022e-19), .echarge(1.6022e-19), .epsilon0(8.8542e-12), .scale(10), .area("(1e-06)**2*scale"), .schottkywidth(2.5e-09), .phis0ev(0.7), .phis0p("phis0ev*electronVolt"), .phis1ev(0.9), .phis1p("phis1ev*electronVolt"), .n0(2.9), .n1(4.1), .conductivity(0.0004), .dec(2.5e-09), .phit0ev(2.8), .phit0p("phit0ev*electronVolt"), .dt0c(1.1e-09), .dt1c(1.23e-09), .phia0ev(0.68), .phia0p("phia0ev*electronVolt"), .phia1ev(0.95), .ucc(0.0001), .phia1p("phia1ev*electronVolt"), .....
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
ncvlog: *E,UNDIDN (./netlist.vams,823|1208): 'area': undeclared identifier [12.5(IEEE)].

errors: 2 warning: 0

Does anyone have any idea on how to simulate this system?

The Virtuoso version is IC6.1.8-64b.83, Spectre version is 18.1.0.077.

Thank you very much in advance,

Xiaocheng

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Hi Xiaocheng,

    Without seeing how you've set up this component, can't really comment. Something is a bit odd, because area appears to be being netlisted as a string, so it suggests that you haven't set parseAsNumber=yes and parseAsCEL=yes in the CDF for that component (the same for a few of the other parameters).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • xiaocheng
    xiaocheng over 4 years ago in reply to Andrew Beckett

    Hello Andrew,

    thank you very much for your help.

    By following your suggestion, I have set the parseAsNumber=yes and parseAsCEL=yes in the CDF for my component.

    Now in the ADE L window all variables of my component appear in the "Design Variables" section. However, all the values of variables are empty, see attached screenshot. Can the values be automatically loaded? or shall I add those values manually, for example, I set 'theta' as 300 in this plot?

    Thanks a lot for your help ,

    Xiaocheng

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • xiaocheng
    xiaocheng over 4 years ago in reply to Andrew Beckett

    Hello Andrew,

    thank you very much for your help.

    By following your suggestion, I have set the parseAsNumber=yes and parseAsCEL=yes in the CDF for my component.

    Now in the ADE L window all variables of my component appear in the "Design Variables" section. However, all the values of variables are empty, see attached screenshot. Can the values be automatically loaded? or shall I add those values manually, for example, I set 'theta' as 300 in this plot?

    Thanks a lot for your help ,

    Xiaocheng

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to xiaocheng

    If you set the variables in ADE L, and then do Variables->Copy to CellView, it will store the variable settings on the memristor_tb cell so that any time it is opened they will be set.

    It's not really clear what you want though here - I somehow doubt that these really need to be exposed variables since many of them are physical constants and cannot be changed.

    I suggest you speak with customer support so we can get a better idea of the exact form of your files and how you expect them to be used.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information