find the output of the verilog code
find the output of the below code
alwaus@(clk, clr,sel)
begin
if(clr==1'b1)
else if(sel==1'b1)
q<=1'b1;
else if(clk==1'b0)
q<=1);
else
begin
end
end
output:-
d fli flop and asynchoronous reset and set
find the output of the below code
alwaus@(clk, clr,sel)
begin
if(clr==1'b1)
else if(sel==1'b1)
q<=1'b1;
else if(clk==1'b0)
q<=1);
else
begin
end
end
output:-
d fli flop and asynchoronous reset and set
Comments
Post a Comment