From faceb71e3b0bcac3220879b054f070a0634c07dd Mon Sep 17 00:00:00 2001 From: hadaq Date: Tue, 24 Jul 2012 13:59:12 +0000 Subject: [PATCH] tdc debug information table is added - cu --- trb3/TdcDataFormat.tex | 34 +++++++++++++++++++++++++++++++++- trb3/TdcFeatures.tex | 2 +- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/trb3/TdcDataFormat.tex b/trb3/TdcDataFormat.tex index 1cc9ba7..1c57fb9 100644 --- a/trb3/TdcDataFormat.tex +++ b/trb3/TdcDataFormat.tex @@ -80,6 +80,11 @@ Two time informations are generated for each event detected by each channel. The \subsubsection{DEBUG} \label{sec:tdcDebug} +The debug mode can be enabled via slow control register bit: +\begin{verbatim} + 0xc0 - bit 4 +\end{verbatim} + The data format of the \textbf{\textit{debug}} word is shown below: \begin{table}[h] @@ -100,8 +105,35 @@ The data format of the \textbf{\textit{debug}} word is shown below: debug bits \> 24 bits \> Debug information and statistics to the user \\ \end{tabbing} +The debug information sent is given in Table \ref{tab:tdcDebugWords}. + +\begin{table}[htbp] + \begin{center} + \begin{tabularx}{\textwidth}{|c|r|L|} + \hline + Debug Mode & Name & Explanation\\\hline\hline + "00000" & Trigger number & Number of valid triggers received\\ + "00001" & Release Number & Number of release signals sent\\ + "00010" & Valid timing trigger number & Number of valid timing triggers received\\ + "00011" & Valid NOtiming trigger number & Number of valid triggers received which are not timing triggers\\ + "00100" & Invalid trigger number & Number of invalid triggers received\\ + "00101" & Multi timing trigger number & Number of multi timing triggers (triggers received before trigger is released) received\\ + "00110" & Spurious trigger number & Number of spurious triggers received (in case of timing trigger is validated although it was a timing-trigger-less trigger)\\ + "00111" & Wrong readout number & Number of wrong readouts due to spurious triggers\\ + "01000" & Spike number & Number of spikes (pulses narrower than 40~ns) detected at the timing trigger input\\ + "01001" & Idle time & Total time length, that the readout FSM waited in the idle state (with granularity of 10~ns)\\ + "01010" & Wait time & Total time length, that the readout FSM waited in the wait states (with granularity of 10~ns)\\ + "01011" & Total empty channels & Number of empty channels since the last reset signal\\ + \hline + \end{tabularx} + \caption{Debug information word bitmap.} + \label{tab:tdcDebugWords} + \end{center} +\end{table} + The debug words sent with DAQ can be accessed also via slow control registers (see Table \ref{tab:tdcStatusReg1} and Table \ref{tab:tdcStatusReg2}). +\newpage \subsubsection{RESERVED} The data format of the \textbf{\textit{reserved}} word is shown below: @@ -118,4 +150,4 @@ The data format of the \textbf{\textit{reserved}} word is shown below: \label{tab:tdcReservedWord} \end{table} -It is reserved for future use. \ No newline at end of file +It is reserved for future use. diff --git a/trb3/TdcFeatures.tex b/trb3/TdcFeatures.tex index 958bad7..a57e553 100644 --- a/trb3/TdcFeatures.tex +++ b/trb3/TdcFeatures.tex @@ -1,7 +1,7 @@ \subsubsection{Trigger Window} \label{sec:tdcTrigWin} -In order to reduce the data load on the DAQ a feature called trigger window is implemented. With this feature the user can define the interested time interval and filter the hits occurred in this time interval. An illustration of the trigger window feature is shown in Figure \ref{fig:tdcTrigWin}. The trigger window is relative to the rising edge of the reference time at the \textit{TRIGGER\_INP1} with the granularity of 5~ns. The \textit{Pre-Trigger Window} and \textit{Post-Trigger Window} widths can be set via slow control (Table \ref{tab:tdcControlReg}). +In order to reduce the data load on the DAQ a feature called trigger window is implemented. With this feature the user can define the interested time interval and filter the hits occurred in this time interval. An illustration of the trigger window feature is shown in Figure \ref{fig:tdcTrigWin}. The trigger window is relative to the rising edge of the reference time at the \textit{TRIGGER\_INP1} (see Figure \ref{fig:trb3}) with the granularity of 5~ns. The \textit{Pre-Trigger Window} and \textit{Post-Trigger Window} widths can be set via slow control (Table \ref{tab:tdcControlReg}). \begin{figure}[htp] \centering -- 2.43.0