ElectronicBit
Learn Electronics Bit by Bit
What is the result of the following code snippet?
initial begin a = 1; b = 2; a <= b; b <= a; end
Remember that non-blocking assignments use the 'old' values of the RHS variables.