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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -