From 98e7e3b37714963d3b82d1ac9102264d2b78afff Mon Sep 17 00:00:00 2001 From: Cahit Date: Thu, 21 Jan 2016 18:31:49 +0100 Subject: [PATCH] updated tdc debug information table --- trb3/TdcDataFormat.tex | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/trb3/TdcDataFormat.tex b/trb3/TdcDataFormat.tex index 4f9cd52..abf153d 100644 --- a/trb3/TdcDataFormat.tex +++ b/trb3/TdcDataFormat.tex @@ -97,13 +97,21 @@ the last trigger. The error bits coded in the header is given in Table \end{table} -\subsubsection{DEBUG} +\subsubsection{DEBUG - Status Information} \label{sec:tdcDebug} -The debug mode can be enabled via slow control register bit: -\begin{verbatim} - 0xc800 - bit 4 -\end{verbatim} +Various statistics and information of the TDC can be written to the data. This +options can be enabled in two ways: + + +\begin{itemize} + \item via slow control register (0xc800 - bit 4) + \item via status information trigger (0xE) +\end{itemize} + +In the first case the status information will be sent out after the tdc time +data with the physics trigger (0x1) or tdc calibration trigger (0xD). In the +later case only the status information will be written out. The data format of the \textbf{\textit{debug}} word is shown in Table~\ref{tab:tdcDebugWord}: @@ -146,7 +154,19 @@ The debug information sent is given in Table \ref{tab:tdcDebugWords}. \multirow{3}{*}{"01010"} & \multirow{3}{*}{Wait time} & Total time length, that the readout FSM waited in the wait states (with granularity of 10~ns)\\\hline \multirow{2}{*}{"01011"} & \multirow{2}{*}{Total empty channels} & Number of empty channels since the last reset signal\\\hline \multirow{2}{*}{"01100"} & \multirow{2}{*}{Readout time} & Total time length, that the readout occurred (with granularity of 10~ns)\\ - \hline + \multirow{2}{*}{"01101"} & \multirow{2}{*}{Timeout number} & +Total number of timeouts occured since the last reset\\\hline + \multirow{2}{*}{"01110"} & \multirow{2}{*}{Temperature} & The +temperature value read from the temperature sensor\\\hline + "01111" & & RESERVED\\\hline + \multirow{3}{*}{"10000"} & \multirow{2}{*}{Compile time 1} & The +first 16 bits of the compile time (the number of non-leap seconds since +01.01.1970)\\\hline + \multirow{3}{*}{"10001"} & \multirow{2}{*}{Compile time 2} & The +last 16 bits of the compile time (the number of non-leap seconds since +01.01.1970)\\ + +\hline \end{tabularx} \caption{Debug information word bitmap.} \label{tab:tdcDebugWords} -- 2.43.0