]> jspc29.x-matter.uni-frankfurt.de Git - daqdocu.git/commitdiff
*** empty log message ***
authorhadeshyp <hadeshyp>
Wed, 21 Jul 2010 08:49:28 +0000 (08:49 +0000)
committerhadeshyp <hadeshyp>
Wed, 21 Jul 2010 08:49:28 +0000 (08:49 +0000)
ipudataformat.tex
lvl1trigger.tex

index 58133bda12a94db4408ae9063e24f2a84aa30877..b2990834a6fc185916ec3f61170c1d05f6979601 100755 (executable)
@@ -254,7 +254,7 @@ The first bits (16 -- 19) are generated by checks performed in every stage of da
 23 & single broken event & event data corrupted, next event most likely not affected. Set by user. \\
 24 & Ethernet link broken & Ethernet link to send data is down. Data has been lost. \\
 25 & SubEvent buffer almost full & The buffer to store events in the Ethernet interface is almost full, a stop within the next few events is likely \\
-26 &  \\
+26 & Ethernet error & The ethernet interface found partially corrupted data and discarded this event. Only partial data has been transmitted to the EB. \\
 27 & &  \\
 28 & &  \\
 29 & &  \\
index d2d850d2a1ed5dd648c31ef6cb717bc1905e0081..9b2c7199b67796570b37a85d87498488984d8a04 100755 (executable)
@@ -108,12 +108,38 @@ If deleting the data is not possible any more, the TTL trigger is ignored by the
        \label{fig:triggerinterface}
 \end{figure}
 
+\begin{description}
+ \item [\portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out}] Trigger information, number, code and type are valid. The falling edge marks the sending of busy release to the CTS - might be used to reset the internal trigger state machines of the FEE.
+ \item [\portname{Lvl1\_\-Valid\_\-Timing\_\-Trg\_\-Out}] A timing trigger has been received and the internal state machine marked it as valid. Strobe signal, typically set 60~ns clock cycles after the trigger input goes high. Should be used to start state machines to handle normal triggers.
+ \item [\portname{Lvl1\_\-Valid\_\-Notiming\_\-Trg\_\-Out}] A valid timing-trigger-less LVL1 trigger has been received. Strobe signal, typically high in the same clock cycle as \portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out} goes high. Should be used to start state machines to handle TTL triggers.
+ \item [\portname{Lvl1\_\-Invalid\_\-Trg\_\-Out}] The current LVL1 trigger is invalid, there was no timing trigger 
+
+ \item [\portname{Lvl1\_\-Trg\_\-Number\_\-Out}]    (16 bit) Trigger number.
+ \item [\portname{Lvl1\_\-Trg\_\-Code\_\-Out}]      (8 bit) A random code generated by CTS that has to be stored and put to the IPU data stream.
+ \item [\portname{Lvl1\_\-Trg\_\-Information\_\-Out}] (24 bit) Additional information about trigger as explained in the corresponding section.
+ \item [\portname{Lvl1\_\-Trg\_\-Type\_\-Out}]      (4 bit) The trigger type.
+ \item [\portname{Lvl1\_\-Int\_\-Trg\_\-Number\_\-Out}]     (16 bit) Internally generated trigger number. This number is always valid, despite within 50 ns after the falling edge of \portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out}.
+
+ \item [\portname{Lvl1\_\-Error\_\-Pattern\_\-In} / \portname{Fee\_\-Trg\_\-Statusbits\_\-In}]  (32 bit) Error and status bits as explained in the corresponding section. Must be valid when \portname{Lvl1\_\-Trg\_\-Release} is high.
+ \item [\portname{Lvl1\_\-Trg\_\-Release\_\-In} / \portname{Fee\_\-Trg\_\-Release\_\-In}]    Releases the trigger busy. Has to be set in any case where \portname{Lvl1\_\-Trg\_\-Data\_\-Valid\_\-Out} is high. Length must be at least one clock cycle.
+
+ \item [\portname{Lvl1\_\-Spike\_\-Detected\_\-Out}] A spike on the timing trigger input has been detected. Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-Missing\_\-TmgTrg\_\-Out}] A LVL1 trigger without preceeding timing trigger has been found. Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-TmgTrg\_\-Timeout\_\-Out}] Time between timing trigger and LVL1 trigger was very long (>20us). Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-Multiple\_\-TmgTrg\_\-Out}] There have been multiple timing triggers on the input Stays high until the next busy release is sent.
+ \item [\portname{Lvl1\_\-Spurious\_\-TmgTrg\_\-Out}] There was a timing trigger before a TTL trigger.
+
+\end{description}
+
+
+
+
 % \begin{description}
 %
 %  \item [\portname{Lvl1\_\-valid\_\-timing\_\-trg\_\-out}] A timing trigger has been received and the internal state machine marked it as valid. Typically set 2 to 5 clock cycles after \portname{trg\_\-timing\_\-trg\_\-received\_\-in} was high.
 %  \item [\portname{Lvl1\_\-valid\_\-notiming\_\-trg\_\-out}] A valid timing-trigger-less LVL1 trigger has been received. Typically high 1 to 2 clock cycles after the rising edge of \portname{Lvl1\_\-trg\_\-data\_\-valid\_\-out}.
 %  \item [\portname{Lvl1\_\-invalid\_\-trg\_\-out}] A trigger (either timing trigger or LVL1 trigger) has been received which has been marked invalid by the internal state machine. E.g. to timing triggers without a LVL1 trigger or a LVL1 trigger without preceeding timing trigger has been detected.
-%  \item [\portname{Lvl1\_\-trg\_\-type\_\-out}]      The trigger type, similar to the old system.
+%  
 %  \item [\portname{Lvl1\_\-trg\_\-data\_\-valid\_\-out}]  Rising edge marks that a LVL1 trigger information has been received. Falling edge comes after user set \portname{Lvl1\_\-Trg\_\-Release}. While high, all trigger information ports, namely \portname{Lvl1\_\-Trg\_\-Type}, \portname{Lvl1\_\-Trg\_\-Number}, \portname{Lvl1\_\-Trg\_\-Code} and \portname{Lvl1\_\-Trg\_\-In\-for\-ma\-tion} are valid.
 %  \item [\portname{Lvl1\_\-trg\_\-number\_\-out}]    (16 bit) Trigger number.
 %  \item [\portname{Lvl1\_\-trg\_\-code\_\-out}]      (8 bit) A random code generated by CTS that has to be stored and put to the IPU data stream.