You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FC4SC library allows us to create covergroups/coverpoints with more granularity than SystemVerilog. It allows us to sample individual coverpoints as we as the whole group. We have a use model where we want to share variables as well as coverpoints among a few covergroups. We have a base class that inherits from fc4sc::covergroup and defines a few coverpoints. To share coverpoints among multiple covergroups, we would like to define some covergroups as static memebers so that there is only one copy in inherited classes.
I have a bit of difficulty to create a static coverpoint for there are no static functions to register this coverpoint with the covergroup. I assume we need some static function to handle that.
FC4SC library allows us to create covergroups/coverpoints with more granularity than SystemVerilog. It allows us to sample individual coverpoints as we as the whole group. We have a use model where we want to share variables as well as coverpoints among a few covergroups. We have a base class that inherits from
fc4sc::covergroup
and defines a few coverpoints. To share coverpoints among multiple covergroups, we would like to define some covergroups as static memebers so that there is only one copy in inherited classes.I have a bit of difficulty to create a static coverpoint for there are no static functions to register this coverpoint with the covergroup. I assume we need some static function to handle that.
The code above tries to create a static coverpoint without success. Any suggestions/fixes is appareciated.
The text was updated successfully, but these errors were encountered: