Create TEC_RV_ICG.v
This commit is contained in:
parent
5cc210e06d
commit
ac47375afd
|
@ -0,0 +1,15 @@
|
||||||
|
|
||||||
|
module TEC_RV_ICG(
|
||||||
|
(
|
||||||
|
input logic SE, EN, CK,
|
||||||
|
output Q
|
||||||
|
);
|
||||||
|
logic en_ff;
|
||||||
|
logic enable;
|
||||||
|
assign enable = EN | SE;
|
||||||
|
always @(CK, enable) begin
|
||||||
|
if(!CK)
|
||||||
|
en_ff = enable;
|
||||||
|
end
|
||||||
|
assign Q = CK & en_ff;
|
||||||
|
endmodule
|
Loading…
Reference in New Issue