How to connect the inout port of class interface to inout port of module

In reply to vadivelan014:
Please use code tags making your code easier to read. I have added them for you.