I have such a scenario.
class A extends ovm_object;
and there is one constraint c_A inside.
And then, I define
class B extends A;
and there is one new constraint c_B inside.
Now, I write a base_test, and construct
A_h = A :: type_id :: create("A_h", this);
then, I write a another test E_test extends base_test, and
then, I do constraint control in E_test using
But it will report compilation error by VCS that "Could not find member c_B in class A_h". (If I don't do constraint_mode control, object A_h could randomize with B type)
anyone has idea about this. thanks