element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
EAGLE User Support (English) Gateswap across schematic   sheets
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 13 replies
  • Subscribers 179 subscribers
  • Views 1732 views
  • Users 0 members are here
Related

Gateswap across schematic   sheets

autodeskguest
autodeskguest over 9 years ago

I just discovered GATESWAP only works within the current schematic sheet.

I am using a quad opamp.  IC10A and IC10B are on schematic sheet 9, and

IC10C and IC10D on sheet 10.  Now that I'm placing parts on the board, I

want to swap IC10A <> IC10D and IC10B <> IC10C.

 

In the schematic editor, I went to sheet 9 and entered "gateswap ic10a

ic10d".  This resulted in the rather unhelpful pop "Can't swap gate IC10A

and IC10D".  Why can't these gates be swapped?  I checked the swaplevel of

each gate.  No, they are all set to 1.  Maybe the gate names need to be

enclosed in apostrophies?  No, that didn't help.  Upper case?  No, that

wasn't it either.

 

Then I tried "gateswap ic10a ic10b".  That worked.  OK, maybe I had a small

typo.  Using up-arrow, I got the previous command back and carefully

changed only the B to a D.  Now its back to "Can't swap gate IC10A and

IC10D".  It must be that gate A and D are on different sheets, but that's

not intuitive at all.

 

I got around this by moving all of the sheet 10 contents to the side of

sheet 9, doing the gateswaps, then moving the sheet 10 content back to

sheet 10.

 

Am I missing something?

 

If not, then here are my suggestions:Allow GATESWAP to work across

schematic sheets when entered as a command.

 

Fix the GATESWAP error dialog to explain why it can't swap the gates as

requested (incompatible swap level, different numbers of pins, no such

gate, not allowed on Tuesday afternoons, etc).

 

If you don't do #1, at least mention this limitation in the GATESWAP help

page.

 

 

--

Web access to CadSoft support forums at www.eaglecentral.ca.  Where the CadSoft EAGLE community meets.

 

  • Sign in to reply
  • Cancel
  • autodeskguest
    autodeskguest over 9 years ago in reply to autodeskguest

    Jorge Garcia wrote:

     

    On 11/10/2016 2:17 AM, Lorenz wrote:

    Olin Lathrop wrote:

    I just discovered GATESWAP only works within the current schematic sheet.

     

    It is clear why "gateswap (x1 y1) (x2 y2)" won't work across sheets

    (at least the clickety-click way, and the command line version would

    require an extended coordinate syntax), but ...

     

    ... I can't see any reason why "gateswap gate1 gate2" should pose any

    implementation problems.

     

    Under the current Hierarchy implementation there is the possibility for

    ambiguity with the command line syntax.

     

    some (additional) thoughts (but remember I'm still using 6.6 and have

    only played with 7.x briefly)

     

    1) gateswap inside a modul should pose no problem as it doesn't

    outside modules.

    As long as you are on a module page (or one of several belonging to

    the module), there is no ambiguity regarding parts of the module.

     

    Doing the gateswap from a page not belonging to the module would need

    an extention of the naming syntax though (say: module_name:gate_name),

    but I don't think that's required at all.

     

    2) gateswap across instances of modules makes no sense too me.

    Afterwards the instances wouldn't represent the same module any more

     

    I don't think it's possible and neither should it be, to use say one

    half of a double opamp in one instance of a module and the other

    half in a second.

     

     

    Disclaimer: I'm using 6.6, don't know if 7.x allows it.

    Just to clarify it still doesn't allow it.

     

    I'm of the opinion that a gateswap in the board would be most useful.

    Usually you decide to swap a gate because you are on the layout and

    realize using a different gate would simplify your routing task.

     

    The problem I see is that I can't think of what the user interface for

    that would be like. Now in current V7 we have to deal with how hierarchy

    is implemented and that confuses a lot of things.

     

    3) if gateswap using the gate name syntax would work in the schematic,

    I think it would be easy to create an ULP to at least experiment with

    gateswap from the board editor (It's not possible to select pins in

    the board editor, but you could group the part or parts and one net of

    both gates involved and figure the rest out in the ULP).

     

    Do you guys have any ideas? If we can have a suggestion of what should

    be implemented then that gives direction for the devs. How would you

    guys want this to work?

    --

     

    lorenz

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 9 years ago in reply to autodeskguest

    On 12.11.2016 01:40, warrenbrayshaw wrote:

    On 12/11/2016 8:35 a.m., Jorge Garcia wrote:

    On 11/11/2016 5:01 AM, Morten Leikvoll wrote:

    On 10.11.2016 18:24, Jorge Garcia wrote:

    Do you guys have any ideas? If we can have a suggestion of what should

    be implemented then that gives direction for the devs. How would you

    guys want this to work?

     

    I don't think there are hierarcy issues with the command line syntax

    Olin suggested. Gate swapping across hierarcy can be done with

    reference to "[module_instance_name:]gate_name" (the format that is

    listed under allparts() loop member in ULP). The colon character is

    already illegal as refdes, so it should be easy to resolve this. It also

    works with deeper modules.

     

    I agree with you, however I don't think the GATESWAP command currently

    supports using the module name, it's not documented at least.

    Gateswapping between different levels of the hierarchy would get messy

    fast although a read of Warren's suggestion gives a work around.

     

    I'll create an enhancement report with Warren's suggestion, since it is

    the most detailed and addresses a few corner cases.

     

    Let's see what the devs do with it.

     

    Best Regards,

    Jorge Garcia

     

     

    There is one case that has not been mentioned so far:

     

    You can currently gate swap gates that are not in the same device so

    long as they are equivalent. The HELP describes the rules for this.

    So one should be able to choose from those gates also.

     

    Warren

     

    There is a very special case to look out for:only devices powered with

    the same power rails should swap gates! This may be a bit difficult to

    verify, since there is no direct relation between gates and their supply

    pins. Assuming that all gates are powered by their devices their 'pwr'

    pins is maybe a good approximation, but it's not covering all cases.

     

    I guess the current function is to not care about power nets?

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • autodeskguest
    autodeskguest over 9 years ago in reply to autodeskguest

    On 12.11.2016 01:40, warrenbrayshaw wrote:

    On 12/11/2016 8:35 a.m., Jorge Garcia wrote:

    On 11/11/2016 5:01 AM, Morten Leikvoll wrote:

    On 10.11.2016 18:24, Jorge Garcia wrote:

    Do you guys have any ideas? If we can have a suggestion of what should

    be implemented then that gives direction for the devs. How would you

    guys want this to work?

     

    I don't think there are hierarcy issues with the command line syntax

    Olin suggested. Gate swapping across hierarcy can be done with

    reference to "[module_instance_name:]gate_name" (the format that is

    listed under allparts() loop member in ULP). The colon character is

    already illegal as refdes, so it should be easy to resolve this. It also

    works with deeper modules.

     

    I agree with you, however I don't think the GATESWAP command currently

    supports using the module name, it's not documented at least.

    Gateswapping between different levels of the hierarchy would get messy

    fast although a read of Warren's suggestion gives a work around.

     

    I'll create an enhancement report with Warren's suggestion, since it is

    the most detailed and addresses a few corner cases.

     

    Let's see what the devs do with it.

     

    Best Regards,

    Jorge Garcia

     

     

    There is one case that has not been mentioned so far:

     

    You can currently gate swap gates that are not in the same device so

    long as they are equivalent. The HELP describes the rules for this.

    So one should be able to choose from those gates also.

     

    Warren

     

    There is a very special case to look out for:only devices powered with

    the same power rails should swap gates! This may be a bit difficult to

    verify, since there is no direct relation between gates and their supply

    pins. Assuming that all gates are powered by their devices their 'pwr'

    pins is maybe a good approximation, but it's not covering all cases.

     

    I guess the current function is to not care about power nets?

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube