need("fred") Define("syn10x3a") 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="or3") GATE("g2", type="fred") GATE("g3", type="xor5") GATE("g4", type="nor4") GATE("g5", type="nor4") WIRE("x8", "g1/x1") WIRE("x5", "g1/x2") WIRE("x9", "g1/x3") WIRE("x2", "g2/x1") WIRE("x1", "g2/x2") WIRE("x1", "g3/x1") WIRE("x2", "g3/x2") WIRE("x3", "g3/x3") WIRE("x4", "g3/x4") WIRE("x5", "g3/x5") WIRE("x6", "g4/x1") WIRE("x7", "g4/x2") WIRE("x8", "g4/x3") WIRE("x9", "g4/x4") WIRE("x10", "g5/x1") WIRE("g1/y", "g5/x2") WIRE("g2/y1", "g5/x3") WIRE("g2/y2", "g5/x4") WIRE("g3/y", "y1") WIRE("g4/y", "y2") WIRE("g5/y", "y3") EndDef()