system verilog - Systemverilog coverage bins -


I am using system eriology coverage and I want to check the box boundary. I want to keep it within the range of 1000-2000, but only those models can be evaluated which are in mod5. For example 1000, 1005, 1010 etc.

Thanks for the help!

As far as I know, it is easily possible in the SV 2012. Here's how it looks in your case:

  with coverpoint x {bins mod5 [] = {[1000: 2000]} (item% 5 == 0); }   

You can read more in section 19.15.1.1. If you do not have an old simulator that can only do SV-2009, then you have to define values ​​by hand.

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -