The Generic Parameterized MUX is an RTL code that calculates the number of select lines automatically when the number of inputs is given as a parameter via the system task $clog2 (). This code is nothing but a N:1 mux.
The url of the svn repository is: https://opencores.org/websvn/listing/generic_parameterized_mux/generic_parameterized_mux