7
\$\begingroup\$

In short, what is the difference between buses and nets? Read some questions that seemed somehow related but still it is not clear for me.

Related:

\$\endgroup\$
  • 1
    \$\begingroup\$ A net is a "wire" which connects things, a bus is multiple nets in one (because they are related to each other like in an address bus, where a single wire doesn't make much sense, but drawing 32 wires would make it very hard to read) \$\endgroup\$ – Arsenal Oct 27 '15 at 13:35
  • \$\begingroup\$ Downvote for what? Leave it all here! \$\endgroup\$ – sitilge Oct 27 '15 at 14:01
  • \$\begingroup\$ A bus consists of nets. Simple as that =) \$\endgroup\$ – DerStrom8 Oct 27 '15 at 14:52
16
\$\begingroup\$

Nets connect two or more pins together - the connected pins should be routed in copper.

In Eagle, buses don't actually do very much, they just look pretty. You can however use them to keep track of which net names you a trying to route from one side of a schematic to another.


Here is an example of a few Eagle buses. Basically rather than drawing individual wires for every connection, you can instead draw one bus.

Bus example

Once you have drawn a bus, you give it a name, which should be a comma separated list of the name of every net you want to be combined into the bus. You can also group things by number. For example if you had 8 data lines which were named say data_0, data_1, data_2, etc. then you could add the name data_[0..7] in the bus name which would include all of data_0 through to data_7 inclusive.

Once the bus is named you can then use the Net tool (the one next to the Bus tool) to start drawing a net from the bus. With the Net tool, if you click on the bus you will see something like below. If you have any [x..x] entries as mentioned above, you will see them all grouped into a sub-menu.

net menu

You can then click on any menu item to start drawing a wire in that net. Basically this is equivalent to first using the wire tool and then the name tool. You can use the wire tool to extend nets that you started drawing with the net tool.

Once done you can use the label tool to display the net name to make it easy to see what is what.


The reason I say they are just pretty is two fold:

  1. If you delete the bus, nothing happens, any wires that are connected to it are not deleted, nor do they change name. This means even without the bus the pins are all still connected! Some people don't bother with the bus at all and just leave named stubs of nets lying around everywhere, though I think that just makes things hard to follow.

  2. In the layout they have no meaning what-so-ever, each net in the bus is treated as a separate net. You can't route them together as a bus (e.g. if you had 8 data lines you wanted to run in parallel).

\$\endgroup\$
  • \$\begingroup\$ Now I think of them as a group of wires (with some benefits as you mentioned) :) \$\endgroup\$ – sitilge Oct 27 '15 at 14:00
  • \$\begingroup\$ @sitilge in different CADs they might turn into a group of wires with some more benefits (bus routing on the PCB for example (Altium has that if I understood correctly)) \$\endgroup\$ – Arsenal Oct 27 '15 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.