• 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. Checking Arc in trace.

Stats

  • Replies 6
  • Subscribers 161
  • Views 16569
  • Members are here 0
More Content

Checking Arc in trace.

vimaldevlpr
vimaldevlpr over 5 years ago

Hai.

I want to check the arc present in trace or not  if not means i want to highlight the trace using skill program i am new to skill can any one please guide me or share me the code please.

sample images

1.Correct trace:

2. Highlight trace:

Here it is an sample images if the trace like in 2nd image i want to hightlight the trace can any one please share me the code.

  • Sign in to reply
  • Cancel
  • DavidJHutchins
    DavidJHutchins over 5 years ago

    I wrote this example this morning while waiting for data from an engineer...

    procedure((check_dp_arcs)
    let((Cnt PathList ArcList)
    (Cnt = 0)
    foreach(dp (axlDBGetDesign)->diffpair
    (PathList = list())
    (ArcList = list())
    if( equal((car(dp->groupMembers)->objType) "net") then
    foreach(branch (car(dp->groupMembers)->branches)
    (PathList = append(setof(c (branch->children) ((c->objType) == "path")) PathList))
    )
    else
    foreach(net (car(dp->groupMembers)->groupMembers)
    foreach(branch (net->branches)
    (PathList = append(setof(c (branch->children) ((c->objType) == "path")) PathList))
    )
    )
    )
    if( equal((cadr(dp->groupMembers)->objType) "net") then
    foreach(branch (cadr(dp->groupMembers)->branches)
    (PathList = append(setof(c (branch->children) ((c->objType) == "path")) PathList))
    )
    else
    foreach(net (cadr(dp->groupMembers)->groupMembers)
    foreach(branch (net->branches)
    (PathList = append(setof(c (branch->children) ((c->objType) == "path")) PathList))
    )
    )
    )
    foreach(path PathList
    ;(ArcList = append(setof(c (path->segments) ((c->objtype) == "arc")) ArcList))
    foreach(seg path->segments
    when(((seg->objType) == "arc")
    (ArcList = cons(seg ArcList))
    )
    )
    )
    axlMsgPut("Net %s length PathList %d ArcList %d" car(dp->groupMembers)->name length(PathList) length(ArcList))
    when(eq(length(ArcList) 0)
    (axlHighlightObject car(dp->groupMembers) nil)
    (axlHighlightObject cadr(dp->groupMembers) nil)
    (Cnt++)
    )
    )
    axlMsgPut("%d diffpairs highlighted" Cnt)
    )
    )

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vimaldevlpr
    vimaldevlpr over 5 years ago in reply to DavidJHutchins

    Thanks a lot

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vimaldevlpr
    vimaldevlpr over 5 years ago in reply to DavidJHutchins

    Hai David 

    I Need an one more help I want to check the 90 deg bends in the  trace. if the trace has an 90 degree bend means have to highlight it.

    Can you please recorrect the code.

    Thanks 

    vimal

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • DavidJHutchins
    DavidJHutchins over 5 years ago in reply to vimaldevlpr

    I wrote some skill code for a previous employer that did this, it was pretty complex...

    A simpler solution would be to use the 'acute angle' checks added in 17.2 to add drc flags to those locations

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vimaldevlpr
    vimaldevlpr over 5 years ago in reply to DavidJHutchins

    Hai David

    Kindly Thanks for your reply but i have to check this in 16.6 tool is there a any other way to find it please guide me.

    • 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