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:
The tube is full. Nothing has been pushed yet.
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:
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.
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.