need("ham") need("fred") need("decoder2") Define("syn9x3a") 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("y1", type="out") GATE("y2", type="out") GATE("y3", type="out") GATE("g1", type="fred") GATE("g2", type="nand3") GATE("g3", type="decoder2") GATE("g4", type="nand4") GATE("g5", type="and4") GATE("g6", type="nand6") GATE("g7", type="count3") GATE("g8", type="nand4") GATE("g9", type="xor3") GATE("g10", type="nand4") GATE("g11", type="mux1") GATE("g12", type="ham") GATE("g13", type="ham") GATE("g14", type="ham") GATE("g15", type="and5") GATE("g16", type="and5") GATE("g17", type="and8") GATE("g18", type="nand7") GATE("g19", type="nor2") GATE("g20", type="xor3") GATE("g21", type="xor3") GATE("g22", type="xor2") WIRE("x5", "g1/x1") WIRE("x8", "g1/x2") WIRE("x4", "g2/x1") WIRE("x1", "g2/x2") WIRE("x3", "g2/x3") WIRE("x3", "g3/x1") WIRE("x7", "g3/x2") WIRE("x6", "g4/x1") WIRE("x3", "g4/x2") WIRE("g3/y4", "g4/x3") WIRE("x7", "g4/x4") WIRE("g3/y3", "g5/x1") WIRE("g1/y1", "g5/x2") WIRE("x9", "g5/x3") WIRE("x2", "g5/x4") WIRE("x2", "g6/x1") WIRE("g2/y", "g6/x2") WIRE("x1", "g6/x3") WIRE("g1/y2", "g6/x4") WIRE("g3/y4", "g6/x5") WIRE("g5/y", "g6/x6") WIRE("g1/y2", "g7/x1") WIRE("x8", "g7/x2") WIRE("g3/y4", "g7/x3") WIRE("g2/y", "g8/x1") WIRE("g3/y4", "g8/x2") WIRE("x3", "g8/x3") WIRE("x9", "g8/x4") WIRE("x7", "g9/x1") WIRE("g5/y", "g9/x2") WIRE("g3/y1", "g9/x3") WIRE("g7/y1", "g10/x1") WIRE("g3/y3", "g10/x2") WIRE("g6/y", "g10/x3") WIRE("g5/y", "g10/x4") WIRE("x8", "g11/x0") WIRE("g3/y4", "g11/x1") WIRE("g2/y", "g11/s1") WIRE("x5", "g12/x1") WIRE("g3/y2", "g12/x2") WIRE("g3/y4", "g12/x3") WIRE("g9/y", "g12/x4") WIRE("x1", "g13/x1") WIRE("g7/y2", "g13/x2") WIRE("g10/y", "g13/x3") WIRE("g3/y2", "g13/x4") WIRE("x1", "g14/x1") WIRE("x2", "g14/x2") WIRE("x3", "g14/x3") WIRE("x4", "g14/x4") WIRE("x5", "g15/x1") WIRE("x6", "g15/x2") WIRE("x7", "g15/x3") WIRE("x8", "g15/x4") WIRE("x9", "g15/x5") WIRE("g1/y1", "g16/x1") WIRE("g1/y2", "g16/x2") WIRE("g2/y", "g16/x3") WIRE("g3/y1", "g16/x4") WIRE("g3/y2", "g16/x5") WIRE("g3/y3", "g17/x1") WIRE("g3/y4", "g17/x2") WIRE("g4/y", "g17/x3") WIRE("g5/y", "g17/x4") WIRE("g6/y", "g17/x5") WIRE("g7/y1", "g17/x6") WIRE("g7/y2", "g17/x7") WIRE("g8/y", "g17/x8") WIRE("g9/y", "g18/x1") WIRE("g10/y", "g18/x2") WIRE("g11/y", "g18/x3") WIRE("g12/y1", "g18/x4") WIRE("g12/y2", "g18/x5") WIRE("g12/y3", "g18/x6") WIRE("g13/y1", "g18/x7") WIRE("g13/y2", "g19/x1") WIRE("g13/y3", "g19/x2") WIRE("g14/y1", "g20/x1") WIRE("g14/y2", "g20/x2") WIRE("g14/y3", "g20/x3") WIRE("g15/y", "g21/x1") WIRE("g16/y", "g21/x2") WIRE("g17/y", "g21/x3") WIRE("g18/y", "g22/x1") WIRE("g19/y", "g22/x2") WIRE("g20/y", "y1") WIRE("g21/y", "y2") WIRE("g22/y", "y3") EndDef()