-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bf_crc: Add final XOR and refout to example impl
This commit makes the following changes to the example implementation of the CRC. 1. Fix the refin bug when `FEEDING` is wrongly set as `STANDARD_FEEDING` when reflected input is activated under the feeding type of `AUTO`. 2. Add refout by adding the function `reflect_output` when reflected output is activated. 3. Add final xor in the crc function before returning the crc. Signed-off-by: Solomon Tan <solomonbstoner@yahoo.com.au>
- Loading branch information
1 parent
d32abea
commit bba13bc
Showing
2 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters