• 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. About dbCreateHierProp() method

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 10612
  • 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

About dbCreateHierProp() method

knowledgeseeker
knowledgeseeker over 4 years ago

hi

I confused the output of prop of a hierarchical property.

In the lecture note page 1.55. of SKILL Language Programming 6.1.8, it says the prop attribute of a hierarchical property is always nil.

But actually i test the code below, its output is not nil.

code in lecture note
hp = dbCreateHierProp( cv "TrHierProp" )
hp~>a = 1
hp~>b = 2
hp~>prop => nil 
 

It is right that the prop attribute of a hierarchical property is always nil?

Thank you.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    This is wrong (it hasn't been updated). In CDB (the old database in IC5141 and before), hierarchical properties always had prop as nil, whereas in OpenAccess, the prop attribute is a list of the properties within the hierarchical property.

    In essence it is the same as hp~>value. The normal way of accessing all the hierarchical properties would be to use hp~>value to see the member properties, which works in CDB and OA, but in OA using hp~>prop works too.

    I'll feed this back to the course developer.

    Regards,

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • knowledgeseeker
    knowledgeseeker over 4 years ago in reply to Andrew Beckett

    Thank you for answering :)

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • knowledgeseeker
    knowledgeseeker over 4 years ago in reply to Andrew Beckett

    Thank you for answering :)

    • 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