added new registers in data handler of endpoint
authorJan Michel <j.michel@gsi.de>
Thu, 15 May 2014 16:25:24 +0000 (18:25 +0200)
committerJan Michel <j.michel@gsi.de>
Thu, 15 May 2014 16:25:24 +0000 (18:25 +0200)
endpoint.tex

index a9a3f85ff03ecb22fe8c036f5b085632d2225b22..d1483a090bed3e4c759153aa83cf36c2c925ddf0 100755 (executable)
@@ -104,6 +104,15 @@ The global settings for the endpoint are:
 \subsubsection{Slowcontrol Registers}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 All endpoint monitoring and status registers can be found in the address region between 0x7000 and 0x7FFF according to table \ref{endpointhandlerregister}.
+% info_registers(1) <= std_logic_vector(to_unsigned((2**DATA_BUFFER_DEPTH-DATA_BUFFER_FULL_THRESH-1),16)) & 
+% max_event_size;
+% info_registers(2) <=   std_logic_vector(to_unsigned(DATA_BUFFER_FULL_THRESH,16))
+%                      & std_logic_vector(to_unsigned(DATA_BUFFER_DEPTH,8))
+%                      & std_logic_vector(to_unsigned(DATA_INTERFACE_NUMBER,8));
+% info_registers(3) <=   std_logic_vector(to_unsigned(TRG_RELEASE_AFTER_DATA,1))
+%                      & "0000000"
+%                      & std_logic_vector(to_unsigned(HEADER_BUFFER_FULL_THRESH,16)) 
+%                      & std_logic_vector(to_unsigned(HEADER_BUFFER_DEPTH,8));
 
 \begin{table}[htbp]
 \begin{center}
@@ -113,6 +122,11 @@ All endpoint monitoring and status registers can be found in the address region
 \hline\hline
 7100 - 710F & Data Buffer Status & Status of the data buffers, one register for each data buffer defined \\
 7110 & LVL1 Buffer Status & Status of the LVL1 header / data buffer \\
+7111 & Size Limit & Lower half: set event size limit. Upper half: Max possible size due to generic setting \\
+7112 & Dat Buffer Size & Bit 7-0: Number of data interfaces, Bit 15-8: Depth of data buffer (log2), Bit 31-16: Buffer 
+fill level threshold\\
+7113 & Hdr Buffer Size & Bit 7-0: Depth of event header buffer (log2), Bit 23-8: Header buffer threshold, Bit 31: 
+release after data writing finished\\
 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})\\