185 static const std::vector<std::string> ErrorTypeDescription = {
193 static const std::vector<ErrorType> BadErrors = {
197 HeaderTrailerLimitError,
201 MissingLinkHeaderError,
208 static const std::vector<ErrorType> LinkLevelBadErrors = {
212 HeaderTrailerLimitError,
219 static const std::vector<ErrorType> RodLevelBadErrors = {
222 MissingLinkHeaderError,
231 static const std::vector<ErrorType> LinkLevelErrors = {
232 ByteStreamParseError,
239 TrailerOverflowError,
240 HeaderTrailerLimitError,
265 static const std::vector<ErrorType> RodLevelErrors = {
269 MissingLinkHeaderError,
273 template<ErrorType et>
static constexpr uint64_t maskUpTo() {
return (
uint64_t(1) <<
et ) - 1; }
275 static constexpr uint64_t ABCDErrorMask() {
return maskUpTo<static_cast<ErrorType>(ABCDError_Chip5 + 1)>() & ~(maskUpTo<ABCDError_Chip0>()); }
277 static constexpr uint64_t TempMaskedChipsMask() {
return maskUpTo<static_cast<ErrorType>(TempMaskedChip5 + 1)>() & ~(maskUpTo<TempMaskedChip0>()); }
284 TempMaskedChip5}}[chip]; }