as the title says, if we define a variable and fucntion/task in one package, then we import them in mutiple files, i wonder the variable and function/task is the same object?
for example,in the uvm_pkg, the global task run_test is defined in <uvm_global.svh>, so when we import uvm_pkg::* in different file,can we call the run_test in the multiple different place? if we can, then the run_test called in differenct place is the same one task or different copy?
and how when it come to the variable?
In addition, i already now the situation when class define in one package and import in different place from Dave’s blog: SystemVerilog Coding Guidelines: Package import versus `include.
Thanks for explanation!