Coverage collection on common TL components
Stems from a discussion in #6974.
A main question is (using the KMAC as an example), should we completely exclude modules like tlul_adapter_sram and tlul_adapter_sram_msgfifo from coverage collection if the designer thinks it is not very useful, keep full coverage collection on these modules as there isn't a verification source-of-truth for these (and different HWIPs use different parameterizations of these modules), or do something in between?
With no "block level" verification for these components, the only sensible approach seems (to me) that we should enable coverage collection for all users, waiving any unused functionality. If this turns out to be a pain, the next step would be to do separate verification for them and then turn coverage collection off at the use sites.
Agree with @rswarbrick
The adapter has many parameters. Different IP uses different parameters. I don't think we should exclude it without proving it's actually covered. https://github.com/lowRISC/opentitan/blob/8888540036f453a40d23e345064e1af5eb644210/hw/ip/tlul/rtl/tlul_adapter_sram.sv#L20-L34
IPs use and are going to use highly configurable primitives and TL components. They components should be easy to use, does not require the users to understand their internal implementations but the interfaces.
If we mandate the users ( Designers ) to check the coverages for those primitives / components, it requires the designers to spend times on understanding every primitives they instantiated.
I think better approach is to check the components/ primitives standalone or at least FPV and exclude them from the coverage.
Lets exclude these blocks from simulation coverage ONLY if it is deemed too much of an effort with very little ROI to exclude the uncovered bits within these blocks (AND we have at least an FPV tb on it). My hope is once the user has an understanding of why things are uncovered in a primitive in one block, it should be easier to analyze the same primitives in other blocks, so it should get progressively quicker.
I understand analyzing and waiving every uncovered item manually is hard, but it is a one time effort during the V3 stage. Plus, now that the UNR flow is setup, it should weed out all unreachables, so the uncovered set should be much smaller.
Closing as a solution seems to have been agreed upon