• 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. how to configure op label CDFof SPICE primitive?

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 126
  • Views 15203
  • 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

how to configure op label CDFof SPICE primitive?

archive
archive over 18 years ago

Ok, I've configured the CDF settings for several different varieties of cells, but I'm convinced that the simulation section of the CDF is still voodoo!

Background:

I am trying to install a very simple SPICE model for a generic diode to be used by Spectre.  I have created a symbol and a CDF.  Simulation results look correct, and I am able to view instance parameter data.  However, annotating DC-op point data yields nothing.  No errors - nothing.  The cdsParam() labels just disappear.

Here's the SPICE model (fairly vanilla stuff):

simulator lang=spice

.MODEL D1N4148 D
+IS=1e-13 RS=16 CJO=2e-12 VJ=1     BV=100.0
+M=0.5 N=1.0 TT=1.2e-8 EG=1.11 XTI=3 KF=0 AF=1 FC=0.5 IBV=1e-13 TNOM=27
Since this is a primitive, I did not think that I was required to enter opParamExprList or modelParamExprList for the spectre section of the CDF.  Attempts to use OP() and mappedInst() yield stack overflows, which makes sense to me.  Here's my current version of the Spectre section in the CDF:
spectre (
    nil
    modelParamExprList nil
    optParamExprList nil
    stringParameters nil
    propMapping nil
    opParamExprList nil
    otherParameters (model)
    instParameters (area m)
    termOrder (PLUS MINUS)
    termMapping (nil PLUS \:a MINUS "(FUNCTION minus(root(\"PLUS\")))")
)
And, here's the label display config:
(nil
    instNameType "schematic"
    instDisplayMode "instName"
    netNameType "schematic"
    termSimType "DC"
    termDisplayMode "voltage"
    paramSimType "DC"
    paramEvaluate (nil t nil nil nil nil)
    paramDisplayMode "parameter"
    modelLabelSet "is rs n"
    opPointLabelSet "id vd cj"
    paramLabelSet "-model area m"
)

Questions:

Why won't these opPoint and model parameters display?  What's wrong with my CDF/model?

How do I get a list of all the possible values for opPointLabelSet and modelLabelSet?  What if I want to display more than those I already have?  How would I know what's available?  Is there some listing in the simulation run directory that lists what opPoint and model parms are available for reporting and display?

BTW, the diode is simulating correctly, producing believable results.  Plus "annotate DC voltage" and "Direct Plot" of the terminal currents looks good too. So, I don't think this is a total failure.  There's something subtle here...

Also, I have a BJT that is simulating correctly without opParamExprList or modelParamExprList, so I don't think that's the problem.

Any suggestions?  Thanks!
 


Originally posted in cdnusers.org by m27315
  • Cancel
  • archive
    archive over 18 years ago

    partial answer to my own question...

    The DC opPoint data was not displaying, because I was not using any of the valid DC opPoint parameter names.  Using the "Results Browser" (schematic/ -> psf -> dcOpInfo-info -> myInstName -> (list of valid DC opPoint variables), I found the following valid list for the diode:

    • cap
    • capp
    • cd
    • gd
    • i
    • lx0
    • lx1
    • lx2
    • lx3
    • lx5
    • pwr
    • qd
    • region
    • res
    • resp
    • v
    Once I used these values to define the opPointLabelSet value in the Interpreted Labels Information, I was able to get DC opPoint labels.

    Apparently, you can use the ADE calculator tool to give you the same answer, if you cannot simulate.  (Click on the "OP" button and then an instance of the cell under question.  The cyclic field will list all the possible DC opPoint parameters.)

    Unfortunately, the calculator tells me that my instances have NO model parameters available for display:
    *WARNING* No MP parameters are available for myInstName.
    Is this a limitation of using SPICE models?  How can I display the model info?

    Thanks!


    Originally posted in cdnusers.org by m27315
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • eitheror
    eitheror over 16 years ago

    Can anyone point me to a tutorial of how to use SPICE models like this in spectre? I have a diode model already and just need to know what file to put it in and how to format it. I have a symbol already, so if its easy to use that with this SPICE model I could do that. Or if its easier to just create a new model from scratch that is fine.Thanks.

    • 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