and got the error : Variable(SV: logic/bit) is assigned by multiple continuous statements
I did many searches, and found that multiple assignments for the same variable are not possibles, unless the conditional operator ? is used, as the one in the code above, which means that my code is supposed to work, but I don’t know why it doesn’t.
Usage of ‘wire’ instead of variable when there are multiple assignments concerning the same signal,
Thank you.
it no longer displays that error. works fine I suppose.