diff --git a/src/main/java/de/neemann/digital/core/wiring/Demultiplexer.java b/src/main/java/de/neemann/digital/core/wiring/Demultiplexer.java index b6bebca13..5ac44d4c8 100644 --- a/src/main/java/de/neemann/digital/core/wiring/Demultiplexer.java +++ b/src/main/java/de/neemann/digital/core/wiring/Demultiplexer.java @@ -36,9 +36,7 @@ public class Demultiplexer extends Node implements Element { /** * The Demultiplexer description */ - public static final ElementTypeDescription DESCRIPTION = new ElementTypeDescription(Demultiplexer.class, - input("sel", Lang.get("elem_Demultiplexer_pin_sel")), - input("in")) + public static final ElementTypeDescription DESCRIPTION = new ElementTypeDescription(Demultiplexer.class, input("sel"), input("in")) .addAttribute(Keys.ROTATE) .addAttribute(Keys.BITS) .addAttribute(Keys.SELECTOR_BITS) diff --git a/src/main/resources/lang/lang_de.xml b/src/main/resources/lang/lang_de.xml index 687ea54b9..17ff8dcae 100644 --- a/src/main/resources/lang/lang_de.xml +++ b/src/main/resources/lang/lang_de.xml @@ -66,8 +66,9 @@ Es können sowohl komplette Takte als auch einzelne Gatter-Veränderungen angeze Verzögerung Verzögert ein Signal für eine Gatterlaufzeit. Demultiplexer - Mit dieser Leitung wird der Ausgang ausgewählt - Gibt ein Eingangssignal auf einem wählbaren Ausgang aus, die anderen Ausgänge sind Null. + Gibt ein Eingangssignal auf einem wählbaren Ausgang aus, die anderen Ausgänge werden auf den Vorgabewert gesetzt. + Mit dieser Leitung wird der Ausgang ausgewählt, auf welchen der Eingang geschaltet wird. + Der Wert dieses Eingangs wird auf einen der Ausgänge geschaltet. Treiber Treiber, invertierte Auswahl Eingang diff --git a/src/main/resources/lang/lang_en.xml b/src/main/resources/lang/lang_en.xml index 126bb3cca..45bee3230 100644 --- a/src/main/resources/lang/lang_en.xml +++ b/src/main/resources/lang/lang_en.xml @@ -66,8 +66,9 @@ You can plot complete clock steps or single gate changes. Delay Delays the signal by on gate delay Demultiplexer + Outputs the input to one of the outputs. The other outputs are set to the default value. Selects the output - Outputs the input to on of the outputs. The other outputs are zero. + The value of this input is set to the selected output. Driver Driver, inverted select In