| US 7,603,578 B2 | ||
| Programmable system on a chip for power-supply voltage and current monitoring and control | ||
| Rabindranath Balasubramanian, Dublin, Calif. (US); and Gregory Bakker, San Jose, Calif. (US) | ||
| Assigned to Actel Corporation, Mountain View, Calif. (US) | ||
| Filed on Jan. 08, 2009, as Appl. No. 12/350,419. | ||
| Application 11/932778 is a division of application No. 11/345549, filed on Jan. 31, 2006, granted, now 7,365,565, filed on Apr. 29, 2008. | ||
| Application 12/350419 is a continuation of application No. 11/932778, filed on Oct. 31, 2007, granted, now 7,493,506. | ||
| Application 11/345549 is a continuation of application No. 10/850054, filed on May 19, 2004, granted, now 7,034,569, filed on Apr. 25, 2006. | ||
| Application 10/850054 is a continuation in part of application No. 10/843701, filed on May 10, 2004, granted, now 7,170,315, filed on Jan. 30, 2007. | ||
| Claims priority of provisional application 60/491788, filed on Jul. 31, 2003. | ||
| Prior Publication US 2009/0128186 A1, May 21, 2009 | ||
| Int. Cl. G06F 1/26 (2006.01) | ||
| U.S. Cl. 713—330 [713/300; 713/340; 326/38; 326/39] | 16 Claims |

| 1. A method for using a programmable system-on-a-chip including an analog-to-digital converter (ADC) to enable a plurality
of power supply voltages comprising:
enabling each of a plurality of power supplies, with each of the plurality of power supplies providing one of the plurality
of power supply voltages, wherein the plurality of power supplies comprises:
a first power supply providing a first power supply voltage and associated with a first power supply flag; and
a second power supply providing a second power supply voltage and associated with a second power supply flag;
setting each of a plurality of power supply flags to a first state, with each of the plurality of power supply flags having
the first state and a second state, and each associated with a unique one of the plurality of power supplies;
repeating a first loop until each of the plurality of power supply flags is in the second state, said first loop comprising:
repeating a second loop for each of the power supplies as the current power supply, said second loop comprising:
if the power supply flag associated with the current power supply is in the first state, then performing a block comprising:
sampling a voltage for the current power supply as a sampled voltage;
comparing the sampled voltage to a threshold voltage associated with the current power supply;
setting the power supply flag associated with the current power supply to the second state if the sampled voltage exceeds
the threshold voltage associated with the current power supply;
after all of the plurality of power supply flags are in the second state, performing a third loop for each of the power supplies
as a current power supply comprising:
turn on a power MOSFET for the current power supply according to a programmed ramp rate for the current power supply.
|