• 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. Referencing a model, not a model instance

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 125
  • Views 19470
  • 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

Referencing a model, not a model instance

itos
itos over 8 years ago

Hello,

I found the post about disabling flicker noise with alter in this forum and I got it working:

turnOffFlicker1 alter mod=N15.xmmaster.lvtnfetacc param=nfalw value=0
turnOffFlicker2 alter mod=N15.xmmaster.lvtnfetacc param=nfblw value=0
turnOffFlicker3 alter mod=N15.xmmaster.lvtnfetacc param=nfclw value=0

If I reference the model (i.e. lvtnfetacc and masterlvtnfet from the model files) I get:

ERROR (SFE-1997): "disable_flicker.scs" 6: turnOffFlicker4: parameter `mod': Invalid model name `lvtnfetacc' was given as value of parameter `mod'.

I tried all possible variations. Unfortunately the model files are so nested that I don't know what's going on. Generally there is a subckt for "lvtnfet" which instantiates instance xmmaster of lvtnfetacc. lvtnfetacc itself is a subckt which instantiates m1. m1 is a reference to the model lvtnfetacc of type utsoi which has the parameter nfalw etc:

sub

Please help me to set nfalw to zero globally without listing all instances.

Also, is it possible to list multiple mod/param/value pairs at once so that I do not need to create thousands of turnOffFlickerXX lines that go up to 1000?

Thank you!

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

    OK, a couple of things here. First, the reporting of noiseoff_type in the log file. This is not the friendliest reporting in the log file, but the way that all options in spectre which have names as option values work is that they're all actually enumerated. So if I look at "spectre -h options" for this option:

    33 noiseoff_type=all
    The noiseoff_type defines the noise sources which are
    disabled by the noiseon/off_inst option. The default
    value is all. Possible values are thermal, flicker,
    shot, ign, and all.

    This means that thermal=0, flicker=1, shot=2, ign=3 and all=4. It will report these numbers - just a single number if one is selected; if more than one is selected it will show (say) [0 1] to indicate that thermal and flicker has been selected. 

    There's a (strong) argument to say we should report this better using the words corresponding to the choices. You could (for example) specify these options as numbers, but the words are much more friendly.

    As for the flicker noise not working, I just tested this (with MMSIM15.1 ISR10) using bsim4 models, and I could disable flicker noise for my subckt (so it doesn't just have to be a leaf instance) and also thermal (I tried thermal and flicker). I did find that the flicker noise for one of the unsupported devices still appeared within that subckt, but for the transistors it was gone.

    Now, according to the second link I posted above, utsoi is supposed to be one of the supported devices (that's the model you're using from your circuit inventory), so I'd expect it to work. Unfortunately I don't have any utsoi models handy that I can try (and I'm rather short of time this week).

    So, I'd suggest that you:

    1. Try with a newer versions still (maybe the initial version didn't support utsoi; the feature was officially rolled out in SPECTRE161 I believe, so it may be worth checking a SPECTRE161 version instead of MMSIM151).
    2. If that doesn't work, contact customer support to see if we can identify what is going wrong; then an AE can spend time on investigating it.

    Thanks,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 8 years ago

    OK, a couple of things here. First, the reporting of noiseoff_type in the log file. This is not the friendliest reporting in the log file, but the way that all options in spectre which have names as option values work is that they're all actually enumerated. So if I look at "spectre -h options" for this option:

    33 noiseoff_type=all
    The noiseoff_type defines the noise sources which are
    disabled by the noiseon/off_inst option. The default
    value is all. Possible values are thermal, flicker,
    shot, ign, and all.

    This means that thermal=0, flicker=1, shot=2, ign=3 and all=4. It will report these numbers - just a single number if one is selected; if more than one is selected it will show (say) [0 1] to indicate that thermal and flicker has been selected. 

    There's a (strong) argument to say we should report this better using the words corresponding to the choices. You could (for example) specify these options as numbers, but the words are much more friendly.

    As for the flicker noise not working, I just tested this (with MMSIM15.1 ISR10) using bsim4 models, and I could disable flicker noise for my subckt (so it doesn't just have to be a leaf instance) and also thermal (I tried thermal and flicker). I did find that the flicker noise for one of the unsupported devices still appeared within that subckt, but for the transistors it was gone.

    Now, according to the second link I posted above, utsoi is supposed to be one of the supported devices (that's the model you're using from your circuit inventory), so I'd expect it to work. Unfortunately I don't have any utsoi models handy that I can try (and I'm rather short of time this week).

    So, I'd suggest that you:

    1. Try with a newer versions still (maybe the initial version didn't support utsoi; the feature was officially rolled out in SPECTRE161 I believe, so it may be worth checking a SPECTRE161 version instead of MMSIM151).
    2. If that doesn't work, contact customer support to see if we can identify what is going wrong; then an AE can spend time on investigating it.

    Thanks,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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