Yes. Just import uvm_pkg::#; and include "uvm_macros.svh" in your interface, and use
uvm_error in the fail action of your assertion.
Yes. Just import uvm_pkg::#; and include "uvm_macros.svh" in your interface, and use
uvm_error in the fail action of your assertion.