need("baz") need("fred") need("mux2b") need("mux2") Define("syn15x4d") GATE("x1", type="inp") GATE("x2", type="inp") GATE("x3", type="inp") GATE("x4", type="inp") GATE("x5", type="inp") GATE("x6", type="inp") GATE("x7", type="inp") GATE("x8", type="inp") GATE("x9", type="inp") GATE("x10", type="inp") GATE("x11", type="inp") GATE("x12", type="inp") GATE("x13", type="inp") GATE("x14", type="inp") GATE("x15", type="inp") GATE("y1", type="out") GATE("y2", type="out") GATE("y3", type="out") GATE("y4", type="out") GATE("g1", type="mux1") GATE("g2", type="and3") GATE("g3", type="baz") GATE("g4", type="and5") GATE("g5", type="xor2") GATE("g6", type="fred") GATE("g7", type="and3") GATE("g8", type="or4") GATE("g9", type="mux2b") GATE("g10", type="and6") GATE("g11", type="mux2") GATE("g12", type="nand6") WIRE("x14", "g1/x0") WIRE("x2", "g1/x1") WIRE("x6", "g1/s1") WIRE("x4", "g2/x1") WIRE("x3", "g2/x2") WIRE("x8", "g2/x3") WIRE("x8", "g3/x1") WIRE("x1", "g3/x2") WIRE("x7", "g3/x3") WIRE("g1/y", "g4/x1") WIRE("x11", "g4/x2") WIRE("x12", "g4/x3") WIRE("x7", "g4/x4") WIRE("g3/y", "g4/x5") WIRE("x10", "g5/x1") WIRE("x6", "g5/x2") WIRE("x15", "g6/x1") WIRE("g2/y", "g6/x2") WIRE("x9", "g7/x1") WIRE("x13", "g7/x2") WIRE("g5/y", "g7/x3") WIRE("x4", "g8/x1") WIRE("x11", "g8/x2") WIRE("x3", "g8/x3") WIRE("g4/y", "g8/x4") WIRE("x1", "g9/x0") WIRE("x2", "g9/x1") WIRE("x3", "g9/x2") WIRE("x4", "g9/x3") WIRE("x5", "g9/s1") WIRE("x6", "g9/s2") WIRE("x7", "g10/x1") WIRE("x8", "g10/x2") WIRE("x9", "g10/x3") WIRE("x10", "g10/x4") WIRE("x11", "g10/x5") WIRE("x12", "g10/x6") WIRE("x13", "g11/x0") WIRE("x14", "g11/x1") WIRE("x15", "g11/x2") WIRE("g1/y", "g11/x3") WIRE("g2/y", "g11/s1") WIRE("g3/y", "g11/s2") WIRE("g4/y", "g12/x1") WIRE("g5/y", "g12/x2") WIRE("g6/y1", "g12/x3") WIRE("g6/y2", "g12/x4") WIRE("g7/y", "g12/x5") WIRE("g8/y", "g12/x6") WIRE("g9/y", "y1") WIRE("g10/y", "y2") WIRE("g11/y", "y3") WIRE("g12/y", "y4") EndDef()