mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
add CRC bits to K
This commit is contained in:
parent
285f558f98
commit
1b7383a541
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ int main()
|
|||
auto temp = new simd_type[N];
|
||||
|
||||
double erasure_probability = 0.3;
|
||||
int K = (1 - erasure_probability) * N;
|
||||
int K = (1 - erasure_probability) * N + crc_aided * C;
|
||||
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
||||
std::cerr << "design SNR: " << design_SNR << std::endl;
|
||||
for (int i = 0; i < N / 32; ++i)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ int main()
|
|||
auto codeword = new code_type[N];
|
||||
|
||||
double erasure_probability = 0.3;
|
||||
int K = (1 - erasure_probability) * N;
|
||||
int K = (1 - erasure_probability) * N + crc_aided * C;
|
||||
double design_SNR = 10 * std::log10(-std::log(erasure_probability));
|
||||
std::cerr << "design SNR: " << design_SNR << std::endl;
|
||||
for (int i = 0; i < N / 32; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue