// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: tools/builtInChips/Mux.hdl /** * Multiplexor: * out = ((sel == 0), a, b) */ CHIP Mux { IN a, b, sel; OUT out; BUILTIN Mux; }