Home > Community > Forums > PCB SKILL > Pitch distance measure by Skill

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Pitch distance measure by Skill 

Last post Thu, Sep 4 2008 1:45 AM by Babu Bin Karim. 5 replies.
Started by archive 09 May 2007 12:32 AM. Topic has 5 replies and 3870 views
Page 1 of 1 (6 items)
Sort Posts:
  • Wed, May 9 2007 12:32 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Pitch distance measure by Skill Reply

    Hello All, I can provide to my Skill program some placed BGA RefDes ("U40" for example). How Skill program could measure this BGA balls pitch distance ? Any response appreciated Thanks, Shimon


    Originally posted in cdnusers.org by shimon37
    • Post Points: 0
  • Wed, May 9 2007 1:19 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Pitch distance measure by Skill Reply

    Hi Shimon,

    Try:

    symbol = car(axlSelectByName("REFDES" "U40")); Select the BGA
    axlClearSelSet()
    pins = symbol ->pins; Identify the BGA pins
    minPitch = nil; Declare the minimum pitch variable
    foreach(pin1, pins
    foreach(pin2, remove(pin1, pins)
    pitch = axlDistance(pin1 ->xy, pin2 ->xy); Measure the pin to pin pitch of every pin with every other pin
    minPitch = if(minPitch, min(minPitch, pitch), pitch); Compare pitch with minimum found so far.
    )
    )
    minPitch

    Cheers, Dave


    Originally posted in cdnusers.org by Dave Elder
    • Post Points: 20
  • Wed, May 9 2007 8:32 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Pitch distance measure by Skill Reply

    Hi Dave, Thank you very much for your response. It works perfectly. Thanks again, Shimon


    Originally posted in cdnusers.org by shimon37
    • Post Points: 0
  • Wed, Sep 3 2008 2:26 AM

    • Babu Bin Karim
    • Top 500 Contributor
    • Joined on Fri, Jul 18 2008
    • Trivandrum, Kerala
    • Posts 33
    • Points 390
    Re: RE: Pitch distance measure by Skill Reply

    Hi Dave,

    I am a beginner in SKILL routines. I know how to include a SKILL function in allegro.ilinit and execute it from allegro. But I don't know how to use the SKILL code directly in allegro(like the one you had in this post for reporting the BGA pitch) because it is not in the form of a skill function. I had tried to switch to the skill command window and paste this code in allegro. But it is not working. I know I am missing some thing. Please correct me if I am not going the right direction.

    Please bear with me for deviating from the original subject...

    Thanks in advance,

    Babu 

    • Post Points: 20
  • Wed, Sep 3 2008 1:37 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 736
    • Points 15,930
    Re: RE: Pitch distance measure by Skill Reply
    Hi Babu,

    Pasting all those lines into the Skill window won't work. The interactive command interpreter will only accept one Skill command at a time - and it must be all on one line.

    In the example you would have to paste each of these lines one by one:
    symbol = car(axlSelectByName("REFDES" "U40"))
    minPitch = nil
    foreach(pin1, pins foreach(pin2, remove(pin1, pins)
     pitch = axlDistance(pin1 ->xy, pin2 ->xy) minPitch = if(minPitch, min(minPitch, pitch), pitch)))
    minpitch

    Note how the foreach loop must be self-contained on one line.
    I will discuss this issue with Cadence at the next week's CDNlive conference. Other Lisp implementations that I have used do not have this limitation.

    Cheers, Dave
    Dave Elder, Tait Communications
    • Post Points: 20
  • Thu, Sep 4 2008 1:45 AM

    • Babu Bin Karim
    • Top 500 Contributor
    • Joined on Fri, Jul 18 2008
    • Trivandrum, Kerala
    • Posts 33
    • Points 390
    Re: RE: Pitch distance measure by Skill Reply

     Hi Dave,

    I got it worked. Thank you for your valuable inputs.

     Babu

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by archive at 09 May 2007 12:32 AM. Topic has 5 replies.