find the output below verilog code

 find the output of below verilog code


if a=2'b10 and 2'b01;

initial

begin

if(a&b)

$display("hello");

else

$display("world");

end


output:-


Comments

Popular posts from this blog