need("ham") need("syn10x3b") need("syn10x3a") need("mux2b") need("syn14x2b") need("decoder2") need("syn16x3a") need("syn14x4b") need("fred") need("mux2") Define("syn16x7b") 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("y5", type="out") GATE("y6", type="out") GATE("y7", type="out") GATE("g1", type="ham") GATE("g2", type="syn10x3b") GATE("g3", type="syn10x3a") GATE("g4", type="mux2b") GATE("g5", type="syn14x2b") GATE("g6", type="decoder2") GATE("g7", type="not") GATE("g8", type="syn16x3a") GATE("g9", type="syn14x4b") GATE("g10", type="fred") GATE("g11", type="xor6") GATE("g12", type="mux2") GATE("g13", type="and6") GATE("g14", type="mux2b") GATE("g15", type="or6") GATE("g16", type="mux2") GATE("g17", type="mux2b") WIRE("x3", "g1/x1") WIRE("x2", "g1/x2") WIRE("x9", "g1/x3") WIRE("x11", "g1/x4") WIRE("x14", "g2/x1") WIRE("x8", "g2/x2") WIRE("x16", "g2/x3") WIRE("x6", "g2/x4") WIRE("x7", "g2/x5") WIRE("x11", "g2/x6") WIRE("x1", "g2/x7") WIRE("x2", "g2/x8") WIRE("x15", "g2/x9") WIRE("x13", "g2/x10") WIRE("x10", "g3/x1") WIRE("x9", "g3/x2") WIRE("g2/y1", "g3/x3") WIRE("x14", "g3/x4") WIRE("g2/y2", "g3/x5") WIRE("x5", "g3/x6") WIRE("x3", "g3/x7") WIRE("x4", "g3/x8") WIRE("x13", "g3/x9") WIRE("g1/y1", "g3/x10") WIRE("x12", "g4/x0") WIRE("x4", "g4/x1") WIRE("x9", "g4/x2") WIRE("x16", "g4/x3") WIRE("g2/y2", "g4/s1") WIRE("x13", "g4/s2") WIRE("x14", "g5/x1") WIRE("x16", "g5/x2") WIRE("x7", "g5/x3") WIRE("x13", "g5/x4") WIRE("x3", "g5/x5") WIRE("g2/y2", "g5/x6") WIRE("x1", "g5/x7") WIRE("x4", "g5/x8") WIRE("x15", "g5/x9") WIRE("x2", "g5/x10") WIRE("g2/y3", "g5/x11") WIRE("x9", "g5/x12") WIRE("g2/y1", "g5/x13") WIRE("x5", "g5/x14") WIRE("g2/y1", "g6/x1") WIRE("x1", "g6/x2") WIRE("g2/y1", "g7/x") WIRE("g2/y1", "g8/x1") WIRE("g7/y", "g8/x2") WIRE("g6/y4", "g8/x3") WIRE("x14", "g8/x4") WIRE("x16", "g8/x5") WIRE("g2/y2", "g8/x6") WIRE("x9", "g8/x7") WIRE("g6/y2", "g8/x8") WIRE("x6", "g8/x9") WIRE("g3/y1", "g8/x10") WIRE("x15", "g8/x11") WIRE("x7", "g8/x12") WIRE("x2", "g8/x13") WIRE("x5", "g8/x14") WIRE("g5/y2", "g8/x15") WIRE("g6/y1", "g8/x16") WIRE("g6/y3", "g9/x1") WIRE("x1", "g9/x2") WIRE("g1/y3", "g9/x3") WIRE("x5", "g9/x4") WIRE("x13", "g9/x5") WIRE("g3/y1", "g9/x6") WIRE("g7/y", "g9/x7") WIRE("g1/y1", "g9/x8") WIRE("g6/y1", "g9/x9") WIRE("g5/y1", "g9/x10") WIRE("g1/y2", "g9/x11") WIRE("x15", "g9/x12") WIRE("x6", "g9/x13") WIRE("x4", "g9/x14") WIRE("x9", "g10/x1") WIRE("g7/y", "g10/x2") WIRE("g3/y2", "g11/x1") WIRE("g7/y", "g11/x2") WIRE("g8/y3", "g11/x3") WIRE("x16", "g11/x4") WIRE("g9/y4", "g11/x5") WIRE("g2/y2", "g11/x6") WIRE("g1/y2", "g12/x0") WIRE("x6", "g12/x1") WIRE("x11", "g12/x2") WIRE("g10/y2", "g12/x3") WIRE("g5/y2", "g12/s1") WIRE("x2", "g12/s2") WIRE("g5/y1", "g13/x1") WIRE("g2/y3", "g13/x2") WIRE("x3", "g13/x3") WIRE("x8", "g13/x4") WIRE("x12", "g13/x5") WIRE("g9/y3", "g13/x6") WIRE("x1", "g14/x0") WIRE("g6/y3", "g14/x1") WIRE("x15", "g14/x2") WIRE("x10", "g14/x3") WIRE("x7", "g14/s1") WIRE("g8/y1", "g14/s2") WIRE("g6/y1", "g15/x1") WIRE("g2/y1", "g15/x2") WIRE("g9/y1", "g15/x3") WIRE("x14", "g15/x4") WIRE("g4/y", "g15/x5") WIRE("x4", "g15/x6") WIRE("g1/y3", "g16/x0") WIRE("g8/y2", "g16/x1") WIRE("g1/y1", "g16/x2") WIRE("x9", "g16/x3") WIRE("g3/y3", "g16/s1") WIRE("g3/y1", "g16/s2") WIRE("x5", "g17/x0") WIRE("x13", "g17/x1") WIRE("g9/y2", "g17/x2") WIRE("g10/y1", "g17/x3") WIRE("g6/y2", "g17/s1") WIRE("g6/y4", "g17/s2") WIRE("g11/y", "y1") WIRE("g12/y", "y2") WIRE("g13/y", "y3") WIRE("g14/y", "y4") WIRE("g15/y", "y5") WIRE("g16/y", "y6") WIRE("g17/y", "y7") EndDef()