l1nfsh.v 660 Bytes
module l1nfsh (q, so, d, en, si, a, b);
   input d, en, si, a, b;
   output q, so;
   reg notifier;
   or                   G3(N3, N4, a);
   not                  G4(N4, en);
   pullup               G6(N6);
   not                  G7(N7, N18);
   buf                  G8(q, N11);
   not                  G11(N11, N12);
   UDP_LATCH            G12(N12, N7, N3, N6, N6, notifier),
                        G13(so, N11, b, N6, N6, notifier);
   not                  G14(N14, en);
   and                  G15(N15, d, N14),
                        G16(N16, en, si),
                        G17(N17, d, si);
   or                   G18(N18, N15, N16, N17);
endmodule