summaryrefslogtreecommitdiff
path: root/techlibs/greenpak4/cells_latch.v
blob: 2ccdd20314aeadbc0e422c064389e55fae872fed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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