TYPE attribute

Top  Previous  Next

The configurer needs to be given information about the type of each processor you use in an application, and this is provided by a type attribute immediately following the processor name in the PROCESSOR statement. The TYPE= string is optional, so the following two statements are equivalent:

 

PROCESSOR root TYPE=MyType

PROCESSOR root MyType

 

The type attribute tells the configurer many things, including: the amount and location of the processor's memory, its clock speed, the number of links it has, which kernel file to use, and so on. The valid type identifiers are described in the installation section. You can define your own variant processor types using the PROCTYPE statement.

 

The following example declares a four-processor network.

 

processor root type=SMQ_DSP DEVICE=1 BOARD=1

processor node SMQ_DSP      DEVICE=1 BOARD=2

processor leaf SMQ_DSP      DEVICE=2 BOARD=2

processor twig SMQ_DSP      DEVICE=2 BOARD=1

 

Every processor is assumed to be able to support any user task you place on it in the configuration file. Although certain tasks may not be able to execute on particular types of processor, the configurer cannot check for this and it is your responsibility to ensure you specify a meaningful configuration.