Why OSVVM? › Forums › OSVVM › Reporting ignored bins
This topic has 2 voices, contains 3 replies, and was last updated by Roger Smith 14 days ago.
I’m using CoveragePkg.vhd,
I have some bins which I’m using to drive the simulation, using GenBin and setting an ‘AtLeast’ value. This works OK.
I have some illegal bins, using IllegalBin (‘AtLeast’ value is zero) This works OK.
I want to have some bins which do not drive the simulation, but which I’d like to know if they’ve been hit or not. I have 2 options:
Is it possible to have bins which do not affect IsCovered if they have zero count, but do get reported so I can see whether they have a count or not?
Ignore bins always have a count of 0. So even if they were reported, it would not do what you want.
You could do two separate coverage bins: one to generate stimulus and one to collect results. If you use a procedure to set the bins, the common parts would only need to be generated once.
I added a note to look at coverage bins with a coverage goal of 0 for a future revision.
Can I access the values in the bins?
The bin counts (including anything in illegal bins) get reported to the ModelSim Transcript window (using WriteBin).
Is it possible for my VHDL (or TCL) to access the values?
You must be logged in to reply to this topic.
Please create an account to get started.
Proudly powered by WordPress and BuddyPress.