need("fred") Define("syn16x6a") 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("g1", type="or2") GATE("g2", type="xor3") GATE("g3", type="and5") GATE("g4", type="or2") GATE("g5", type="fred") GATE("g6", type="or7") GATE("g7", type="and2") GATE("g8", type="or4") GATE("g9", type="or4") GATE("g10", type="xor4") GATE("g11", type="nand4") GATE("g12", type="xor4") GATE("g13", type="and4") WIRE("x7", "g1/x1") WIRE("x1", "g1/x2") WIRE("x7", "g2/x1") WIRE("x1", "g2/x2") WIRE("x15", "g2/x3") WIRE("x6", "g3/x1") WIRE("x7", "g3/x2") WIRE("x3", "g3/x3") WIRE("x10", "g3/x4") WIRE("x2", "g3/x5") WIRE("g1/y", "g4/x1") WIRE("x12", "g4/x2") WIRE("x13", "g5/x1") WIRE("x12", "g5/x2") WIRE("x11", "g6/x1") WIRE("x5", "g6/x2") WIRE("x16", "g6/x3") WIRE("x13", "g6/x4") WIRE("x10", "g6/x5") WIRE("x4", "g6/x6") WIRE("x14", "g6/x7") WIRE("x2", "g7/x1") WIRE("x13", "g7/x2") WIRE("x1", "g8/x1") WIRE("x2", "g8/x2") WIRE("x3", "g8/x3") WIRE("x4", "g8/x4") WIRE("x5", "g9/x1") WIRE("x6", "g9/x2") WIRE("x7", "g9/x3") WIRE("x8", "g9/x4") WIRE("x9", "g10/x1") WIRE("x10", "g10/x2") WIRE("x11", "g10/x3") WIRE("x12", "g10/x4") WIRE("x13", "g11/x1") WIRE("x14", "g11/x2") WIRE("x15", "g11/x3") WIRE("x16", "g11/x4") WIRE("g1/y", "g12/x1") WIRE("g2/y", "g12/x2") WIRE("g3/y", "g12/x3") WIRE("g4/y", "g12/x4") WIRE("g5/y1", "g13/x1") WIRE("g5/y2", "g13/x2") WIRE("g6/y", "g13/x3") WIRE("g7/y", "g13/x4") WIRE("g8/y", "y1") WIRE("g9/y", "y2") WIRE("g10/y", "y3") WIRE("g11/y", "y4") WIRE("g12/y", "y5") WIRE("g13/y", "y6") EndDef()