Ignore:
Timestamp:
02/09/11 11:16:48 (14 years ago)
Author:
neise
Message:
added Xilinx device DNA to Eventpackage Header - doc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • firmware/FAD/doc/memory_manager.tex

    r10144 r10150  
    1851850x2002  & REFCLK cntr 10 & REFCLK cntr 32 & EVT cntr 10 & EVT cntr 32   \\
    1861860x2003  & TRG-GEN-DIV   & TRG-GEN-No    & DCM-PS-STATUS         & 0x0(cid)8(bid)        \\
    187 0x2004  & more status   & more status   & time10        & time32        \\
    188 0x2005  & Temp 3        & Temp 2        & Temp 1        & Temp 0        \\
    189 0x2006  & DAC 3 & DAC 2 & DAC 1 & DAC 0 \\
    190 0x2007  & DAC 7 & DAC 6 & DAC 5 & DAC 4 \\
    191 \hline
    192 0x2007  & 0x0030        & 0x0020        & 0x0010        & 0x0000        \\
    193 0x2008  & trg pos 3     & trg pos 2     & trg pos 1     & trg pos 0     \\
    194 0x2009  & ROI 3 & ROI 2 & ROI 1 & ROI 0 \\
    195 0x200A  & data adc3     & data adc2     & data adc1     & data adc0     \\
     1870x2004  & DNA10                 & DNA32                 & DNA54                         & 0x00DNA6      \\
     1880x2005  & more status   & more status   & time10        & time32        \\
     1890x2006  & Temp 3        & Temp 2        & Temp 1        & Temp 0        \\
     1900x2007  & DAC 3 & DAC 2 & DAC 1 & DAC 0 \\
     1910x2008  & DAC 7 & DAC 6 & DAC 5 & DAC 4 \\
     192\hline
     1930x2009  & 0x0030        & 0x0020        & 0x0010        & 0x0000        \\
     1940x200A  & trg pos 3     & trg pos 2     & trg pos 1     & trg pos 0     \\
     1950x200B  & ROI 3 & ROI 2 & ROI 1 & ROI 0 \\
     1960x200C  & data adc3     & data adc2     & data adc1     & data adc0     \\
    1961970x20..  &&&& ... \\
    197 0x206D  & data adc3     & data adc2     & data adc1     & data adc0     \\
     1980x206F  & data adc3     & data adc2     & data adc1     & data adc0     \\
    198199\hline
    1992000x20..  &&&& ... \\
    200201\hline
    201 0x233F  & 0x0039        & 0x0029        & 0x0019        & 0x0009        \\
    202 0x2340  & trg pos 3     & trg pos 2     & trg pos 1     & trg pos 0     \\
    203 0x2341  & ROI 3         & ROI 2         & ROI 1         & ROI 0 \\
    204 0x2342  & data adc3     & data adc2     & data adc1     & data adc0     \\
     2020x23??  & 0x0039        & 0x0029        & 0x0019        & 0x0009        \\
     2030x23??  & trg pos 3     & trg pos 2     & trg pos 1     & trg pos 0     \\
     2040x23??  & ROI 3         & ROI 2         & ROI 1         & ROI 0 \\
     2050x23??  & data adc3     & data adc2     & data adc1     & data adc0     \\
    2052060x23..  &&&& ... \\
    206 0x23A5  & data adc3     & data adc2     & data adc1     & data adc0     \\
    207 \hline
    208 0x23A6  & 0x0000        & 0x0000        & 0x04FE        & 0x4242\\
     2070x23??  & data adc3     & data adc2     & data adc1     & data adc0     \\
     208\hline
     2090x23??  & 0x0000        & 0x0000        & 0x04FE        & 0x4242\\
    209210\hline
    210211\end {tabular}
    211 
    212212\caption{NEW word order of event in Data RAM. 64bit addressing. As of > 08.02.2011}
    213213\label{new64bitRAM}
    214214\end{table}
    215215
     216A detailed description is given after, next table.\\
     217
    216218\newpage
    217219Which in turn changes the the word order in the 16bit address space like this
     
    221223address & 16bit word & description \\
    222224\hline
    223 0x8000  & 0xFB01        & Start Flag - fix value \\
     2250x8000  & 0xFB01        & Start Flag - fix value: "FB01" \\
    2242260x8001  & 0xllll        & package length in 16bit words \\
    2252270x8002  & 0xvvvv        & version - deduced from SVN revision number \\
    226 0x8003  & 0xsssP        & 12 bits for status - TBD - 4 bit showing PLLLCK status \\  \hdashline
     2280x8003  & 0xsssP        & 12 bits for status - TBD - 4 bit showing PLLLCK status \\ 
     229\hdashline
    2272300x8004  & 0x00T6        & FTM trigger ID byte 6 : CRC \\
    2282310x8005  & 0xT5T4        & ... bytes 5 and 4 : Type 2 and Type 1\\
    2292320x8006  & 0xT3T2        & ... bytes 3 and 2     : TRG number high word \\
    230 0x8007  & 0xT1T0        & ... bytes 1 and 0 : TRG number low word \\ \hdashline
     2330x8007  & 0xT1T0        & ... bytes 1 and 0 : TRG number low word \\
     234\hdashline
    2312350x8008  & 0xev32        & FAD event counter high word \\
    2322360x8009  & 0xev10        & FAD event counter low word -- should be equal to T3T2T1T0\\
    2332370x800A  & 0xRC32        & REFCLK counter high word \\
    234 0x800B  & 0xRC10        & REFCLK counter low word \\  \hdashline
     2380x800B  & 0xRC10        & REFCLK counter low word \\ 
     239\hdashline
    2352400x800C  & 0x0(cid)8(bid) & Board ID \\
    2362410x800D  & DCM-PS        & status of ADC clock phase shifter , value and locked-bit\\
    2372420x800E  & TRG-GEN-No& Number of Triggers to generare, when 'trigger continous' issued \\
    238 0x800F  & TRG-GEN-DIV& continous trigger generator clock prescaler \\ \hdashline
    239 0x8010  & timer32       & timer high word \\
    240 0x8011  & timer10       & timer low word \\
    241 0x8012  & more status1 & reserved for status info; high word \\
    242 0x8013  & more status0 & reserved for status info; low word \\ \hdashline
    243 0x8014  & 0xttt0        & temperature sensor next to DRS 0 \\
    244 0x8015  & 0xttt1        & temperature sensor next to DRS 1 \\
    245 0x8016  & 0xttt2        & temperature sensor next to DRS 2 \\
    246 0x8017  & 0xttt3        & temperature sensor next to DRS 3 \\ \hdashline
    247 0x8018  & 0xdac0        & setting of DAC channel A \\
    248 0x8019  & 0xdac1        & setting of DAC channel B \\
    249 0x801A  & 0xdac2        & setting of DAC channel C \\
    250 0x801B  & 0xdac3        & setting of DAC channel D \\  \hdashline
    251 0x801C  & 0xdac4        & setting of DAC channel E \\
    252 0x801D  & 0xdac5        & setting of DAC channel F \\
    253 0x801E  & 0xdac6        & setting of DAC channel G \\
    254 0x801F  & 0xdac7        & setting of DAC channel H \\
     2430x800F  & TRG-GEN-DIV& continous trigger generator clock prescaler \\
     244\hdashline
     2450x8010  & 0x00 DNA6     & MSB of DNA \\
     2460x8011  & DNA54         & ... DNA ... \\
     2470x8012  & DNA32         & ... DNA ... \\
     2480x8013  & DNA10         & LSB of DNA \\
     249\hdashline
     2500x8014  & timer32       & timer high word \\
     2510x8015  & timer10       & timer low word \\
     2520x8016  & more status1 & reserved for status info; high word \\
     2530x8017  & more status0 & reserved for status info; low word \\
     254\hdashline
     2550x8018  & 0xttt0        & temperature sensor next to DRS 0 \\
     2560x8019  & 0xttt1        & temperature sensor next to DRS 1 \\
     2570x801A  & 0xttt2        & temperature sensor next to DRS 2 \\
     2580x801B  & 0xttt3        & temperature sensor next to DRS 3 \\
     259\hdashline
     2600x801C  & 0xdac0        & setting of DAC channel A \\
     2610x801D  & 0xdac1        & setting of DAC channel B \\
     2620x801E  & 0xdac2        & setting of DAC channel C \\
     2630x801F  & 0xdac3        & setting of DAC channel D \\ 
     264\hdashline
     2650x8020  & 0xdac4        & setting of DAC channel E \\
     2660x8021  & 0xdac5        & setting of DAC channel F \\
     2670x8022  & 0xdac6        & setting of DAC channel G \\
     2680x8023  & 0xdac7        & setting of DAC channel H \\
    255269\hline
    2562700x8...  & ...           & ...data ... \\
     
    261275\label{16bitRAM}
    262276\end{table}
    263 
    264277This new order has several advantages apart from the additional information included.
    265 All data may be treated as 64bit aligned. And the data readout process does not have to jump over word during data sending.
     278All data may be treated as 64bit aligned. And the data readout process does not need jump over words during data sending.
     279
    266280
    267281\newpage
     
    287301        unsgined short number_of_triggers_to_generate;
    288302        unsigned short trigger_generator_prescaler;
     303        // ------------------------------
     304        unsigned char reserved;
     305        unsigned char DNA[7];   // '1' & 55 unique bits of Xilinx DNA   
    289306        // ------------------------------
    290307        unsigned long time;
Note: See TracChangeset for help on using the changeset viewer.