Busy Box and related/BusyBox Registers
Busy Box Status and Control Registers | ||||
---|---|---|---|---|
Name | Address | Mode | Description | Default Value |
TX module(15:0) | 0x0001 | RW | For sending messages to DRORCs.
|
0x0000 |
RX memory | 0x1000-0x1FFF | RW | Memory where all messages received from DRORCs will be stored. One message is stored over 4 addresses:
|
0x0000 |
RX memory pointer(13:0) | 0x2000 | R | Holds the value where the next message will be written in RX memory. The RX memory pointer will increase by 4 for each message. | 0x0000 |
EventID FIFO count(3:0) | 0x2001 | R | Number of eventIDs stored in the FIFO, excluding the eventID currently being matched, if any. | 0x0000 |
Current EventID(35:32) | 0x2002 | R | The EventID which is currently being matched. | 0x0000 |
Current EventID(31:16) | 0x2003 | R | 0x0000 | |
Current EventID(15:0) | 0x2004 | R | 0x0000 | |
Newest EventID(35:32) | 0x2005 | R | The EventID most recently received from the Trigger system. | 0x0000 |
Newest EventID(31:16) | 0x2006 | R | 0x0000 | |
Newest EventID(15:0) | 0x2007 | R | 0x0000 | |
L1 Trigger Timeout(15:0) | 0x2008 | RW | Time in 10 us resolution the 'busy' will be asserted after an L1A trigger. Note: The busy will not be deasserted if the buffers are full. | 0x000A |
Busy Condition(15:0) | 0x2009 | RW | Status and control registers concerning the BUSY generation
|
0x0000 |
Halt FSM matching(0) | 0x200A | RW | If LSB is set to 1 the internal State Machine (FSM) will halt in a wait state and will stop requesting EventIDs from the DRORCs. | 0x0001 |
Force match(0) | 0x200B | T | Writing 0x1 when FSM halt is set, will force the FSM to move on to the next EventID even if it is not matched. Note : FSM must be halted before this has any effect. | N/A |
Re-Request Timeout(15:0) | 0x200C | RW | Number of clock cycles (25 ns) to wait in between sending requests to the DRORCs. | 0x07FF |
Current RequestID(3:0) | 0x200D | R | Holds the RequestID the BusyBox is using to request eventIDs from the DRORCs. | 0x0000 |
Retry Count(15:0) | 0x200E | R | Number of times the FSM has sent requests to DRORCs. Will reset to 0 for start of every eventID. | 0x0000 |
Busy time(31:16) | 0x2010 | R | Holds value of counter for number of clock cycles BUSY has been asserted. | 0x0000 |
Busy time(15:0) | 0x2011 | R | 0x0000 | |
RX mem filter(15:0) | 0x2012 | RW | Allows filtering of messages that are stored in RX memory.
|
0x0000 |
Number of Channels | 0x2014 | R | Number of channels (in hexadecimal) the firmware includes. This is a generic set at compile-time. | N/A |
Firmware Revision | 0x2015 | R | Firmware revision in hexadecimal. Holds the revision number of the source in SVN that this FW was compiled from. Current : 54 | 0x0036 |
Stresstest Enable(0) | 0x2016 | RW | Duplicates input on channel 0 to all other channels. Used for testing the device with all channels enabled when only one physical DRORC is available. | 0x0000 |
Burst Size(5:0) | 0x2017 | RW | The maximum burst size. A value of 0 disables the Burst Interlock feature. Maximum value is 63. | 0x0000 |
Burst Interlock Leak Time(15:0) | 0x2018 | RW | Leak time for the Burst Interlock "leaky bucket" defined in steps of 10 us. Maximum leak time is 655.4 ms. | 0x0000 |
Trigger Mode(2:0) | 0x2019 | RW | Control registers concerning the BUSY/trigger mode
|
0x0000 |
Current Trigger Event Info(12:0) | 0x2050 | R | Holds the Event Info for current eventID as reported by the TRM. See TRM registers for bitmapping. | 0x0000 |
Current Trigger Event Error(24:16) | 0x2051 | R | Holds the Event Error for current eventID as reported by the TRM. See TRM registers for bitmapping. | 0x0000 |
Current Trigger Event Error(15:0) | 0x2052 | R | Holds the Event Error for current eventID as reported by the TRM. See TRM registers for bitmapping. | 0x0000 |
Newest Trigger Event Info(12:0) | 0x2054 | R | Holds the Event Info for newest eventID as reported by the TRM. See TRM registers for bitmapping. | 0x0000 |
Newest Trigger Event Error(24:16) | 0x2055 | R | Holds the Event Error for newest eventID as reported by the TRM. See TRM registers for bitmapping. | 0x0000 |
Newest Trigger Event Error(15:0) | 0x2056 | R | Holds the Event Error for newest eventID as reported by the TRM. See TRM registers for bitmapping. | 0x0000 |
Channel Registers | 0x21XX | RW | 'XX' in the address gives the channelnumber in hexadecimal.
|
0x0001 |
Trigger Receiver Module Status and Control Registers | ||||
---|---|---|---|---|
Name | Address | Type | Description | |
Control[23:0] |
0x3000 |
RW |
| |
Module Reset |
0x3001 |
T |
Reset Module | |
NA |
0x3002 |
|||
NA |
0x3003 |
|||
Reset Counters |
0x3004 |
T |
Write to this registers will reset the counters in the module | |
Issue Testmode |
0x3005 |
T |
Debug: Issues testmode sequence. Note that serialB channel input MUST be disabled when using this feature. | |
L1_Latency[15:0] |
0x3006 |
RW |
| |
L2_Latency[31:0] |
0x3007 |
RW |
| |
L2_Extdended Latency[31:0] |
0x3009 |
RW |
| |
L1_msg_latency[31:0] |
0x300A |
RW |
| |
Pre_pulse_counter[15:0] |
0x300B |
R |
Number of decoded pre-pulses. | |
BCID_Local[11:0] |
0x300C |
R |
Number of bunchcrossings at arrival of L1 trigger. | |
L0_counter[15:0] |
0x300D |
R |
Number of L0 triggers | |
L1_counter[15:0] |
0x300E |
R |
Number of L1 triggers | |
L1_msg_counter[15:0] |
0x300F |
R |
Number of successfully decoded L1 messages | |
L2a_counter[15:0] |
0x3010 |
R |
Number of successfully decoded L2a messages | |
L2r_counter[15:0] |
0x3011 |
R |
Number of successfully decoded L2r messages | |
NA |
0x3012 |
|||
Bunchcounter[11:0] |
0x3013 |
R |
Debug: Number of bunchcrossings | |
hammingErrorCnt[31:0] |
0x3016 |
R |
[15:0] Number of single bit hamming errors [31:16] Number of double bit hamming errors | |
ErrorCnt[31:0] |
0x3017 |
R |
| |
Buffered_events[4:0] |
0x3020 |
R |
Number of events stored in the FIFO. | |
DAQ_Header01[31:0] |
0x3021 |
R |
Latest received DAQ Header 1 | |
DAQ_Header02[31:0] |
0x3022 |
R |
Latest received DAQ Header 2 | |
DAQ_Header03[31:0] |
0x3023 |
R |
Latest received DAQ Header 3 | |
DAQ_Header04[31:0] |
0x3024 |
R |
Latest received DAQ Header 4 | |
DAQ_Header05[31:0] |
0x3025 |
R |
Latest received DAQ Header 5 | |
DAQ_Header06[31:0] |
0x3026 |
R |
Latest received DAQ Header 6 | |
DAQ_Header07[31:0] |
0x3027 |
R |
Latest received DAQ Header 7 | |
Event_info[17:0] |
0x3028 |
R |
Latest Received Event information:
| |
Event_error[24:0] |
0x3029 |
R |
Latest Received Event error conditions:
| |
L1_MessageHeader[11:0] |
0x3030 |
R |
Debug: Latest received L1 Message | |
L1_MessageData1[11:0] |
0x3031 |
R |
Debug: Latest received L1 Message | |
L1_MessageData2[11:0] |
0x3032 |
R |
Debug: Latest received L1 Message | |
L1_MessageData3[11:0] |
0x3033 |
R |
Debug: Latest received L1 Message | |
L1_MessageData4[11:0] |
0x3034 |
R |
Debug: Latest received L1 Message | |
L2aMessageHeader[11:0] |
0x3035 |
R |
Debug: Latest received L2a Message | |
L2aMessageData1[11:0] |
0x3036 |
R |
Debug: Latest received L2a Message | |
L2aMessageData2[11:0] |
0x3037 |
R |
Debug: Latest received L2a Message | |
L2aMessageData3[11:0] |
0x3038 |
R |
Debug: Latest received L2a Message | |
L2aMessageData4[11:0] |
0x3039 |
R |
Debug: Latest received L2a Message | |
L2aMessageData5[11:0] |
0x303A |
R |
Debug: Latest received L2a Message | |
L2aMessageData6[11:0] |
0x303B |
R |
Debug: Latest received L2a Message | |
L2aMessageData7[11:0] |
0x303C |
R |
Debug: Latest received L2a Message | |
L2rMessageHeader[11:0] |
0x303D |
R |
Debug: Latest received L2r Message | |
RoIMessageHeader[11:0] |
0x303E |
R |
Debug: Latest received RoI Message | |
RoIMessageData1[11:0] |
0x303F |
R |
Debug: Latest received RoI Message | |
RoIMessageData2[11:0] |
0x3040 |
R |
Debug: Latest received RoI Message | |
RoIMessageData3[11:0] |
0x3041 |
R |
Debug: Latest received RoI Message | |
FIFO_read_enable |
0x3080 |
T |
Debug: Triggers a readout pulse to FIFO | |
FIFO_DAQHeader[31:0] |
0x3081 |
R |
Debug: Output of FIFO |