From: Cahit Date: Fri, 5 Apr 2013 09:21:36 +0000 (+0200) Subject: data format of the tdc is updated - cu X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=f88efb96a7fe6a3f4da904d7301ffd0551a38c4a;p=daqdocu.git data format of the tdc is updated - cu --- diff --git a/trb3/TdcDataFormat.tex b/trb3/TdcDataFormat.tex index 916568e..e22692e 100644 --- a/trb3/TdcDataFormat.tex +++ b/trb3/TdcDataFormat.tex @@ -37,7 +37,7 @@ the system. The TDC is defined with the previous word in the data stream \textendash\ TDC network header. The trigger random code \textendash\ 8 bits \textendash\ is generated by the -trbnet for each trigger in order to distinguish the trigger. It is repeated in +TrbNet for each trigger in order to distinguish the trigger. It is repeated in the TDC HEADER, so data \& trigger matching can be tested. The error bits are used to indicate any error might occurred in the TDC since @@ -95,14 +95,17 @@ channel \textendash\ channel "0000000" \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. -Three time informations are generated for each event detected by each -channel; epoch wocounter, coarse counter and fine counter. The epoch counter +Three time informations are generated for each signal detected by each +channel; epoch counter, coarse counter and fine counter. The epoch counter word is explained in \ref{sec:tdcEpoch}. 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}). +\ref{sec:tdcFineTime}). The response efficiency of the TDC is 100\%. So even +if a proper fine time for a hit cannot be generated, the TDC will register the +hit and write a time data word in the memory with a dummy fine time +x"3FF". This hit should be excluded from the calibration and time calculations. \subsubsection{DEBUG} @@ -153,7 +156,7 @@ The debug information sent is given in Table \ref{tab:tdcDebugWords}. \multirow{3}{*}{"01001"} & \multirow{3}{*}{Idle time} & Total time length, that the readout FSM waited in the idle state (with granularity of 10~ns)\\\hline \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 occured (with granularity of 10~ns)\\ + \multirow{2}{*}{"01100"} & \multirow{2}{*}{Readout time} & Total time length, that the readout occurred (with granularity of 10~ns)\\ \hline \end{tabularx} \caption{Debug information word bitmap.}