• 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. Bug with skill lists comparison

Stats

  • Replies 5
  • Subscribers 158
  • Views 13758
  • Members are here 0
More Content

Bug with skill lists comparison

archive
archive over 17 years ago


I am improving the dangling_lines15_1.il routine.
It worked but I have to treat a job with Bonding.

But with some clines, i fails. I am analysing the code to see what's wrong and I saw a very strange thing (here is a part of the jrl file in attachment).

It first extracts list1 with cline start point coordinates and list2 with cline end point. Then it selects clines within a box with list1/list2 coordinates.
As it selects more than the wanted clines, I wrote a little thing that extracts clineStart list with start point coordinates and clineEnd with end point for each net within selected nets.

Then it compares list1 with clineStart and list2 with clineEnd, if both match, then the cline is the one I need. But it fails.
with
list1=(146.563 -11.0198)
clineStart=(146.563 -11.0198)
list2=(146.563 -11.063)
clineEnd=(146.563 -11.063)
list1==clineStart returns t
list2==clineEnd returns nil!
if I check I found that cadr(list2)
So in fact for Skill, -11.063 is less than -11.063!

What to do?


Originally posted in cdnusers.org by willbi
  • list_bug.txt
  • View
  • Hide
  • Sign in to reply
  • Cancel
Parents
  • archive
    archive over 17 years ago

    Sorry Dave, I am not mathematician nor a programmer ;-)



    I stopped studies rather early.. and I basically surprised to learn that -11.063 is less than -11.063!

    As I am autodidact and I learn each, I learned one more thing!



    Thanks Natebizu, the function you suggested works great.



    redwire: I would prefer the skill I modified and that works now. I tried the gloss, but some of them remain and the routine I modified permits to pass them in review, analyse them (some of them are wanted, some other have to be corrected) and then If all of them can be removed, I added a button to delete all.)


    Originally posted in cdnusers.org by willbi
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • archive
    archive over 17 years ago

    Sorry Dave, I am not mathematician nor a programmer ;-)



    I stopped studies rather early.. and I basically surprised to learn that -11.063 is less than -11.063!

    As I am autodidact and I learn each, I learned one more thing!



    Thanks Natebizu, the function you suggested works great.



    redwire: I would prefer the skill I modified and that works now. I tried the gloss, but some of them remain and the routine I modified permits to pass them in review, analyse them (some of them are wanted, some other have to be corrected) and then If all of them can be removed, I added a button to delete all.)


    Originally posted in cdnusers.org by willbi
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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