SetMuxPortCount
SetMuxPortCount
SetMuxPortCount(obj, target) => GroupAction
This code changes the size of the Mux object based on how many inputs are entered. When the selector inputs are increased the number of inputs are also increased by 2 to the power of the number of selector inputs chosen. Ex.) input count = 3, then the number of inputs changes to 2^3 or 8. The actual size of the mux object is also changed accordingly.
Parameters
obj: Mux
– Refers to the Mux object.target: number
– Refers to the new number of inputs requested.
Returns
-
GroupAction
– A port change action for mux's.