System Verilog enhancements of task and function