A 6.5 nA Static Self-Calibrating Programmable Voltage Reference for Smart Socs