The present invention relates to a data retention device, and more particularly to a data retention device for multiple power domains.
Multiple power domains are commonly adopted by many semiconductor integrated logic devices. In an operational mode, all the power domains are supplied with normal power to keep a semiconductor integrated logic device work. On the other hand, in a sleep mode, only partial power domains are supplied with power for retaining data and settings required for recovering the semiconductor integrated logic device from the sleep mode to the operational mode while the other power domains are suspended from power supply in order to save power.
For retaining data and settings in the sleep mode, a data retention device for multiple power domains is developed. As disclosed in U.S. Pat. No. 7,180,348 and as illustrated in
It is shown in
In the operational mode, the sleep signal “/sleep” is at a high level. When the clock signal “nclk” is at a high level but the clock signal “bclk” is at a low level, the tristateable device 30 is enabled to have the data signal D transmitted to the master latch 10. Meanwhile, the tristateable device 32 is disabled to block the inverted data signal “/D” from entering the slave latch 20. On the other hand, when the clock signal “nclk” is at a low level but the clock signal “bclk” is at a high level, the tristateable device 30 is disabled to block the data signal “D” from entering the master latch 10, while the tristateable device 32 is enabled to have the inverted data signal “/D” transmitted to the slave latch 20.
In the sleep mode, the sleep signal “/sleep” is at a low level. Meanwhile, the switch element 40 is open (off) so as to stop conducting the master latch 10 with the two voltage sources Vdd and Vss. Accordingly, the data stored in the master latch 10 will be lost. Nevertheless, by keeping the clock signal “nclk” at the high level and keeping the clock signal “bclk” at the low level, the tristateable device 32 is disabled so as to isolate the slave latch 20 from the master latch 10. As a result, the data stored in the slave latch 20 can be retained.
Please refer to
In a clock path 212 of
The operational mode is indicated when the data retention signal “ret” is at a low level, while the sleep mode is indicated when the data retention signal “ret” is at a high level.
In the sleep mode, since the data retention signal “ret” is at the high level, the tristateable device 250 is disabled so as to isolate the slave latch 220 from the data forward path. On the other hand, the tristateable device 250 is enabled in the operational mode so as to have the slave latch 220 conducted with the data forward path for transmitting data from the slave latch 220 to the output terminal Q.
The shaded portions in
The device shown in
The shaded portions in
An objective of the present invention is to provide a data retention device with different architecture from the conventional data retention devices and improved properties.
For achieving the object, the present invention provides a data retention device which includes a first latch disposed between a data input terminal and a data output terminal for storing a data signal received from the data input terminal and transmitting the data signal through a data forward path to the data output terminal according to a clock signal in an operational mode; a second latch disposed in a branch of the data forward path between the first latch and the data output terminal for receiving the data signal in the operational mode and retaining the data signal in a sleep mode; and a first tri-state buffer disposed in the data forward path between the first latch and the branched second latch and enabled to conduct the data forward path in the operational mode and disabled to cut off the data forward path in the sleep mode according to a data retention signal.
The above objects and advantages of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
A data retention device according to an embodiment of the present invention is illustrated in
The data retention device works in response to clock signals “nclk” and “bclk” which are provided by a clock path 412 in response to a reference clock signal “clk”. The reference clock signal “clk” is inputted into a NOT gate 4121 to obtain the clock signal “nclk”. The clock signal “nclk” is then inputted into another NOT gate 4122 to obtain the clock signal “bclk”, which is complementary to the clock signal “nclk”. The tri-state buffers 432 and 434 are controlled by the clock signals “nclk” and “bclk”.
On the other hand, the data retention device further works in response to a data retention signal “ret” and an inverted data retention signal “nret” which are provided by a data retention signal path 414. The data retention signal “ret” is inputted into a NOT gate 4141 to obtain the inverted data retention signal “nret”, which is complementary to the data retention signal “ret”. The tri-state buffer 450 is controlled by the data retention signal “ret” and the inverted data retention signal “nret”.
A low level of the data retention signal “ret” indicates an operational mode while a high level of the data retention signal “ret” indicates a sleep mode.
In this embodiment, the path from the input terminal D through the NOT gate 430, tri-state buffer 432, master latch 410, tri-state buffer 450, tri-state buffer 434 and NOT gate 436 to the output terminal Q forms a data forward path. The slave latch 420 is not in the data forward path.
In the operational mode, e.g. the data retention signal “ret” is in the low level, the tri-state buffer 450 is kept enabled so that data can be transmitted through the data forward path section by section with the high/low changes of the clock signals “nclk” and “bclk”. For example, when the clock signal “nclk” is at a high level but the clock signal “bclk” is at a low level, the tri-state buffer 432 is enabled to have the data signal inputted from the input terminal D transmitted to the master latch 410. Meanwhile, the tri-state buffer 434 is disabled to block the inverted data signal from entering the slave latch 420. On the other hand, when the clock signal “nclk” is at a low level but the clock signal “bclk” is at a high level, the tri-state buffer 432 is disabled to block the data signal from entering the master latch 410, while the tri-state buffer 434 is enabled such that the data signal kept in the master latch 410 can be transmitted to the slave latch 420.
In the sleep mode, e.g. the data retention signal “ret” is in the high level, the tri-state buffer 450 is disabled so as to cut off the data forward path. Meanwhile, power is continuously supplied to the slave latch 420 for retaining data stored in the slave latch 420.
In addition to the slave latch 420, power is also supplied to the tri-state buffer 450, elements in the clock path 412 and elements in the data retention signal path 414, as indicated by the shaded portions in
Please refer to
Please refer to
Please refer to
The device shown in
The shaded portions in
Please refer to
Please refer to
It can be understood from the above embodiments that a data retention device according to the present invention, compared to the prior art, includes a tri-state buffer controlled by a data retention signal and an inverted data retention signal lying in the data forward path. The tri-state buffer is enabled in an operational mode while being disabled in a sleep mode. The present invention further includes a slave latch staying as a branch and supplied with power in both the operational mode and sleep mode for retaining data.
Furthermore, the data retention device according to the present invention is advantageous over the prior art in timing control and timing constraint realization.
Generally, a data retention device usually works with other circuitry such as an isolation cell for avoiding data error while switching between sleep and operational modes. For example, the isolation cell is coupled to the output terminal Q of the data retention device, and receives data from the output terminal Q in response to the control/triggering of an isolation control signal. Therefore, the conventional data retention devices as illustrated in
In contrast, the data retention device according to the present invention may use the data retention signal “ret” itself or other synchronous signals as the isolation control signal for controlling the data transmission to the isolation cell coupled to the output terminal Q. Since the tri-state buffer 450/550 controlled by the data retention signal and the inverted data retention signal is in the data forward path, the retained data in the slave latch 420/520 can be transmitted to the isolation cell in response to the data retention signal “ret” directly when the system is recovered from the sleep mode to the operational mode. Accordingly, the timing control for switching between the operational and sleep modes according to the present invention is simplified and the cost is reduced compared to the prior art.
Furthermore, as understood by those skilled in IC designs, definite timing constraint is an important factor for verifying placing and routing of an IC design. For data retention, definite timing constraint assures of proper operational timing control of the data retention device by well defining timing correlations among clock signals, data retention signals and data signals.
For the conventional data retention devices as illustrated in
In contrast, the present invention is able to practically and clearly define timing constraint according to circuit features, e.g. driving capability of a transistor. Since the tri-state buffers are disposed in the same data path according to the present invention, cell characterization is possible and definite timing constraint, e.g. timing correlation of the clock signal “clk” to the data retention signal “ret”, can be realized. Accordingly, it is feasible to practice circuitry design, circuitry verification and circuitry implementation based on the definite timing constraint.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not to be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
097112248 | Apr 2008 | TW | national |