mirror of
https://github.com/aicodix/code.git
synced 2026-04-27 22:35:44 +00:00
added BCH(31, 16) T=3 for testing
This commit is contained in:
parent
945da60cbd
commit
6045870288
4 changed files with 30 additions and 0 deletions
|
|
@ -54,6 +54,10 @@ int main()
|
|||
// NASA INTRO BCH(15, 5) T=3
|
||||
bch_test<15, 5, 3, 0b10100110111>(0b11001, 0b110010001111010);
|
||||
}
|
||||
if (1) {
|
||||
// BCH(31, 16) T=3
|
||||
bch_test<31, 16, 3, 0b1000111110101111>(29619, 970576025);
|
||||
}
|
||||
std::cerr << "Short BCH code encoder test passed!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue