AHB evc does per_instance coverage for master and slave. This coverage holds good when only one AHB evc is instantiated. In SOCs with multiple AHB buses [evc instantiation], the coverage of master and slave gets reported as combined coverage of masters from different AHB buses. To work it around here is a piece of code that needs to be appended.
Two files are included :
1) macro.e : In this file macro is defined to create unique names for all masters and slaves using EVC instance name as well as its own name.
2) top.e : Copy paste all lines of this file into config file. Change the AHB evc instantiation names while calling the macro. Macro should be called for each eVC instantiation with appropriate master/slave names.
Warm Regards,
Vishal
vishalj@cadence.com
Originally posted in cdnusers.org by vishalj