need("mux2b") need("adder3") Define("syn12x9a") 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("y3", type="out") GATE("y4", type="out") GATE("y5", type="out") GATE("y6", type="out") GATE("y7", type="out") GATE("y8", type="out") GATE("y9", type="out") GATE("g1", type="nand8") GATE("g2", type="not") GATE("g3", type="not") GATE("g4", type="and7") GATE("g5", type="mux2b") GATE("g6", type="adder3") GATE("g7", type="xor10") GATE("g8", type="or11") GATE("g9", type="xor4") GATE("g10", type="nand4") GATE("g11", type="not") GATE("g12", type="xor12") GATE("g13", type="nand5") GATE("g14", type="and4") GATE("g15", type="nand9") GATE("g16", type="or17") GATE("g17", type="or17") GATE("g18", type="nor2") GATE("g19", type="nor11") GATE("g20", type="xor14") GATE("g21", type="xor4") GATE("g22", type="xor4") GATE("g23", type="or4") GATE("g24", type="and4") GATE("g25", type="or4") GATE("g26", type="xor4") GATE("g27", type="xor4") GATE("g28", type="nor4") GATE("g29", type="or3") WIRE("x12", "g1/x1") WIRE("x7", "g1/x2") WIRE("x6", "g1/x3") WIRE("x4", "g1/x4") WIRE("x10", "g1/x5") WIRE("x8", "g1/x6") WIRE("x9", "g1/x7") WIRE("x1", "g1/x8") WIRE("x11", "g2/x") WIRE("x5", "g3/x") WIRE("x12", "g4/x1") WIRE("x3", "g4/x2") WIRE("x9", "g4/x3") WIRE("x2", "g4/x4") WIRE("x8", "g4/x5") WIRE("x5", "g4/x6") WIRE("x6", "g4/x7") WIRE("x11", "g5/x0") WIRE("g1/y", "g5/x1") WIRE("x6", "g5/x2") WIRE("g3/y", "g5/x3") WIRE("x1", "g5/s1") WIRE("x12", "g5/s2") WIRE("x5", "g6/a2") WIRE("x12", "g6/a1") WIRE("g4/y", "g6/a0") WIRE("g1/y", "g6/b2") WIRE("x9", "g6/b1") WIRE("x6", "g6/b0") WIRE("g3/y", "g6/cin") WIRE("x3", "g7/x1") WIRE("x4", "g7/x2") WIRE("g2/y", "g7/x3") WIRE("x7", "g7/x4") WIRE("g5/y", "g7/x5") WIRE("x6", "g7/x6") WIRE("x8", "g7/x7") WIRE("x1", "g7/x8") WIRE("x11", "g7/x9") WIRE("g4/y", "g7/x10") WIRE("g6/y0", "g8/x1") WIRE("x2", "g8/x2") WIRE("x4", "g8/x3") WIRE("g7/y", "g8/x4") WIRE("x5", "g8/x5") WIRE("g6/y1", "g8/x6") WIRE("g1/y", "g8/x7") WIRE("x12", "g8/x8") WIRE("x3", "g8/x9") WIRE("x10", "g8/x10") WIRE("x7", "g8/x11") WIRE("g2/y", "g9/x1") WIRE("g6/y2", "g9/x2") WIRE("x3", "g9/x3") WIRE("x1", "g9/x4") WIRE("g1/y", "g10/x1") WIRE("x7", "g10/x2") WIRE("x12", "g10/x3") WIRE("g3/y", "g10/x4") WIRE("g5/y", "g11/x") WIRE("g7/y", "g12/x1") WIRE("g6/cout", "g12/x2") WIRE("x2", "g12/x3") WIRE("g6/y2", "g12/x4") WIRE("g9/y", "g12/x5") WIRE("x5", "g12/x6") WIRE("g8/y", "g12/x7") WIRE("x9", "g12/x8") WIRE("x7", "g12/x9") WIRE("x12", "g12/x10") WIRE("x6", "g12/x11") WIRE("g2/y", "g12/x12") WIRE("g2/y", "g13/x1") WIRE("x3", "g13/x2") WIRE("g5/y", "g13/x3") WIRE("g1/y", "g13/x4") WIRE("g9/y", "g13/x5") WIRE("x8", "g14/x1") WIRE("g5/y", "g14/x2") WIRE("x1", "g14/x3") WIRE("g1/y", "g14/x4") WIRE("x8", "g15/x1") WIRE("x6", "g15/x2") WIRE("g13/y", "g15/x3") WIRE("x9", "g15/x4") WIRE("g6/y2", "g15/x5") WIRE("g7/y", "g15/x6") WIRE("g8/y", "g15/x7") WIRE("x7", "g15/x8") WIRE("g9/y", "g15/x9") WIRE("g6/cout", "g16/x1") WIRE("g3/y", "g16/x2") WIRE("x11", "g16/x3") WIRE("x1", "g16/x4") WIRE("g6/y0", "g16/x5") WIRE("g2/y", "g16/x6") WIRE("g4/y", "g16/x7") WIRE("x4", "g16/x8") WIRE("g6/y1", "g16/x9") WIRE("g6/y2", "g16/x10") WIRE("g12/y", "g16/x11") WIRE("x8", "g16/x12") WIRE("x12", "g16/x13") WIRE("g13/y", "g16/x14") WIRE("x3", "g16/x15") WIRE("x7", "g16/x16") WIRE("x9", "g16/x17") WIRE("g6/y2", "g17/x1") WIRE("g6/cout", "g17/x2") WIRE("x9", "g17/x3") WIRE("x11", "g17/x4") WIRE("g6/y0", "g17/x5") WIRE("g4/y", "g17/x6") WIRE("x10", "g17/x7") WIRE("x3", "g17/x8") WIRE("g1/y", "g17/x9") WIRE("g8/y", "g17/x10") WIRE("g3/y", "g17/x11") WIRE("x1", "g17/x12") WIRE("x6", "g17/x13") WIRE("g12/y", "g17/x14") WIRE("g9/y", "g17/x15") WIRE("x8", "g17/x16") WIRE("g10/y", "g17/x17") WIRE("x6", "g18/x1") WIRE("g5/y", "g18/x2") WIRE("g1/y", "g19/x1") WIRE("g4/y", "g19/x2") WIRE("g10/y", "g19/x3") WIRE("g6/y1", "g19/x4") WIRE("g13/y", "g19/x5") WIRE("g6/cout", "g19/x6") WIRE("x9", "g19/x7") WIRE("x12", "g19/x8") WIRE("g15/y", "g19/x9") WIRE("x7", "g19/x10") WIRE("g14/y", "g19/x11") WIRE("g18/y", "g20/x1") WIRE("g9/y", "g20/x2") WIRE("g1/y", "g20/x3") WIRE("g8/y", "g20/x4") WIRE("g5/y", "g20/x5") WIRE("g6/y2", "g20/x6") WIRE("g14/y", "g20/x7") WIRE("x8", "g20/x8") WIRE("g16/y", "g20/x9") WIRE("g13/y", "g20/x10") WIRE("g17/y", "g20/x11") WIRE("g11/y", "g20/x12") WIRE("g3/y", "g20/x13") WIRE("g6/y1", "g20/x14") WIRE("g7/y", "g21/x1") WIRE("g3/y", "g21/x2") WIRE("g14/y", "g21/x3") WIRE("x10", "g21/x4") WIRE("x7", "g22/x1") WIRE("g6/y2", "g22/x2") WIRE("x11", "g22/x3") WIRE("g16/y", "g22/x4") WIRE("g6/cout", "g23/x1") WIRE("g17/y", "g23/x2") WIRE("g8/y", "g23/x3") WIRE("g18/y", "g23/x4") WIRE("g10/y", "g24/x1") WIRE("x9", "g24/x2") WIRE("g1/y", "g24/x3") WIRE("g13/y", "g24/x4") WIRE("x8", "g25/x1") WIRE("g4/y", "g25/x2") WIRE("x1", "g25/x3") WIRE("g11/y", "g25/x4") WIRE("g5/y", "g26/x1") WIRE("x4", "g26/x2") WIRE("x12", "g26/x3") WIRE("g6/y1", "g26/x4") WIRE("g15/y", "g27/x1") WIRE("x3", "g27/x2") WIRE("x5", "g27/x3") WIRE("g12/y", "g27/x4") WIRE("g2/y", "g28/x1") WIRE("g19/y", "g28/x2") WIRE("g9/y", "g28/x3") WIRE("x6", "g28/x4") WIRE("g20/y", "g29/x1") WIRE("x2", "g29/x2") WIRE("g6/y0", "g29/x3") WIRE("g21/y", "y1") WIRE("g22/y", "y2") WIRE("g23/y", "y3") WIRE("g24/y", "y4") WIRE("g25/y", "y5") WIRE("g26/y", "y6") WIRE("g27/y", "y7") WIRE("g28/y", "y8") WIRE("g29/y", "y9") EndDef()