• 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. Allegro X Scripting - Skill
  3. How to get the physical cset of a net using SKILL

Stats

  • State Not Answered
  • Replies 3
  • Subscribers 18
  • Views 6007
  • Members are here 0
More Content

How to get the physical cset of a net using SKILL

soll
soll over 3 years ago

Hello !

I am trying to get the physical cset assigned to a net using SKILL.

I tried using this : net->prop->PHYSICAL_CONSTRAINT_SET

Unfortunately, if the net doesn't have a physical cset assigned (it is using DEFAULT) or if the cset is assigned to a class that contain the net, the property isn't added to the net.
So the only nets which have this property are the nets that have a cset directly assigned (basically 0 in most of my designs).

I have gone through the axlCNS functions but didn't found a match.

Does anyone have an idea on how to do this ? Thank you very much !

  • Cancel
  • Sign in to reply
Parents
  • mahimag
    0 mahimag over 3 years ago

    Spacing_Constraint_Set and Physical_Constraint_Set are properties that get assigned when CSet is referenced on any net. we can extract and disply this property, 

    Try following lines of SKILL:

    axlClearSelSet()

    axlSetFindFilter(?enabled '("noall" "nets"))

    axlSingleSelectName("NET" "A0")

    myprops = axlDBGetProperties(car(axlGetSelSet()) '("user" "allegro")

    BGA_SPACE is the CSET, output value stored in myprops:

    ((LOGICAL_PATH "@demo_m.root(sch_1):a0")
    (SPACING_CONSTRAINT_SET "BGA_SPACE")
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • mahimag
    0 mahimag over 3 years ago

    Spacing_Constraint_Set and Physical_Constraint_Set are properties that get assigned when CSet is referenced on any net. we can extract and disply this property, 

    Try following lines of SKILL:

    axlClearSelSet()

    axlSetFindFilter(?enabled '("noall" "nets"))

    axlSingleSelectName("NET" "A0")

    myprops = axlDBGetProperties(car(axlGetSelSet()) '("user" "allegro")

    BGA_SPACE is the CSET, output value stored in myprops:

    ((LOGICAL_PATH "@demo_m.root(sch_1):a0")
    (SPACING_CONSTRAINT_SET "BGA_SPACE")
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • soll
    0 soll over 3 years ago in reply to mahimag

    Hello and thank you for the reply. The problem is that the property doesn't exist on the nets if the constraint set is assigned to a class to which the net belong... I just tried, using axlDBGetProperties() and I don't get the cset either, I only get the LOGICAL_PATH.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Cadence Guidelines

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