need("decoder2") Define("syn12x2a") 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("y1", type="out") GATE("y2", type="out") GATE("g1", type="and2") GATE("g2", type="decoder2") GATE("g3", type="nand9") GATE("g4", type="and8") WIRE("x1", "g1/x1") WIRE("x9", "g1/x2") WIRE("x4", "g2/x1") WIRE("x7", "g2/x2") WIRE("x1", "g3/x1") WIRE("x2", "g3/x2") WIRE("x3", "g3/x3") WIRE("x4", "g3/x4") WIRE("x5", "g3/x5") WIRE("x6", "g3/x6") WIRE("x7", "g3/x7") WIRE("x8", "g3/x8") WIRE("x9", "g3/x9") WIRE("x10", "g4/x1") WIRE("x11", "g4/x2") WIRE("x12", "g4/x3") WIRE("g1/y", "g4/x4") WIRE("g2/y1", "g4/x5") WIRE("g2/y2", "g4/x6") WIRE("g2/y3", "g4/x7") WIRE("g2/y4", "g4/x8") WIRE("g3/y", "y1") WIRE("g4/y", "y2") EndDef()