Location of each global port

The location of each global port is specified with the pok_ports_nodes array. It indicates, for each port, the associated node identifier.

In the following example, it shows that the three first global ports are located on the node 0 and the other on the node 1.

   uint8_t pok_ports_nodes[POK_CONFIG_NB_GLOBAL_PORTS] =
      {0,0,0,1,1,1};

When you use code generation functionnalities, this declaration is automatically created in the deployment.c file.



Copyright 2009 POK Team