45 - (elink_chn & 0b1) * 2
62 auto [asic_idx, elink_chn] =
67 + (!(channel & 0b1)) * 2
77 ? std::make_optional(std::make_pair(elink_chn, asic_idx))
static std::optional< std::pair< u16, u16 > > ChannelInAsic(const u16 channel)
Channel SW to HW conversion.
static constexpr u16 ZSTRIP_OFFSET
static constexpr u16 CHANNELS_PER_MODULE
static constexpr u16 CHANNELS_PER_ASIC
static constexpr u16 ZSTRIP_HW_CHANNEL
static constexpr u16 ASICS_PER_MODULE
static std::optional< u16 > ChannelInModule(const u16 elink_chn, const u16 asic_idx)
Channel HW to SW conversion.
static constexpr u16 ZSTRIP_ASIC
static constexpr u16 ZSTRIP_SW_CHANNEL