yosys/tests/liberty/semicolextra.lib.verilogsim.ok

12 lines
163 B
Plaintext
Raw Permalink Normal View History

2024-08-13 11:36:31 -05:00
module DFF (D, CK, Q);
reg IQ, IQN;
input D;
input CK;
output Q;
always @(posedge CK) begin
// D
IQ <= D;
IQN <= ~(D);
end
endmodule