• 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 SKILL
  3. dbcreateParamInst??

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 142
  • Views 8740
  • 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

dbcreateParamInst??

FormerMember
FormerMember over 14 years ago

Hai

 please explain dbcreateParamInst command.If possible help me in its usage with an example..

Thanks,

  C10

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    C10,

    Did you read the manual? There's a description of the arguments, what they mean, and an example.

    If using IC61X you can run "cdnshelp" and search for dbCreateParamInst. In IC5141, you can use cdsdoc. If you have difficulty doing that, open <ICinstDir>/doc/skdfref/skdfref.pdf and search in there.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 14 years ago

    Hi Carlton,

    As Andrew has mentioned, the documentation should cover this.  Here is the entry from cdnshelp:

    dbCreateParamInst( 
    d_cellView
    d_master
    t_name
    l_point
    t_orient
    [ x_numInst
    [ l_params
    [ b_physOnly ] ] ]
    )
    => d_inst | nil

    Description Creates a parameterized cell instance (of cellview d_master) in the cellview d_cellView with an origin and orientation specified by l_point and t_orient. The values and types of the parameters for this instance may be optionally specified in l_params. Parameters not specified in l_params are defaulted to the ones defined in the master cellview d_master. Similarly, if l_params is not specified, the instance is created with the same parameters defined in its master. Arguments

    d_cellView
    Cellview the instance is placed in.

    d_master
    Parameterized cell master cellview of the instance to create.
    This parameter must be a super master; use of a submaster can cause unexpected behavior.
    The rest of the arguments are identical to those of dbCreateInst except l_params.

    t_name
    If specified, the instance is named by t_name; if nil the program assigns a unique name to the instance. t_name must obey the syntax of instance names as defined at the beginning of this chapter.

    l_point
    Origin of the new instance.

    t_orient
    Orientation of the new instance.

    x_numInst
    Number of instances; if t_name is given, it overrides any value specified by x_numInst (that is, the number of instances is derived from the name instead of taken from the x_numInst argument). If not specified, the default is one.

    l_params
    List of l_param, where l_param is list(t_propName t_propType g_value).

    b_physOnly
    Optional boolean argument that specifies whether the instance is only in physical domain when the argument is t; or it is in both physical and module domain when the argument is nil. Default is nil.

    Value Returned d_inst The dbObject of the instance. nil The instance is not created. Example dbCreateParamInst(inCellView masterCV "inst1" list(0 0) "R0" 1 list(list("w" "float" 2.0) list("l" "float" 5.0) t))

    Hopefully the above is enough to get you started, if for some reason you cannot access the documentation.

    Regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Austin CAD Guy
    Austin CAD Guy over 14 years ago

     Note that the parameter list is a list of lists in the format of ("paramName" "valueType" value ). If the value is a string, it should be in double quotes.

    You have to open the cellView to get the masterCV. This is usually done in read mode. If the cellView is already opened, there is no performance issue in doing this:

    masterCv = dbOpenCellViewByType( libId "cellName" "viewName" "viewType" "r")

     Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • FormerMember
    FormerMember over 14 years ago

    Thanks,

       I cant access documentation...So i needed this explanation.Thanks everyone for the guidance...

    Regards,

     C10

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago
    Why can't you access the documentation? Even if for some reason you can't get "cdsdoc" to work (sometimes was a problem in older releases) the HTML and pdf files should be there unless somebody has manually deleted them.

    The documentation is an important part of the software, and so you should push whoever is responsible for you software installation to fix this.

    Regards,

    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