• 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

     Something to try is to search through the instHeaders instead of the instances. The instHeader defines the virtual memory master for the instances. It is much quicker becasue there are fewer instHeaders than instances.

    schIh = setof(  ih csv~>instHeaders ih~>cellName == "option" )
    schInsts = foreach( mapcan schIh schIh~>instances )

    ; Check the last line because I don't have Virtuoso access from home

    ; It should return a flattened list of the instances of the cell option

    layIh = setof( ih clv~>instHeaders ih~>cellName == "option" )
    layInsts = foreach( mapcan layIh layIh~>instances )

    I think mapcan is the right mappng function to use but read about them as they are very useful.

    It will greatly speed up your program as you are only sorting a few instHeaders.

     You can also make a DPL or a table which will map the schematic values using the schematic instance name. I would use a table:

    schParamValue = makeTable('values "" )

    ;; Add the pipe to the beginning of the name
    schParamValue[strcat( "|" inst~>name) ] =  dbSearchPropByName( inst "connectivity")~>value

    In the layout processing part you can then get the layout instance name and get the value from the  table directly:

    dbReplaceProp( inst "connectivity" 'string schParamValue[layoutInst~>name]

    Look up the table data structure for more info.

    Ted

     

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

     Something to try is to search through the instHeaders instead of the instances. The instHeader defines the virtual memory master for the instances. It is much quicker becasue there are fewer instHeaders than instances.

    schIh = setof(  ih csv~>instHeaders ih~>cellName == "option" )
    schInsts = foreach( mapcan schIh schIh~>instances )

    ; Check the last line because I don't have Virtuoso access from home

    ; It should return a flattened list of the instances of the cell option

    layIh = setof( ih clv~>instHeaders ih~>cellName == "option" )
    layInsts = foreach( mapcan layIh layIh~>instances )

    I think mapcan is the right mappng function to use but read about them as they are very useful.

    It will greatly speed up your program as you are only sorting a few instHeaders.

     You can also make a DPL or a table which will map the schematic values using the schematic instance name. I would use a table:

    schParamValue = makeTable('values "" )

    ;; Add the pipe to the beginning of the name
    schParamValue[strcat( "|" inst~>name) ] =  dbSearchPropByName( inst "connectivity")~>value

    In the layout processing part you can then get the layout instance name and get the value from the  table directly:

    dbReplaceProp( inst "connectivity" 'string schParamValue[layoutInst~>name]

    Look up the table data structure for more info.

    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