Hi,
I want to check my interface instance type by $typename, the compiler doesn’t like it and throw an compilation error. Can somebody help me to understand this conception?
interface bus;
logic clk;
endinterface
module tb;
bus busA();
initial $display($typename(busA));
endmodule