Virtual interface and DUT interface compilation error

In reply to UVM_LOVE:

You have declared the signals a and b in interface file as inputs.
Since they are inputs you can’t drive values to them.

BTW you have to use non-blocking assignment to drive the output signals of the interface.