Overall Layout of the L15 Cal Trig Data Block from a Crate of L15 Cal Trig -------------------------------------------------------------------------- Rev. 20-DEC-1995 How Long Is * Name of Section Where Does This Data Come From this Section ----------------------- -------------------------------- -------------- Crate Header 68k_Services provides this data. 6 longwords Part of it is event to event Constant length static and part is event to event to event event dynamic. and run to run. Frame Code Section 68k_Services provides this data. 5 longwords Most of it is event to event Constant length dynamic. event to event and run to run. Frame Parameter Section 68K_Services provides this data Between 2*16+1 at the time that the 68K receives and 9*16+1 long the "Load Parameters" Interrupt. words i.e. 33:145 All of this data is event to Constant length event constant in a given run. event to event, length may change from run to run. With 4 Terms, this section is 81 longwords long. Tool Parameter Section 68K_Services provides this data Between 2*1*16+1 at the time that the 68K receives and 2*8*16+1 long the "Load Parameters" Interrupt. words i.e. 33:257 All of this data is event to Constant length event constant in a given run. event to event, length may change from run to run. With 4 Terms, this section is 129 longwords long. Local DSP Section This data is provided by the 275 longwords. Local DSP's to the Global DSP. Constant length The Global DSP is responsible event to event for placing it into the Data and run to run. Block. This data is exactly the same as the Lists of identified objects that are sent from the Local to Global DSP's. Most of this data is event to event dynamic. How Long Is * Name of Section Where Does This Data Come From this Section ----------------------- -------------------------------- -------------- Global DSP Section This data is provided by the For Global DSP Global DSP. Most of this data Tool Numbers 1:3 is event to event dynamic. 65 longwords. For Global DSP Tool Number 4 97 longwords. Constant length event to event and run to run. DeBug Section This data is provided by 68k_ From event to Services, the Local DSP's, and event in one run the Global DSP. Note that the this section is Local DSP's provide their portion always one of two of this data to the Global DSP, fixed lengths. If which is responsible for placing this is not a MFP it into the Data Block. event then the length is 4 long This section always has one words. If this type 0 entry from 68k_Services is a MFP event and one type 4 entry from the then the length Global DSP. is: Qty Type LW's Type 0 entries are 2 longwords --- ------ ---- long. There is always 1 of these. 1 Type 0 2 11 Type 1 1419 Type 1 entries are 129 longwords 11 Type 2 1430 long. An MFP event has 11 of 44 Type 3 352 these. 1 Type 4 2 ------- Type 2 entries are 130 longwords 3205 long. An MFP event has 11 of The length of these. this section for MFP events Type 3 entries are 8 longwords may change if long. An MFP event has 44 of any entry types these. are added or changed. Type 4 entries are 2 longwords long. There is always 1 of these. Notes: ------ * The Section Length does not include the longwords to follow longword i.e. this is the number of longwords that the VBD needs to transfer for each section. * The Crate Trailer, built by the VBD, is not described here. Estimate of Transfer Times ----------------------------------------------------------------- The following is an estimate of transfer times. Use 400 nsec per longword for the VBD and 500 nsec per longword for the 68k and the Hydra II. The length used for the Frame Parameter Section (i.e. 81 longwords) assumes that there is one block of Universal Parameters and four Frame Parameter Term Blocks. The length used for the Tool Parameter Section (i.e. 129 longwords) assumes that there are four Local Term Blocks and four Global Term Blocks. Normal Events Mark and Force Pass Events -------------------------------- ----------------------------------- 6 + 5 + 81 + 129 + 275 + 65 + 4 6 + 5 + 81 + 129 + 275 + 65 + 3205 565 data longwords 3766 data longwords + 7 LW to follow LW's + 7 LW to follow LW's ------ ------ 572 longwords total 3773 longwords total About 226 usec for the About 1506 usec for the VBD to DMA read 565 VBD to DMA read 3766 longwords. longwords. About 6 usec for the 68k About 6 usec for the 68k to write 12 longwords. to write 12 longwords. About 171 usec for the About 1770 usec for the Hydra II to write 342 Hydra II to write 3543 longwords. longwords. Table of the Starting Addresses of the Various Blocks that Make Up the L1.5 Cal Trigger Data Block for Global DSP Tool Numbers 1:3 ------------------------------------------------------- Starting Address in the MVME214 Buffer Memory || 68K VSB || 68K VME DSP Address || Address || Address Name of Section [HEX words] || [HEX bytes] || [HEX bytes] ----------------------- ----------------------------------------------- Crate Header 0040 0001 h $ 0100 0004 $ 0030 0004 Frame Code Section 0040 0008 h $ 0100 0020 $ 0030 0020 Frame Parameter Section 0040 000e h $ 0100 0038 $ 0030 0038 Tool Parameter Section 0040 00a0 h $ 0100 0280 $ 0030 0280 Local DSP Section 0040 01a2 h $ 0100 0688 $ 0030 0688 Global DSP Section 0040 02b6 h $ 0100 0ad8 $ 0030 0ad8 DeBug Section 0040 02f8 h $ 0100 0be0 $ 0030 0be0 Notes: ----- * The above table is correct for Global DSP Tool Numbers 1:3. The length of the Global DSP Section changes for Global DSP Tool Number 4. See below. * The starting addresses given above are the starting addresses of the data to be transferred by the VBD, NOT the address of the "Longwords to Follow Count" for each of the sections. * The starting addresses above are given in HEX (not decimal). * Enough space is reserved in both the Frame Parameter and Tool Parameter sections for the maximum possible length (145 and 257 longwords respectively) permissible under the current data block format. Only the parts of these sections which are actually in use need to be transferred by the VBD. Table of the Starting Addresses of the Various Blocks that Make Up the L1.5 Cal Trigger Data Block for Global DSP Tool Number 4 ------------------------------------------------------- Starting Address in the MVME214 Buffer Memory || 68K VSB || 68K VME DSP Address || Address || Address Name of Section [HEX words] || [HEX bytes] || [HEX bytes] ----------------------- ----------------------------------------------- Crate Header \ Frame Code Section \ Frame Parameter Section | -- The same as for Global DSP Tools 1:3 Tool Parameter Section | -- as shown in the table above. Local DSP Section / Global DSP Section / DeBug Section 0040 0318 h $ 0100 0c60 $ 0030 0c60