• 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 assign external DRC ?

Stats

  • State Suggested Answer
  • Replies 5
  • Answers 1
  • Subscribers 17
  • Views 2487
  • Members are here 0
More Content

How to assign external DRC ?

Uri Chaplin
Uri Chaplin over 1 year ago

I created a custom DRC checker and used  axlDBCreateExternalDRC.
 System DRC information includes 2 elements

but when I create external DRC with this parameters :

axlDBCreateExternalDRC( "VIAS problem", second_item->xy, drc_layer, second_item, via->xy, problem)

 I see only 1 element twice. You can see that in this place there exist 2 different vias ( TH and BL) but in report only one.


What needs change in parameters to get information about 2 elements?

  • Cancel
  • Sign in to reply
Parents
  • eDave
    0 eDave over 1 year ago

    Is this better?

    axlDBCreateExternalDRC( "VIAS problem", second_item->xy, drc_layer, list(via, second_item), via->xy, problem)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Uri Chaplin
    0 Uri Chaplin over 1 year ago in reply to eDave

    Yes, Dave. Thanks ! Glad tto hear from you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Uri Chaplin
    0 Uri Chaplin over 1 year ago in reply to Uri Chaplin

    BTW now in log I see 3 items and last it is 2 elements again :

    LISTING: 3 element(s)

    Item 1 < VIA >

    origin-xy: (8153.46 2383.38)

    part of net name: GND
    Padstack name: VIA24D12
    Type: Through Plated
    Circle_drill : 12.00

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Item 2 < VIA >

    origin-xy: (8158.00 2388.00)

    part of net name: GND
    Padstack name: VIA1-4
    Type: Bbvia Plated
    Circle_drill : 6.00

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Item 3 < DRC ERROR >

    Class: DRC ERROR CLASS
    Subclass: BOTTOM
    Origin xy: (8158.00 2388.00)
    Constraint: Externally Determined Violation
    Constraint Set: VIAS problem
    Constraint Type: EXTERNAL REFERENCE

    Constraint value: None
    Actual value: close_via

    - - - - - - - - - - - - - - - - - - - -
    Element type: VIA
    Class: VIA CLASS

    origin-xy: (8153.46 2383.38)

    part of net name: GND
    Padstack name: VIA24D12
    Type: Through Plated
    Circle_drill : 12.00

    - - - - - - - - - - - - - - - - - - - -
    Element type: VIA
    Class: VIA CLASS

    origin-xy: (8158.00 2388.00)

    part of net name: GND
    Padstack name: VIA1-4
    Type: Bbvia Plated
    Circle_drill : 6.00

    ~ ~ ~ ~ ~ ~ ~end-of-file~ ~ ~ ~ ~ ~ ~

    If it posible to short it ?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • eDave
    0 eDave over 1 year ago in reply to Uri Chaplin

    Hi Uri,

    I'm not aware of any method to shorten the dialog contents. This might be a request for Cadence.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • eDave
    0 eDave over 1 year ago in reply to Uri Chaplin

    Hi Uri,

    I'm not aware of any method to shorten the dialog contents. This might be a request for Cadence.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Uri Chaplin
    0 Uri Chaplin over 1 year ago in reply to eDave

    it's ok. no problem.

    • 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