i am having a problem with interfaces that are port based.
interface _if (input clk, rst, inout signal);
modport master (input clk, rst, output signal);
When I use driver code:
protected virtual interface _if.master m_if;
...
task run()
m_if.signal = trans.signal; or m_if.signal <= trans.signal;
endtask;
Then Questa complains with the following error:
Error: (vsim-3044) ... Usage of 'm_if.signal' inconsistent with 'net' object.
What do I need to do to make this work?