• 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. Changing cellName in a code

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 142
  • Views 20375
  • 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

Changing cellName in a code

archive
archive over 18 years ago

Hi , I want to change the cellName of an instance "i2_09" to "i3_09" in a code. But im not able to set it using car(geGetSelSet())~>cellName="i3_09" or dbSet as this attribute is not valid for set. So Im using dbCreateInst to create "i3_09". Is there any other way to change the cellName without using "dbCreate*"


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

    There are two other commands that you can use:

    dbSetInstHeaderMasterName(d_instHeader t_libName t_cellName t_viewName) - If you have the instance header id (available from the instance and from the cellview - css()~>instHeader ) then you can change every instance of that cellName to use a different cellName. (FYI css() is the same as car(geGetSelSet()) ). This allows you to affect multiple instances at once. The arguments for libName, cellName and viewName can be nil if you don't want to change them.

    dbSetInstHeaderMasterName(css()~>instHeader nil "i3_09" nil)
    OR
    myInstHeader = car(setof(x geGetEditCellView()~>instHeaders x=="i2_09"))
    dbSetInstHeaderMasterName(css()~>instHeader nil "i3_09" nil)

    If you only want to change the cellview for one instance, and you are working in layout, you can also use:
    leReplaceAnyInstMaster(d_instId t_libName t_cellName t_viewName)

    This will update only the given instance id and again, you can use nil for any item you don't want to change.

    leReplaceAnyInstMaster(css() nil "i3_09" nil)

    -Derek


    Originally posted in cdnusers.org by dmay
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • archive
    archive over 18 years ago

    There are two other commands that you can use:

    dbSetInstHeaderMasterName(d_instHeader t_libName t_cellName t_viewName) - If you have the instance header id (available from the instance and from the cellview - css()~>instHeader ) then you can change every instance of that cellName to use a different cellName. (FYI css() is the same as car(geGetSelSet()) ). This allows you to affect multiple instances at once. The arguments for libName, cellName and viewName can be nil if you don't want to change them.

    dbSetInstHeaderMasterName(css()~>instHeader nil "i3_09" nil)
    OR
    myInstHeader = car(setof(x geGetEditCellView()~>instHeaders x=="i2_09"))
    dbSetInstHeaderMasterName(css()~>instHeader nil "i3_09" nil)

    If you only want to change the cellview for one instance, and you are working in layout, you can also use:
    leReplaceAnyInstMaster(d_instId t_libName t_cellName t_viewName)

    This will update only the given instance id and again, you can use nil for any item you don't want to change.

    leReplaceAnyInstMaster(css() nil "i3_09" nil)

    -Derek


    Originally posted in cdnusers.org by dmay
    • 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