diff --git a/src/main/resources/lang/lang_de.xml b/src/main/resources/lang/lang_de.xml index 326e6bde0..eec8170b8 100644 --- a/src/main/resources/lang/lang_de.xml +++ b/src/main/resources/lang/lang_de.xml @@ -2329,6 +2329,17 @@ declare Bit = (Bus>>3)&1;

In diesem Beispiel wird aus dem Signal 'Bus' das 3. Bit isoliert und als Signal 'Bit' für den Test zur Verfügung gestellt. Die Schaltung selbst enthält keinen Ausgang 'Bit'.

+

Funktionen

+

Unterstützte Funktionen sind: +

+
signExt([bits],[value])
+
Erweitert den Wert [value] unter Erhaltung des Vorzeichens auf [bits] Bits.
+
random([max])
+
Liefert eine ganze Zufallszahl. Mit [max] wird der Maximalwert angegeben.
+
ite([cond],[then],[else])
+
Ist die Bedingung [cond] wahr, wird der Wert [then] zurückgegeben, andernfalls der Wert [else].
+
+

Prozessoren

Wenn Prozessoren getestet werden sollen, ist in der Regel eine Initialisierung des Prozessors erforderlich. Es ist möglich, diese Initialisierung innhalb des Testfalls vorzunehmen. diff --git a/src/main/resources/lang/lang_en.xml b/src/main/resources/lang/lang_en.xml index 53a309131..890264092 100644 --- a/src/main/resources/lang/lang_en.xml +++ b/src/main/resources/lang/lang_en.xml @@ -2305,6 +2305,18 @@ declare Bit = (Bus>>3)&1;

In this example, the 3rd bit is isolated from the 'Bus' signal and made available as the 'Bit' signal for the test. The circuit itself contains no output 'Bit'.

+

Functions

+

Available functions are: +

+
signExt([bits],[value])
+
Extends the value [value] while preserving the sign to [bits] bits.
+
random([max])
+
Returns an integer random number. The maximum value is specified with [max].
+
ite([cond],[then],[else])
+
If the condition [cond] is true, the value [then] is returned, otherwise the value [else].
+
+

+

Processors

If processors are to be tested, an initialization of the processor is usually required. It is possible to perform this initialization within the test case.