Programmable pipeline fabric having mechanism to terminate signal propagation
A method and apparatus for storing and using “register use” information to determine when a register is being used for the last time so that power savings may be achieved is disclosed. The register use information may take the form of “last read” information for a particular register. The last read information may be used to force the value of the register, after being read, to zero or to clock only that register while masking off the other registers. Several methods and hardware variations are disclosed for using the register use information to achieve power savings.
This application is a continuation of copending U.S. application Ser. No. 10/222,608 filed 16 Aug. 2002 and entitled Programmable Pipeline Fabric Having Mechanism to Terminate Signal Propagation.
STATEMENT REGARDING FEDERALLY SPONSORED RESEARCHThis invention was developed in part through funding provided by DARPA-ITO/TTO under contract No. DABT63-96-C-0083. The federal government may have rights in this invention.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention is related to reconfigurable architectures and, more particularly, to reconfigurable architectures used to process information in a pipelined fashion.
2. Description of the Background
Traditional approaches to reconfigurable computing statically configure programmable hardware to perform a user-defined application. The static nature of such a configuration causes two significant problems: a computation may require more hardware than is available, and a single hardware design cannot exploit the additional resources that will inevitably become available in future process generations. A technique called pipelined reconfiguration implements a large logical configuration on a small piece of hardware through rapid reconfiguration of that hardware. With this technique, the compiler is no long responsible for satisfying fixed hardware constraints. In addition, a design's performance improves in proportion to the amount of hardware allocated to that design.
Pipelined configuration involves virtualizing pipelined computations by breaking a single static configuration into pieces that correspond to pipeline stages in the application. Each pipeline stage is loaded, one per cycle, into the fabric. This makes performing the computation possible, even if the entire configuration is never present in the fabric at one time.
One of the key enabling structures for pipeline reconfiguration is the pass register file. An example pass register file 10 is shown in
A chief problem with the structure of
A related power consumption problem that occurs in pass register files in pipeline reconfigurable devices is that old values from previous applications that were in the chip continue to propagate through the chip, consuming power even though they are irrelevant to the current computation. Thus, the need exist for a mechanism in the pipeline fabric for terminating signals that are no longer needed for the computation.
SUMMARY OF THE PRESENT INVENTIONThe present invention is directed to a method and apparatus for storing and using “register use” information to determine when a register is being used for the last time so that power savings may be achieved. The register use information may take the form of “last read” information for a particular register. The last read information may be used to force the value of the register, after being read, to a constant or to clock only that register while masking off the other registers. Several methods and hardware variations are disclosed for using the “register use” information to achieve power savings. Those advantages and benefits, and others, will be apparent from the Detailed Description of the Invention herein below.
BRIEF DESCRIPTION OF THE DRAWINGSFor the present invention to be easily understood and readily practiced, the present invention will now be described, for purposes of illustration and not limitation, in conjunction with the following figures, wherein:
One aspect of the present invention is to include some additional information in the encoding of a stripe (e.g. in the configuration word) that indicates whether a read from the register file is the last read of that data value in the application. The “last read” information can be generated by the compiler or physical design tool that generates the virtual stripe information, or it can be done by a separate program that analyzes a set of virtual stripes to determine when is the last read. The first and last stripes in an application present special cases. In the last stripe in a virtual application, there are no subsequent stripes. Therefore, there are no further reads of values in the register file. In the first virtual stripe, none of the values currently in the register files in physical stripes that are located before the first virtual stripe are going to be used. For stripes other than the first and last stripes in an application, the information about the last time a value in a register needs to be read (sometimes referred to as the last read information) can be used in a number of ways to reduce power consumption.
It will be noticed that the value output by register 44′ is terminated, i.e. prevented from propagating, by AND gate 56 by forcing that value to zero. In a register, clocking in a constant value consumes less power than clocking in a changing value. Thus, forcing the value to zero results in power savings. A similar result can be achieved by masking of the multiplexor read bit for the appropriate multiplexor responsive to the last read register so that the value output by the register is no longer read when no longer needed.
In
In this state machine, shown in
The previous embodiments use exactly the same information, whether a value in a register is being read for the last time, to determine that the value should not be allowed to propagate, either by forcing the value to a constant (e.g. zero) or not clocking the registers, to reduce power. When the pass register file includes more than one register, the combination of the read port address (which specifies which register is being accessed), and the bit indicated “last read” can be combined to determine which value is being read for the last time in the application. There are other ways to encode this information which, at present, seem less efficient. For example, it is possible to have an explicit “in-use” bit for each register in each register file such that it would not be necessary to combine the information with the read port address. Thus, the present invention is directed to using any “register use” information for power savings.
Furthermore the information that a stripe is either the first or last virtual stripe can also be used by the mask unit to save power. At the first virtual stripe, the application knows that any data coming from previous stripes is not meaningful for this application. This bogus data could be the results from a prior computation that was executed on the stripes in the fabric. As a result, a mask unit that is informed that a stripe is the first virtual stripe could mask the clock or gate the data for any data arriving from a physical stripe prior to the physical stripe containing the first virtual stripe.
Finally, to address the special cases of the first and last virtual stripe, a register file should have unused register file entries masked (e.g. see
While the present invention has been described in connection with preferred embodiments thereof, those of ordinary skill in the art will recognize that many modifications and variations are possible. The present invention is intended to be limited only by the following claims and not by the foregoing description.
Claims
1.-16. (canceled)
17. A power saving method, comprising:
- providing configuration information to each of a plurality of series connected pass register files, each pass register file comprised of a plurality of registers;
- providing clock pulses to each of said pass register files;
- determining for each pass register file, if the registers within said pass register file should be clocked with said clock pulses based on a read address, a write address, and a last read data for said pass register file; and
- selectively applying said clock pulses to the registers within each of said pass register files based on said determining.
18. The method of claim 17 wherein said determining is performed one of remotely or locally with respect to each of said pass register files.
19. The method of claim 17 wherein said determining is additionally based on a state of a preceding pass register file in said plurality of series connected pass register files.
20. The method of claim 19 wherein said determining is performed by a state machine.
21. The method of claim 17 wherein said determining is performed by a plurality of mask units each positioned locally with respect to one of said pass register files, and wherein said selectively applying is performed by a plurality of logic gates, each responsive to one of said plurality of mask units and each receiving said clock pulses.
22. A power saving circuit for use in a reconfigurable apparatus of the type constructed of a plurality of serially connected pass register files, each pass register file constructed of a plurality of registers, said power saving circuit comprising:
- a plurality of mask units, each producing a signal for controlling the application of clock pulses to one of said pass register files based on a read address, a write address, and a last read data for said pass register file; and
- a plurality of logic gates, each responsive to one of said mask units for selectively applying clock pulses to the registers within one of said pass register files.
23. The circuit of claim 22 wherein each of said mask units is located one of remotely or locally with respect to each of said pass register files.
24. The circuit of claim 22 wherein each of said mask units is additionally responsive to a state of a mask unit for a preceding pass register file in said plurality of series connected pass register files.
25. The circuit of claim 22 wherein each of said mask units includes a state machine.
26. The circuit of claim 22 wherein said plurality of logic gates includes a plurality of AND gates.
27. A reconfigurable apparatus, comprising:
- a plurality of series connected pass register files each comprised of a plurality of registers, each of said pass register files adapted to receive configuration information;
- a plurality of mask units, each producing a signal for controlling the application of clock pulses to one of said pass register files based on a read address, a write address, and a last read data for said pass register file; and
- a plurality of logic gates, each responsive to one of said mask units for selectively applying clock pulses to the registers within one of said pass register files.
28. The apparatus of claim 27 wherein each of said mask units is located one of remotely or locally with respect to each of said pass register files.
29. The apparatus of claim 27 wherein each of said mask units is additionally responsive to a state of a mask unit for a preceding pass register file in said plurality of series connected pass register files.
30. The apparatus of claim 27 wherein each of said mask units includes a state machine.
31. The apparatus of claim 27 wherein said plurality of logic gates includes a plurality of AND gates.
Type: Application
Filed: Oct 5, 2006
Publication Date: Oct 4, 2007
Inventors: Herman Schmit (Pittsburgh, PA), Benjamin Levine (Pittsburgh, PA)
Application Number: 11/543,717
International Classification: G06F 1/32 (20060101);