when I declared “a” as logic it’s working ok but when I declared “a” as wire then tools give me error: This or another usage of “it.a” inconsistent with ‘net’ object.
interface intf(input clk);
wire a;
endinterface
class driver;
virtual interface intf it;
@(it.clk)
it.a <=0;
endclass