The Configurer

Top  Previous  Next

The configurer is the multiprocessor compiler at the heart of Diamond. It is responsible for combining all your tasks into a single application file that can be loaded into a specific processor network and started running.

 

In order to build an application you must first create a configuration file. This is a text file that describes three things:

1.

the structure of your hardware:


the processors and their types
the way in which they communicate with each other (wires)

2.

the structure of your software:


your tasks and their properties
the channels that connect these tasks (connections)

3.

how you wish the software to be mapped onto the hardware


by placing tasks on processors

(optionally) by placing connections on wires

The configuration file is created for you automatically by the Diamond IDE, but you can write it yourself if you wish.

 

The following section is a description of how to write configuration files; you may ignore it if you are using the Diamond IDE.