What is the meaning of passing a value to this member

Hi All,

I have passed a value to the member of printer class as 3.How does simulation take this value,
What is the meaning of passing 3,If i pass 0/-1 how does this works.

Statement : “printer.knobs.depth = 3;”

Thanks & Regards
Bharath

It basically controls the “depth” of your hierarchy of object tree while printing a class object. Typically used at agent/env level to show the topology. Setting it to 3 means, print till 3 levels of hier. If you set to -1 this is special value, it is all the way till the children, so the “deepest” hierarchy print.

HTH
Ajeetha, CVC