Home › Practice › RTL Design › A mail sorter

A mail sorter

EasyRTLcombinational

One letter arrives, and the address on it says which of four boxes it goes into. The other three boxes stay empty.

Concept first. A demultiplexer (demux) is a mux run backwards: one data input and several outputs. The select lines say which output receives the input, and all the other outputs show 0. With 2 select bits there are 4 outputs. Picture four lamps in a row: only the lamp whose number is on the select lines can light, and it lights only if the data input is 1.

What to build.

Solve in your browser →

No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.

More in this track

← A rotary switch for dataLight up a clock digit →