$_DFFSRE_NPPN_#
A negative edge D-type flip-flop with positive polarity set, positive polarity reset and negative polarity clock enable.
Truth table: C S R E D | Q
-----------+---
- - 1 - - | 0
- 1 - - - | 1
\ - - 0 d | d
- - - - - | q
Simulation model (Verilog)#
module \$_DFFSRE_NPPN_ (C, S, R, E, D, Q);
input C, S, R, E, D;
output reg Q;
always @(negedge C, posedge S, posedge R) begin
if (R == 1)
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_NPPN_
.