]> jspc29.x-matter.uni-frankfurt.de Git - daqdocu.git/commitdiff
added description for the anyInputTrigger module
authorJan Michel <j.michel@gsi.de>
Wed, 12 Feb 2014 17:24:22 +0000 (18:24 +0100)
committerJan Michel <j.michel@gsi.de>
Wed, 12 Feb 2014 17:24:22 +0000 (18:24 +0100)
trb3/TriggerModule.tex [new file with mode: 0644]
trb3/main.tex

diff --git a/trb3/TriggerModule.tex b/trb3/TriggerModule.tex
new file mode 100644 (file)
index 0000000..fd00264
--- /dev/null
@@ -0,0 +1,27 @@
+The trigger module can be used to forward any input of a peripheral FPGA via the central FPGA to 
+the CTS. E.g. any input to any TDC can be used to generate the trigger in the CTS.
+
+The VHDL code is available in \files{base/code/input\_to\_trigger\_logic.vhd}
+
+\paragraph*{Setup}
+The trigger module can feature up to 32 input signals and up to 16 independent outputs.
+An extension to 64 inputs (matching the maximal number of inputs to the TDC) is foreseen but not 
+yet implemented.
+For each output, any of the connected inputs can be enabled or disabled as well as been inverted 
+individually. The output is an 'or' of all enabled inputs. The peripheral FPGA can send four 
+outputs to the central FPGA. Depending on the AddOn used, additional outputs can be routed to free 
+I/O pins if available.
+
+The central FPGA contains the same trigger logic to combine the four signals from each of the 
+peripheral FPGAs to one common signal forwarded on the trigger output on the RJ-45 connector 
+(middle pair). Additional signals can be forward to the AddOn connector of the central FPGA, e.g. 
+to one of the RJ-45 sockets on the CTS-AddOn.
+
+\paragraph*{SlowControl}
+Configuration of the module can be done in registers 0xcf00 to 0xcf3f. Each output has four 
+configuration registers. The first one contains a bit mask to enable individual inputs. The second 
+one contains a bitmask to invert individual input signals. The other two registers are reserved for 
+future extensions. 
+
+In case of four outputs configured, registers 0xcf00, 0xcf04, 0xcf08 and 0xcf0c contain the enable 
+bit mask and registers 0xcf01, 0xcf05, 0xcf09 and 0xcf0d contain the inverter bits.
\ No newline at end of file
index dc46671ee768d68a7e199a31a9da91fdc02dfdf4..a91230efbbd1901c277892f352cfacb8f48a7849 100644 (file)
       \input{TdcDataFormat}
     \subsection{Slow Control Registers}
       \input{TdcSlowControl}
-\newpage
+  \clearpage
+  \section{Additional Modules}
     \subsection{DAC Programming}
       \input{DacProgramming}
+    \subsection{Forward inputs for trigger}
+      \input{TriggerModule}      
 
   \clearpage
   \section[GbE Data Read-out]{GbE Data Read-out\footnote{This space to be filled by Grzegorz Korcyl. At the moment: read the TrbNet manual.}}