- Project Overview
This project demonstrates the implementation of two fundamental types of random number generators in hardware:
PRNG using LFSR - Deterministic pseudo-random sequence generation
TRNG using Ring Oscillators - True randomness from physical noise sources
- Technical Specifications
- Implementation Details
- PRNG using Linear Feedback Shift Register
Theory of Operation
Linear Feedback Shift Registers (LFSRs) generate pseudo-random sequences using a deterministic algorithm. The feedback polynomial determines the sequence properties and period length.
- TRNG using Ring Oscillators
Architecture Overview
Ring oscillators generate true randomness by exploiting physical variations in gate delays, thermal noise, and power supply fluctuations.
Entropy Sources
Thermal Noise: Random fluctuations in semiconductor junctions
Process Variations: Manufacturing differences in gate delays
Power Supply Noise: Voltage variations affecting switching times
Environmental Factors: Temperature and electromagnetic interference
Key Observations:
Correct Period: 63-cycle sequence confirmed
Feedback Operation: XOR logic functioning properly
Output Distribution: Expected pseudo-random pattern
Reset Behavior: Proper initialization to non-zero state
- Concepts Demonstrated
Digital Logic Design: Sequential circuit implementation
Random Number Generation: PRNG vs TRNG comparison
Cryptographic Hardware: Foundation for security applications
FPGA Development: Complete design flow from HDL to hardware
Hardware Verification: Simulation and physical validation
- Industry Applications
Cryptographic Systems: Key generation, nonces, padding
Gaming Industry: Fair random number generation
Scientific Computing: Monte Carlo simulations
Security Protocols: Challenge-response authentication
IoT Devices: Secure device identification