Input is typical i.e. power, control and data. You can have any number of output. Depends upon what you implement in FPGA (I suppose you'll use Verilog/VHDL).
>each of the 5 input will be connected to any of the output pin. And they need to be >connected simultaneously.
I think this is not complete statement. If each of the input is directly connected to each of the output pin, that would be a wrong circuit unless there is some control mechanism (MUX), to decide which input will be fed to output at any given time.