Hi,
Regarding the error when you try to create cvg object in monitor and drive using create method , seems like you kept string name same at both place else no one would stop to create two object of class
E.g -
cvg = coverage::type_id::create("cvg_monitor", this)
cvg = coverage::type_id::create("cvg_driver", this)
Another way is to have analysis port-export, which would be more idle way
For the coverage collecting.
-Vinay Jain
V4verification.com