Home > Community > Forums > PCB SKILL > Changing "Swap Code" For Pins in a Connector

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: *

 Changing "Swap Code" For Pins in a Connector 

Last post Mon, Jul 11 2005 6:55 PM by archive. 3 replies.
Started by archive 11 Jul 2005 06:55 PM. Topic has 3 replies and 2580 views
Page 1 of 1 (4 items)
Sort Posts:
  • Mon, Jul 11 2005 6:55 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Changing "Swap Code" For Pins in a Connector Reply

    Hi All,

    I have a connector component where i would like to enable pin swapping to simplify routing. However when i try to swap pins, i get the message " Pin not swappable, swap code is zero. Pick again. "

    So i was thinking, maybe if i could use skill to modify the swap code for the pins.

    In the Allegro Skill Reference
    Table 2-24 Function Pin Attributes
    swap code | integer | Swap code of function pin

    How do i write the code for this? or Is there a better solution

    regards,
    newbie


    Originally posted in cdnusers.org by Newbie
    • Post Points: 0
  • Fri, Jul 15 2005 10:13 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Changing "Swap Code" For Pins in a Connector Reply

    Actually pins should be defined as swapable in the packager or PTF files so that this is not an issue.

    What link is there now between the netlist (schematic) and the board if you try to circumvent the process?

    Go back to either the chips.prt (Concept), or schematic symbol (OrCAD) to set pinswapping and the rest is...well...magic.


    Originally posted in cdnusers.org by redwire
    • Post Points: 0
  • Sat, Jul 16 2005 10:24 PM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Changing "Swap Code" For Pins in a Connector Reply

    I think newbie wanted to do it by a skill program in the database and not to go back to the schematics. This is very useful and I would be interested too in such a program.


    Originally posted in cdnusers.org by pdidhi
    • Post Points: 0
  • Mon, Jul 18 2005 2:09 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    RE: Changing "Swap Code" For Pins in a Connector Reply

    Hi All,

    Ok, i got this done by exporting the device file, then modifiying it by adding the 'pinswap' command with names of all pins then reimporting it. ( with setting of overwrite all nets )

    1) File->Export->netlist w/properties

    2) File->Export->Libraries-> (device files only)

    3) modify the device file for the particular device ... for example
    PINSWAP 'connectorname' A1 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A2 A20 A21 A22 A23,
    A24 A25 A26 A27 A28 A29 A3 A30 A31 A32 A33 A34 A35 A36 A37 A38 A39 A4 A40 A41 A42 A43 A44 A45,
    A46 A47 A48 A49 A5 A50 A51 A52 A53 A54 A55 A56 A57 A58 A59 A6 A60 A61 A62 A63 A64 A65 A66 A67,
    A68 A69 A7 A70 A71 A72 A73 A74 A75 A76 A77 A78 A79 A8 A80 A9 SHLD1 SHLD2

    3)File->Import->Logic->Other ( place name of netlist.txt file you export earlier )
    (also check "supersede all logical data")


    this is kind of inefficient... maybe there is a better method.

    also if anyone knows how to write a skill program to do this.. would really appreciated if you post it here

    thanks,
    newbie



    Originally posted in cdnusers.org by Newbie
    • Post Points: 0
Page 1 of 1 (4 items)
Sort Posts:
Started by archive at 11 Jul 2005 06:55 PM. Topic has 3 replies.