An apparatus for selecting a plurality of input signals from a plurality of y signals (clc_in[0.. 15]) in a device, comprising: a switching matrix comprising: a plurality of independently controlled n-to-1 multiplexers (810, 820, 830, 840), wherein in a first operating mode each n-to-1 multiplexer is assigned to a different input set of n of said y signals wherein a subset of less than n input signals of each set of input signals of each of the n-to-1 multiplexers is also a subset of input signals of another n-to-1 multiplexer (810, 820, 830, 840); wherein the switching matrix is configured to further operate in a second operating mode in which the switching matrix is configured to assign an identical sub-set of input signals from said y input signals to all of the plurality of independently controlled n-to-1 multiplexers (810, 820, 830, 840) or in which the switching matrix is configured to assign at least a first input set to at least one n-to-1 multiplexers (810, 820, 830, 840) and at least a second input set with no input signals of the first input set to at least another n-to-1 multiplexer (810, 820, 830, 840); and a mode register coupled with the switching matrix allowing to program one of the operating modes. a switching matrix comprising: a plurality of independently controlled n-to-1 multiplexers (810, 820, 830, 840), wherein in a first operating mode each n-to-1 multiplexer is assigned to a different input set of n of said y signals wherein a subset of less than n input signals of each set of input signals of each of the n-to-1 multiplexers is also a subset of input signals of another n-to-1 multiplexer (810, 820, 830, 840); wherein the switching matrix is configured to further operate in a second operating mode in which the switching matrix is configured to assign an identical sub-set of input signals from said y input signals to all of the plurality of independently controlled n-to-1 multiplexers (810, 820, 830, 840) or in which the switching matrix is configured to assign at least a first input set to at least one n-to-1 multiplexers (810, 820, 830, 840) and at least a second input set with no input signals of the first input set to at least another n-to-1 multiplexer (810, 820, 830, 840); and a plurality of independently controlled n-to-1 multiplexers (810, 820, 830, 840), wherein in a first operating mode each n-to-1 multiplexer is assigned to a different input set of n of said y signals wherein a subset of less than n input signals of each set of input signals of each of the n-to-1 multiplexers is also a subset of input signals of another n-to-1 multiplexer (810, 820, 830, 840); wherein the switching matrix is configured to further operate in a second operating mode in which the switching matrix is configured to assign an identical sub-set of input signals from said y input signals to all of the plurality of independently controlled n-to-1 multiplexers (810, 820, 830, 840) or in which the switching matrix is configured to assign at least a first input set to at least one n-to-1 multiplexers (810, 820, 830, 840) and at least a second input set with no input signals of the first input set to at least another n-to-1 multiplexer (810, 820, 830, 840); and a mode register coupled with the switching matrix allowing to program one of the operating modes.