img_extensions=.eps .jpg .jpeg .png .pdf .ps .fig .gif
kileprversion=2
kileversion=2.0
-lastDocument=showerdata.tex
+lastDocument=gbe.tex
masterDocument=main.tex
name=trbnet
pkg_extIsRegExp=false
[item:endpoint.tex]
archive=true
-column=222
+column=0
encoding=ISO 8859-15
highlight=LaTeX
-line=95
+line=88
open=true
order=11
[item:gbe.tex]
archive=true
-column=0
+column=2
encoding=ISO 8859-15
highlight=LaTeX
-line=0
+line=53
open=true
order=12
[item:hubs.tex]
archive=true
-column=28
+column=186
encoding=
highlight=LaTeX
-line=56
+line=46
open=true
order=6
[item:ipudataformat.tex]
archive=true
-column=92
+column=25
encoding=UTF-8
highlight=LaTeX
-line=44
+line=204
open=true
order=1
[item:main.tex]
archive=true
-column=0
+column=14
encoding=UTF-8
highlight=LaTeX
-line=138
+line=129
open=true
order=0
column=0
encoding=UTF-8
highlight=LaTeX
-line=67
+line=68
open=true
order=7
The second part is located at addresses 0x8200 to 0x82F0. Each block of 16 addresses describes the addresses and ports used to send data to one of the Eventbuilders (see table \ref{GbEEBSettings}. Which entry in the memory is used, is selected by the lower 4 bits of the IPU readout information as shown in table \ref{IPUInformationBits}.
+The GbE interface itself has a control and a status register, available at addresses 0xc020 and 0xc021 respectively:
+\begin{description}
+ \item[0xc020: Control Register] PHY control register. Each of the bits has to be reset manually after use
+ \begin{description}
+ \item[Bit 0]Restart Autonegotiation
+ \item[Bit 1]PHY mode (must be 0)
+ \item[Bit 3]PHY reset
+ \end{description}
+ \item[0xc021: Status Register] GbE link status register (detailed explanation: t.b.d.)
+ \begin{description}
+ \item[Bit 15..0] Link partner page
+ \item[Bit 16] Link partner page received (strobe signal)
+ \item[Bit 17] Autonegotiation completed
+ \item[Bit 23..20] Reset state machine status
+ \item[Bit 27..24] Link status
+ \end{description}
+\end{description}
+
+
+
\begin{table}[hbtp]
\begin{center}
\begin{tabularx}{\textwidth}{|l|l|X|}
\caption{Memory map for GbE Ethernet settings. The third digit is the EventBuilder number, allowing to stor 16 different settings that are selected by the IPU request information word.}
\label{GbEEBSettings}
\end{center}
-\end{table}
+\end{table}
\ No newline at end of file
20 & buffers half full & The event data buffers are filled halfway. Set by user. \\
21 & buffers almost full full & The event data buffers are almost full. Set by user. \\
22 & not configured & Frontend is not configured correctly to handle triggers, an initilization is needed. Set by user. \\
-23 - 31 & t.b.d. & Not yet defined \\
+23 & frontend error & Parts of the connected frontend are not behaving correctly: no response, not synchronized, token missing...\\
+24 - 31 & t.b.d. & Not yet defined \\
\end{tabularx}
\caption{Error- and Status information contained in the network termination packet}
\label{LVL1Errorbits}
\caption{ADC Channels for MDC OEP voltage monitoring. -3.0V are reported to be +3.0V by ADC. Both 5V channels are connected using a voltage divider, thus reading 2.5V at nominal voltage.}
\label{MDCOEPADCChannels}
\end{center}
-\end{table}
\ No newline at end of file
+\end{table}
+
+\subsubsection{MDC OEP Status Register}
+% TDC Readout Status
+% DEBUG_REGISTER_OUT(3 downto 0) <= state_bits;
+% DEBUG_REGISTER_OUT(4) <= reg_data_valid_out;
+% DEBUG_REGISTER_OUT(5) <= TOKEN_IN;
+% DEBUG_REGISTER_OUT(6) <= A_DST_IN;
+% DEBUG_REGISTER_OUT(7) <= A_AOD_IN;
+% DEBUG_REGISTER_OUT(8) <= A_RESERV_IN;
+% DEBUG_REGISTER_OUT(12 downto 9) <= FLAG_EVENT_COUNTER_IN;
+% DEBUG_REGISTER_OUT(31 downto 13) <= (others => '0');
+%