From 64cf33760de4fbb999577235940ac946aa5eab65 Mon Sep 17 00:00:00 2001 From: Cahit Date: Fri, 18 Mar 2016 17:45:14 +0100 Subject: [PATCH] added tdc data format information --- trb3/TdcDataFormat.tex | 45 +++++++++++++++++++++++------------------- 1 file changed, 25 insertions(+), 20 deletions(-) diff --git a/trb3/TdcDataFormat.tex b/trb3/TdcDataFormat.tex index abf153d..23a8991 100644 --- a/trb3/TdcDataFormat.tex +++ b/trb3/TdcDataFormat.tex @@ -8,25 +8,30 @@ The data format of the \textbf{\textit{time data}} word is shown below: \begin{table}[ht] \centering - \begin{tabular}{|W{0.7cm}|W{1.3cm}|W{2.18cm}|W{3.3cm}|W{0.73cm}|W{3.63cm}|} + \begin{tabular}{|l|r|l|} \hline - 1 bit & 2 bits & 7 bits & 10 bits & 1 bit & 11 bits\\ - "1" & reserved & channel no & fine time & edge & coarse time\\ + \textbf{Data Format} & \textbf{Bits} & \textbf{Description}\\ + \hline + 0x0 & 31 & Time Data Marker\\ + & 30-29 & reserved\\ + & 28-22 & channel number\\ + & 21-12 & fine time - sum of the two transition of the WUL\\ + & 11 & the type of the measured edge - '1' rising, '0' falling edge\\ + & 10-0 & coarse time - 5ns granularity\\ + \hline + 0x1 & 31 & Time Data Marker\\ + & 30-29 & reserved\\ + & 28-22 & channel number\\ + & 21 & reserved\\ + & 20-12 & fine time - individual values of the two transition of the WUL\\ + & 11 & the type of the measured edge - '1' rising, '0' falling edge\\ + & 10-0 & coarse time - 5ns granularity\\ \hline \end{tabular} \caption{The data format of the \textit{TIME DATA} word.} \label{tab:tdcTimeDataWord} \end{table} -\begin{tabbing} - "1" \hspace{1.5cm}\= 1 bit \hspace{0.8cm}\= Time Data marker\\ - reserved \> 2 bits \> Reserved for future use\\ - 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\\ - coarse time \> 11 bits \> The coarse time value of the measurement – 5~ns granularity\\ -\end{tabbing} Any word starting with the bit "1" indicates a time data word from the TDC in the system. @@ -55,21 +60,21 @@ The data format of the \textbf{\textit{header}} word is shown below: \begin{table}[ht] \centering - \begin{tabular}{|W{1.2cm}|W{5.2cm}|W{6.3cm}|} + \begin{tabular}{|p{2cm}|p{5cm}|} \hline - 3 bits & 13 bits & 16 bits\\ - "001" & reserved & error bits\\ + Bits & Description\\ + \hline + 31-29 & ``001'' TDC Header marker\\ + 28 & reserved\\ + 27-24 & TDC Data Format type\\ + 23-16 & reserved\\ + 15-0 & Error bits\\ \hline \end{tabular} \caption{The data format of the \textit{TDC HEADER} word.} \label{tab:tdcHeaderWord} \end{table} -\begin{tabbing} - "001" \hspace{1.5cm}\= 3 bits \hspace{1.5cm}\= TDC Header marker \\ - reserved \> 13 bits \> Reserved for future use \\ - error bits \> 16 bits \> Error might occur will be marked here \\ -\end{tabbing} Any word starting with the bits "001" indicates a header word from the TDC in the system. The TDC is defined with the previous word in the data stream -- 2.43.0