Robert.g.Liu Posted November 21, 2012 Report Share Posted November 21, 2012 I have simplified my real code into following code example: module top; class test; static bit _dummy = _dummy_func(); static function bit _dummy_func(); fork $display("hello"); join_none _dummy_func = 0; endfunction: _dummy_func endclass: test endmodule: top Since the function _dummy_func including a fork...join_none statement isn't called in any initial or always block, simulators don't handle it uniquely. As a result, my tb on the UVM isn't universal any longer. So, I'm just wondering if it is legal against the LRM. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.