Claims
- 1. A programmable logic device, comprising:
- an AND-OR array for generating logic outputs as a function of logic inputs thereto;
- a plurality of input/output buffers connected to said AND-OR array and to input/output pins of the device, wherein said input/output buffers are programmable to function as either input or output buffers based on the value of an input control signal;
- a power detect circuit for detecting when power to the device through an input power pin is removed;
- a backup battery connected to said power detect circuit for providing power to selected portions of the device when a power removal is detected, wherein said input/output buffers are not provided with backup power from said battery when a power removal is detected; and
- a volatile memory cell connected to each of said input/output buffers to provide the input control signals thereto, a value stored in each of such volatile memory cell determining whether the connected input/output buffer functions as an input buffer or an output buffer, said volatile memory cells further being connected to said backup battery through said power detect circuit when a power removal is detected, whereby the values stored in said volatile memory cells is retained when power is removed from the power input pin.
- 2. The programmable logic device of claim 1, wherein said volatile memory cells comprise SRAM memory cells.
- 3. A method for retaining configuration information in a programmable logic device, comprising the steps of:
- storing AND-OR array programming information in an array of volatile memory cells to define logic functions of the device;
- storing a plurality of input/output direction bits in direction bit volatile memory cells;
- causing a plurality of input/output buffers associated with said input/output direction bits to function as either input or output buffers according to a value stored in the associated direction bit volatile memory cell;
- detecting an occurrence of a loss of power to the device;
- when a loss of power is detected, supplying power to the array of volatile memory cells and to the direction bit volatile memory cells from a backup battery attached to the device, wherein the values stored therein are retained during the loss of power; and
- when the loss of power is detected, preventing supply of power to the input/output buffers from the backup battery.
- 4. The method of claim 3, wherein the array of volatile memory cells and the direction bit volatile memory cells are all SRAM cells.
CROSS-REFERENCE TO RELATED APPLICATIONS
The present application is a continuation-in-part of U.S. patent Ser. No. 414,712, filed Sep. 29, 1989, titled CONFIGURATION MEMORY FOR PROGRAMMABLE LOGIC DEVICE, by Randy C. Steele, which is assigned to the assignee hereof.
US Referenced Citations (3)
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
414712 |
Sep 1989 |
|