• 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 PCB Editor
  3. How to set Referenced Cset of a NetClass by skill (allegro16...

Stats

  • Replies 2
  • Subscribers 160
  • Views 12742
  • Members are here 0
More Content

How to set Referenced Cset of a NetClass by skill (allegro16.3)

stillfish
stillfish over 15 years ago

I follow the document's description of axlNetClassCreate() function :

blah blah.........Netclasses can be constrainted by assigning csets
via the PHYSICAL_CONSTRAINT_SET
,
SPACING_CONSTRAINT_SET or
ELECTRICAL_CONSTRAINT_SET. Same Net constraints shares the same domain with the
SPACING_CONSTRAINT_SET.

And I use axlDBAddProp with SPACING_CONSTRAINT_SET to add property of a NetClass.
But when i open constraint manager , the NetClass does not change its referenced spacing C set.

Is there any method to set the reference Cset by skill?

  • Sign in to reply
  • Cancel
  • Ejlersen
    Ejlersen over 15 years ago

    Hi

    To my knowledge this can only be accomplished using scripts. I've done this with success using the following procedure and procedure call. Procedure creates Netclass in domains and assigns csets.

    ns_map_cset2netclass(spacingCset recordid physicalCset)

     ; --------  arg1 = spacing Cset name, arg2 = Netclassname, arg3 = Physical Cset name
    procedure( ns_map_cset2netclass( arg1 arg2 arg3)
    let((nc_domains)
      nc_domains = '(spacing physical)
      axlNetClassCreate(arg2 nc_domains)

      fprintf(tmp_file "cm startTransaction ( Design \"%s\" ) ( \"Net Class\" \"%s\" ) TS_DEFER\n" axlCurrentDesign() arg2)
      fprintf(tmp_file "cm add ( \"Net Class\" \"%s\" ) to ( \"Spacing CSet\" \"%s\" )\n" arg2 arg1)
      fprintf(tmp_file "cm commitTransaction ( Design \"%s\" ) ( \"Net Class\" \"%s\" ) TS_DEFER\n" axlCurrentDesign() arg2)

      fprintf(tmp_file "cm startTransaction ( Design \"%s\" ) ( \"Net Class\" \"%s\" ) TS_DEFER\n" axlCurrentDesign() arg2)
      fprintf(tmp_file "cm add ( \"Net Class\" \"%s\" ) to ( \"Physical CSet\" \"%s\" )\n" arg2 arg3)
      fprintf(tmp_file "cm commitTransaction ( Design \"%s\" ) ( \"Net Class\" \"%s\" ) TS_DEFER\n" axlCurrentDesign() arg2)

     )
    ); end procedure

     

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • stillfish
    stillfish over 15 years ago

    Thanks for your reply,  it is helpful for me to finish my tasks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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