need("ham") need("syn19x6a") need("mux2b") need("syn14x6b") need("poo") need("syn15x6b") need("syn6x8a") need("mux2") need("baz") need("count3") Define("syn10x9a") 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("y6", type="out") GATE("y7", type="out") GATE("y8", type="out") GATE("y9", type="out") GATE("g1", type="baz") GATE("g2", type="not") GATE("g3", type="ham") GATE("g4", type="xor3") GATE("g5", type="and5") GATE("g6", type="syn14x6b") GATE("g7", type="syn19x6a") GATE("g8", type="xor19") GATE("g9", type="syn15x6b") GATE("g10", type="syn6x8a") GATE("g11", type="poo") GATE("g12", type="full_adder8") GATE("g13", type="xor2") GATE("g14", type="mux2") GATE("g15", type="full_adder8") GATE("g16", type="mux2b") GATE("g17", type="count3") GATE("g18", type="or2") GATE("g19", type="xor2") GATE("g20", type="nor3") GATE("g21", type="nor5") WIRE("x10", "g1/x1") WIRE("x8", "g1/x2") WIRE("x5", "g1/x3") WIRE("x10", "g2/x") WIRE("x8", "g3/x1") WIRE("x2", "g3/x2") WIRE("g2/y", "g3/x3") WIRE("x1", "g3/x4") WIRE("x6", "g4/x1") WIRE("x4", "g4/x2") WIRE("g2/y", "g4/x3") WIRE("g4/y", "g5/x1") WIRE("x5", "g5/x2") WIRE("g3/y1", "g5/x3") WIRE("g1/y", "g5/x4") WIRE("g2/y", "g5/x5") WIRE("g3/y2", "g6/x1") WIRE("g4/y", "g6/x2") WIRE("x7", "g6/x3") WIRE("x3", "g6/x4") WIRE("x2", "g6/x5") WIRE("g3/y3", "g6/x6") WIRE("x8", "g6/x7") WIRE("x1", "g6/x8") WIRE("x10", "g6/x9") WIRE("g3/y1", "g6/x10") WIRE("x5", "g6/x11") WIRE("g1/y", "g6/x12") WIRE("g2/y", "g6/x13") WIRE("x4", "g6/x14") WIRE("g6/y3", "g7/x1") WIRE("g6/y4", "g7/x2") WIRE("g6/y2", "g7/x3") WIRE("g4/y", "g7/x4") WIRE("g1/y", "g7/x5") WIRE("x6", "g7/x6") WIRE("g5/y", "g7/x7") WIRE("g6/y6", "g7/x8") WIRE("x9", "g7/x9") WIRE("g6/y5", "g7/x10") WIRE("g3/y1", "g7/x11") WIRE("x4", "g7/x12") WIRE("x1", "g7/x13") WIRE("x8", "g7/x14") WIRE("g3/y2", "g7/x15") WIRE("g3/y3", "g7/x16") WIRE("x5", "g7/x17") WIRE("x2", "g7/x18") WIRE("g2/y", "g7/x19") WIRE("g3/y3", "g8/x1") WIRE("x5", "g8/x2") WIRE("x7", "g8/x3") WIRE("x2", "g8/x4") WIRE("g4/y", "g8/x5") WIRE("g1/y", "g8/x6") WIRE("g3/y1", "g8/x7") WIRE("g6/y6", "g8/x8") WIRE("x1", "g8/x9") WIRE("g6/y5", "g8/x10") WIRE("g7/y3", "g8/x11") WIRE("g2/y", "g8/x12") WIRE("g7/y2", "g8/x13") WIRE("g6/y1", "g8/x14") WIRE("g7/y6", "g8/x15") WIRE("g6/y4", "g8/x16") WIRE("g5/y", "g8/x17") WIRE("g3/y2", "g8/x18") WIRE("x6", "g8/x19") WIRE("g7/y6", "g9/x1") WIRE("x8", "g9/x2") WIRE("g1/y", "g9/x3") WIRE("g5/y", "g9/x4") WIRE("x10", "g9/x5") WIRE("g6/y1", "g9/x6") WIRE("g3/y2", "g9/x7") WIRE("g2/y", "g9/x8") WIRE("x4", "g9/x9") WIRE("g6/y5", "g9/x10") WIRE("g7/y1", "g9/x11") WIRE("g3/y1", "g9/x12") WIRE("g6/y6", "g9/x13") WIRE("x7", "g9/x14") WIRE("x2", "g9/x15") WIRE("g8/y", "g10/x1") WIRE("g7/y5", "g10/x2") WIRE("x1", "g10/x3") WIRE("g6/y3", "g10/x4") WIRE("g1/y", "g10/x5") WIRE("x3", "g10/x6") WIRE("g9/y6", "g11/x1") WIRE("g6/y4", "g11/x2") WIRE("x2", "g11/x3") WIRE("g6/y3", "g12/a7") WIRE("g7/y6", "g12/a6") WIRE("g9/y1", "g12/a5") WIRE("g1/y", "g12/a4") WIRE("g9/y2", "g12/a3") WIRE("g10/y4", "g12/a2") WIRE("g10/y3", "g12/a1") WIRE("g11/y1", "g12/a0") WIRE("g3/y1", "g12/b7") WIRE("x4", "g12/b6") WIRE("x7", "g12/b5") WIRE("g6/y5", "g12/b4") WIRE("g7/y1", "g12/b3") WIRE("g6/y1", "g12/b2") WIRE("g5/y", "g12/b1") WIRE("g7/y3", "g12/b0") WIRE("g10/y7", "g13/x1") WIRE("g12/y2", "g13/x2") WIRE("x10", "g14/x0") WIRE("x8", "g14/x1") WIRE("x5", "g14/x2") WIRE("g3/y2", "g14/x3") WIRE("g10/y8", "g14/s1") WIRE("x3", "g14/s2") WIRE("g12/y5", "g15/a7") WIRE("g9/y3", "g15/a6") WIRE("x6", "g15/a5") WIRE("g4/y", "g15/a4") WIRE("g7/y4", "g15/a3") WIRE("g12/y7", "g15/a2") WIRE("g7/y5", "g15/a1") WIRE("g12/y3", "g15/a0") WIRE("g12/y0", "g15/b7") WIRE("g7/y2", "g15/b6") WIRE("g11/y2", "g15/b5") WIRE("g3/y3", "g15/b4") WIRE("g9/y4", "g15/b3") WIRE("x9", "g15/b2") WIRE("g10/y1", "g15/b1") WIRE("g8/y", "g15/b0") WIRE("g15/y5", "g16/x0") WIRE("g10/y6", "g16/x1") WIRE("g6/y6", "g16/x2") WIRE("g15/y4", "g16/x3") WIRE("g15/y7", "g16/s1") WIRE("g15/y0", "g16/s2") WIRE("x1", "g17/x1") WIRE("g10/y2", "g17/x2") WIRE("g14/y", "g17/x3") WIRE("g16/y", "g18/x1") WIRE("g6/y2", "g18/x2") WIRE("g12/y1", "g19/x1") WIRE("g17/y1", "g19/x2") WIRE("g15/y2", "g20/x1") WIRE("g15/y1", "g20/x2") WIRE("g19/y", "g20/x3") WIRE("g2/y", "g21/x1") WIRE("g18/y", "g21/x2") WIRE("g12/y6", "g21/x3") WIRE("g15/y8", "g21/x4") WIRE("g10/y5", "g21/x5") WIRE("g9/y5", "y1") WIRE("g12/y8", "y2") WIRE("g12/y4", "y3") WIRE("g13/y", "y4") WIRE("g15/y6", "y5") WIRE("g15/y3", "y6") WIRE("g17/y2", "y7") WIRE("g20/y", "y8") WIRE("g21/y", "y9") EndDef()