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) Diff bus naming
  • 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 5 replies
  • Subscribers 181 subscribers
  • Views 805 views
  • Users 0 members are here
Related

Diff bus naming

autodeskguest
autodeskguest over 9 years ago

 

Currently, bus names may contain a single end bus of signal names ending

with the index#, like D[0..7],A[0..15]

 

However, diff signals needs to end with _P or _N for eagle to detect

them as diff, hence they can not be added to a bus using the index

range. D[0..7]_P,D[0..7]_N doesnt work. This means, diff buses must be

written with very long names.

 

I suggest that bus names should at support one of the following, ranging

from simple to complex effort:

 

1-Index in the middle of the name, such as D[0..7]_P,D[0..7]_N

 

2-D[0..7]_[PN] for even more compactness

 

3-Multiple indexes like D[A..C][0..7]_[PN], in good old regexp style.

 

 

Afaics, all of them should be compatible with existing names.

 

 

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

    On 09/22/2016 07:38 AM, Morten Leikvoll wrote:

     

    Currently, bus names may contain a single end bus of signal names

    ending with the index#, like D[0..7],A[0..15]

     

    However, diff signals needs to end with _P or _N for eagle to detect

    them as diff, hence they can not be added to a bus using the index

    range. D[0..7]_P,D[0..7]_N doesnt work. This means, diff buses must be

    written with very long names.

     

    I suggest that bus names should at support one of the following,

    ranging from simple to complex effort:

     

    1-Index in the middle of the name, such as D[0..7]_P,D[0..7]_N

     

    One could use DP[0..7],DN[0..7], or D_P[0..7],D_N[0..7].

     

     

    2-D[0..7]_[PN] for even more compactness

     

    3-Multiple indexes like D[A..C][0..7]_[PN], in good old regexp style.

     

    I see your point, multiple iterators in any position rather than a

    single iterator at the end.

     

    Odd that you mention regexps.  Every time I type in a bus name index I

    use a dash to specify a range, and have to go back and correct it to two

    dots.  Creatures of habit, I guess.

     

    Jorge, I'm in for this one.

     

     

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

    On 22.09.2016 14:41, Chuck Huber wrote:

    On 09/22/2016 07:38 AM, Morten Leikvoll wrote:

     

    Currently, bus names may contain a single end bus of signal names

    ending with the index#, like D[0..7],A[0..15]

     

    However, diff signals needs to end with _P or _N for eagle to detect

    them as diff, hence they can not be added to a bus using the index

    range. D[0..7]_P,D[0..7]_N doesnt work. This means, diff buses must be

    written with very long names.

     

    I suggest that bus names should at support one of the following,

    ranging from simple to complex effort:

     

    1-Index in the middle of the name, such as D[0..7]_P,D[0..7]_N

     

    One could use DP[0..7],DN[0..7], or D_P[0..7],D_N[0..7].

     

    I guess you mean that the diff definition has to change instead of bus

    naming definitions. DPn/DNn will not be routed as diff as it is now.

    Yes thats an option, to allow something after the P or N.. Or even make

    a general regexp for P/N pairs, like "^.*_[PN]$". I think it was

    suggested back at the days just before diff pair routing appeared.

     

    2-D[0..7]_[PN] for even more compactness

     

    3-Multiple indexes like D[A..C][0..7]_[PN], in good old regexp style.

     

    I see your point, multiple iterators in any position rather than a

    single iterator at the end.

     

    Odd that you mention regexps.  Every time I type in a bus name index I

    use a dash to specify a range, and have to go back and correct it to two

    dots.  Creatures of habit, I guess.

     

    Jorge, I'm in for this one.

     

    Regexp could be used more in Eagle. I use the strxstr() often in ULP's.

    I would like to see it used for show commands too, but thats for a

    different thread.

     

     

     

     

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

    I'll support this suggestion too, I use busses a lot and diff pairs quite

    often, it would be very nice to be able to have a nice compact notation to

    specify the diff pairs within a bus. Happy with either option 1 or 2 for

    this. Option 3 looks like a great idea too, would have to have a think

    about the possibilities for how the extra flexibility could be used but in

    general I like all these ideas.

    --

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

     

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

    On 09/22/2016 08:52 AM, Morten Leikvoll wrote:

    On 22.09.2016 14:41, Chuck Huber wrote:

    On 09/22/2016 07:38 AM, Morten Leikvoll wrote:

     

    Currently, bus names may contain a single end bus of signal names

    ending with the index#, like D[0..7],A[0..15]

     

    However, diff signals needs to end with _P or _N for eagle to detect

    them as diff, hence they can not be added to a bus using the index

    range. D[0..7]_P,D[0..7]_N doesnt work. This means, diff buses must be

    written with very long names.

     

    I suggest that bus names should at support one of the following,

    ranging from simple to complex effort:

     

    1-Index in the middle of the name, such as D[0..7]_P,D[0..7]_N

     

    One could use DP[0..7],DN[0..7], or D_P[0..7],D_N[0..7].

     

    I guess you mean that the diff definition has to change instead of bus

    naming definitions. DPn/DNn will not be routed as diff as it is now.

    Yes thats an option, to allow something after the P or N.. Or even

    make a general regexp for P/N pairs, like "^.*_[PN]$". I think it was

    suggested back at the days just before diff pair routing appeared.

     

    2-D[0..7]_[PN] for even more compactness

     

    3-Multiple indexes like D[A..C][0..7]_[PN], in good old regexp style.

     

    I see your point, multiple iterators in any position rather than a

    single iterator at the end.

     

    Hmmm...  So would you want the entire bus to route in the same manner as

    a single diff pair routes today (the follow-me routing feature), or

    would you prefer to route individual pairs separately?

     

    I kind of like this.  An entire bus, differential pairs or not, could be

    routed in this manner.

     

    Later,

        - Chuck

     

     

     

     

     

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

    On 23.09.2016 17:58, Chuck Huber wrote:

    On 09/22/2016 08:52 AM, Morten Leikvoll wrote:

    On 22.09.2016 14:41, Chuck Huber wrote:

    On 09/22/2016 07:38 AM, Morten Leikvoll wrote:

     

    Currently, bus names may contain a single end bus of signal names

    ending with the index#, like D[0..7],A[0..15]

     

    However, diff signals needs to end with _P or _N for eagle to detect

    them as diff, hence they can not be added to a bus using the index

    range. D[0..7]_P,D[0..7]_N doesnt work. This means, diff buses must be

    written with very long names.

     

    I suggest that bus names should at support one of the following,

    ranging from simple to complex effort:

     

    1-Index in the middle of the name, such as D[0..7]_P,D[0..7]_N

     

    One could use DP[0..7],DN[0..7], or D_P[0..7],D_N[0..7].

     

    I guess you mean that the diff definition has to change instead of bus

    naming definitions. DPn/DNn will not be routed as diff as it is now.

    Yes thats an option, to allow something after the P or N.. Or even

    make a general regexp for P/N pairs, like "^.*_[PN]$". I think it was

    suggested back at the days just before diff pair routing appeared.

     

    2-D[0..7]_[PN] for even more compactness

     

    3-Multiple indexes like D[A..C][0..7]_[PN], in good old regexp style.

     

    I see your point, multiple iterators in any position rather than a

    single iterator at the end.

     

    Hmmm...  So would you want the entire bus to route in the same manner as

    a single diff pair routes today (the follow-me routing feature), or

    would you prefer to route individual pairs separately?

     

    I kind of like this.  An entire bus, differential pairs or not, could be

    routed in this manner.

     

    I was more on schematic level, but you could suggest bus routing in a

    new thread. Sometimes I have missed it, even for single end buses. It

    would have to define a way to select multiple airwires for parallel routing.

     

     

     

    • 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