l1bfsh.v 678 Bytes
module l1bfsh (q, so, d, en, cdn, sdn, si, a, b);
   input d, en, cdn, sdn, si, a, b;
   output q, so;
   reg notifier;
   or                   G3(N3, N4, a);
   not                  G4(N4, en),
                        G6(N6, N14),
                        G7(N7, N13);
   UDP_LATCH            G8(so, N6, b, N9, N9, notifier);
   pullup               G9(N9);
   buf                  G11(q, N6);
   or                   G13(N13, N17, N18, N15);
   UDP_LATCH            G14(N14, N7, N3, cdn, sdn, notifier);
   and                  G15(N15, d, si);
   not                  G16(N16, en);
   and                  G17(N17, d, N16),
                        G18(N18, en, si);
endmodule