Mux
Mux
Overview needed
Constructor
public Mux
new Mux(inputPortCount, outputPortCount, selectPositioner, inputPositioner, outputPositioner)
*Description needed*Parameters
inputPortCount: ClampedValue
– Description neededoutputPortCount: ClampedValue
– Description neededselectPositioner: Positioner<InputPort>
– Description neededinputPositioner: Positioner<InputPort>
– Description neededoutputPositioner: Positioner<OutputPort>
– Description needed
Properties
No publicly accessible properties on Mux
Methods
public setInputPortCount
setInputPortCount(val) => void
Description needed
Parameters
-
val: number
– Description needed
public setOutputPortCount
setOutputPortCount(val) => void
Description needed
Parameters
-
val: number
– Description needed
public setSelectPortCount
setSelectPortCount(val) => void
Description needed
Parameters
-
val: number
– Description needed
public getSelectPorts
getSelectPorts() => InputPort[]
Description needed
Returns
-
InputPort[]
– Description needed
public getSelectPortCount
getSelectPortCount() => ClampedValue
Description needed
Returns
-
ClampedValue
– Description needed
public getInputs
getInputs() => DigitalWire[]
Description needed
Returns
-
DigitalWire[]
– Description needed
Static Methods
public CalcSize
CalcSize(ports) => Vector
Calculates the size for a Mux with a number of selectors.
Parameters
-
ports: number
– Number of selectors.
Returns
-
Vector
– A Vector of the size for a Mux.