#include <SiStripFEDBufferComponents.h>
Private Types | |
enum | bufferPositions { BUFFER_POSITION_QDR_MEMORY = 0, BUFFER_POSITION_FRAME_ADDRESS_FIFO = 1, BUFFER_POSITION_TOTAL_LENGTH_FIFO = 2, BUFFER_POSITION_TRACKER_HEADER_FIFO = 3, BUFFER_POSITION_L1ABX_FIFO = 4, BUFFER_POSITION_FE_EVENT_LENGTH_FIFO = 5, BUFFER_POSITION_FE_FPGA_BUFFER = 6 } |
enum | stateOffsets { STATE_OFFSET_FULL = 8, STATE_OFFSET_PARTIAL_FULL = 16, STATE_OFFSET_EMPTY = 24 } |
Private Member Functions | |
bool | getBit (const uint8_t num) const |
FEDBufferState | getBufferState (const uint8_t bufferPosition) const |
void | printFlagsForBuffer (const FEDBufferState bufferState, const std::string name, std::ostream &os) const |
void | setBit (const uint8_t num, const bool bitSet) |
void | setBufferSate (const uint8_t bufferPosition, const FEDBufferState state) |
Private Attributes | |
uint32_t | data_ |
Definition at line 394 of file SiStripFEDBufferComponents.h.
|
private |
Definition at line 453 of file SiStripFEDBufferComponents.h.
|
private |
Enumerator | |
---|---|
STATE_OFFSET_FULL | |
STATE_OFFSET_PARTIAL_FULL | |
STATE_OFFSET_EMPTY |
Definition at line 462 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 1020 of file SiStripFEDBufferComponents.h.
sistrip::FEDBackendStatusRegister::FEDBackendStatusRegister | ( | const FEDBufferState | qdrMemoryBufferState = BUFFER_STATE_UNSET , |
const FEDBufferState | frameAddressFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | totalLengthFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | trackerHeaderFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | l1aBxFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | feEventLengthFIFOBufferState = BUFFER_STATE_UNSET , |
||
const FEDBufferState | feFPGABufferState = BUFFER_STATE_UNSET , |
||
const bool | backpressure = false , |
||
const bool | slinkFull = false , |
||
const bool | slinkDown = false , |
||
const bool | internalFreeze = false , |
||
const bool | trackerHeaderMonitorDataReady = false , |
||
const bool | ttcReady = true |
||
) |
Definition at line 717 of file SiStripFEDBufferComponents.cc.
References feFPGABufferState(), setBackpressureFlag(), setFEEventLengthFIFOState(), setFEFPGABufferState(), setFrameAddressFIFOState(), setInternalFreezeFlag(), setL1ABXFIFOState(), setQDRMemoryState(), setSLinkDownFlag(), setSLinkFullFlag(), setTotalLengthFIFOState(), setTrackerHeaderFIFOState(), setTrackerHeaderMonitorDataReadyFlag(), and setTTCReadyFlag().
|
inline |
Definition at line 1035 of file SiStripFEDBufferComponents.h.
References getBit().
Referenced by printFlags().
|
inline |
Definition at line 1091 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_EVENT_LENGTH_FIFO, and getBufferState().
Referenced by printFlags().
|
inline |
Definition at line 1095 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_FPGA_BUFFER, and getBufferState().
Referenced by FEDBackendStatusRegister(), and printFlags().
|
inline |
Definition at line 1075 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FRAME_ADDRESS_FIFO, and getBufferState().
Referenced by printFlags().
|
inlineprivate |
Definition at line 1027 of file SiStripFEDBufferComponents.h.
References data_, and EgammaValidation_cff::num.
Referenced by backpressureFlag(), getBufferState(), internalFreezeFlag(), slinkDownFlag(), slinkFullFlag(), trackerHeaderMonitorDataReadyFlag(), and ttcReadyFlag().
|
private |
Definition at line 680 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_STATE_EMPTY, sistrip::BUFFER_STATE_FULL, sistrip::BUFFER_STATE_PARTIAL_FULL, getBit(), mps_fire::result, STATE_OFFSET_EMPTY, STATE_OFFSET_FULL, and STATE_OFFSET_PARTIAL_FULL.
Referenced by feEventLengthFIFOState(), feFPGABufferState(), frameAddressFIFOState(), l1aBxFIFOState(), qdrMemoryState(), totalLengthFIFOState(), and trackerHeaderFIFOState().
|
inline |
Definition at line 1029 of file SiStripFEDBufferComponents.h.
References getBit().
Referenced by printFlags().
|
inline |
Definition at line 1087 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_L1ABX_FIFO, and getBufferState().
Referenced by printFlags().
|
inline |
Definition at line 1023 of file SiStripFEDBufferComponents.h.
|
inline |
Definition at line 1025 of file SiStripFEDBufferComponents.h.
References data_, and sistrip::printHex().
void sistrip::FEDBackendStatusRegister::printFlags | ( | std::ostream & | os | ) | const |
Definition at line 645 of file SiStripFEDBufferComponents.cc.
References backpressureFlag(), feEventLengthFIFOState(), feFPGABufferState(), frameAddressFIFOState(), internalFreezeFlag(), l1aBxFIFOState(), printFlagsForBuffer(), qdrMemoryState(), slinkDownFlag(), slinkFullFlag(), totalLengthFIFOState(), trackerHeaderFIFOState(), trackerHeaderMonitorDataReadyFlag(), and ttcReadyFlag().
|
private |
Definition at line 667 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_STATE_EMPTY, sistrip::BUFFER_STATE_FULL, sistrip::BUFFER_STATE_PARTIAL_FULL, sistrip::BUFFER_STATE_UNSET, and Skims_PA_cff::name.
Referenced by printFlags().
|
inline |
Definition at line 1071 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_QDR_MEMORY, and getBufferState().
Referenced by printFlags().
|
inline |
Definition at line 1056 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
private |
Definition at line 709 of file SiStripFEDBufferComponents.cc.
References data_, gpuClustering::pixelStatus::mask, and EgammaValidation_cff::num.
Referenced by setBackpressureFlag(), setBufferSate(), setInternalFreezeFlag(), setSLinkDownFlag(), setSLinkFullFlag(), setTrackerHeaderMonitorDataReadyFlag(), and setTTCReadyFlag().
|
private |
Definition at line 691 of file SiStripFEDBufferComponents.cc.
References sistrip::BUFFER_STATE_EMPTY, sistrip::BUFFER_STATE_FULL, sistrip::BUFFER_STATE_PARTIAL_FULL, sistrip::BUFFER_STATE_UNSET, Exception, sistrip::printHex(), setBit(), contentValuesCheck::ss, STATE_OFFSET_EMPTY, STATE_OFFSET_FULL, and STATE_OFFSET_PARTIAL_FULL.
Referenced by setFEEventLengthFIFOState(), setFEFPGABufferState(), setFrameAddressFIFOState(), setL1ABXFIFOState(), setQDRMemoryState(), setTotalLengthFIFOState(), and setTrackerHeaderFIFOState().
|
inline |
Definition at line 1124 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_EVENT_LENGTH_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1129 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FE_FPGA_BUFFER, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1104 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_FRAME_ADDRESS_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1041 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1119 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_L1ABX_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1099 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_QDR_MEMORY, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1046 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1051 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1109 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TOTAL_LENGTH_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1114 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TRACKER_HEADER_FIFO, and setBufferSate().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1066 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1061 of file SiStripFEDBufferComponents.h.
References setBit().
Referenced by FEDBackendStatusRegister().
|
inline |
Definition at line 1031 of file SiStripFEDBufferComponents.h.
References getBit().
Referenced by printFlags().
|
inline |
Definition at line 1033 of file SiStripFEDBufferComponents.h.
References getBit().
Referenced by printFlags().
|
inline |
Definition at line 1079 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TOTAL_LENGTH_FIFO, and getBufferState().
Referenced by printFlags().
|
inline |
Definition at line 1083 of file SiStripFEDBufferComponents.h.
References BUFFER_POSITION_TRACKER_HEADER_FIFO, and getBufferState().
Referenced by printFlags().
|
inline |
Definition at line 1039 of file SiStripFEDBufferComponents.h.
References getBit().
Referenced by printFlags().
|
inline |
Definition at line 1037 of file SiStripFEDBufferComponents.h.
References getBit().
Referenced by printFlags().
|
private |
Definition at line 463 of file SiStripFEDBufferComponents.h.