MCPcopy Create free account
hub / github.com/aff3ct/aff3ct / _decode_siso

Method _decode_siso

src/Module/Decoder/LDPC/BF/Decoder_LDPC_bit_flipping.cpp:131–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130template<typename B, typename R>
131int
132Decoder_LDPC_bit_flipping<B, R>::_decode_siso(const R* Y_N1, int8_t* CWD, R* Y_N2, const size_t frame_id)
133{
134 // actual decoding
135 auto synd = this->BF_decode(Y_N1, frame_id);
136
137 // prepare for next round by processing extrinsic information
138 for (auto i = 0; i < this->N; i++)
139 Y_N2[i] = this->Lp_N[i] - Y_N1[i];
140
141 // saturate<R>(Y_N2, (R)-C_to_V_max, (R)C_to_V_max);
142
143 CWD[0] = (int8_t)synd;
144 return !synd;
145}
146
147template<typename B, typename R>
148int

Callers

nothing calls this directly

Calls 1

BF_decodeMethod · 0.95

Tested by

no test coverage detected