The modules of the generated code are sequential. They are executed cyclically with each iteration evaluating the next step of processing. In terms of simulation, executing the code is equivalent to executing a “go-step” repeatedly, while changing the environment asynchronously. The main difference is that the clock is incremented in real time, so timeouts will happen according to the time taken to execute the code.