identify the verilog code output
what will be the value of y be for the entire stimuation duration
module top;
intput clk;
output reg y);
always@(posedge clk)
begin
y<=1;
y<=0;
end
endmodule
output := y=0 because it was a non blocking statement
what will be the value of y be for the entire stimuation duration
module top;
intput clk;
output reg y);
always@(posedge clk)
begin
y<=1;
y<=0;
end
endmodule
output := y=0 because it was a non blocking statement
Comments
Post a Comment