module DFF (D, CK, Q);
reg IQ, IQN;
input D;
input CK;
output Q;
always @(posedge CK) begin
IQ <= D;
end
IQN <= ~(D);
endmodule