I need to generate some random numbers in C for testing and debugging the system. The system is a custom hardware (SoC) with a limited set of functions so I can only use basic m
A linear congruential generator would be simple to implement. A nice implementation in pure C is available here.