]> jspc29.x-matter.uni-frankfurt.de Git - daqdocu.git/commitdiff
tdc slow control register addresses are updated - cu
authorhadaq <hadaq>
Wed, 5 Dec 2012 16:07:14 +0000 (16:07 +0000)
committerhadaq <hadaq>
Wed, 5 Dec 2012 16:07:14 +0000 (16:07 +0000)
trb3/TdcDataFormat.tex
trb3/TdcSlowControl.tex

index 1c699c0f0a4135e6cf2b5863f435800362d1f685..fc451336b2fb0e602fe82f3cb3392412b5042a14 100644 (file)
@@ -65,7 +65,7 @@ The data format of the \textbf{\textit{time data}} word is shown below:
 \begin{tabbing}
   "1" \hspace{1.5cm}\= 1 bit \hspace{0.8cm}\= Time Data marker\\
   reserved     \> 3 bits       \> Reserved for future use\\
-  channel no   \> 6 bits       \> 6 bits The channel number of the TDC\\
+  channel no   \> 7 bits       \> 7 bits The channel number of the TDC\\
                \>              \>      “000000” is the reference channel\\
   fine time    \> 10 bits      \> The fine time value of the measurement\\
   edge                 \> 1 bit        \> The type of the measurement – '1' for rising edge, '0' for falling edge\\
@@ -74,7 +74,7 @@ The data format of the \textbf{\textit{time data}} word is shown below:
 
 Any word starting with the bit "1" indicates a time data word from the TDC in the system.
 
-6 bits are reserved for indicating the channel number in the TDC (max. 63). The first channel \textendash\ channel "000000" \textendash\ is used to measure the reference time. All TDCs in the system measure the same reference time in this channel, so that they can be all synchronised.
+7 bits are reserved for indicating the channel number in the TDC (max. 63). The first channel \textendash\ channel "000000" \textendash\ is used to measure the reference time. All TDCs in the system measure the same reference time in this channel, so that they can be all synchronised.
 
 Two time informations are generated for each event detected by each channel. The coarse time information has the granularity of 5~ns (period of the system clock). The range of the coarse time is 10,24~us. The fine time has the range of 5~ns but doesn't have a fixed granularity. The fine time information has to be calibrated using the statistic collected by the individual channel (for details see \ref{sec:tdcFineTime}).
 
index f0af92cc82c091a427d22d63eda153ce06084a88..0adc9aaa60b6762a9544efcdc5bc465e30da4ea4 100644 (file)
@@ -25,7 +25,7 @@ A set of control registers are assigned in order to access the basic controls, e
       \hline
       0xc3                     & Channel enable 2                      & 31-0  & Enable signals for the channels 33-64.\\
       \hline
-      \multirow{3}{*}{0xc4}    & \multirow{3}{*}{Channel hit scaler control}   & 7-0   & Defines the channel number of the scaler register (Status register 0x91).\\
+      \multirow{3}{*}{0xc4}    & \multirow{3}{*}{Channel hit scaler control}   & 7-0   & Defines the channel number of the scaler register (Status register 0xc111).\\
                                 &                                       & 31-8  & reserved.\\
       \hline
     \end{tabularx}
@@ -122,31 +122,31 @@ A set of control registers are assigned in order to access the basic controls, e
       \hline
       Address  & \multicolumn{1}{c|}{Name}     & Bits  & \multicolumn{1}{c|}{Explanation}\\
       \hline \hline
-      \multirow{5}{*}{0x80}    & \multirow{5}{3.5cm}{Basic controls}   & 7-0   & Debug word of the TDC readout FSM (see \ref{tab:tdcReadoutFsm})\\
+      \multirow{5}{*}{0xc100}  & \multirow{5}{3.5cm}{Basic controls}   & 7-0   & Debug word of the TDC readout FSM (see \ref{tab:tdcReadoutFsm})\\
                                &                                       & 15-8  & Implemented channel number.\\
                                &                                       & 16    & Reference time synchronised to 100~MHz TrbNet clock.\\
                                &                                       & 31-17 & reserved\\ \hline
-      0x81                     & Empty channels 1                      & 31-0  & Empty signals of the channels 32-1\\ \hline
-      0x82                     & Empty channels 2                      & 31-0  & Empty signals of the channels 64-33\\ \hline
-      \multirow{6}{*}{0x83}    & \multirow{6}{3.5cm}{Trigger window controls}  & 10-0  & Trigger window width before the trigger with granularity of 5~ns\\
+      0xc101                   & Empty channels 1                      & 31-0  & Empty signals of the channels 32-1\\ \hline
+      0xc102                   & Empty channels 2                      & 31-0  & Empty signals of the channels 64-33\\ \hline
+      \multirow{6}{*}{0xc103}  & \multirow{6}{3.5cm}{Trigger window controls}  & 10-0  & Trigger window width before the trigger with granularity of 5~ns\\
                                &                                       & 15-11 & reserved\\
                                &                                       & 26-16 & Trigger window width after the trigger with granularity of 5~ns\\
                                &                                       & 31-27 & reserved\\ \hline
-      \multirow{2}{*}{0x84}    & \multirow{2}{3.5cm}{Trigger number}   & 23-0  & Number of valid triggers received\\
+      \multirow{2}{*}{0xc104}  & \multirow{2}{3.5cm}{Trigger number}   & 23-0  & Number of valid triggers received\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{2}{*}{0x85}    & \multirow{2}{3.5cm}{Valid timing trigger number}      & 23-0  & Number of valid timing triggers received\\
+      \multirow{2}{*}{0xc105}  & \multirow{2}{3.5cm}{Valid timing trigger number}      & 23-0  & Number of valid timing triggers received\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x86}    & \multirow{3}{3.5cm}{Valid NOtiming trigger number}    & 23-0  & Number of valid triggers received which are not timing triggers\\
+      \multirow{3}{*}{0xc106}  & \multirow{3}{3.5cm}{Valid NOtiming trigger number}    & 23-0  & Number of valid triggers received which are not timing triggers\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{2}{*}{0x87}    & \multirow{2}{3.5cm}{Invalid trigger number}   & 23-0  & Number of invalid triggers received\\
+      \multirow{2}{*}{0xc107}  & \multirow{2}{3.5cm}{Invalid trigger number}   & 23-0  & Number of invalid triggers received\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x88}    & \multirow{3}{3.5cm}{Multi timing trigger number}      & 23-0  & Number of multi timing triggers (triggers received before trigger is released) received\\
+      \multirow{3}{*}{0xc108}  & \multirow{3}{3.5cm}{Multi timing trigger number}      & 23-0  & Number of multi timing triggers (triggers received before trigger is released) received\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{4}{*}{0x89}    & \multirow{4}{3.5cm}{Spurious trigger number}  & 23-0  & Number of spurious triggers received (in case of timing trigger is validated although it was a timing-trigger-less trigger)\\
+      \multirow{4}{*}{0xc109}  & \multirow{4}{3.5cm}{Spurious trigger number}  & 23-0  & Number of spurious triggers received (in case of timing trigger is validated although it was a timing-trigger-less trigger)\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x8a}    & \multirow{3}{3.5cm}{Wrong readout number}     & 23-0  & Number of wrong readouts due to spurious triggers\\
+      \multirow{3}{*}{0xc10a}  & \multirow{3}{3.5cm}{Wrong readout number}     & 23-0  & Number of wrong readouts due to spurious triggers\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x8b}    & \multirow{3}{3.5cm}{Spike number}     & 23-0  & Number of spikes (pulses narrower than 40~ns) detected at the timing trigger input\\
+      \multirow{3}{*}{0xc10b}  & \multirow{3}{3.5cm}{Spike number}     & 23-0  & Number of spikes (pulses narrower than 40~ns) detected at the timing trigger input\\
                                &                                       & 31-24 & reserved\\ \hline
     \end{tabularx}
   \caption{The status registers of the TDC.}
@@ -160,17 +160,17 @@ A set of control registers are assigned in order to access the basic controls, e
       \hline
       Address  & \multicolumn{1}{c|}{Name}     & Bits  & \multicolumn{1}{c|}{Explanation}\\
       \hline \hline
-      \multirow{3}{*}{0x8c}    & \multirow{3}{3.5cm}{Idle time}        & 23-0  & Total time length, that the readout FSM waited in the idle state (with granularity of 10~ns)\\
+      \multirow{3}{*}{0xc10c}  & \multirow{3}{3.5cm}{Idle time}        & 23-0  & Total time length, that the readout FSM waited in the idle state (with granularity of 10~ns)\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x8d}    & \multirow{3}{3.5cm}{Wait time}        & 23-0  & Total time length, that the readout FSM waited in the wait states (with granularity of 10~ns)\\
+      \multirow{3}{*}{0xc10d}  & \multirow{3}{3.5cm}{Wait time}        & 23-0  & Total time length, that the readout FSM waited in the wait states (with granularity of 10~ns)\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x8e}    & \multirow{3}{3.5cm}{Total empty channels}     & 23-0  & Number of empty channels since the last reset signal\\
+      \multirow{3}{*}{0xc10e}  & \multirow{3}{3.5cm}{Total empty channels}     & 23-0  & Number of empty channels since the last reset signal\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{2}{*}{0x8f}    & \multirow{2}{3.5cm}{Release Number}   & 23-0  & Number of release signals sent\\
+      \multirow{2}{*}{0xc10f}  & \multirow{2}{3.5cm}{Release Number}   & 23-0  & Number of release signals sent\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x90}    & \multirow{3}{3.5cm}{Readout Time}     & 23-0  & Total time length, that the readout occured (with granularity of 10~ns)\\
+      \multirow{3}{*}{0xc110}  & \multirow{3}{3.5cm}{Readout Time}     & 23-0  & Total time length, that the readout occured (with granularity of 10~ns)\\
                                &                                       & 31-24 & reserved\\ \hline
-      \multirow{3}{*}{0x91}    & \multirow{3}{3.5cm}{Timeout Number}   & 23-0  & Number of timeouts detected (too long delay after the timing trigger)\\
+      \multirow{3}{*}{0xc111}  & \multirow{3}{3.5cm}{Timeout Number}   & 23-0  & Number of timeouts detected (too long delay after the timing trigger)\\
                                &                                       & 31-24 & reserved\\ \hline
     \end{tabularx}
   \caption{The status registers of the TDC. (Continue)}