NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
True random number generator demo program. More...
#include <neorv32.h>
Macros | |
User configuration | |
#define | BAUD_RATE 19200 |
Functions | |
void | print_random_data (void) |
void | repetition_count_test (void) |
void | adaptive_proportion_test (void) |
void | generate_histogram (void) |
void | compute_rate (void) |
int | main (void) |
True random number generator demo program.
#define BAUD_RATE 19200 |
UART BAUD rate
void adaptive_proportion_test | ( | void | ) |
Run adaptive proportion test (NIST SP 800-90B)
void compute_rate | ( | void | ) |
Compute average random generation rate
void generate_histogram | ( | void | ) |
Generate and print histogram. Samples random data until a key is pressed.
int main | ( | void | ) |
Simple true random number test/demo program.
void print_random_data | ( | void | ) |
Print random numbers until a key is pressed.
void repetition_count_test | ( | void | ) |
Run repetition count test (NIST SP 800-90B)