[Architecture] Bug fix in DFF Verilog HDL
This commit is contained in:
parent
3b42fe94d6
commit
81965e75f6
|
@ -17,7 +17,7 @@ module DFF (
|
||||||
reg q_reg;
|
reg q_reg;
|
||||||
|
|
||||||
//-------------Code Starts Here---------
|
//-------------Code Starts Here---------
|
||||||
always @ ( posedge CK)
|
always @ (posedge CK) begin
|
||||||
q_reg <= D;
|
q_reg <= D;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue