Achieving a 4x1 Mux using port

In reply to chr_sue:

Hi ,

There isn’t a specific requirement . Just trying out different code .