newcpu
Member level 4
verilog dff
Hi,
I want to implement a DFF in verilog. And I know the method in the following:
always@(posedge clk)
begin
if(EN)
q<=d;
else
q<=q;
end
Could we avoid the"else q<=q; q<=q; " with other method?
Best Regards,
newcpu
Hi,
I want to implement a DFF in verilog. And I know the method in the following:
always@(posedge clk)
begin
if(EN)
q<=d;
else
q<=q;
end
Could we avoid the"else q<=q; q<=q; " with other method?
Best Regards,
newcpu