Resources
Verilog and FPGA Info
- FPGA4FUN
- Verilog Quick Reference This is a good place to learn syntax.
- Big Verilog Book - This is a random thing I found on the web but haven't used much
- Sonar Sensor for FPGA project spec sheet
Because rand() just ain't that good
Usually the built in rand() function is a crappy 16-bit random number generator. A much better random number generator is the rand48 collection of functions. I like nrand48() because it generates a 48bit random number and any subset of its bits is also guaranteed to be uniformly random.