]> jspc29.x-matter.uni-frankfurt.de Git - daqdocu.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Tue, 16 Nov 2010 08:46:59 +0000 (08:46 +0000)
committerhadeshyp <hadeshyp>
Tue, 16 Nov 2010 08:46:59 +0000 (08:46 +0000)
ebmonitordescription.pdf [new file with mode: 0644]
ebmonitorguide.tex [new file with mode: 0644]
endpoint.tex
main.tex
mdc.tex
mdcinstructions.tex [new file with mode: 0644]
mdcpowercycle.png [new file with mode: 0644]
slowcontrol.tex

diff --git a/ebmonitordescription.pdf b/ebmonitordescription.pdf
new file mode 100644 (file)
index 0000000..b5f2464
Binary files /dev/null and b/ebmonitordescription.pdf differ
diff --git a/ebmonitorguide.tex b/ebmonitorguide.tex
new file mode 100644 (file)
index 0000000..9660efc
--- /dev/null
@@ -0,0 +1,24 @@
+\begin{figure}[hp]
+       \centering
+               \includegraphics[width=.9\textheight,page=1,angle=90]{ebmonitordescription.pdf}
+       \caption[EB Monitor Guide 1]{EB Monitor Guide 1}
+       \label{fig:ebmonitorguide1}
+\end{figure}
+\begin{figure}[hp]
+       \centering
+               \includegraphics[width=.9\textheight,page=2,angle=90]{ebmonitordescription.pdf}
+       \caption[EB Monitor Guide 2]{EB Monitor Guide 2}
+       \label{fig:ebmonitorguide2}
+\end{figure}
+\begin{figure}[hp]
+       \centering
+               \includegraphics[width=.9\textheight,page=3,angle=90]{ebmonitordescription.pdf}
+       \caption[EB Monitor Guide 3]{EB Monitor Guide 3}
+       \label{fig:ebmonitorguide3}
+\end{figure}
+\begin{figure}[hp]
+       \centering
+               \includegraphics[width=.9\textheight,page=4,angle=90]{ebmonitordescription.pdf}
+       \caption[EB Monitor Guide 4]{EB Monitor Guide 4}
+       \label{fig:ebmonitorguide4}
+\end{figure}
index 301f2833b6e1462eb085ea7b93f5e05cf283540c..a9a3f85ff03ecb22fe8c036f5b085632d2225b22 100755 (executable)
@@ -116,6 +116,13 @@ All endpoint monitoring and status registers can be found in the address region
 7200 & LVL1 release status & Release-flag for each of the data channel \\
 7201 & Data Handler Debug & Debug register of the data handler \\
 7202 & IPU Handler Status & IPU handler status register (see table \ref{endpointipuhandlerstatus})\\
+7300 - 730F & Data Full Time & The total time in microseconds during which the corresponding data buffer was almost full \\
+7310 & LVL1 Full Time & The total time in microseconds during which the LVL1 buffer was almost full \\
+7311 & Buffer Idle Time & The total time in microseconds during which the data handler was idle \\
+7312 & Buffer Working time & The total time in microseconds during which the data handler was working \\
+7313 & IPU Idle Time & The total time in microseconds during which the IPU handler was idle \\
+7314 & IPU Working Time & The total time in microseconds during which the IPU handler was working \\
+7315 & IPU Waiting Time & The total time in microseconds during which the IPU handler was waiting for the network to accept data \\
 \hline
 \end{tabularx}
 \caption{Register Map of the full endpoint containing data handlers.}
@@ -177,3 +184,5 @@ All endpoint monitoring and status registers can be found in the address region
 \label{endpointipuhandlerstatus}
 \end{center}
 \end{table}
+
+
index 3b7123108edba852e307bdaee80dcd79c6082e50..cfe799bc53841ad2669af2a646d351a3ff21b3a8 100755 (executable)
--- a/main.tex
+++ b/main.tex
        \input{trigger}
 \clearpage
 
+\part{Operator Guide}
+\section{Eventbuilder Monitor Guide}
+\input{ebmonitorguide}
 
+\part{Instructions}
+\section{MDC Maintanance}
+\input{mdcinstructions}
+
+\clearpage
 \bibliography{biblio}
 
 \end{document}
diff --git a/mdc.tex b/mdc.tex
index bb7bcbcc09db5427ec0576b9193dcfdc407c19d3..7d8c34ca276e57398cae9cd874ee9881bdde94c9 100755 (executable)
--- a/mdc.tex
+++ b/mdc.tex
@@ -4,9 +4,9 @@ The schematics of the MDC OEP v3 can be found in \cite{MDCOEP}. The schematics o
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \subsection{IPU Data Format}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-Each word sent by an OEP can be of three types as shown in table \ref{MDCDataFormat}: 
+Each word sent by an OEP can be of three types as shown in table \ref{MDCDataFormat}:
 \begin{itemize}
- \item The standard, compressed data format with two hits in one data word 
+ \item The standard, compressed data format with two hits in one data word
  \item The long, debug format, with one word per hit.
  \item Status words which can be of several types, see table \ref{MDCDataFormatStatusWords}
 \end{itemize}
@@ -51,6 +51,7 @@ Truncated Events& 0x07 & Bit 23 -- 0: Number of truncated events due to limit of
 Single Hit 1    & 0x08 & Bit 23 -- 0: Number of single, double or triple hit 1 & 1 \\
 Single Hit 0    & 0x09 & Bit 23 -- 0: Number of single, double or triple hit 0 & 1 \\
 Retransmit Req. & 0x0A & Bit 11 -- 0: Number of retransmit requests sent, Bit 23 -- 12: Number of retransmit requests received & 1\\
+Words           & 0x0B & Bit 23 -- 0: Number of words given to data handler & 1\\
 Dummy Word      & 0x1E & Dummy data word. Sent in every event when selected by CCR2 Bit 22 (see table \ref{MDCCommonCtrlReg2}). Bit 23 -- 16: Lower 8 bit of trigger number. Bit 11 -- 0: Word counter & \\
 Debug Word      & 0x1F & Debug word. Sent in every event when selected by CCR2 Bit 30 (see table \ref{MDCCommonCtrlReg2}). Bit 15 -- 0: Trigger number & \\
 \hline
@@ -73,6 +74,7 @@ Debug Word      & 0x1F & Debug word. Sent in every event when selected by CCR2 B
 8000 - 803F & ADC              & Voltage monitoring ADC. see table \ref{MDCOEPADCMemoryMap} \\
 9000 - 90FF & Status           & Status of the various state machines and control signals \\
 9100 - 91FF & Statistics       & Various statistics regarding data and MBO status. For details see table \ref{MDCDataFormatStatusWords}. N.B. in these registers the cummulative values are shown. \\
+9200 -
 A000 - A0FF & Config. Mem.     & Configuration memory for thresholds and TDC settings  \\
 D000        & SPI Status Reg.  & see section SPI Flash \\
 D001        & SPI Control Reg. & see section SPI Flash \\
@@ -132,7 +134,8 @@ The bits of the common status and control registers used in the OEP are listed i
 15 & reboot FPGA  & reboot OEP\\
 14 -- 11 & reserved  & n/a\\
 10 & reset sequence counter  & reset seq. counter\\
-9 -- 6 & reserved  & n/a\\
+9 & reinitialize MBO \\
+8 -- 6 & reserved  & n/a\\
 5 & reset status registers / error counters & \\
 4 & reset persistent error flags & \\
 3 & master reset  & n/a\\
@@ -347,6 +350,19 @@ The ADC monitoring most voltages on each OEP can be accessed using register addr
  \item[0x9114: Waiting Time] Timer. Counts how long the trigger handler state machine waits for the data handler. I.e. when buffers are almost full or waiting for the LVL1 trigger information. Values are given in microseconds.
 \end{description}
 
+%             STATISTICS_DATA_OUT    <= x"00" & std_logic_vector(timer_fifo_almost_full(addr));
+%             STATISTICS_READY_OUT   <= '1';
+%             STATISTICS_UNKNOWN_OUT <= '0';
+%           elsif addr >= 16 and addr <= 21 then
+%             case addr is
+%               when 16 => STATISTICS_DATA_OUT    <= x"00" &  std_logic_vector(timer_lvl1_almost_full);
+%               when 17 => STATISTICS_DATA_OUT    <= x"00" &  std_logic_vector(timer_lvl1_idle);
+%               when 18 => STATISTICS_DATA_OUT    <= x"00" &  std_logic_vector(timer_lvl1_working);
+%               when 19 => STATISTICS_DATA_OUT    <= x"00" &  std_logic_vector(timer_ipu_idle);
+%               when 20 => STATISTICS_DATA_OUT    <= x"00" &  std_logic_vector(timer_ipu_working);
+%               when 21 => STATISTICS_DATA_OUT    <= x"00" &  std_logic_vector(timer_ipu_waiting);
+%             end case;
+
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \subsection{Hardware}
@@ -370,7 +386,7 @@ Due to very different cable length, there is no clear rule where which OEP is co
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 One voltage regulator block on the FanPW is shown in figure \ref{fanpw}. The position of each of the five potentiometers is shown.
 
-The suggested voltage settings are: 
+The suggested voltage settings are:
 \begin{itemize}
  \item 6V: Set to 5.85V, resp. 6.2V due to heavy noise on power cable
  \item 3.8V: Set to 3.8V, resp. 4.1V
@@ -385,4 +401,4 @@ The suggested voltage settings are:
        \includegraphics[width=.7\textwidth]{fanpw_poti.png}
 \caption{FanPW potentiometer positions.}
 \label{fanpw}
-\end{figure} 
+\end{figure}
diff --git a/mdcinstructions.tex b/mdcinstructions.tex
new file mode 100644 (file)
index 0000000..accde0c
--- /dev/null
@@ -0,0 +1,6 @@
+\begin{figure}[hp]
+       \centering
+               \includegraphics[width=.9\textwidth]{mdcpowercycle.png}
+       \caption[MDC Power Cycle]{MDC Power Cycle}
+       \label{fig:mdcpowercycle}
+\end{figure}
\ No newline at end of file
diff --git a/mdcpowercycle.png b/mdcpowercycle.png
new file mode 100644 (file)
index 0000000..a0ed5b1
Binary files /dev/null and b/mdcpowercycle.png differ
index bc5510813597ffcb189b360c348b2368f15b27cb..80a059ae1768ea9e347116d39d45ba5c96805423 100755 (executable)
@@ -442,7 +442,8 @@ A detailed bit definition can be found in table~\ref{CommonCtrlReg2}.
 15 & reboot FPGA \\
 14 -- 11 & reserved \\
 10 & reset sequence counter \\
-9 -- 6 & reserved \\
+9 & Reinitialize Frontends \\ 
+8 -- 6 & reserved \\
 5 & reset status registers / error counters \\
 4 & reset persistent error flags \\
 3 & master reset \\