In reply to Abhisek Sarkar:
I do not understand your question. You can certainly connect an interface to your RTL top. What do you mean by “call the interface”. And unless you are using the UVM, it is difficult to know what it means to add a memory class to your verification environment.