16 lines
248 B
Coq
16 lines
248 B
Coq
|
module $_DLATCH_P_(input E, input D, output Q);
|
||
|
GP_DLATCH _TECHMAP_REPLACE_ (
|
||
|
.D(D),
|
||
|
.nCLK(!E),
|
||
|
.Q(Q)
|
||
|
);
|
||
|
endmodule
|
||
|
|
||
|
module $_DLATCH_N_(input E, input D, output Q);
|
||
|
GP_DLATCH _TECHMAP_REPLACE_ (
|
||
|
.D(D),
|
||
|
.nCLK(E),
|
||
|
.Q(Q)
|
||
|
);
|
||
|
endmodule
|