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