1.

What Is $root?

Answer»

$root refers to the TOP level instance in SystemVerilog

1.package ABC;
2.$root.A; // top level instance A
3.$root.A.B.C; // item C WITHIN instance B within top level instance A

$root refers to the top level instance in SystemVerilog

1.package ABC;
2.$root.A; // top level instance A
3.$root.A.B.C; // item C within instance B within top level instance A



Discussion

No Comment Found