• 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 set CDF to let both .subckt and .model work?

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 15437
  • 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 set CDF to let both .subckt and .model work?

YG screen name
YG screen name over 13 years ago

Hi,

    I will create a mos pcell. There are two kinds of simulation model for the mos, one is subcircuit type(.subckt), the other is model type(.model). I want to know how to set CDF parameters for the mos cell in order to make the hspiceD simulator run correctly under both types.

    I know that the simulator parameter namePrefix is "X" for subcircuit type, and "M" for the model type. They are different. If I create only one cell, its parameter namePrefix is either "X" or "M". So I have to create two cells to adapt two types.  When I change the model type from one to the other, I have to modify the mos cell name in the schematic. If the amount of mos is large, it will not be a good idea.

   Is there any way supporting the two types of model to create only one cell to simulate the mos?

  • Cancel
Parents
  • YG screen name
    YG screen name over 13 years ago

    Hi,  Andrew

      Thanks very much. It works perfectly now!

      I have another question like above. One cell has only one auCdl setting whose parameters have only one value. Can I create only one cell but export several types of CDL netlist? For example, I have a resistor cell, and the different instances of the cell can be exported to different types like below:

      RR1 net1 net2 10*r1 $[R_NP]

      RR2 net3 net4 10*r1 $[R_PP]

      R_NP and R_PP are controled by another CDF parameter. They are set by modelName in auCdl setting, but one cell has only one modelName value. How to set auCdl or other settings to make that different instances of one cell have different modelname value?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • YG screen name
    YG screen name over 13 years ago

    Hi,  Andrew

      Thanks very much. It works perfectly now!

      I have another question like above. One cell has only one auCdl setting whose parameters have only one value. Can I create only one cell but export several types of CDL netlist? For example, I have a resistor cell, and the different instances of the cell can be exported to different types like below:

      RR1 net1 net2 10*r1 $[R_NP]

      RR2 net3 net4 10*r1 $[R_PP]

      R_NP and R_PP are controled by another CDF parameter. They are set by modelName in auCdl setting, but one cell has only one modelName value. How to set auCdl or other settings to make that different instances of one cell have different modelname value?

    • 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