dave_59
September 29, 2020, 7:44pm
2
In reply to Have_A_Doubt :
https://verificationacademy.com/forums/systemverilog/“static-task”-vs.-“task-static”#reply-53393
In computer science, an operation, function or expression is said to have a side effect if it modifies some state variable value(s) outside its local environment, which is to say if it has any observable effect other than its primary effect of returning a value to the invoker of the operation. Example side effects include modifying a non-local variable, modifying a static local variable, modifying a mutable argument passed by reference, performing I/O or calling other functions with side-effec...
The basic point here is that you should be able to call a function with a certain set of arguments and always get the same return value no matter how many times the function gets called or what order