sr2tnb.v 616 Bytes
module sr2tnb (q, qn, rn1, rn2, sn1, sn2);
   input rn1, rn2, sn1, sn2;
   output q, qn;
   reg notifier;
   nor                  G3(N3, N4, N5);
   not                  G4(N4, sn1),
                        G5(N5, sn2);
   nor                  G6(N6, N7, N8);
   not                  G7(N7, rn1),
                        G8(N8, rn2);
   NEW_UDP_DFF              G9(N9, N16, N10, N6, N3, notifier);
   pulldown             G10(N10);
   not                  G11(qn, N13),
                        G12(q, N9);
   NEW_UDP_DFF              G13(N13, N10, N10, N3, N6, notifier);
   pullup               G16(N16);
endmodule