• 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. A rather unconventional schematic symbol question/issue

Stats

  • Locked Locked
  • Replies 25
  • Subscribers 126
  • Views 10956
  • 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

A rather unconventional schematic symbol question/issue

Composter
Composter over 16 years ago

 Hi,

 I'm using Cadence 5.1 and am trying to make some schematic symbols that display context dependent information when instantiated. Onthe symbol itself, I have several ILLabels such as "ilInst~>myvar" and I have edited the cdf such that "myvar" contains some skill code that evaluates to the string of what I want displayed on the symbol. I'm accessing the data about the selected instance through expressions like "cdfgData->width->value". Much of this is based on code I've seen used elsewhere and I've just adapted it to suit my needs.

 

So I'm running aground because I don't know how to access the instance name (as opposed tthe cell name) within an expression. I've already tried cdsName() but that does not return the current instance name of the selected instance. Can anybody out there please provide me with the skill magic to do this. I figure it has to be available via cdfgData but I don't the access name. Many thanks in advance.

 

  • Cancel
Parents
  • Composter
    Composter over 16 years ago

     Hi Lawrence,

     Wow - that was quick! However, it didn't work :-(. Perhaps a clarification is in order. On my symbol I have an ILLabel "ilInst~>iname". In the cdf for the cell I have declared the parameter iname, and the default value of iname is a somewhat lengthy skill code expression that contains the line:

    if( sameWidth&&sameLength cdfgData->iname->value=\"\" cdfgData->iname->value=ilInst~>name )

    i.e. based on the conditional 'sameWidth&&sameLength' iname will either evaluate to a null string or what I hope to be the instance's instance name. I implemented your suggestion of accessing the instance name via "ilInst~>name" in the line of code above, however the current instance name is NOT displayed. If I select the instance and do a query, I see that the instance name on the form and the instance name displayed as a result of the expression are not the same.

    Looking forward to your next answer!

    Thanks,

    Mick.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Composter
    Composter over 16 years ago

     Hi Lawrence,

     Wow - that was quick! However, it didn't work :-(. Perhaps a clarification is in order. On my symbol I have an ILLabel "ilInst~>iname". In the cdf for the cell I have declared the parameter iname, and the default value of iname is a somewhat lengthy skill code expression that contains the line:

    if( sameWidth&&sameLength cdfgData->iname->value=\"\" cdfgData->iname->value=ilInst~>name )

    i.e. based on the conditional 'sameWidth&&sameLength' iname will either evaluate to a null string or what I hope to be the instance's instance name. I implemented your suggestion of accessing the instance name via "ilInst~>name" in the line of code above, however the current instance name is NOT displayed. If I select the instance and do a query, I see that the instance name on the form and the instance name displayed as a result of the expression are not the same.

    Looking forward to your next answer!

    Thanks,

    Mick.

    • 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