• 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. SKILL to modify layout parameter

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 126
  • Views 18047
  • 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

SKILL to modify layout parameter

40Ford
40Ford over 12 years ago

I have written SKILL functions to change or add parameters to a cellView. What I need to do now is grab the value of a parameter from a schematic and copy that value to the corresponding layout.

The parameter is called "connectivity" and I only want to change the value in cell "option". Yes, "option" is the cellName.

I know how to grab and instance and grab the property in SKILL but what I can't understand is how to know I'm getting the corresponding layout view for that instance.

 Any suggestions?

  • Cancel
Parents
  • theopaone
    theopaone over 12 years ago

    A parameter and a property are two distinct objects, a parameter is assigned to pcells as the interface to the pcell program. A property is a way to assign data to a database object like a cellView master or an instance.

    I am assuming you are assigning a property to a cellView master. When you find the instance, you are assigning/adding/getting the value of the property on the instance's master cellView. That cellView master in the schematic is a symbol view. The symbol view should have corresponding views in the same library for layout and schematic. If the layout is in another library or goes by another name, you have to follow your design group methodology to get the correct library/cell name. Once you have determined the name of the layout cellView, you can open that master using dbOpenCellViewByType with "a" for append. Then you can add the property using dbReplaceProp on the cellView ID.

     masterId = dbOpenCellViewByType( instId~>libName "option" "layout" nil "a" )

    dbReplaceProp( masterId  "connectivity" 'string "new value" )

    dbSave( masterId )

     I hope I understood what you needed to do.

    Ted

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • theopaone
    theopaone over 12 years ago

    A parameter and a property are two distinct objects, a parameter is assigned to pcells as the interface to the pcell program. A property is a way to assign data to a database object like a cellView master or an instance.

    I am assuming you are assigning a property to a cellView master. When you find the instance, you are assigning/adding/getting the value of the property on the instance's master cellView. That cellView master in the schematic is a symbol view. The symbol view should have corresponding views in the same library for layout and schematic. If the layout is in another library or goes by another name, you have to follow your design group methodology to get the correct library/cell name. Once you have determined the name of the layout cellView, you can open that master using dbOpenCellViewByType with "a" for append. Then you can add the property using dbReplaceProp on the cellView ID.

     masterId = dbOpenCellViewByType( instId~>libName "option" "layout" nil "a" )

    dbReplaceProp( masterId  "connectivity" 'string "new value" )

    dbSave( masterId )

     I hope I understood what you needed to do.

    Ted

    • 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