Module instantiation depending on input signal

In reply to Abhijitsjadhav:

It is not possible to instantiate a module depending on a input signal.