tdaq_collector Entity Reference

Data collector for TDAQ status messages. More...

Inheritance diagram for tdaq_collector:

Inheritance graph
[legend]
Collaboration diagram for tdaq_collector:

Collaboration graph
[legend]

List of all members.


Architectures

tdaq_collector_arc Architecture
 Data collector for status messages. More...

Libraries

ieee 
 standard IEEE library

Packages

std_logic_1164 
 std_logic definitions, see file
std_logic_arith 
 arithmetic operations on std_logic datatypes, see file
std_logic_unsigned 
 unsigned functions use ieee.std_logic_unsigned.all; operators for std_logic_vector type, see file

Ports

EMAC_CLK  in std_logic
 100 MHz
ROD_CLK  in std_logic
 40 MHz
STATUS_CLK  in std_logic
 200 MHz
RIO_CLK  in std_logic
 160 MHz
RESET  in std_logic
 Reset.
START  in std_logic
 Start assembling packet.
FETCH_BYTE  in std_logic
 Get data byte, hold high until TRANS_DONE = 1.
FETCH_CHKSUM  in std_logic
 Get checksum, set for 1 clk cycle.
FPGA_ID  in std_logic_vector ( 7 downto 0 ) := x " 00 "
 FPGA ID.
ERROR_CODE  in std_logic_vector ( 7 downto 0 )
 Error code.
INPUT_STATUS  in std_logic_vector ( 63 downto 0 )
 Status of inputs, ie active or masked.
DATA_SRC  in std_logic_vector ( 7 downto 0 )
 0xff = Detector, 0x00 = Pattern Generator
COARSE_DELAY1  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch1.
COARSE_DELAY2  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch2.
COARSE_DELAY3  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch3.
COARSE_DELAY4  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch4.
COARSE_DELAY5  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch5.
COARSE_DELAY6  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch6.
COARSE_DELAY7  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch7.
COARSE_DELAY8  in std_logic_vector ( 7 downto 0 )
 Coarse Delay Ch8.
FINE_DELAY1  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch1.
FINE_DELAY2  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch2.
FINE_DELAY3  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch3.
FINE_DELAY4  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch4.
FINE_DELAY5  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch5.
FINE_DELAY6  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch6.
FINE_DELAY7  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch7.
FINE_DELAY8  in std_logic_vector ( 7 downto 0 )
 Fine Delay Ch8.
BUSY  in std_logic_vector ( 7 downto 0 )
 Busy flag.
BUSY_EXT  in std_logic_vector ( 7 downto 0 )
 Busy flag set by TDAQ.
SLINK_FULL  in std_logic_vector ( 7 downto 0 )
 Link full flag.
SLINK_DOWN  in std_logic_vector ( 7 downto 0 )
 Link down flag.
L1A  in std_logic
 Level-1 Accept.
L1A_FIFO_FULL  in std_logic
 L1A FIFO Status.
L1A_FIFO_EMPTY  in std_logic
 L1A FIFO Status.
TRIGGER_DELAY  in std_logic_vector ( 7 downto 0 )
 L1A Trigger delay.
EXT_EVENT_ID  in std_logic_vector ( 31 downto 0 )
 Extended Level-1 Event ID (L1A Cnt & ECR Cnt).
ORBIT_ID  in std_logic_vector ( 31 downto 0 )
 Orbit ID.
INHIBIT_DELAY  in std_logic_vector ( 7 downto 0 )
 Inhibit Delay.
BCID  in std_logic_vector ( 31 downto 0 )
 Bunch ID.
DETECTOR_EVENT_TYPE  in std_logic_vector ( 31 downto 0 )
 Detector Event Type.
SOURCE_ID  in std_logic_vector ( 31 downto 0 )
 ROD Source ID.
FORMAT_V  in std_logic_vector ( 31 downto 0 )
 ROD Format Version.
RUN_NUMBER  in std_logic_vector ( 31 downto 0 )
 ATLAS run number.
TRIGGER_TYPE  in std_logic_vector ( 7 downto 0 )
 L1A Type.
CTP_OUT  in std_logic_vector ( 8 downto 0 )
 Status of CTP Outputs.
CTP_FORCE  in std_logic_vector ( 8 downto 0 )
 CTP Pattern forced by PC.
CTP_SEL  in std_logic_vector ( 7 downto 0 )
 Source for CTP Outs, 0xff = intern, 0x00 = extern.
DSS_WARNING  in std_logic
 DSS Warning Out value.
DSS_ABORT  in std_logic
 DSS Abort Out value.
INJ_PERM  in std_logic
 Injection Permit Out value.
BEAM_PERM  in std_logic
 Beam Permit Out value.
NUM_BUNCH  in std_logic_vector ( 7 downto 0 )
 Number of bunches per L1A.
TTY_SEL  in std_logic_vector ( 7 downto 0 )
 Source for Trigger Type, 0xff = intern, 0x00 = extern.
DSSA_SEL  in std_logic_vector ( 7 downto 0 )
 Source for DSS Abort Out, 0xff = intern, 0x00 = extern.
DSSW_SEL  in std_logic_vector ( 7 downto 0 )
 Source for DSS Abort Out, 0xff = intern, 0x00 = extern.
CIBI_SEL  in std_logic_vector ( 7 downto 0 )
 Source for CIBU Outs, 0xff = intern, 0x00 = extern.
CIBB_SEL  in std_logic_vector ( 7 downto 0 )
 Source for CIBU Outs, 0xff = intern, 0x00 = extern.
RX_LOCK  in std_logic_vector ( 7 downto 0 )
 RIO status.
TX_LOCK  in std_logic_vector ( 7 downto 0 )
 RIO status.
RX_READY  in std_logic_vector ( 7 downto 0 )
 RIO status.
TX_READY  in std_logic_vector ( 7 downto 0 )
 RIO status.
LATENCY  in std_logic_vector ( 7 downto 0 )
 readout latency
CUT_COIN_L  in std_logic_vector ( 7 downto 0 )
 Time cut in-time coincidence.
CUT_COIN_H  in std_logic_vector ( 7 downto 0 )
 Time cut in-time coincidence.
CUT_WIDE_L  in std_logic_vector ( 7 downto 0 )
 Wide in-time time cut.
CUT_WIDE_H  in std_logic_vector ( 7 downto 0 )
 Wide in-time time cut.
CUT_OUTA_L  in std_logic_vector ( 7 downto 0 )
 Out-of-time cut side A.
CUT_OUTA_H  in std_logic_vector ( 7 downto 0 )
 Out-of-time cut side A.
CUT_OUTC_L  in std_logic_vector ( 7 downto 0 )
 Out-of-time cut side C.
CUT_OUTC_H  in std_logic_vector ( 7 downto 0 )
 Out-of-time cut side A.
TRATE_AttC  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_AttA  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_Mult3pC  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_Mult2C  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_Mult1C  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_Mult3pA  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_Mult2A  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_Mult1A  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_Wide  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_CtoA  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRATE_AtoC  in std_logic_vector ( 31 downto 0 )
 Trigger rate.
TRANS_DONE  out std_logic
 Transfer of full packet done.
ASM_DONE  out std_logic
 Packet assembly done, set FETCH_BYTE & FETCH_CHKSUM afterwards.
CHKSUM_OUT  out std_logic_vector ( 15 downto 0 )
 Checksum out to EMAC.
DATA_OUT  out std_logic_vector ( 7 downto 0 )
 Data byte to EMAC.


Detailed Description

Data collector for TDAQ status messages.

This entity collects all the data for the TDAQ status messages. It synchronizes all inputs from various clock domains to 100 MHz, puts them in the correct byte order & computes the UDP checksum. When everything is done an output flag is asserted.

Definition at line 38 of file tdaq_collector.vhd.


Member Data Documentation

ASM_DONE out std_logic [Port]

Packet assembly done, set FETCH_BYTE & FETCH_CHKSUM afterwards.

Definition at line 124 of file tdaq_collector.vhd.

BCID in std_logic_vector ( 31 downto 0 ) [Port]

Bunch ID.

Definition at line 80 of file tdaq_collector.vhd.

BEAM_PERM in std_logic [Port]

Beam Permit Out value.

Definition at line 92 of file tdaq_collector.vhd.

BUSY in std_logic_vector ( 7 downto 0 ) [Port]

Busy flag.

Definition at line 69 of file tdaq_collector.vhd.

BUSY_EXT in std_logic_vector ( 7 downto 0 ) [Port]

Busy flag set by TDAQ.

Definition at line 70 of file tdaq_collector.vhd.

CHKSUM_OUT out std_logic_vector ( 15 downto 0 ) [Port]

Checksum out to EMAC.

Definition at line 125 of file tdaq_collector.vhd.

CIBB_SEL in std_logic_vector ( 7 downto 0 ) [Port]

Source for CIBU Outs, 0xff = intern, 0x00 = extern.

Definition at line 98 of file tdaq_collector.vhd.

CIBI_SEL in std_logic_vector ( 7 downto 0 ) [Port]

Source for CIBU Outs, 0xff = intern, 0x00 = extern.

Definition at line 97 of file tdaq_collector.vhd.

COARSE_DELAY1 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch1.

Definition at line 53 of file tdaq_collector.vhd.

COARSE_DELAY2 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch2.

Definition at line 54 of file tdaq_collector.vhd.

COARSE_DELAY3 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch3.

Definition at line 55 of file tdaq_collector.vhd.

COARSE_DELAY4 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch4.

Definition at line 56 of file tdaq_collector.vhd.

COARSE_DELAY5 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch5.

Definition at line 57 of file tdaq_collector.vhd.

COARSE_DELAY6 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch6.

Definition at line 58 of file tdaq_collector.vhd.

COARSE_DELAY7 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch7.

Definition at line 59 of file tdaq_collector.vhd.

COARSE_DELAY8 in std_logic_vector ( 7 downto 0 ) [Port]

Coarse Delay Ch8.

Definition at line 60 of file tdaq_collector.vhd.

CTP_FORCE in std_logic_vector ( 8 downto 0 ) [Port]

CTP Pattern forced by PC.

Definition at line 87 of file tdaq_collector.vhd.

CTP_OUT in std_logic_vector ( 8 downto 0 ) [Port]

Status of CTP Outputs.

Definition at line 86 of file tdaq_collector.vhd.

CTP_SEL in std_logic_vector ( 7 downto 0 ) [Port]

Source for CTP Outs, 0xff = intern, 0x00 = extern.

Definition at line 88 of file tdaq_collector.vhd.

CUT_COIN_H in std_logic_vector ( 7 downto 0 ) [Port]

Time cut in-time coincidence.

Definition at line 105 of file tdaq_collector.vhd.

CUT_COIN_L in std_logic_vector ( 7 downto 0 ) [Port]

Time cut in-time coincidence.

Definition at line 104 of file tdaq_collector.vhd.

CUT_OUTA_H in std_logic_vector ( 7 downto 0 ) [Port]

Out-of-time cut side A.

Definition at line 109 of file tdaq_collector.vhd.

CUT_OUTA_L in std_logic_vector ( 7 downto 0 ) [Port]

Out-of-time cut side A.

Definition at line 108 of file tdaq_collector.vhd.

CUT_OUTC_H in std_logic_vector ( 7 downto 0 ) [Port]

Out-of-time cut side A.

Definition at line 111 of file tdaq_collector.vhd.

CUT_OUTC_L in std_logic_vector ( 7 downto 0 ) [Port]

Out-of-time cut side C.

Definition at line 110 of file tdaq_collector.vhd.

CUT_WIDE_H in std_logic_vector ( 7 downto 0 ) [Port]

Wide in-time time cut.

Definition at line 107 of file tdaq_collector.vhd.

CUT_WIDE_L in std_logic_vector ( 7 downto 0 ) [Port]

Wide in-time time cut.

Definition at line 106 of file tdaq_collector.vhd.

DATA_OUT out std_logic_vector ( 7 downto 0 ) [Port]

Data byte to EMAC.

Definition at line 126 of file tdaq_collector.vhd.

DATA_SRC in std_logic_vector ( 7 downto 0 ) [Port]

0xff = Detector, 0x00 = Pattern Generator

Definition at line 52 of file tdaq_collector.vhd.

DETECTOR_EVENT_TYPE in std_logic_vector ( 31 downto 0 ) [Port]

Detector Event Type.

Definition at line 81 of file tdaq_collector.vhd.

DSS_ABORT in std_logic [Port]

DSS Abort Out value.

Definition at line 90 of file tdaq_collector.vhd.

DSS_WARNING in std_logic [Port]

DSS Warning Out value.

Definition at line 89 of file tdaq_collector.vhd.

DSSA_SEL in std_logic_vector ( 7 downto 0 ) [Port]

Source for DSS Abort Out, 0xff = intern, 0x00 = extern.

Definition at line 95 of file tdaq_collector.vhd.

DSSW_SEL in std_logic_vector ( 7 downto 0 ) [Port]

Source for DSS Abort Out, 0xff = intern, 0x00 = extern.

Definition at line 96 of file tdaq_collector.vhd.

EMAC_CLK in std_logic [Port]

100 MHz

Definition at line 41 of file tdaq_collector.vhd.

ERROR_CODE in std_logic_vector ( 7 downto 0 ) [Port]

Error code.

Definition at line 50 of file tdaq_collector.vhd.

EXT_EVENT_ID in std_logic_vector ( 31 downto 0 ) [Port]

Extended Level-1 Event ID (L1A Cnt & ECR Cnt).

Definition at line 77 of file tdaq_collector.vhd.

FETCH_BYTE in std_logic [Port]

Get data byte, hold high until TRANS_DONE = 1.

Definition at line 47 of file tdaq_collector.vhd.

FETCH_CHKSUM in std_logic [Port]

Get checksum, set for 1 clk cycle.

Definition at line 48 of file tdaq_collector.vhd.

FINE_DELAY1 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch1.

Definition at line 61 of file tdaq_collector.vhd.

FINE_DELAY2 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch2.

Definition at line 62 of file tdaq_collector.vhd.

FINE_DELAY3 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch3.

Definition at line 63 of file tdaq_collector.vhd.

FINE_DELAY4 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch4.

Definition at line 64 of file tdaq_collector.vhd.

FINE_DELAY5 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch5.

Definition at line 65 of file tdaq_collector.vhd.

FINE_DELAY6 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch6.

Definition at line 66 of file tdaq_collector.vhd.

FINE_DELAY7 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch7.

Definition at line 67 of file tdaq_collector.vhd.

FINE_DELAY8 in std_logic_vector ( 7 downto 0 ) [Port]

Fine Delay Ch8.

Definition at line 68 of file tdaq_collector.vhd.

FORMAT_V in std_logic_vector ( 31 downto 0 ) [Port]

ROD Format Version.

Definition at line 83 of file tdaq_collector.vhd.

FPGA_ID in std_logic_vector ( 7 downto 0 ) := x " 00 " [Port]

FPGA ID.

Definition at line 49 of file tdaq_collector.vhd.

ieee library [Library]

standard IEEE library

Reimplemented in main_components.

Definition at line 25 of file tdaq_collector.vhd.

INHIBIT_DELAY in std_logic_vector ( 7 downto 0 ) [Port]

Inhibit Delay.

Definition at line 79 of file tdaq_collector.vhd.

INJ_PERM in std_logic [Port]

Injection Permit Out value.

Definition at line 91 of file tdaq_collector.vhd.

INPUT_STATUS in std_logic_vector ( 63 downto 0 ) [Port]

Status of inputs, ie active or masked.

Definition at line 51 of file tdaq_collector.vhd.

L1A in std_logic [Port]

Level-1 Accept.

Definition at line 73 of file tdaq_collector.vhd.

L1A_FIFO_EMPTY in std_logic [Port]

L1A FIFO Status.

Definition at line 75 of file tdaq_collector.vhd.

L1A_FIFO_FULL in std_logic [Port]

L1A FIFO Status.

Definition at line 74 of file tdaq_collector.vhd.

LATENCY in std_logic_vector ( 7 downto 0 ) [Port]

readout latency

Definition at line 103 of file tdaq_collector.vhd.

NUM_BUNCH in std_logic_vector ( 7 downto 0 ) [Port]

Number of bunches per L1A.

Definition at line 93 of file tdaq_collector.vhd.

ORBIT_ID in std_logic_vector ( 31 downto 0 ) [Port]

Orbit ID.

Definition at line 78 of file tdaq_collector.vhd.

RESET in std_logic [Port]

Reset.

Definition at line 45 of file tdaq_collector.vhd.

RIO_CLK in std_logic [Port]

160 MHz

Definition at line 44 of file tdaq_collector.vhd.

ROD_CLK in std_logic [Port]

40 MHz

Definition at line 42 of file tdaq_collector.vhd.

RUN_NUMBER in std_logic_vector ( 31 downto 0 ) [Port]

ATLAS run number.

Definition at line 84 of file tdaq_collector.vhd.

RX_LOCK in std_logic_vector ( 7 downto 0 ) [Port]

RIO status.

Definition at line 99 of file tdaq_collector.vhd.

RX_READY in std_logic_vector ( 7 downto 0 ) [Port]

RIO status.

Definition at line 101 of file tdaq_collector.vhd.

SLINK_DOWN in std_logic_vector ( 7 downto 0 ) [Port]

Link down flag.

Definition at line 72 of file tdaq_collector.vhd.

SLINK_FULL in std_logic_vector ( 7 downto 0 ) [Port]

Link full flag.

Definition at line 71 of file tdaq_collector.vhd.

SOURCE_ID in std_logic_vector ( 31 downto 0 ) [Port]

ROD Source ID.

Definition at line 82 of file tdaq_collector.vhd.

START in std_logic [Port]

Start assembling packet.

Definition at line 46 of file tdaq_collector.vhd.

STATUS_CLK in std_logic [Port]

200 MHz

Definition at line 43 of file tdaq_collector.vhd.

std_logic_1164 package [Package]

std_logic definitions, see file

Reimplemented in main_components.

Definition at line 27 of file tdaq_collector.vhd.

std_logic_arith package [Package]

arithmetic operations on std_logic datatypes, see file

Definition at line 29 of file tdaq_collector.vhd.

std_logic_unsigned package [Package]

unsigned functions use ieee.std_logic_unsigned.all; operators for std_logic_vector type, see file

Definition at line 31 of file tdaq_collector.vhd.

TRANS_DONE out std_logic [Port]

Transfer of full packet done.

Definition at line 123 of file tdaq_collector.vhd.

TRATE_AtoC in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 122 of file tdaq_collector.vhd.

TRATE_AttA in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 113 of file tdaq_collector.vhd.

TRATE_AttC in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 112 of file tdaq_collector.vhd.

TRATE_CtoA in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 121 of file tdaq_collector.vhd.

TRATE_Mult1A in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 119 of file tdaq_collector.vhd.

TRATE_Mult1C in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 116 of file tdaq_collector.vhd.

TRATE_Mult2A in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 118 of file tdaq_collector.vhd.

TRATE_Mult2C in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 115 of file tdaq_collector.vhd.

TRATE_Mult3pA in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 117 of file tdaq_collector.vhd.

TRATE_Mult3pC in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 114 of file tdaq_collector.vhd.

TRATE_Wide in std_logic_vector ( 31 downto 0 ) [Port]

Trigger rate.

Definition at line 120 of file tdaq_collector.vhd.

TRIGGER_DELAY in std_logic_vector ( 7 downto 0 ) [Port]

L1A Trigger delay.

Definition at line 76 of file tdaq_collector.vhd.

TRIGGER_TYPE in std_logic_vector ( 7 downto 0 ) [Port]

L1A Type.

Definition at line 85 of file tdaq_collector.vhd.

TTY_SEL in std_logic_vector ( 7 downto 0 ) [Port]

Source for Trigger Type, 0xff = intern, 0x00 = extern.

Definition at line 94 of file tdaq_collector.vhd.

TX_LOCK in std_logic_vector ( 7 downto 0 ) [Port]

RIO status.

Definition at line 100 of file tdaq_collector.vhd.

TX_READY in std_logic_vector ( 7 downto 0 ) [Port]

RIO status.

Definition at line 102 of file tdaq_collector.vhd.


The documentation for this class was generated from the following file:

Author: M.Niegl
Generated on Tue Nov 4 01:00:24 2008 for BCM-AAA by doxygen 1.5.7.1-20081012