Subject: [sv-ec] Suggestion: 3.1a Draft 2, Section 20
From: Sandeep Pagey (pagey@cadence.com)
Date: Thu Feb 19 2004 - 04:35:51 PST
Extensions to VPI would be required to access the covergroup definitions, instances and details. It should be possible to iterate over covergroup definitions/instances in a scope, coverpoints/bins/crosses/transitions in a covergroup and their details.
Since a hierarchical scope is created all the way upto a bin, the following piece of code (or something similar),
hdl = vpi_handle_by_name("top.i1.c11.A.auto[0]", 0);
vpi_get_value(hdl, value_p);
should work and return the coverage count or coverage value of the specified object.
This archive was generated by hypermail 2b28 : Thu Feb 19 2004 - 04:46:19 PST