• 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. Creating new attributes and sub-attributes

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 144
  • Views 16417
  • 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

Creating new attributes and sub-attributes

lkphoto
lkphoto over 11 years ago

 Hi Everyone,

I would like to add an attribute, for example to a cellview Cv.
The attribute should have itself other attributes, and so on.
It should work therefore similarly to the well-known
Cv~>shapes
which can be called again like this:
Cv~>shapes~>points
or like this:
Cv~>shapes~>lpp


Summarizing, given a cellview Cv I would like to create MyNewAttribute, MyNewSubAttribute1 and  MyNewSubAttribute2 such that I can call them by writing:
Cv~> MyNewAttribute~> MyNewSubAttribute1
Cv~> MyNewAttribute~> MyNewSubAttribute2

I know the command dbCreateHierProp(Cv "MyNewAttribute") but I have two problems using it:
1. It stores MyNewAttribute not directly under Cv, but under Cv~>prop. This is just an esthetic problem since the command Cv~>MyNewAttribute still works, but the command Cv~>? does not show MyNewAttribute (which is very unpractical)
2. I cannot create MyNewSubAttribute1

How can I do?

Thanks a lot in advance for any suggestions,
lkphoto

  • Cancel
Parents
  • theopaone
    theopaone over 11 years ago

     You are trying to store the contents of SKILL defstruct instance as a property on the cellView. This does not work as you cannot assign the value which is probably a memory pointer to the SKILL defstruct to a property.

    You may want to store the data in a list of DPLs or assoc lists so it can be written to the database.

    Ted

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

     You are trying to store the contents of SKILL defstruct instance as a property on the cellView. This does not work as you cannot assign the value which is probably a memory pointer to the SKILL defstruct to a property.

    You may want to store the data in a list of DPLs or assoc lists so it can be written to the database.

    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