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
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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) How best to connect a bus over multiple 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
  • State Verified Answer
  • Replies 3 replies
  • Subscribers 178 subscribers
  • Views 1245 views
  • Users 0 members are here
  • bus_connection
  • xref
  • schematic
Related

How best to connect a bus over multiple schematic sheets?

larsen
larsen over 13 years ago

I draw a bus on sheet1, name it myBus:D[0..15],clk

On another sheet (sheet2) I want to tap into this bus. What is the recommended method to make the bus available there as well?

 

  1. Copying the bus: (by: @sheet1, select_bus, copy_selection, @sheet2, paste) works, but it is awkward.
  2. It works to draw a (new) bus in sheet2 and then copy the entire name string myBus:D[0..15],clk from sheet1 bus name field to sheet2's bus's name string. This is simpler than the first method, but suffers, as the first, from that renaming of bus or bus elements does not work across sheets. You must remember to update all your references manually.

 

Finally, is it correct that cross reference marking (net->xref) is not avilable for busses? I could not figure out to get this to work at least. But xref's  are very practical - check for yourself, a couple of weeks after you drew your schematics.image

 

Thanks for any advice you can offer.

----------------UPDATE:-------------------------------------------------------------------------------------------------------

Methods 1 and 2 seems not to work after all. When I

A) close EagleCad,

B) reload the schematic,

 

there is an error in the .sch file: duplicate name "myBus:D[0..15],clk" at line xyz. And worse still, the schematics will not load any more. Only cure I found was to open the .sch in a text editor and patch the bus name at the indicated location to, lets say "myBusXXXX:D[0..15],clk". Then the schematic loads correctly (and with the name changed on one location). Thanks for using xml database format!

 

Odd that EagleCAd did not complain when the second bus instance was created in the first place.

 

Bottom: Line I thought I understood how to make multi sheet busses. Now I dont any more.

 

Advice is very welcome.

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 13 years ago in reply to larsen +1 verified
    On 2/26/2012 6:10 AM, henning larsen wrote: How to connect a bus across sheets?.... Thanks for any hints. Hi Henning, I hope you are doing well. In EAGLE connections are defined by net name, so if you…
  • larsen
    0 larsen over 13 years ago

    How to connect a bus across sheets?....

     

    Thanks for any hints.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to larsen

    On 2/26/2012 6:10 AM, henning larsen wrote:

      How to connect a bus across sheets?....

     

    Thanks for any hints.

     

     

    Hi Henning,

     

    I hope you are doing well. In EAGLE connections are defined by net name,

    so if you want to connect to a bus from a different sheet all you have

    to do is create a net and give the same name as one of the nets assigned

    to a BUS.

     

    Connections are defined by nets, a BUS is like a container for nets so

    you can XREF the nets but not the BUS.

     

    hth,

     

    Jorge Garcia

     

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • larsen
    0 larsen over 13 years ago in reply to Former Member

    Hello Jorge,

     

    Thank you very much for clarifying this to me.

     

    So I conclude: the bus' name is not used for connections. It can be any name, except, it is only allowed to have one bus with that name in the design. Not even on the same sheet can you have two busses with the same name.

     

    As I do like to group things for clarity I plan to use bus names which hints on their relationship:

    Example:

    On sheet one the databus is called: DataBus1:D[0..15],A[0..19],RW,DS

     

    On sheet two the databus is called: DataBus2:D[0..15],A[0..19],RW,DS

     

    Copy paste from one bus name string to the other should ensure coherence. But dicipline is required when renaming!

     

    I did find one other surprising thing about busses:

    The net you wire to the bus can not be named beforehand unless its name is already a net in the bus. Seems obvious at first, but it means that you have to pass directly from a pin to the bus if you want to benefit from the bus' netname pull-down menu. No intermediate corners - en route on your net is allowed, otherwise you will get the error message that "net N$123 is not member of DataBus2:D[0..15],A[0..19],RW,DS".

     

    For sure, to the experienced user this is not new and maybe if I one day, read the manual I could find this information.

     

    I would like to vote for a better support of multi sheet busses and xref for busses  in future releases.

     

    Thanks again to Jorge for clarifying things.

     

    Regards,

    henning


    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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 © 2025 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