SeanChou Posted July 25, 2011 Report Share Posted July 25, 2011 Hi Cadence Exports, This issue does not related to UVM directly, however, still hope I can get some answer. My problem is the following function coverage does not work (collected) when using without `define FIX. 1. it works with `define FIX, why? 2. it works when using Synopsys/VCS. class abc; bit b; event e; covergroup cov @ e; cov_b: coverpoint b; endgroup: cov function new(); cov = new(); endfunction: new endclass modult top; abc a0; initail begin a0 = new(); `ifdef FIX #0 `endif a0.i = 1; -> a0.e; `ifdef FIX #0 `endif a0 = null; end endmodule 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.