$_DFFSRE_NPNN_#
A negative edge D-type flip-flop with positive polarity set, negative polarity reset and negative polarity clock enable.
Truth table: C S R E D | Q
-----------+---
- - 0 - - | 0
- 1 - - - | 1
\ - - 0 d | d
- - - - - | q
Simulation model (Verilog)#
module \$_DFFSRE_NPNN_ (C, S, R, E, D, Q);
input C, S, R, E, D;
output reg Q;
always @(negedge C, posedge S, negedge R) begin
if (R == 0)
Q <= 0;
else if (S == 1)
Q <= 1;
else if (E == 0)
Q <= D;
end
endmodule
Note
This page was auto-generated from the output of
help $_DFFSRE_NPNN_
.