A 2-to-1 Multiplexer is a good example to show the interconnection of components. A 2-to-1 MUX consists of one Inverter (Gl), two 2-input AND gates (G2 and G3),and one 2-input OR gate (G4). Figure (3) shows how these components are connected to each other. A 2-to- 1 MUX has three inputs and one output; two "data inputs", data-0 and data-1, one "sel" and one "output" respectiveIy. The VHDL model of a 2-to-1 MUX is as follows: