NSL uses 'any' block syntax for conditional behavior activation. The 'any' bock does not have priority. All the behavior which matches the condition will be activated in parallel. The syntax of 'any' block is:
condition1: behavior description 1
condition2: behavior description 2
.... as may description as you like ....
else: behavior description for otherwise
The 'else' condition is optional.
This example uses IO definitions and core behavior description. Two behavioral operations will be activated conditionally in the core behavior description.
It is an easy operation and you may image the result. We will make a simulation on this circuitry as following command:
# ./exe NS07
The result will be available on your console.