Merge pull request #1862 from boqwxp/cleanup_techmap
[yosys.git] / techlibs / greenpak4 / cells_latch.v
1 module $_DLATCH_P_(input E, input D, output Q);
2 GP_DLATCH _TECHMAP_REPLACE_ (
3 .D(D),
4 .nCLK(!E),
5 .Q(Q)
6 );
7 endmodule
8
9 module $_DLATCH_N_(input E, input D, output Q);
10 GP_DLATCH _TECHMAP_REPLACE_ (
11 .D(D),
12 .nCLK(E),
13 .Q(Q)
14 );
15 endmodule