Connecting Channels to Links

Top  Previous  Next

Sometimes you may wish to communicate with a device (such as an ADC) or a processor that is not to be considered part of the Diamond configuration. To do this you should connect the device to a port of the communicating task. You can then use the standard channel functions to communicate with the device. For example:

 

PROCESSOR root SMT361

TASK      ADCtask ...

PLACE     ADCtask root

 

CONNECT   ? root[CP:4] ADCtask[0]

 

Note that the task must have been placed on the processor that has the particular device before you can make the connection.