Asm as file in System C

Asm Coder as a graph is presented in Fig. 1.

Figure 1. Asm Coder as a graph

If designer wouldn’t like to use ASM Schematics (we strongly advise to use it) he can present ASMs as text files in System C (Fig. 2).

void maincoder()
{
L1:
  if (s)
  {
    if (dma)
    {
      dmacycle();
    }
    else
    {
      {
        rElem = NElem;
        CodComplete = 0;
      }
      PackData();
      {
        CodComplete = 1;
        rWrite2M2 = cnt_m2;
      }
    }
  }
  else
  {
    goto L1;
  }
}

Figure 2. ASM Coder as a text in System C

Synthagate immediately compiles this description into internal representation used at the next steps of design – Fig. 2b (ASM as two connected list) and Fig 2c (text file with the contents of vertices in ASM).

Figure 3. Asm Coder after compiling