need("fred") need("mux3") need("syn10x3b") need("syn12x8a") need("syn8x8a") need("syn17x3b") need("syn9x3a") need("syn10x3a") need("syn9x3b") Define("syn16x4b") 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("y1", type="out") GATE("y2", type="out") GATE("y3", type="out") GATE("y4", type="out") GATE("g1", type="xor9") GATE("g2", type="syn10x3b") GATE("g3", type="syn12x8a") GATE("g4", type="xor10") GATE("g5", type="nand11") GATE("g6", type="nor13") GATE("g7", type="syn8x8a") GATE("g8", type="fred") GATE("g9", type="syn17x3b") GATE("g10", type="syn9x3a") GATE("g11", type="syn10x3a") GATE("g12", type="syn9x3b") GATE("g13", type="mux3") GATE("g14", type="nand5") GATE("g15", type="xor3") GATE("g16", type="mux1") GATE("g17", type="or3") GATE("g18", type="or2") WIRE("x10", "g1/x1") WIRE("x4", "g1/x2") WIRE("x5", "g1/x3") WIRE("x2", "g1/x4") WIRE("x8", "g1/x5") WIRE("x16", "g1/x6") WIRE("x13", "g1/x7") WIRE("x7", "g1/x8") WIRE("x9", "g1/x9") WIRE("x7", "g2/x1") WIRE("x14", "g2/x2") WIRE("g1/y", "g2/x3") WIRE("x12", "g2/x4") WIRE("x5", "g2/x5") WIRE("x10", "g2/x6") WIRE("x6", "g2/x7") WIRE("x11", "g2/x8") WIRE("x3", "g2/x9") WIRE("x1", "g2/x10") WIRE("x9", "g3/a5") WIRE("g1/y", "g3/a4") WIRE("x10", "g3/a3") WIRE("x3", "g3/a2") WIRE("x15", "g3/a1") WIRE("g2/y2", "g3/a0") WIRE("x14", "g3/b5") WIRE("x6", "g3/b4") WIRE("x13", "g3/b3") WIRE("x12", "g3/b2") WIRE("x2", "g3/b1") WIRE("x16", "g3/b0") WIRE("x4", "g4/x1") WIRE("g2/y3", "g4/x2") WIRE("x15", "g4/x3") WIRE("g1/y", "g4/x4") WIRE("x8", "g4/x5") WIRE("x9", "g4/x6") WIRE("x7", "g4/x7") WIRE("g3/y3", "g4/x8") WIRE("g3/y4", "g4/x9") WIRE("x3", "g4/x10") WIRE("x12", "g5/x1") WIRE("g1/y", "g5/x2") WIRE("g3/y1", "g5/x3") WIRE("g3/y2", "g5/x4") WIRE("x4", "g5/x5") WIRE("x9", "g5/x6") WIRE("g4/y", "g5/x7") WIRE("x2", "g5/x8") WIRE("g2/y1", "g5/x9") WIRE("g3/y0", "g5/x10") WIRE("g3/y7", "g5/x11") WIRE("x8", "g6/x1") WIRE("x9", "g6/x2") WIRE("x13", "g6/x3") WIRE("g2/y3", "g6/x4") WIRE("g2/y1", "g6/x5") WIRE("x7", "g6/x6") WIRE("x14", "g6/x7") WIRE("g3/y4", "g6/x8") WIRE("x16", "g6/x9") WIRE("g3/y2", "g6/x10") WIRE("g2/y2", "g6/x11") WIRE("x5", "g6/x12") WIRE("g3/y3", "g6/x13") WIRE("x8", "g7/x1") WIRE("x9", "g7/x2") WIRE("g2/y1", "g7/x3") WIRE("x12", "g7/x4") WIRE("x2", "g7/x5") WIRE("x1", "g7/x6") WIRE("g5/y", "g7/x7") WIRE("x16", "g7/x8") WIRE("g7/y7", "g8/x1") WIRE("g7/y1", "g8/x2") WIRE("g7/y2", "g9/x1") WIRE("g2/y2", "g9/x2") WIRE("g3/y0", "g9/x3") WIRE("x11", "g9/x4") WIRE("g3/y4", "g9/x5") WIRE("g2/y3", "g9/x6") WIRE("g4/y", "g9/x7") WIRE("x12", "g9/x8") WIRE("g3/y3", "g9/x9") WIRE("g1/y", "g9/x10") WIRE("x4", "g9/x11") WIRE("g3/y1", "g9/x12") WIRE("x6", "g9/x13") WIRE("g7/y3", "g9/x14") WIRE("g7/y8", "g9/x15") WIRE("x3", "g9/x16") WIRE("g7/y4", "g9/x17") WIRE("g3/y4", "g10/x1") WIRE("g3/y2", "g10/x2") WIRE("g7/y4", "g10/x3") WIRE("g9/y3", "g10/x4") WIRE("x10", "g10/x5") WIRE("g7/y8", "g10/x6") WIRE("g1/y", "g10/x7") WIRE("x15", "g10/x8") WIRE("x11", "g10/x9") WIRE("g3/y7", "g11/x1") WIRE("x8", "g11/x2") WIRE("x4", "g11/x3") WIRE("g4/y", "g11/x4") WIRE("x6", "g11/x5") WIRE("g2/y3", "g11/x6") WIRE("g8/y1", "g11/x7") WIRE("g3/y1", "g11/x8") WIRE("g6/y", "g11/x9") WIRE("x14", "g11/x10") WIRE("x1", "g12/x1") WIRE("x9", "g12/x2") WIRE("x12", "g12/x3") WIRE("g7/y5", "g12/x4") WIRE("g7/y1", "g12/x5") WIRE("g3/y0", "g12/x6") WIRE("g3/y6", "g12/x7") WIRE("x13", "g12/x8") WIRE("x2", "g12/x9") WIRE("g3/y5", "g13/x0") WIRE("g5/y", "g13/x1") WIRE("x3", "g13/x2") WIRE("g8/y2", "g13/x3") WIRE("g7/y3", "g13/x4") WIRE("x16", "g13/x5") WIRE("g7/y2", "g13/x6") WIRE("x7", "g13/x7") WIRE("g2/y1", "g13/s1") WIRE("g7/y6", "g13/s2") WIRE("x5", "g13/s3") WIRE("g7/y7", "g14/x1") WIRE("g9/y1", "g14/x2") WIRE("g2/y2", "g14/x3") WIRE("g9/y2", "g14/x4") WIRE("g3/y3", "g14/x5") WIRE("g14/y", "g15/x1") WIRE("g13/y", "g15/x2") WIRE("g10/y1", "g15/x3") WIRE("g12/y3", "g16/x0") WIRE("g11/y2", "g16/x1") WIRE("g10/y3", "g16/s1") WIRE("g12/y1", "g17/x1") WIRE("g11/y3", "g17/x2") WIRE("g11/y1", "g17/x3") WIRE("g12/y2", "g18/x1") WIRE("g10/y2", "g18/x2") WIRE("g15/y", "y1") WIRE("g16/y", "y2") WIRE("g17/y", "y3") WIRE("g18/y", "y4") EndDef()