in my test, I tried to call the task read_data(), but it failed at below error.
Error-[AIORPML] Illegal argument to port
Argument to inout/output/ref port must be an expression that is valid on the left-hand side of a procedural assignment.
I feel a little strange about the error information.
Error-[AIORPML] Illegal argument to port
Argument to inout/output/ref port must be an expression that is valid on the left-hand side of a procedural assignment.
Does it mean we need to make sure that the argument tagged with the output direction is required to used in the left-hand side of assignment ?