Interface and driver component of Dual Port RAM is not working properly

In reply to cgales:

You are working with a macro for the vitual interface modport, but you are syncronizing directly on the clk in the virtual interface.