need("syn9x3a") need("count3") need("poo") need("fred") Define("syn17x3a") 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("x16", type="inp") GATE("x17", type="inp") GATE("y1", type="out") GATE("y2", type="out") GATE("y3", type="out") GATE("g1", type="count3") GATE("g2", type="poo") GATE("g3", type="or7") GATE("g4", type="or3") GATE("g5", type="or4") GATE("g6", type="nor2") GATE("g7", type="fred") GATE("g8", type="or5") GATE("g9", type="ham") GATE("g10", type="or9") GATE("g11", type="nand5") GATE("g12", type="syn9x3a") GATE("g13", type="nand4") GATE("g14", type="nand4") GATE("g15", type="nand3") GATE("g16", type="xor2") GATE("g17", type="xor2") WIRE("x5", "g1/x1") WIRE("x16", "g1/x2") WIRE("x11", "g1/x3") WIRE("x10", "g2/x1") WIRE("x1", "g2/x2") WIRE("x7", "g2/x3") WIRE("g1/y1", "g3/x1") WIRE("g1/y2", "g3/x2") WIRE("x4", "g3/x3") WIRE("x16", "g3/x4") WIRE("x12", "g3/x5") WIRE("x3", "g3/x6") WIRE("x5", "g3/x7") WIRE("x13", "g4/x1") WIRE("g3/y", "g4/x2") WIRE("g2/y2", "g4/x3") WIRE("x5", "g5/x1") WIRE("x11", "g5/x2") WIRE("x10", "g5/x3") WIRE("x15", "g5/x4") WIRE("x16", "g6/x1") WIRE("g5/y", "g6/x2") WIRE("g6/y", "g7/x1") WIRE("x9", "g7/x2") WIRE("x2", "g8/x1") WIRE("g7/y1", "g8/x2") WIRE("g7/y2", "g8/x3") WIRE("x7", "g8/x4") WIRE("g3/y", "g8/x5") WIRE("g8/y", "g9/x1") WIRE("x17", "g9/x2") WIRE("x10", "g9/x3") WIRE("x5", "g9/x4") WIRE("x1", "g10/x1") WIRE("x2", "g10/x2") WIRE("x3", "g10/x3") WIRE("x4", "g10/x4") WIRE("x5", "g10/x5") WIRE("x6", "g10/x6") WIRE("x7", "g10/x7") WIRE("x8", "g10/x8") WIRE("x9", "g10/x9") WIRE("x10", "g11/x1") WIRE("x11", "g11/x2") WIRE("x12", "g11/x3") WIRE("x13", "g11/x4") WIRE("x14", "g11/x5") WIRE("x15", "g12/x1") WIRE("x16", "g12/x2") WIRE("x17", "g12/x3") WIRE("g1/y1", "g12/x4") WIRE("g1/y2", "g12/x5") WIRE("g2/y1", "g12/x6") WIRE("g2/y2", "g12/x7") WIRE("g3/y", "g12/x8") WIRE("g4/y", "g12/x9") WIRE("g5/y", "g13/x1") WIRE("g6/y", "g13/x2") WIRE("g7/y1", "g13/x3") WIRE("g7/y2", "g13/x4") WIRE("g8/y", "g14/x1") WIRE("g9/y1", "g14/x2") WIRE("g9/y2", "g14/x3") WIRE("g9/y3", "g14/x4") WIRE("g10/y", "g15/x1") WIRE("g11/y", "g15/x2") WIRE("g12/y1", "g15/x3") WIRE("g12/y2", "g16/x1") WIRE("g12/y3", "g16/x2") WIRE("g13/y", "g17/x1") WIRE("g14/y", "g17/x2") WIRE("g15/y", "y1") WIRE("g16/y", "y2") WIRE("g17/y", "y3") EndDef()