Abdul Razak H S Posted May 26, 2022 Report Share Posted May 26, 2022 Based on the below mentioned cross coverage code am getting 100% coverage by manual calculations i.e, (4/4*100) but eda providing different coverage result. Let us know am correct or wrong. https://www.edaplayground.com/x/hFr_ Quote Link to comment Share on other sites More sharing options...
chr_sue Posted May 26, 2022 Report Share Posted May 26, 2022 I do not know how Riviera is calculating the coverage. But you are calling the sample method only one. You should call it in the loop after each new data set for bit and addr. BTW you are using the $random which is again Verilog and not SV. Use $urandom instead. Quote Link to comment Share on other sites More sharing options...
Abdul Razak H S Posted May 26, 2022 Author Report Share Posted May 26, 2022 Hi, System verilog built on top of verilog which means all the features can be carried out in SV.. then y can't we use $random?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.