module DCsetreset_1 (
   bk,
   s,
   rst,
   fw,
   r
);

   output bk;
   input s;
   input rst;
   output fw;
   input r;
   wire w0;

   NA3 I0 (s, rst, bk, w0);
   NA2 I1 (s, w0, fw);
   NA2 I2 (w0, r, bk);
endmodule

