1
0
mirror of synced 2026-05-22 13:20:09 +00:00
Files
YosysHQ.yosys/tests/liberty/dff.lib.verilogsim.ok
2025-11-05 14:13:58 +01:00

13 lines
193 B
Plaintext

module dff (D, CLK, Q);
reg IQ, IQN;
input D;
input CLK;
output Q;
assign Q = IQ; // IQ
always @(posedge CLK) begin
// "(D)"
IQ <= D;
IQN <= ~(D);
end
endmodule