l1ntsb.v 539 Bytes
module l1ntsb (q, so, d, e, si, a, b);
   input d, e, si, a, b;
   output q, so;
   reg notifier;
   UDP_LATCH            G2(so, N6, b, N7, N7, notifier);
   or                   G4(N4, e, a);
   UDP_LATCH            G6(N6, N15, N4, N7, N7, notifier);
   pullup               G7(N7);
   buf                  G8(q, N6);
   not                  G11(N11, e);
   and                  G12(N12, si, N11),
                        G13(N13, e, d),
                        G14(N14, si, d);
   or                   G15(N15, N12, N13, N14);
endmodule