need("bar") need("fred") Define("syn8x8a") 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("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("y8", type="out") GATE("g1", type="or2") GATE("g2", type="nor3") GATE("g3", type="bar") GATE("g4", type="and2") GATE("g5", type="and4") GATE("g6", type="or2") GATE("g7", type="or4") GATE("g8", type="and2") GATE("g9", type="xor3") GATE("g10", type="fred") GATE("g11", type="bar") GATE("g12", type="xor3") GATE("g13", type="xor3") GATE("g14", type="nor2") GATE("g15", type="and2") GATE("g16", type="xor2") GATE("g17", type="nor2") GATE("g18", type="nand2") WIRE("x6", "g1/x1") WIRE("x2", "g1/x2") WIRE("x8", "g2/x1") WIRE("x5", "g2/x2") WIRE("x7", "g2/x3") WIRE("g1/y", "g3/x1") WIRE("x6", "g3/x2") WIRE("g2/y", "g3/x3") WIRE("g2/y", "g4/x1") WIRE("x1", "g4/x2") WIRE("g3/y", "g5/x1") WIRE("g1/y", "g5/x2") WIRE("x3", "g5/x3") WIRE("g4/y", "g5/x4") WIRE("x2", "g6/x1") WIRE("x7", "g6/x2") WIRE("g5/y", "g7/x1") WIRE("x8", "g7/x2") WIRE("g1/y", "g7/x3") WIRE("x1", "g7/x4") WIRE("g2/y", "g8/x1") WIRE("x2", "g8/x2") WIRE("x6", "g9/x1") WIRE("g1/y", "g9/x2") WIRE("g2/y", "g9/x3") WIRE("x5", "g10/x1") WIRE("g9/y", "g10/x2") WIRE("x1", "g11/x1") WIRE("x2", "g11/x2") WIRE("x3", "g11/x3") WIRE("x4", "g12/x1") WIRE("x5", "g12/x2") WIRE("x6", "g12/x3") WIRE("x7", "g13/x1") WIRE("x8", "g13/x2") WIRE("g1/y", "g13/x3") WIRE("g2/y", "g14/x1") WIRE("g3/y", "g14/x2") WIRE("g4/y", "g15/x1") WIRE("g5/y", "g15/x2") WIRE("g6/y", "g16/x1") WIRE("g7/y", "g16/x2") WIRE("g8/y", "g17/x1") WIRE("g9/y", "g17/x2") WIRE("g10/y1", "g18/x1") WIRE("g10/y2", "g18/x2") 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") WIRE("g18/y", "y8") EndDef()