.v line xx Illegal left hand side of continuous assign"">
Why do the following errors occur?
"ERROR:HDLCompilers:246 - <file>.v line xx Reference to scalar reg '<signal>' is not a legal net lvalue"
"ERROR:HDLCompilers:53 - <file>.v line xx Illegal left hand side of continuous assign"
These errors occur if signals declared as reg type are assigned a value using a continuous assign statement as shown in the following example:
assign data = din;
If a continuous assignment is needed, you must use a wire data type.