Data Operations
This section describes the built-in data operations provided by Tydl. These
operations are defined in the Tydl.Operations namespace.
sum
Parameterized Entity representing the sum of a set of data values.
The following keyword parameters may be used to specify attributes of this entity:
- modulo
Alias for
modulus.- modulus
If this Unsigned Integer attribute is specified, then the sum will be computed using modular arithmetic with the modulus being equal to the specified value.
- of
Alias for
values.- values
List of values to sum.
The following positional parameters are accepted:
Argument Position |
Parameter |
|---|---|
1st |
|
twos_complement
Parameterized Entity representing the two’s complement of a specified value.
The following keyword parameters may be used to specify attributes of this entity:
- of
Alias for
value.- value
Value to complement.
The following positional parameters are accepted:
Argument Position |
Parameter |
|---|---|
1st |
|