On-Die Supply-Voltage Noise Sensor with Real-Time Sampling Mode for Low-Power Processor Applications