need("syn12x7a") need("syn13x4b") need("syn16x6a") need("syn10x3a") need("adder3") Define("syn10x5a") 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("y1", type="out") GATE("y2", type="out") GATE("y3", type="out") GATE("y4", type="out") GATE("y5", type="out") GATE("g1", type="and3") GATE("g2", type="xor7") GATE("g3", type="not") GATE("g4", type="xor4") GATE("g5", type="and3") GATE("g6", type="adder3") GATE("g7", type="nor6") GATE("g8", type="syn16x6a") GATE("g9", type="syn12x7a") GATE("g10", type="nand12") GATE("g11", type="xor2") GATE("g12", type="or17") GATE("g13", type="syn10x3a") GATE("g14", type="syn13x4b") GATE("g15", type="or7") GATE("g16", type="nor17") GATE("g17", type="nor6") GATE("g18", type="adder3") GATE("g19", type="nand6") GATE("g20", type="or2") GATE("g21", type="or14") GATE("g22", type="xor4") GATE("g23", type="xor6") GATE("g24", type="xor3") GATE("g25", type="or4") WIRE("x3", "g1/x1") WIRE("x9", "g1/x2") WIRE("x6", "g1/x3") WIRE("g1/y", "g2/x1") WIRE("x6", "g2/x2") WIRE("x10", "g2/x3") WIRE("x4", "g2/x4") WIRE("x7", "g2/x5") WIRE("x8", "g2/x6") WIRE("x1", "g2/x7") WIRE("x9", "g3/x") WIRE("x9", "g4/x1") WIRE("x3", "g4/x2") WIRE("g2/y", "g4/x3") WIRE("g3/y", "g4/x4") WIRE("g2/y", "g5/x1") WIRE("x1", "g5/x2") WIRE("x4", "g5/x3") WIRE("x3", "g6/a2") WIRE("g2/y", "g6/a1") WIRE("x6", "g6/a0") WIRE("g4/y", "g6/b2") WIRE("g5/y", "g6/b1") WIRE("g3/y", "g6/b0") WIRE("x2", "g6/cin") WIRE("x10", "g7/x1") WIRE("x3", "g7/x2") WIRE("g3/y", "g7/x3") WIRE("g2/y", "g7/x4") WIRE("x9", "g7/x5") WIRE("g6/cout", "g7/x6") WIRE("g3/y", "g8/x1") WIRE("x9", "g8/x2") WIRE("g4/y", "g8/x3") WIRE("x1", "g8/x4") WIRE("x6", "g8/x5") WIRE("g6/y0", "g8/x6") WIRE("x4", "g8/x7") WIRE("x2", "g8/x8") WIRE("x7", "g8/x9") WIRE("x8", "g8/x10") WIRE("x5", "g8/x11") WIRE("g6/y2", "g8/x12") WIRE("g2/y", "g8/x13") WIRE("g6/cout", "g8/x14") WIRE("g1/y", "g8/x15") WIRE("g5/y", "g8/x16") WIRE("g4/y", "g9/x1") WIRE("x9", "g9/x2") WIRE("g1/y", "g9/x3") WIRE("g6/y0", "g9/x4") WIRE("g6/cout", "g9/x5") WIRE("g7/y", "g9/x6") WIRE("g5/y", "g9/x7") WIRE("x4", "g9/x8") WIRE("x8", "g9/x9") WIRE("x7", "g9/x10") WIRE("g2/y", "g9/x11") WIRE("x5", "g9/x12") WIRE("x9", "g10/x1") WIRE("g1/y", "g10/x2") WIRE("g9/y6", "g10/x3") WIRE("g7/y", "g10/x4") WIRE("g2/y", "g10/x5") WIRE("x1", "g10/x6") WIRE("g6/y2", "g10/x7") WIRE("g5/y", "g10/x8") WIRE("g8/y5", "g10/x9") WIRE("g8/y6", "g10/x10") WIRE("x4", "g10/x11") WIRE("g3/y", "g10/x12") WIRE("g9/y1", "g11/x1") WIRE("g8/y5", "g11/x2") WIRE("x3", "g12/x1") WIRE("g2/y", "g12/x2") WIRE("g6/cout", "g12/x3") WIRE("g4/y", "g12/x4") WIRE("x8", "g12/x5") WIRE("x9", "g12/x6") WIRE("x6", "g12/x7") WIRE("g8/y1", "g12/x8") WIRE("g3/y", "g12/x9") WIRE("x10", "g12/x10") WIRE("g6/y2", "g12/x11") WIRE("g9/y7", "g12/x12") WIRE("g8/y2", "g12/x13") WIRE("g8/y4", "g12/x14") WIRE("x1", "g12/x15") WIRE("x5", "g12/x16") WIRE("g8/y6", "g12/x17") WIRE("x9", "g13/x1") WIRE("x2", "g13/x2") WIRE("g8/y3", "g13/x3") WIRE("g6/cout", "g13/x4") WIRE("g5/y", "g13/x5") WIRE("g8/y6", "g13/x6") WIRE("g1/y", "g13/x7") WIRE("g9/y4", "g13/x8") WIRE("g7/y", "g13/x9") WIRE("g9/y1", "g13/x10") WIRE("g13/y3", "g14/x1") WIRE("x1", "g14/x2") WIRE("x3", "g14/x3") WIRE("g8/y6", "g14/x4") WIRE("g5/y", "g14/x5") WIRE("g8/y5", "g14/x6") WIRE("g4/y", "g14/x7") WIRE("g9/y6", "g14/x8") WIRE("g9/y4", "g14/x9") WIRE("g8/y2", "g14/x10") WIRE("g11/y", "g14/x11") WIRE("g13/y2", "g14/x12") WIRE("x10", "g14/x13") WIRE("g9/y6", "g15/x1") WIRE("g2/y", "g15/x2") WIRE("g4/y", "g15/x3") WIRE("g6/y2", "g15/x4") WIRE("g6/cout", "g15/x5") WIRE("g3/y", "g15/x6") WIRE("g13/y3", "g15/x7") WIRE("g8/y4", "g16/x1") WIRE("g4/y", "g16/x2") WIRE("g13/y2", "g16/x3") WIRE("x1", "g16/x4") WIRE("g9/y1", "g16/x5") WIRE("g3/y", "g16/x6") WIRE("x4", "g16/x7") WIRE("g6/y1", "g16/x8") WIRE("g13/y1", "g16/x9") WIRE("g2/y", "g16/x10") WIRE("g12/y", "g16/x11") WIRE("g6/y2", "g16/x12") WIRE("x2", "g16/x13") WIRE("x3", "g16/x14") WIRE("g9/y2", "g16/x15") WIRE("g9/y5", "g16/x16") WIRE("g5/y", "g16/x17") WIRE("g9/y4", "g17/x1") WIRE("x2", "g17/x2") WIRE("x5", "g17/x3") WIRE("g9/y2", "g17/x4") WIRE("g1/y", "g17/x5") WIRE("g4/y", "g17/x6") WIRE("g14/y4", "g18/a2") WIRE("g8/y3", "g18/a1") WIRE("x4", "g18/a0") WIRE("g14/y3", "g18/b2") WIRE("g3/y", "g18/b1") WIRE("g16/y", "g18/b0") WIRE("g9/y3", "g18/cin") WIRE("g12/y", "g19/x1") WIRE("g9/y7", "g19/x2") WIRE("g13/y3", "g19/x3") WIRE("g14/y1", "g19/x4") WIRE("g7/y", "g19/x5") WIRE("x3", "g19/x6") WIRE("g14/y2", "g20/x1") WIRE("g15/y", "g20/x2") WIRE("g2/y", "g21/x1") WIRE("g8/y6", "g21/x2") WIRE("g18/cout", "g21/x3") WIRE("g11/y", "g21/x4") WIRE("g8/y5", "g21/x5") WIRE("x7", "g21/x6") WIRE("g5/y", "g21/x7") WIRE("x8", "g21/x8") WIRE("g20/y", "g21/x9") WIRE("g17/y", "g21/x10") WIRE("g19/y", "g21/x11") WIRE("x9", "g21/x12") WIRE("g9/y1", "g21/x13") WIRE("g18/y0", "g21/x14") WIRE("g8/y4", "g22/x1") WIRE("x1", "g22/x2") WIRE("x6", "g22/x3") WIRE("g8/y1", "g22/x4") WIRE("g6/y0", "g23/x1") WIRE("g18/y1", "g23/x2") WIRE("g9/y5", "g23/x3") WIRE("g13/y1", "g23/x4") WIRE("g10/y", "g23/x5") WIRE("x10", "g23/x6") WIRE("g6/cout", "g24/x1") WIRE("g8/y2", "g24/x2") WIRE("g6/y2", "g24/x3") WIRE("g21/y", "g25/x1") WIRE("g22/y", "g25/x2") WIRE("g23/y", "g25/x3") WIRE("g18/y2", "g25/x4") WIRE("g13/y2", "y1") WIRE("g9/y6", "y2") WIRE("g6/y1", "y3") WIRE("g24/y", "y4") WIRE("g25/y", "y5") EndDef()