Next: LCI_XML Format
Up: Requirements on ConfigSystem
Previous: Requirements on ConfigSystem
Before proceeding into the details of the ConfigSystem tool, we should make some points about the LATC_XML format.
- LATC_XML groups LATC registers by hardware component. At each level a hardware component has some registers, and controls other, lower-level, hardware components.
- Each hardware component and each register has its own xml node.
- For many hardware components, the LATC includes several instances of the component. In these cases LATC_XML allows us to configure a single instance by using the ``ID'' attribute of the xml node for that component. Conversely we can use ``ID='BCAST''' to configure all instances of that component.
- Many registers can be further broken into bit-fields.
- LATC_XML can be split into more that one file, but with several constraints. MOOT handles many of those constraints, so that they can be summarized in the next four points.
- We must specify a broadcast value for every register which has more that one instance.
- We must specify the value for each singleton register exactly once.
- We may override the broadcast value for any given instance of a register exactly once.
- We may not mix broadcast settings and specific instance settings in a single file.
The hierarchy of hardware components and hence LATC_XML nodes is shown here.
<LATC_XML>
<GEM> Trigger
<ROI/> ACD region of interest
<AOC/> Miscellaneous trigger
<SCH/> Trigger engine schedule table
<WIN/> Trigger window
<TAM/> Trigger Accept Messges, prescales, zero-suppression.
<TIE/> Trigger Input Enables.
</GEM>
<AEM> ACD Electronics Module
<ARC ID='[0-11] | BCAST'> ACD Readout Controller
<AFE ID='[0-17] | BCAST'/> ACD Front-Ends
</ARC>
</AEM>
<TEM ID='[0-15] | BCAST'> Tower Electronics Modules
<TIC/> Trigger Interface Controller
<CCC ID='[0-3] | BCAST'> CAL Cable Controller
<CRC ID='[0-3] | BCAST'> CAL Readout Controller
<CFE ID='[0-11] | BCAST'/> CAL Front-Ends
</CRC>
</CCC>
<TCC ID='[0-7] | BCAST'> TKR Cable Controller
<TRC ID='[0-8] | BCAST'/> TKR Readout Controller
</TCC>
<SPT ID='[0-24] | BCAST'> TKR readout splits.
<TFE ID='[0-23] | BCAST'> TKR Front-Ends.
<TDC/> TKR Front-End DACs.
</TFE>
</SPT>
</TEM>
</LATC_XML>
The task of generating configurations is complicated by the fact that the ideal settings for many registers on a single hardware component may vary asynchronously.
Next: LCI_XML Format
Up: Requirements on ConfigSystem
Previous: Requirements on ConfigSystem
Eric Charles
2007-06-05