In reply to nikhil.n:
Hi Nikhil. Modports are used to connect two modules together that employ interfaces in their port list, and to specify the port direction. In your case, module add does not use an interface. The module instantiation should be:
add i_add( .a(aif.a), .b(aif.b), .sum(aif.sum), .cout(aif.cout));