• 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. Changing "Swap Code" For Pins in a Connector

Stats

  • Replies 3
  • Subscribers 158
  • Views 3470
  • Members are here 0
More Content

Changing "Swap Code" For Pins in a Connector

archive
archive over 20 years ago

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
  • Sign in to reply
  • Cancel
Parents
  • archive
    archive over 20 years ago

    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
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • archive
    archive over 20 years ago

    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
    • 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