Now, I was testing a few hours
The result is: Every input seems to have it's own reference-point.
Normally you place the sources of signals left from the inputs. This is the best way.
But sometimes you want a delay of one loop and you place the source right of the input.
So, I suggest, place it right ot the last input of this module. Otherwise the behavior would be undefined.
I have attached an example:
What do you think happens, if you set the line "1" ? You will get a "5"on "Test" and for one loop is "SW1" high.
So, the 2 upper inputs of the component "counter" is read in the same loop as you set the line "1".
If you the line "2" you will get a "-10" and no signal on SW2.
I can't understand, what the compiler is doing here.