1. Technical Field
The present invention relates to noise reduction in digital systems, and more specifically, to noise reduction by asserting clock signals at different times.
2. Related Art
In the normal operation of a conventional digital system, simultaneous clocking of registers of the conventional digital system can cause signal noise. Therefore, there is a need for a digital system (and a method for operating the same) in which the noise due to the simultaneous clocking of data registers can be reduced compared to prior art.
The present invention provides a digital system, comprising (a) a first logic circuit and a second logic circuit; (b) a first register electrically coupled to the first logic circuit; (c) a second register electrically coupled to the first logic circuit and the second logic circuit; (d) a third register electrically coupled to the second logic circuit; (e) a clock generator circuit electrically coupled to the first, second, and third registers; and (f) a controller circuit electrically coupled to the clock generator circuit, wherein the first logic circuit is capable of obtaining first data from the first register, processing the obtained first data into second data, and sending the second data to the second register, wherein the second logic circuit is capable of obtaining the second data from the second register, processing the obtained second data into third data, and sending the third data to the third register, wherein the clock generator circuit is capable of asserting a first register clock signal at a first time point to the first register resulting in the first logic circuit obtaining the first data from the first register, wherein the clock generator circuit is further capable of asserting a second register clock signal at a second time point to the second register resulting in the second logic circuit obtaining the second data from the second register, wherein the clock generator circuit is further capable of asserting a third register clock signal at a third time point to the third register, wherein the controller circuit is capable of (i) determining a first processing time for the first logic circuit to obtain the first data, process the obtained first data into the second data, and send the second data to the second register, (ii) determining a second processing time for the second logic circuit to obtain the second data, process the obtained second data into the third data, and send the third data to the third register, (iii) determining a fourth time point after the first time point such that a first time duration between the first time point and the fourth time point is at least the first processing time, (iv) determining a fifth time point before the third time point and after the fourth time point such that a second time duration between the fifth time point and the third time point is at least the second processing time, wherein the fourth time point and the fifth time point define a first clock window, and (v) controlling the clock generator circuit to assert the second register clock signal such that the second time point is within the first clock window.
The present invention provides a digital system operation method, which comprises providing a digital system which includes (a) a first logic circuit and a second logic circuit, (b) a first register electrically coupled to the first logic circuit, (c) a second register electrically coupled to the first logic circuit and the second logic circuit, (d) a third register electrically coupled to the second logic circuit, (e) a clock generator circuit electrically coupled to the first, second, and third registers, and (f) a controller circuit electrically coupled to the clock generator circuit; using the clock generator circuit to assert a first register clock signal at a first time point to the first register; using the clock generator circuit further to assert a second register clock signal at a second time point to the second register; using the clock generator circuit to further assert a third register clock signal at a third time point to the third register; in response to the clock generator circuit asserting the first register clock signal at the first time point to the first register, using the first logic circuit to obtain first data from the first register, process the obtained first data into second data, and send the second data to the second register; in response to the clock generator circuit further asserting the second register clock signal at the second time point to the second register, using the second logic circuit to obtain the second data from the second register, process the obtained second data into third data, and send the third data to the third register; using the controller circuit to (i) determine a first processing time for the first logic circuit to obtain the first data, process the obtained first data into the second data, and send the second data to the second register; (ii) determine a second processing time for the second logic circuit to obtain the second data, process the obtained second data into the third data, and send the third data to the third register; (iii) determine a fourth time point after the first time point such that a first time duration between the first time point and the fourth time point is at least the first processing time; (iv) determine a fifth time point before the third time point and after the fourth time point such that a second time duration between the fifth time point and the third time point is at least the second processing time; wherein the fourth time point and the fifth time point define a first clock window, and (vi) control the clock generator circuit to assert the second register clock signal such that the second time point is within the first clock window.
The present invention provides a digital system, comprising (a) a first logic circuit and a second logic circuit; (b) a first register electrically coupled to the first logic circuit; (c) a second register electrically coupled to the first logic circuit and the second logic circuit; (d) a third register electrically coupled to the second logic circuit; (e) a clock generator circuit electrically coupled to the first, second, and third registers; and (f) a controller circuit electrically coupled to the clock generator circuit, wherein the first logic circuit comprises a fast logic circuit and a slow logic circuit, wherein the fast logic circuit and the slow logic circuit are capable of performing a same function, wherein the first logic circuit is capable of obtaining first data from the first register, processing the obtained first data into second data, and sending the second data to the second register, wherein the second logic circuit is capable of obtaining the second data from the second register, processing the obtained second data into third data, and sending the third data to the third register, wherein the clock generator circuit is capable of asserting a first register clock signal at a first time point to the first register resulting in the first logic circuit obtaining the first data from the first register, wherein the clock generator circuit is further capable of asserting a second register clock signal at a second time point to the second register resulting in the second logic circuit obtaining the second data from the second register, wherein the clock generator circuit is further capable of asserting a third register clock signal at a third time point to the third register, wherein a first plurality of registers receive as input the second register clock signal, wherein a second plurality of registers receive as input the third register clock signal, wherein the controller circuit is capable of (i) determining a first processing time for the first logic circuit to obtain the first data, process the obtained first data into the second data, and send the second data to the second register, (ii) determining a second processing time for the second logic circuit to obtain the second data, process the obtained second data into the third data, and send the third data to the third register, (iii) determining a fourth time point after the first time point such that a first time duration between the first time point and the fourth time point is at least the first processing time, (iv) determining a fifth time point before the third time point and after the fourth time point such that a second time duration between the fifth time point and the third time point is at least the second processing time, wherein the fourth time point and the fifth time point define a first clock window, and (v) controlling the clock generator circuit to assert the second register clock signal such that the second time point is within the first clock window.
The present invention provides a novel digital system (and a method for operating the same) in which the noise due to the simultaneous clocking of data registers can be reduced compared to prior art.
In one embodiment, with reference to
Assume that the controller circuit 160 determines that the logic circuit 142 takes only 40 minutes to have the processed data ready in the registers 121 and 122. In other words, a first processing time of the logic circuit 142 is 40 minutes. This means that the processed data is ready in the registers 121 and 122 at 8:40 AM. Assume further that the controller circuit 160 determines that the logic circuit 152 and 154 take 45 minutes and 50 minutes to have processed data ready in the registers 131 and 132 of register bank 130, respectively. In other words, a second processing time and a third processing time of the logic circuits 152 and 154 are 45 and 50 minutes, respectively. As a result, the controller circuit 160 determines that a first clock window for the clock signal CLK121 is from 8:40 AM to 9:15 AM (the first clock window is a window in which the clock signal CLK121 can be asserted such that the register 121 has processed data from the logic circuit 142 and the register 131 has processed data before the clock signal CLK131 is asserted at 10:00 AM). Similarly, the controller circuit 160 determines that a second clock window for the clock signal CLK122 is from 8:40 AM to 9:10 AM (the second clock window is a window in which the clock signal CLK122 can be asserted such that the register 122 has processed data from the logic circuit 142 and the register 132 has processed data before the clock signal CLK132 is asserted at 10:00 AM). Therefore, in one embodiment, the controller circuit 160 controls the clock generator circuit 170 to assert the clock signals CLK121 and CLK122 in the first and second clock windows, respectively. This ensures that the processed data from the logic circuits 152 and 154 will be ready in the registers 131 and 132, respectively, before the clock signals CLK131 and CLK132 are asserted at 10:00 AM.
In one embodiment, the controller circuit 160 determines that the clock signal CLK121 will be asserted at 9:00 AM (which is within the first clock window) and the clock signal CLK122 will be asserted at 9:05 AM (which is within the second clock window). Assume that the master clock is asserted at 8:00 AM, 9:00 AM, 10:00 AM, etc. Assume further that each delay circuit (e.g., delay circuit 310, 320, and 330) delays 5 minutes. As a result, the clock signal CLK1 is asserted at 8:05 AM, 9:05 AM, 10:05 AM, etc; the clock signal CLK2 is asserted at 8:10 AM, 9:10 AM, 10:10 AM, etc; and the clock signal CLK3 is asserted at 8:15 AM, 9:15 AM, 10:15 AM, etc.
In one embodiment, for instance, in order to assert the clock signal CLK121 at 9:00 AM, the controller circuit 160 controls the clock generator 170 to generate the control signal 161 so as to cause the MUX circuit 341 to pass the master clock through it as the clock signal CLK121 to the register 131. As a result, the clock signal CLK121 will be asserted at 9:00 AM which is in the first clock window. This ensures that the processed data from the logic circuit 152 will be ready in the register 131 of the register bank 130 before the clock signal CLK131 is asserted at 10:00 AM.
In one embodiment, similarly, in order to assert the clock signal CLK122 at 9:05 AM, the controller circuit 160 controls the clock generator 170 to generate a control signal 162 so as to cause the MUX circuit 342 to pass the clock signal CLK1 through it as the clock signal CLK122 to the register 132. As a result, the clock signal CLK122 will be asserted at 9:05 AM which is in the second clock window. This ensures that the processed data from the logic circuit 154 will be ready in the register 132 of the register bank 130 before the clock signal CLK132 is asserted at 10:00 AM.
In summary, the clock signals CLK121 and CLK122 are asserted at different times for the second clock cycle (9:00 AM and 9:05 AM, respectively). As a result, noise is reduced.
In one embodiment, the controller circuit 160 of
In the embodiment described above, it is assumed that the process data is ready in the registers 121 and 122 at the same time. In an alternative embodiment, it takes different processing times to have processed data ready in the registers 121 and 122.
In the embodiment described above, with reference to
In the embodiments described above, each register of digital system 100 of
In the embodiments described above, with reference to
In summary, in operation processing of the digital system 100 of
In the embodiments described above, for simplicity, it is assumed that the controller circuit 160 causes the clock generator circuit 170 to simultaneously assert the clock signals to all the registers of the digital system 100 at 8:00 AM and again at 10:00 AM. Only at around 9:00 AM, the clock signals to the registers are asserted at different times. More specifically, the clock signal CLK121 to the register 121 is asserted at 9:00 AM and the clock signal CLK122 to the register 122 is asserted at 9:05 AM. In an alternative embodiment, the clock signals to the registers of the digital system 100 are asserted at different times around any clock cycle boundary including around 8:00 AM and 10:00 AM.
While particular embodiments of the present invention have been described herein for purposes of illustration, many modifications and changes will become apparent to those skilled in the art. Accordingly, the appended claims are intended to encompass all such modifications and changes as fall within the true spirit and scope of this invention.
Number | Name | Date | Kind |
---|---|---|---|
5317183 | Hoffman et al. | May 1994 | A |
5524114 | Peng | Jun 1996 | A |
6134145 | Wong | Oct 2000 | A |
6345380 | Bonaccio et al. | Feb 2002 | B1 |
6396313 | Sheen | May 2002 | B1 |
7203919 | Suaris et al. | Apr 2007 | B2 |
20020008648 | Colon-Bonet | Jan 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20060082398 A1 | Apr 2006 | US |