The subject matter, which is regarded as the invention, is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The detailed description explains the preferred embodiments of the invention, together with advantages and features, by way of example with reference to the drawings.
Turning now to the drawings in greater detail, it will be seen that in
The double edge clock generation circuit 10 includes a clock pulse generation circuit 12 with an inverting clock delay circuit 14 for generating positive and negative edge triggered pulses, and a scan function controlling AOI (AND-OR-Invert) circuit 16. A negative edge-triggered flip-flop 17 accepts scan gating control, wherein an input (scan gate enabled “sg_n”) generates an output (scan gate “sg”). The clock pulse generation circuit 12 creates clock control signals on both edges of a master clock as shown in
In a functional mode the scan-gate (“sg”) is held low (i.e., scan de-asserted). When the scan-gate control is held low (i.e., de-asserted), the inverting clock delay circuit 14 keeps the logical inverse of the previous state of the master clock (“clk”) for a predetermined amount of time. When the clock transitions, the delayed clock is compared to the new state in a NAND gate 20 and a NOR gate 22. If “clk” rises, the delayed clock remains high for the short (delayed) period of time; the output of the NAND gate 20 then pulses low until the delayed clock rises. This signal ultimately generates the rising edge (of “clk”) triggered pulse (for “pclk”) in the timing diagram of
In a scan mode, the scan-gate (“sg”) is high (i.e., scan asserted), whereby set-up and hold is relative to system clock negative edge. When in scan operation mode, the “sg” signal disables the standard “pclk” operation. The “sg” signal rising edge is set-up to the falling edge of “clk”. This allows the disabling of the “pclk” pulses. The “pclk” signal is then forced low via the AOI circuit 16 in the clock control path and cannot trigger. When the scan operation is complete, the “sg” signal falling edge is set-up to the falling edge of “clk” to enable the “pclk” pulses. The scan operation (“sg”) is discussed in more detail hereinafter. The clock signal “pclk” is routed to a register comprised of the scannable pulsed flip-flop circuit 18, a single bit of which is shown in
Turning now to
In the scan mode, the signal “sclk2” connects the stored data at the internal storage node to a slave scan latch 30 and, subsequently, to a scan output node “so” which is the scan output of the pulsed flip-flop 18. Signal “sclk1” connects a scan input node “si” to a master scan latch 29 and, subsequently, to the internal storage node “int”. The scan clock generation circuit 26 (
Turning now to
Turning now to
In the functional mode operation, the data is launched twice every master clock (“nclk”) cycle by virtue of the “pclk” pulsing twice per cycle. Logic 36 between subsequent logical rows 34 of flops evaluates as the data is pumped through the system 32. At any time, the operation may be halted by a scan operation, described below, and the resulting evaluated data read and/or new preset data applied to the overall system for testing.
In the scan mode operation, when scan gate (“sg”) is driven low (set-up to fall of “clk”, as seen in
An important feature of the scan mode operation is that scan begins with the “sclk2” assertions to preserve the stored evaluation data. For example, if the operation began with “sclk1”, then the functional data would be destroyed by the incoming scan-in data, losing the machine state to be read.
During the scan read function, an equivalent scan write may also be performed. Each register master node (“int”) is set to the desired state. The output of each register bit immediately receives the scan information through inverter 28. The logic connected to the output of the register 34 evaluates the new data, ultimately driving it the input of the next register's data (“d”) input. The evaluated data is not transferred to the register's master storage node “int” since “pclk” remains low. At some point, “sg” is de-asserted and the “pclk” operation resumes. The functional operation with “pclk” immediately loads the functional data (which was awaiting on the normal data port), piping to the register bit output. This operation does not test the speed of the cycle's logic as the input was awaiting the “pclk” pulse. The next “pclk” pulse stores the data of the next cycle operation in a similar fashion. However, this data is forced through the logical pipe and is sampled at speed, allowing the cycle's operation to be testing for frequency. Each previous cycle, then, that received awaiting data also received new “at speed” data, allowing frequency testing to be similarly performed. At some point, “sg” is asserted again and the scan data can be read using the aforementioned method.
The scan mode operation is somewhat different than traditional scan functions, in that, the data output of the flip-flops is immediately evaluated rather than waiting on a slave/launch clock. However, it is important to note that debug and testability is preserved.
A sample register consisting of 32 bits was simulated for power consumption using the IBM “CPAM” power estimation tool. This was compared to a standard 32-bit STI-style master-slave flip-flop system of equivalent drive strength. The system clocks were adjusted for the two registers: the present system was clocked at 2 GHZ due to the double-pulse nature; the standard design was clocked at 4 GHZ to provide an equivalent data rate. Output loads were removed to preclude damping of the power data due to the load. The scan operation was disabled in both cases. Assuming a 20% data activity factor, the resulting power of the registers was shown to be: Pulsed Invention: 0.401 mW for 32-bit register; and Standard Master-Slave: 1.002 mW for 32-bit register. This represents a savings of approximately 60%. This value was rounded down to 50% for comparison purposes because of wire modeling. Additionally, the clock power is approximately 25% of the overall machine power and is directly proportional to frequency from the equation P=C*V2*F and consumes approximately 25% of the overall system power. Since the clock in the new system runs at one-half the frequency of a traditional system, an additional power savings of (50%)*(25%), or 12.5%. Therefore, the estimated power savings of the system is the sum of the register and the clock savings, or 37.5%.
The capabilities of the present invention can be implemented in software, firmware, hardware or some combination thereof.
As one example, one or more aspects of the present invention can be included in an article of manufacture (e.g., one or more computer program products) having, for instance, computer usable media. The media has embodied therein, for instance, computer readable program code means for providing and facilitating the capabilities of the present invention. The article of manufacture can be included as a part of a computer system or sold separately.
Additionally, at least one program storage device readable by a machine, tangibly embodying at least one program of instructions executable by the machine to perform the capabilities of the present invention can be provided.
There may be many variations to the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order, or steps may be added, deleted or modified. All of these variations are considered a part of the claimed invention.
While the preferred embodiment to the invention has been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.