$_DLATCHSR_NPP_#
A negative enable D-type latch with positive polarity set and positive polarity reset.
Truth table: E S R D | Q
---------+---
- - 1 - | 0
- 1 - - | 1
0 - - d | d
- - - - | q
Simulation model (Verilog)#
module \$_DLATCHSR_NPP_ (E, S, R, D, Q);
input E, S, R, D;
output reg Q;
always @* 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 $_DLATCHSR_NPP_
.