nikhilindia85
Member level 4
i have a prblm with my testbench.i have written my testbench correctly.but it is not working.prblm is in the code i wrote initial statement like this
y=b;
b is my primary out,y initialized as a reg
prblm is my test bench unable to assign my b value to the variable y .
why this happening.wen i replaced initial with always it is working fine.why?
y=b;
b is my primary out,y initialized as a reg
prblm is my test bench unable to assign my b value to the variable y .
why this happening.wen i replaced initial with always it is working fine.why?