Inside a computer, small routing jobs happen billions of times a second. Of eight registers (small storage slots inside the processor), one is chosen to feed the arithmetic unit, the ALU. Of sixteen memory chips, one is switched on and the other fifteen are left alone. A byte that sits side by side in a register is sent out one bit after another on a single wire. None of these circuits has a memory or a clock: you put the inputs in, and the outputs follow.
These are the data-routing circuits: the multiplexer, the demultiplexer, the decoder and the encoder. Written papers ask for them again and again: "design a 6×1 MUX using 2×1 MUXes", "build an XOR gate from a decoder and a NOR gate", "implement this function on a 4×1 multiplexer". By the end of the chapter you'll be able to count select lines, outputs and blocks without hesitation.
You'll design multiplexers and demultiplexers, grow big ones out of small ones, and make a multiplexer or a decoder produce any function you like. You'll build an encoder and a priority encoder. And you'll see a ROM, a PLA, a PAL and an FPGA for what they are: the same truth table, kept in silicon, which is where all this routing leads.
We'll go in six parts, from easy to hard: the multiplexer; multiplexer trees and the multiplexer as any function; demultiplexers and decoders; functions from decoders, and encoders; the ROM; and finally the programmable chips: PLA, PAL, CPLD and FPGA. We'll use what the last chapter gave us: a truth table for every circuit, the minterms that make a function, and the six-step design recipe.