fw: add working reed-solomon encoder/decoder
This commit is contained in:
parent
82c1302756
commit
9918eb5053
15 changed files with 253 additions and 462 deletions
9
controller/fw/src/rslib.h
Normal file
9
controller/fw/src/rslib.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef __RSLIB_H__
|
||||
#define __RSLIB_H__
|
||||
|
||||
void rslib_encode(int nbits, size_t msglen, char msg[static msglen], char out[msglen + NPAR]);
|
||||
int rslib_decode(int nbits, size_t msglen, char msg_inout[static msglen]);
|
||||
int rslib_gexp(int z, int nbits);
|
||||
size_t rslib_npar();
|
||||
|
||||
#endif /* __RSLIB_H__ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue