# Dekoder

Bibliothek: | Auswahlschaltungen
Eingeführt: | 2.0 Beta 11
Aussehen: |

## Verhalten

Emits 1 on exactly one output; which output is 1 depends on the current value received through the input on the south edge.

## Pins (wenn das Bauelement nach Osten zeigt)

East edge, variable number (outputs, bit width 1)
  The outputs are numbered starting with 0 on the north. Each output will be 1 if its number matches the value currently received through the select input on the south; otherwise, its value will be either zero or floating, depending on the value of the Three-State? attribute. If the select input contains any unspecified bits, then all outputs are floating.
South edge (input, bit width matches Select Bits attribute)
  Select input: The value of this input determines which of the outputs is 1.

## Attribute

Wenn das Bauelement ausgewählt ist oder gerade hinzugefügt wird, dann ändern die Ziffern 1 bis 4 das Attribut Auswahlleitungen, und die Pfeiltasten ändern das Attribut Ausrichtung.

Ausrichtung
  The direction of the component (specifying which side has the outputs).
Auswahlleitungen
  The bit width of the component's select input on its south edge. The number of outputs for the decoder will be 2selectBits.
Three-state?
  Specifies whether the unselected outputs should be floating (Yes) or zero (No).

## Verhalten des Schaltwerkzeugs

Keines.

## Verhalten des Textwerkzeugs

Keines.

Zurück zur Bibliotheksreferenz