• 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. Setting option duplicatemodel=ignore in spectre does not...

Stats

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

Setting option duplicatemodel=ignore in spectre does not work

Frode Telsto
Frode Telsto over 10 years ago

I run ADEXL (IC6.1.6) and want to redefine a model, and have tried to add duplicatemodel=ignore in my spectre simulations. I have tried to add: 

myOpt options duplicatemodel=ignore

in my modelfile that is included in the simulations. 

I have also tried to add duplicatemodel=ignore in Options->Analog->Miscellaneous->OTHER OPTIONS->Additional Arguments.

But I still get an error when I run my simulation: ERROR: .... Model `nch' has already been defined.

  • Cancel
Parents
  • Frode Telsto
    Frode Telsto over 10 years ago

    Hi Andrew,

    Thanks for your input. It helped me finding that the problem is binning. Your example works for me too, but when I add binning to the model it fails. See my modified example below.

    Regards,

    Frode


    model nch bsim4 {
    1:type=n
    2:type=n
    }

    inline subckt nch_mac (d g s b)
    parameters w=1u l=1u

    nch_mac (d g s b) nch_mac w=w l=l
    model nch_mac bsim4 {
    1:type=n
    2:type=n
    }
    ends nch_mac

    myOpts options duplicatemodel=ignore
    // new definition to map it...
    model nch nch_mac

    M0 (D G 0 0) nch w=2u l=0.2u
    VD (D 0) vsource dc=1.2
    VG (G 0) vsource dc=0.8

    dc dc

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Frode Telsto
    Frode Telsto over 10 years ago

    Hi Andrew,

    Thanks for your input. It helped me finding that the problem is binning. Your example works for me too, but when I add binning to the model it fails. See my modified example below.

    Regards,

    Frode


    model nch bsim4 {
    1:type=n
    2:type=n
    }

    inline subckt nch_mac (d g s b)
    parameters w=1u l=1u

    nch_mac (d g s b) nch_mac w=w l=l
    model nch_mac bsim4 {
    1:type=n
    2:type=n
    }
    ends nch_mac

    myOpts options duplicatemodel=ignore
    // new definition to map it...
    model nch nch_mac

    M0 (D G 0 0) nch w=2u l=0.2u
    VD (D 0) vsource dc=1.2
    VG (G 0) vsource dc=0.8

    dc dc

    • 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