User Book
Model Section
5. Hybrid Design Flow
condition Block

Sequential Block

In Sequential 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 and route depend on condition.

  • main.cpp
    void flow() override{
          cif(a < b){
              a <= b;
              b <= a;
          }
     
          sif(a < b){
              a <= b;
              b <= a;
          }
     
          zif(a < b){
              a <= b;
              b <= a;
          }
    }
  • The state-machine will be like this

Photo