In reply to cgales:
thanks. In fact, I’ve already read this article, and benefit a lot from this excellent article. but the uvm_marcos.svh is a macros definition file, which is included out side the package declaration.
when first compile $<uvm_pkg_path>/uvm_pkg.sv, all the macros in uvm_macros.svh will be defined. So when we import uvm_pkg, the macros inside uvm_macros.svh have already been defined, so including uvm_macros.svh once more will have no effect? I’m not sure about this.
Tao