Multi-Processor Systems

Top  Previous  Next

Diamond’s physical links CP:0–CP:5 correspond directly to Sundance comports 0–5. Note that on some TIMs (for example, the SMT376) not all of these six comports exist; the missing comports behave as though the other end of the link never responds.

 

You use physical links in your configuration file’s WIRE statements. The folder <3L>My Designs\examples\Sundance\example-3 contains the file DUAL.CFG, which shows an outline of the configuration statements you need to take the two tasks used in the example and configure them to execute on two separate processors.

 

You must ensure that the WIRE statements match the actual cabling on your carrier board. The original example has:

 

wire ? root[CP:1] node[CP:4]

 

This tells the configurer that comport number 1 of the root processor (the one in TIM site 1 on the carrier board) is connected to comport 4 of the TIM site containing the node processor. To make it possible to load the application, you must ensure that there is a corresponding physical connection between the two processors. You can achieve this in one of two ways:

 

1.

Fit a comport cable. Assuming the node processor is in TIM site 2 on an SMT310Q, you would fit a cable between connectors T1C1 and T2C4.

2.

Set switches in the carrier board's firmware. See the server’s option Board/Properties to change these switches, or use the Sundance BoardInfo program directly.

 

Dragons003When you use two processors that are attached (for example, two processors on the same multiple-processor TIM such as the SMT374), you do not give any WIRE statements to connect them; they are created for you automatically. You must remove the WIRE statement from the example configuration file (or convert it into a comment by placing an exclamation mark at the beginning of the line).