need("bar") need("count3") need("ham") Define("syn10x3b") 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("g1", type="count3") GATE("g2", type="and3") GATE("g3", type="bar") GATE("g4", type="or4") GATE("g5", type="or4") GATE("g6", type="and4") GATE("g7", type="or2") GATE("g8", type="and6") GATE("g9", type="ham") GATE("g10", type="xor8") GATE("g11", type="xor7") GATE("g12", type="or7") WIRE("x5", "g1/x1") WIRE("x3", "g1/x2") WIRE("x4", "g1/x3") WIRE("x2", "g2/x1") WIRE("g1/y1", "g2/x2") WIRE("x5", "g2/x3") WIRE("x5", "g3/x1") WIRE("x7", "g3/x2") WIRE("g2/y", "g3/x3") WIRE("x5", "g4/x1") WIRE("g2/y", "g4/x2") WIRE("x8", "g4/x3") WIRE("g1/y1", "g4/x4") WIRE("x4", "g5/x1") WIRE("g2/y", "g5/x2") WIRE("x2", "g5/x3") WIRE("g1/y2", "g5/x4") WIRE("g4/y", "g6/x1") WIRE("x4", "g6/x2") WIRE("g2/y", "g6/x3") WIRE("x9", "g6/x4") WIRE("x9", "g7/x1") WIRE("g2/y", "g7/x2") WIRE("g4/y", "g8/x1") WIRE("g3/y", "g8/x2") WIRE("x4", "g8/x3") WIRE("x10", "g8/x4") WIRE("x9", "g8/x5") WIRE("x1", "g8/x6") WIRE("x8", "g9/x1") WIRE("g1/y2", "g9/x2") WIRE("x3", "g9/x3") WIRE("g3/y", "g9/x4") WIRE("x1", "g10/x1") WIRE("x2", "g10/x2") WIRE("x3", "g10/x3") WIRE("x4", "g10/x4") WIRE("x5", "g10/x5") WIRE("x6", "g10/x6") WIRE("x7", "g10/x7") WIRE("x8", "g10/x8") WIRE("x9", "g11/x1") WIRE("x10", "g11/x2") WIRE("g1/y1", "g11/x3") WIRE("g1/y2", "g11/x4") WIRE("g2/y", "g11/x5") WIRE("g3/y", "g11/x6") WIRE("g4/y", "g11/x7") WIRE("g5/y", "g12/x1") WIRE("g6/y", "g12/x2") WIRE("g7/y", "g12/x3") WIRE("g8/y", "g12/x4") WIRE("g9/y1", "g12/x5") WIRE("g9/y2", "g12/x6") WIRE("g9/y3", "g12/x7") WIRE("g10/y", "y1") WIRE("g11/y", "y2") WIRE("g12/y", "y3") EndDef()