In this examples are tested the basic logic operations.
Depending on the value of the sampling time Ts the behaviour of the logic blocks may vary.
In the following figure the output of two different NOT operators are compared. The blue line is the input signal while the green one is the output
of a NOT with Ts = 0.15 and the red one the output of a NOT with Ts = 0 (thus continuous time).
To note that the red line is exactly the NOT of the input, while the green one is approximately the NOT of the input. This is due to the time discretisation.
This is the output of the AND operation, where the blue lines are the four inputs while the red one is the output
Even in this case small delays are introduced by the time discretisation.