Skip to main content

Mux

Mux

Overview needed


Constructor

public Mux

new Mux(inputPortCount, outputPortCount, selectPositioner, inputPositioner, outputPositioner)

*Description needed*

Parameters


Properties

No publicly accessible properties on Mux

protected selects: PortSet<InputPort>

Description needed


Methods

protected updatePortNames

updatePortNames() => void

Description needed

public setInputPortCount

setInputPortCount(val) => void

Description needed

Parameters

  •  val: numberDescription needed

public setOutputPortCount

setOutputPortCount(val) => void

Description needed

Parameters

  •  val: numberDescription needed

public setSelectPortCount

setSelectPortCount(val) => void

Description needed

Parameters

  •  val: numberDescription needed

public getSelectPorts

getSelectPorts() => InputPort[]

Description needed

Returns

public getSelectPortCount

getSelectPortCount() => ClampedValue

Description needed

Returns

  •   ClampedValueDescription needed

public numSelects

numSelects() => number

Description needed

Returns

  •   numberDescription needed

public getOffset

getOffset() => Vector

Description needed

Returns

  •   VectorDescription needed

public getInputs

getInputs() => DigitalWire[]

Description needed

Returns

  •   DigitalWire[]Description needed

public getPorts

getPorts() => Port[]

Description needed

Returns

  •   Port[]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.