A Compact TDC-based Quantum Random Number Generator