Loop Block
In Loop Block, every cycle considered elements (CCE) and sub Block will be taken into state-machine building, The system will be auto generate the necessary state-machine to make the hardware run repeatly with condition trigger.
-
main.cpp
void flow() override{ cwhile(a < b){ a <= a + 1; } swhile(a < b){ a <= a + 1; } cdowhile(a < b){ a <= a + 1; } } -
The state-machine will be like this