From f99956be413ceac97958681803b6a1624df04d27 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Thu, 15 May 2014 18:25:24 +0200 Subject: [PATCH] added new registers in data handler of endpoint --- endpoint.tex | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/endpoint.tex b/endpoint.tex index a9a3f85..d1483a0 100755 --- a/endpoint.tex +++ b/endpoint.tex @@ -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})\\ -- 2.43.0