Is void the default return type in Systemverilog? I came across a function(shown below) that had no return type mentioned but was using an empty return. Does this mean that test() is of type void since it has no return type? And is it legal to use an empty return(as shown below) in systemverilog?
virtual function test();
.
.
.
.
if(condition)
return;
.
.
.
endfunction: test