Skip to content

No. 4 3 min read

How does a chip pass a bit along?

Electrons in a wire crawl slower than a snail, yet signals cross a chip almost instantly. The trick is that information isn’t the electrons. It’s the push.

In my post on transistors I described a chip as billions of tiny switches. But a switch on its own does nothing useful. Each one has to tell the next one whether it is on or off. So how does a 1 actually travel from one transistor to another?

The short answer: the electrons barely move. What travels is a push.

A bit is a voltage, not an electron

A copper wire is already packed with free electrons, all the way along. Nothing needs to be poured in from one end. What changes is how hard those electrons are being pushed. That push is called voltage, a bit like water pressure in a pipe.

To send a 1, a transistor raises the voltage on the wire. To send a 0, it lets the voltage drop back to almost zero. The next transistor only has to check which of the two it feels: high pressure, or none.

So a bit isn’t a particular electron arriving somewhere. It is a level: high or low, written as 1 or 0.

Slow electrons, fast signals

Here is the strange part. In an ordinary copper wire, electrons drift forward at only a few centimetres an hour, slower than a snail. Yet a signal crosses the same wire almost instantly.

Think of a tube already full of marbles. Push one in at the left and one pops out at the right straight away, even though each marble only moved a tiny bit. Try it:

Marbles in a tube A long tube is completely full of marbles. Pushing one more in at the left makes one fall out at the right immediately, although every marble moves only one marble width. push in pops out electrons in a wire

The tube is full. Nothing has been pushed yet.

Figure 1. Each marble moves only one marble width, but the push reaches the far end at once. Electrons in a wire behave the same way.

Electrons repel each other, so each one nudges its neighbour, and the nudge races down the wire far faster than any single electron moves. Along a cable it travels at a large fraction of the speed of light. The information rides on that nudge, not on any one electron.

Passing a bit along, billions of times a second

Inside a chip, the wire between two transistors is a tiny strip of copper that ends at the gate of the next transistor. Think of the wire and gate together as a small bucket. To send a 1, the first transistor fills the bucket with electric charge until the voltage is high. To send a 0, it empties it. The next transistor sees full or empty, switches on or off, and passes the result along in turn.

A clock keeps everyone in step. At every tick, each bit can change. A chip running at 3 GHz ticks three billion times a second, so the line of bits looks like this:

A stream of bits as a voltage over time Voltage on a wire switches between high and low at each clock tick, spelling out the bits 1 0 1 1 0 1 0 0. high low 1011 0100 clock each tick lasts a third of a billionth of a second at 3 GHz
Figure 2. The voltage on one wire over eight clock ticks. High means 1, low means 0.

Why moving bits is the expensive part

Every time one of these buckets is filled and emptied, a little energy turns into heat. Short wires inside a chip are small buckets. Long wires, especially the ones that leave the chip to reach a separate memory chip, are much bigger ones. That is why fetching a number from memory can cost hundreds of times more energy than adding two numbers together, or more.

Energy to compute versus energy to move data A tiny square stands for the energy to add two numbers inside a chip. A square two hundred times larger in area stands for the energy to fetch a number from a separate memory chip. add two numbers inside the chip fetch a number from a separate memory chip
Figure 3. Illustrative: the big square has 200 times the area of the small one. The real ratio depends on the chip, but moving data usually costs far more than computing with it.

This is where my own research comes in. Packaging decides how far bits have to travel between chips. Placing memory right next to the processor, or stacking chips on top of each other, makes those wires shorter, so every bit costs less energy to move.

So a bit is not a tiny traveller. It is a push passed along a line of electrons that hardly move, billions of times a second, and the shorter the line, the less it costs.

Sources

  1. HyperPhysics (Georgia State University), Microscopic View of Electric Current
  2. M. Horowitz (2014), Computing’s energy problem (and what we can do about it), IEEE ISSCC
  3. V. Sze et al. (2017), Efficient Processing of Deep Neural Networks: A Tutorial and Survey

Get the next note in your inbox

Longer write-ups on how chips are packaged and what that costs the environment, explained for curious readers.

Check your inbox to confirm your subscription.