US20080028257A1 - Clock control circuit and integrated circuit - Google Patents

Clock control circuit and integrated circuit Download PDF

Info

Publication number
US20080028257A1
US20080028257A1 US11/903,104 US90310407A US2008028257A1 US 20080028257 A1 US20080028257 A1 US 20080028257A1 US 90310407 A US90310407 A US 90310407A US 2008028257 A1 US2008028257 A1 US 2008028257A1
Authority
US
United States
Prior art keywords
valid
signal
clock
output
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US11/903,104
Inventor
Shigenari Kawabata
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to US11/903,104 priority Critical patent/US20080028257A1/en
Publication of US20080028257A1 publication Critical patent/US20080028257A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3237Power saving characterised by the action undertaken by disabling clock generation or distribution
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to a clock control circuit and an integrated circuit, and more particularly to a clock control circuit for controlling a clock signal to be supplied to a target circuit to reduce a consumption power and to an integrated circuit.
  • a clock signal is distributed to flip-flop circuits and the like in an integrated circuit.
  • a flip-flop circuit receives a clock signal in order to hold input data synchronously with the clock signal, and even if the data to be held in the flip-flop circuit does not change, the clock signal changes so that an unnecessary power is consumed. It is therefore desired from the viewpoint of power consumption that a clock signal should be supplied to the target circuit in an integrated circuit only during the necessary and minimum period.
  • a clock enabler which is a combination of, e.g., a latch circuit and a logical gate, has been proposed in order to regulate the supply of a clock signal.
  • this clock enabler an inverted signal of a clock signal is input to a gate terminal of the latch circuit and an enable signal is input to a data input terminal of the latch circuit, to obtain a corrected enable signal from a data output terminal of the latch circuit.
  • the logical gate generates a logical sum of the corrected enable signal and clock signal to obtain a clock signal with a regulated period.
  • a change in the state of the corrected enable signal occurs only while the clock is in a low level state, so that the waveform (duty ratio) of the clock signal generated by the logical gate is the same as that of the original clock signal.
  • the clock signal with the regulated period can therefore be obtained without being influenced by a timing shift of the original enable signal (for example, refer to FIG. 1 of Japanese Patent Application Publication No. H09-284101).
  • the clock signal can be supplied to the target circuit only during the necessary and minimum period, by providing the enable signal.
  • the enable signal supplied to the clock enabler is required to be maintained in an enabled state while the target circuit operates.
  • a valid input flag indicating input data timings of a target circuit and a valid output flag indicating output data timings may take various waveforms. For example, if a target circuit receives input data at each clock input and outputs data every fourth clocks and if the supply of clocks is stopped if the valid output flag enters the disabled state, the data which should be output is left in the target circuit. It is therefore necessary to generate the enable signal by considering the waveforms of the valid input and output flags.
  • a clock control circuit for supplying a valid clock to a target circuit so as to be used in common for a variety of waveforms of a valid input flag and a valid output flag.
  • a clock management control circuit In the circuit, if a valid input instruction signal indicating timings of data input to a target circuit changes from a disabled state to enabled state, the supply of the clock signal to the target circuit starts in accordance with a system clock signal, and if a valid output instruction signal indicating timings of data output from the target circuit changes from an enabled state to disabled state, the supply of the clock signal is stopped after a lapse of a predetermined period set externally. It is therefore possible to realize the function of supplying the clock signal to the target circuit during the period from when the valid input instruction signal changes from the disabled state to enabled state to when the externally set period lapses after the valid output instruction signal changes from the enabled state to disabled state.
  • advantageous effects may be provided, which allow the clock control circuit for supplying a valid clock to a target circuit to be used in common for a variety of waveforms of a valid input flag and a valid output flag.
  • FIG. 1 is a diagram showing an example of a relation between a target circuit and a clock control circuit according to an embodiment of the present invention
  • FIG. 2 is a diagram showing an example of the timings of a clock enabler 300 according to an embodiment of the present invention
  • FIG. 3 is a diagram showing an example of the structure of a continuation period adjustment circuit 100 according to an embodiment of the present invention
  • FIG. 4 is a diagram showing an example of the structure of a counter 140 according to an embodiment of the present invention.
  • FIG. 5 is a diagram illustrating the relation between input data and a valid input flag according to an embodiment of the present invention
  • FIG. 6 is a diagram illustrating the relation between output data and a valid output flag according to an embodiment of the present invention.
  • FIG. 7 is a diagram illustrating the relation between an input data valid section and an output data valid section according to an embodiment of the present invention.
  • FIG. 8 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if a continuation period count constant 103 is “1” according to an embodiment of the present invention
  • FIG. 9 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if a continuation period count constant 103 is “2” according to an embodiment of the present invention.
  • FIG. 10 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if a continuation period count constant 103 is “3” according to an embodiment of the present invention
  • FIG. 11 is a diagram showing an example of the structure of a target circuit 500 to be connected to the clock control circuit 400 according to an embodiment of the present invention.
  • FIG. 12 is a diagram showing an example of the operation timings if a target circuit 500 shown in FIG. 11 is connected to the clock control circuit 400 according to an embodiment of the present invention.
  • FIG. 1 is a diagram showing an example of a relation between a clock control circuit and a target circuit according to an embodiment of the present invention.
  • a target circuit 500 receives input signals including input data 501 , a valid input flag 502 and a valid clock 394 supplied from a clock control circuit 400 , and delivers output signals including output data 591 and a valid output flag 592 .
  • the target circuit 500 fetches the input data 501 synchronously with the valid clock 394 , and outputs the output data 591 .
  • the valid output flag 592 is a signal indicating the timings of the output data 591 .
  • These valid input flag 502 and valid output flag 592 may have a variety of waveforms as will be later described.
  • the clock control circuit 400 has a clock enabler 300 for supplying the valid clock 394 to the target circuit 500 , a continuation period adjustment circuit 100 for generating a continuation period signal 191 and a logical sum circuit 210 for generating an enable signal (latch input signal 211 ) for the clock enabler 300 from the continuation period signal 191 and valid input flag 502 .
  • the valid clock 394 generated by the clock enabler 300 is supplied to the target circuit 500 and to the continuation period adjustment circuit 100 .
  • Other signals input to the continuation period adjustment circuit 100 are the valid input flag 502 input to the target circuit 500 and the valid output flag 592 output from the target circuit 500 .
  • a continuation period count constant 103 is input to the continuation period adjustment circuit 100 .
  • the continuation period signal 191 output from the continuation period adjustment circuit 100 is input to one input terminal of the logical sum circuit 210 .
  • the valid input flag 502 is input to the other input terminal of the logical sum circuit 210 .
  • the logical sum circuit 210 generates a logical sum of the continuation period signal 191 and valid input flag 502 and outputs it as the latch input signal 211 . Namely, if either the continuation period signal 191 or the valid input flag 502 is in an enabled state, the latch input signal 211 is set to an enabled state, whereas if the continuation period signal 191 and valid input flag 502 are both in a disabled state, the latch input signal 211 is set to the disabled state.
  • the clock enabler 300 has a latch circuit 310 and a logical product circuit 320 .
  • the latch circuit 310 latches the latch input signal 211 by using an inverted signal of the clock 304 as a gate signal. Namely, the clock enabler 300 outputs the latch input signal 211 itself as a latch output signal 311 if the clock 304 takes a low level, whereas it outputs as the latch output signal 311 a latch input signal 211 immediately before the low level changes to a high level if the clock 304 takes the high level.
  • the logical product circuit 320 generates a logical product of the latch output signal 311 and clock 304 , and outputs it as the valid clock 394 .
  • the logical product circuit 320 outputs the clock 304 itself as the valid clock 394 , whereas if the latch output signal 311 is in the disabled state, it does not output the clock 304 but outputs the signal in the disabled state as the valid clock 394 .
  • FIG. 2 is a diagram showing an example of timings of the clock enabler 300 according to the embodiment of the present invention.
  • the latch input signal 211 is generated by the logical sum circuit 210 as the logical sum of the valid input flag 502 and continuation period signal 191 , as described above. Therefore, the latch input signal 211 may rise at an indefinite position depending upon the timing of the valid input flag 502 . This is also applicable to the fall timing. If the logical product of this latch input signal 211 itself and clock 304 is generated, there is the possibility that the signal changes at the intermediate point while the clock takes the high level, and an unintended pulse may be generated.
  • the latch circuit 310 corrects this latch input signal 211 and generates the latch output signal 311 .
  • This latch output signal 311 is held while the clock 304 takes the high level, and changes only while the clock 304 takes the low level. Therefore, as the logical product with the clock 304 is generated by using this latch output signal 311 , the signal will not change at the intermediate point while the clocks takes the high level.
  • FIG. 3 ( a ) is a diagram showing an example of the structure of the continuation period adjustment circuit 100 according to the embodiment of the present invention.
  • the continuation period adjustment circuit 100 has a selector 110 , a flip-flop 120 , a logical sum circuit 130 , a counter 140 and a logical sum circuit 150 .
  • the continuation period adjustment circuit 100 receives input signals including the valid input flag 502 , valid output flag 592 , continuation period count constant 103 and valid clock 394 , and outputs the continuation period signal 191 .
  • the selector 110 outputs the valid input flag 502 as a select signal 119 if an enabled state signal 129 is in the disabled state, and outputs an inverted signal of the valid output flag 592 as the select signal if the enabled state signal 129 is in the enabled state.
  • the flip-flop 120 holds the select signal 119 immediately if the level of the valid clock 394 changes from the low level to high level, and outputs it as the enabled state signal 129 . Therefore, if the valid input flag 502 enters the enabled state while the enabled state signal 129 is in the disabled state, the enabled state signal 129 enters the enabled state at the rising edge of the next valid clock 394 .
  • the enabled state signal 129 maintains the enabled state, and if the valid output flag 592 enters the enabled state thereafter, the enabled state signal 129 enters the disabled state at the rising-edge of the next valid clock 394 .
  • the logical sum circuit 130 generates a logical sum of the valid input flag 502 , valid output flag 592 and enabled state signal 129 , and outputs it as a counter setting signal 139 . Namely, if any one of the valid input flag 502 , valid output flag 592 and enabled state signal 129 is in the enabled state, the counter setting signal 139 is set to the enabled state, whereas if all the valid input flag 502 , valid output flag 592 and enabled state signal 129 are in the disabled state, the counter setting signal 139 is set to the disabled state.
  • the counter 140 decrements an internally held value synchronously with the valid clock 394 , and outputs the result as a counter output signal 149 . If the counter setting signal 139 is in the enabled state, the counter 140 holds therein the continuation period count constant 103 immediately before the level of the valid clock 394 changes from the low level to high level.
  • the logical sum circuit 150 generates a logical sum of all bits of the counter output signal 149 , and outputs it as the continuation period signal 191 . Namely, the logical sum circuit 150 sets the continuation period signal 191 to the disabled state if the counter output signal 149 is zero, and sets the continuation period signal 191 to the enabled state if the counter output signal 149 indicates non-zero (does not indicate zero).
  • FIG. 3 ( b ) is a diagram showing the functional structure of the continuation period adjustment circuit 100 shown in FIG. 3 ( a ).
  • a block constituted of the selector 110 , flip-flop 120 and logical sum circuit 130 functions as a counter setting signal generation unit 13 .
  • the counter setting signal generation unit 13 sets the counter setting signal 139 to the enabled state, during the period from if the valid input flag 502 changes from the disabled state to enabled state to if the valid output flag 592 changes from the disabled state to enabled state and resumes the disabled state.
  • a counter unit 14 corresponds to the counter 140 , stores therein the continuation period constant 103 if the counter setting signal 139 is in the enabled state immediately before the valid clock 394 changes its level from the low level to high level, and decrements the internal value each time the valid clock 394 changes its level from the low level to high level.
  • a count detection unit 15 corresponds to the logical sum circuit 150 , and sets the continuation period signal 191 to the enabled state during the period from if the continuation period count constant 103 is set to the counter unit 14 to if the number corresponding to the continuation period constant 103 is counted up.
  • FIG. 4 is a diagram showing an example of the structure of the counter 140 according to the embodiment of the present invention.
  • the counter 140 has a register 141 for holding its internal state, a subtracter 142 , and selectors 143 and 144 .
  • the counter 140 receives input signals including the continuation period count constant 103 , counter setting signal 139 and valid clock 394 , and outputs the counter output signal 149 .
  • the register 141 holds the internal state of the counter 140 , and the contents held in the register 141 are output as the counter output signal 149 from the counter 140 .
  • the register 141 holds therein an output signal of the selector 144 immediately before the valid clock 394 changes its level from the low level to high level.
  • the subtracter 142 is a circuit for subtracting “1” from the internal state (counter output signal 149 ) held in the register 141 .
  • the selector 143 selects the counter output signal 149 while the counter output signal 149 indicates zero, and selects an output of the subtracter 142 while the counter output signal 149 indicates non-zero (does not indicate zero). Therefore, an output of the selector 143 indicates zero if the counter output signal 149 indicates zero, whereas if the counter output signal 149 indicates non-zero (does not indicate zero), an output of the selector 143 is the counter output signal 149 subtracted by “1”.
  • the selector 144 selects an output of the selector 143 if the counter setting signal 139 is in the disabled state, and selects the continuation period count constant 103 if the counter setting signal 139 is in the enabled state. Therefore, if the counter setting signal 139 is in the disabled state while the counter output signal 149 indicates non-zero (does not indicate zero), the value immediately before and subtracted by “1” is set to the register 141 , whereas if the counter setting signal 139 is in the enabled state, the continuation period count constant 103 is set to the register 141 .
  • FIG. 5 is a diagram showing the relation between input data and the valid input flag according to the embodiment of the invention. It is assumed that five pieces of data are continuously input as input data and three patterns (a) to (c) are considered as the valid input flags.
  • the pattern (a) always indicates the enabled state of an input data valid section.
  • the pattern (b) indicates the enabled state only while the top data piece is input in the input data valid section.
  • the pattern (c) repeats the enable state and disabled state every one clock period in the input data valid section.
  • the pattern (a) is the most typical pattern which is often used for the structure that a valid bit is held at each stage of pipe lines of a target circuit.
  • the pattern (b) is used for indicating the top data piece and often used if input data of a target circuit is collectively processed.
  • the pattern (c) is used for fetching input data at a constant interval.
  • the continuation period adjustment circuit 100 refers to the state of the valid output flag 592 after the valid input flag 502 enters once the enabled state. Therefore, a normal operation can be guaranteed if the valid input flag is in the enabled state at least while the top data piece is input.
  • FIG. 6 is a diagram showing the relation between output data and the valid output flag according to the embodiment of the invention. It is assumed that five pieces of data are continuously output as output data and four patterns (a) to (d) are considered as the valid output flags.
  • the pattern (a) always indicates the enabled state of an output data valid section.
  • the pattern (b) indicates the enabled state only while the top data piece is output in the input data valid section.
  • the pattern (c) repeats the enable state and disabled state every one clock period in the output data valid section.
  • the pattern (d) indicates the enabled state only while the last data piece is output in the output data valid section.
  • the pattern (a) is the most typical pattern which is often used for the structure that a valid bit is held at each stage of pipe lines of a target circuit.
  • the pattern (b) is used for indicating the top data piece and often used if output data of a target circuit is collectively processed.
  • the pattern (c) is used for outputting data at a constant interval.
  • the pattern (d) is used for indicating the last data piece.
  • the continuation period adjustment circuit 100 As described above, in the continuation period adjustment circuit 100 , after the valid output flag 592 changes its state from the enable state to disabled state, the continuation period count constant 103 held in the register 141 of the counter 140 is decremented each time by “1” and the continuation period signal 191 maintains the enabled state until the counter output signal 199 becomes zero. Therefore, in the cases of the patterns (a) and (d), by setting “1” as the continuation period count constant 103 , it becomes possible to control to stop the supply of the clock after the necessary clock 394 is supplied to the target circuit 500 .
  • FIG. 7 is a diagram showing the relation between the input data valid section and output data valid section according to the embodiment of the present invention.
  • the input data valid section overlaps the output data valid section.
  • the enable signal of the clock enabler can be generated from a logical sum of the valid input flag and valid output flag without using the continuation period adjustment circuit 100 of the embodiment of the present invention.
  • the valid input flag has the pattern (a) shown in FIG. 5 and the valid output flag has the pattern (d) shown in FIG. 6
  • the valid clock cannot be supplied properly if simply a logical sum of both is generated.
  • the valid clock in the case (a) shown in FIG. 7 , even if the wave forms of the valid input flag and valid output flag are any ones of those patterns shown in FIGS. 5 and 6 , the valid clock can be supplied properly.
  • FIG. 8 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if the continuation period count constant 103 is “1”.
  • the enabled state signal 129 enters the enabled state at the rise timing of the next valid clock 394 .
  • the counter setting signal 139 is a logical sum of the valid input flag 502 , valid output flag 592 and enabled state signal 129 , the counter setting signal 139 also enters the enabled state as the valid input flag 502 changes from the disabled state to enabled state.
  • “1” of the continuation period count constant 103 is set to the register 141 of the counter 140 at the rise timing of the valid clock 394 in a period T 2 . Since the counter output signal 149 of the counter 140 becomes “1” or non-zero, the continuation period signal 191 enters the enabled signal.
  • the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T 9 .
  • the counter setting signal 139 therefore enters the disabled state in the period T 9 .
  • the counter setting signal 139 is a logical sum of the valid input flag 502 , valid output flag 592 and enabled state signal 129 , the counter setting signal 139 will not change.
  • the counter 140 starts counting down and the counter output signal 149 becomes zero at the rise timing of the valid clock 394 in a period T 10 , because the value set to the register 141 is “ 1 ”.
  • the continuation period signal 191 changes from the enabled state to disabled state.
  • the enable signal (latch input signal 211 ) to be supplied to the clock enabler 300 therefore enters the disabled state so that the supply of the valid clock 394 stops after a period T 10 .
  • FIG. 9 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if the continuation period count constant 103 is “ 2 ”.
  • the enabled state signal 129 enters the enabled state at the rise timing of the next valid clock 394 .
  • the counter setting signal 139 is a logical sum of the valid input flag 502 , valid output flag 592 and enabled state signal 129 , the counter setting signal 139 also enters the enabled state as the valid input flag 502 changes from the disabled state to enabled state.
  • “2” of the continuation period count constant 103 is set to the register 141 of the counter 140 at the rise timing of the valid clock 394 in a period T 2 . Since the counter output signal 149 of the counter 140 becomes “2” or non-zero, the continuation period signal 191 enters the enabled signal.
  • the enabled state signal 129 In a period T 7 as the valid output flag 592 changes from the disabled state to enabled state, the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T 8 .
  • the counter setting signal 139 therefore enters the disabled state in the period T 8 .
  • the counter 140 starts counting down and the counter output signal 149 becomes zero at the rise timing of the valid clock 394 in a period T 10 , because the value set to the register 141 is “2”.
  • the continuation period signal 191 changes from the enabled state to disabled state.
  • the enable signal (latch input signal 211 ) to be supplied to the clock enabler 300 therefore enters the disabled state so that the supply of the valid clock 394 stops after the period T 10 .
  • the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T 6 . Even in this case, if the valid output flag 592 maintains the enabled state in the period T 6 , the counter setting signal 139 will not change. This is also true for the case that the valid output flag 592 changes from the disabled state to enabled state in the period T 6 .
  • the counter setting signal 139 enters the disabled state in the period T 6 so that the counter 140 starts counting down from the period T 6 . Also in this case, the counter output signal 149 will not reach zero so long as the counter setting signal 139 takes the enabled state in a period T 7 . As a result, as described above, the valid clock 394 is supplied to the period T 10 .
  • FIG. 10 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if the continuation period count constant 103 is “3”.
  • the enabled state signal 129 enters the enabled state at the rise timing of the next valid clock 394 .
  • the counter setting signal 139 is a logical sum of the valid input flag 502 , valid output flag 592 and enabled state signal 129 , the counter setting signal 139 also enters the enabled state as the valid input flag 502 changes from the disabled state to enabled state.
  • “3” of the continuation period count constant 103 is set to the register 141 of the counter 140 at the rise timing of the valid clock 394 in a period T 2 . Since the counter output signal 149 of the counter 140 becomes “3” or non-zero, the continuation period signal 191 enters the enabled signal.
  • the enabled state signal 129 In a period T 6 as the valid output flag 592 changes from the disabled state to enabled state, the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T 7 .
  • the counter setting signal 139 therefore enters the disabled state in the period T 7 .
  • the counter 140 starts counting down and the counter output signal 149 becomes zero at the rise timing of the valid clock 394 in a period T 10 , because the value set to the register 141 is “3”.
  • the continuation period signal 191 changes from the enabled state to disabled state.
  • the enable signal (latch input signal 211 ) to be supplied to the clock enabler 300 therefore enters the disabled state so that the supply of the valid clock 394 stops after the period T 10 .
  • the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T 4 . Even in this case, if the valid output flag 592 maintains the enabled state in the period T 4 , the counter setting signal 139 will not change. This is also true for the case that the valid output flag 592 changes from the disabled state to enabled state in the period T 4 .
  • the counter setting signal 139 enters the disabled state in the period T 4 so that the counter 140 starts counting down from the period T 4 . Further, if the valid output flag 592 changes from the disabled state to enabled state in the period T 4 and resumes the disabled state in a period T 5 , the counter setting signal 139 enters the disabled state in the period T 5 so that the counter 140 starts counting down from the period T 6 . Also in these cases, the counter output signal 149 will not reach zero so long as the counter setting signal 139 takes the enabled state in a period T 6 . As a result, as described above, the valid clock 394 is supplied to the period T 10 .
  • FIG. 11 is a diagram showing an example of the structure of the target circuit 500 to be connected to the clock control circuit 400 of the embodiment of the present invention.
  • This target circuit 500 has seven flip-flops 511 , 512 , 521 , 522 , 525 and 531 operating synchronously with the valid clock 394 , an exclusive logical sum circuit 523 and a logical product circuit 524 .
  • the flip-flops 511 , 521 and 531 constitute a data pipeline and the flop-flops 512 , 522 , 525 and 532 constitute a valid flag pipeline.
  • input data is input to the flip-flop 511 , an output of the flip-flop 511 is input to the flip-flop 521 , and an output of the exclusive logical sum circuit 523 is input to the flip-flop 531 .
  • the exclusive logical sum circuit 523 generates an exclusive logical sum of an output of the flip-flop 511 and an output of the flip-flop 521 .
  • the valid input flag 502 is input to the flip-flop 512 , an output of the flip-flop 512 is input to the flip-flop 522 , an output of the logical product circuit 524 is input to the flip-flop 525 , and an output of the flip-flop 525 is input to the flip-flop 532 .
  • the logical product circuit 524 generates a logical product of an output of the flip-flop 512 and an inverted output of the flip-flop 522 .
  • FIG. 12 is a diagram showing an example of the operation timings as the target circuit 500 of FIG. 11 is connected to the clock control circuit 400 of the embodiment of the present invention.
  • input data 501 “A” is input in a period T 1
  • input data 501 “B” is input in a period T 2 .
  • the valid input flag 502 is in the enabled state.
  • an output of the flip-flop 512 enters the enabled state in the periods T 2 and T 3 .
  • An output of the flip-flop 522 enters the enabled state in the periods T 3 and T 4 . Since the logical product circuit 524 is connected to an input part of the flip-flop 525 , an output of the flip-flop 525 enters the enabled state in the period T 3 . Therefore, the valid output flag 592 which is an output of the flip-flop 525 enters the enabled state in the period T 4 .
  • the flip-flop 511 outputs the data “A” and “B” in the periods T 2 and T 3 , respectively.
  • the flip-flop 521 outputs the data A” and “B” in the periods T 3 and T 4 , respectively. Since the exclusive logical sum circuit 523 is connected to an input part of the flip-flop 531 , the flip-flop 531 outputs an exclusive logical sum of the data “A” and “B” and the data “B” as output data 591 .
  • the enabled state signal 129 enters the enabled state in the period T 2 .
  • the valid output flag 592 enters the enabled state in the period T 4 .
  • the enabled state signal 129 enters the disabled state in a period T 5 . Therefore, the counter setting signal 139 as well as the valid input flag 502 enters the enabled state in the period T 1 , and the counter setting signal 139 as well as the enabled state signal 129 enters the disabled state in the period T 5 .
  • the continuation period count constant 103 is set to the counter 140 in the period T 2 .
  • “1” is used as the continuation period count constant 103 . Therefore, the continuation period signal 191 enters the enabled state in the period T 2 . Since the counter setting signal 139 enters the disabled state in the period T 5 , the counter 140 starts counting down. The counter output signal 149 therefore becomes zero during a period T 6 . The continuation period signal 191 therefore enters the disabled state in the period T 6 . In this example, therefore, the valid clock 394 is supplied during the periods T 2 to T 6 .
  • the continuation period adjustment circuit 100 generates the continuation period signal 191 matching the continuation period count constant 103 , and the enable signal (latch input signal 211 ) based upon the continuation period signal 191 is supplied to the clock enabler 300 . It is therefore possible to realize the clock control circuit 400 which can deal with a variety of waveforms of the valid input flag 502 and valid output flag 592 .
  • the clock rising edge is used as a trigger for each flip-flop and latch
  • a clock falling edge may be used.
  • positive logic is adopted as the polarity of the logical circuit in the embodiment of the present invention
  • negative logic may be used as the polarity.
  • the embodiment of the present invention is an illustrative example for embodying the present invention.
  • the embodiment has the correspondence with each invention specifying item described in the section of “WHAT IS CLAIMED IS”, the invention is not limited only thereto, but various modifications are possible in the range not departing from the gist of the present invention.
  • the target circuit corresponds, for example, to the target circuit 500 ;
  • the valid input instruction signal corresponds, for example, to the valid input flag 502 ;
  • the system clock signal corresponds, for example, to the clock 304 ;
  • the clock signal corresponds, for example, to the valid clock 394 ;
  • the valid input instruction signal corresponds, for example, to the valid output flag 592 ;
  • the continuation period count constant corresponds, for example, to thee continuation period count constant 103 ;
  • the clock control circuit corresponds, for example, to the clock control circuit 400 .
  • the system clock signal corresponds, for example, to the clock 304 ;
  • the target circuit corresponds, for example, to the target circuit 500 ;
  • the valid clock signal corresponds, for example, to the valid clock 394 ;
  • the clock control circuit corresponds, for example, to the clock control circuit 400 ;
  • the valid input instruction signal corresponds, for example, to the valid input flag 502 ;
  • the valid output instruction signal corresponds, for example, to the valid output flag 592 ;
  • the counter setting signal corresponds, for example, to the counter setting signal 139 ;
  • the counter setting signal generation means corresponds, for example, to the counter setting signal generation unit 13 ;
  • the continuation period count constant corresponds, for example, to the continuation period count constant 103 ;
  • the continuation period signal corresponds, for example, to the continuation period signal 191 ;
  • the counter means corresponds, for example, to the counter unit 14 ;
  • the count detection means corresponds, for example, to the count detection unit 15 ;
  • the latch input signal corresponds
  • the system clock corresponds, for example, to the clock 304 ;
  • the target circuit corresponds, for example, to the target circuit 500 ;
  • the valid clock signal corresponds, for example, to the valid clock 394 ;
  • the clock control circuit corresponds, for example, to the clock control circuit 400 ;
  • the valid input instruction signal corresponds, for example, to the valid input flag 502 ;
  • the valid output instruction signal corresponds, for example, to the valid output flag 592 ;
  • the selector corresponds, for example, to the selector 110 ;
  • the flip-flop corresponds, for example, to the flip-flop 120 ;
  • the counter setting signal generation means corresponds, for example, to the counter setting signal generation unit 13 ;
  • the first logical sum circuit corresponds, for example, to the logical sum circuit 130 ;
  • the continuation period count constant corresponds, for example, to the continuation period count constant 103 ;
  • the counter corresponds, for example, to the counter 140 ;
  • the second logical sum circuit corresponds, for
  • the embodiments of the present invention can be applied, for example, to distributing of a clock to each block in an integrated circuit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulation Of Pulses (AREA)
  • Information Transfer Systems (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A clock management control circuit of the present invention is a clock control circuit for supplying a valid clock signal to a target circuit in accordance with a system clock signal. When a valid input instruction signal indicating timings of data input to the target circuit changes from a disabled state to enabled state, the supply of the clock signal to the target circuit starts in accordance with the system clock signal, and if a valid output instruction signal indicating timings of data output from the target circuit changes from the enabled state to disabled state, the supply of the clock signal is stopped after a lapse of a predetermined time period set externally. The clock control circuit for supplying the valid clock to the target circuit can therefore be used in common for a variety of waveforms of a valid input flag and a valid output flag.

Description

    CROSS REFERENCES TO RELATED APPLICATIONS
  • The subject matter of application U.S. Ser. No. 10/909,910, is incorporated herein by reference. The present application is a continuation of U.S. Ser. No. 10/909,910, filed Aug. 2, 2004, which claims priority to its priority document No. 2003-287340 filed in the Japanese Patent Office on Aug. 6, 2003, the entire contents of which being incorporated by reference herein.
  • BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to a clock control circuit and an integrated circuit, and more particularly to a clock control circuit for controlling a clock signal to be supplied to a target circuit to reduce a consumption power and to an integrated circuit.
  • 2. Description of the Related Art
  • A clock signal is distributed to flip-flop circuits and the like in an integrated circuit. A flip-flop circuit receives a clock signal in order to hold input data synchronously with the clock signal, and even if the data to be held in the flip-flop circuit does not change, the clock signal changes so that an unnecessary power is consumed. It is therefore desired from the viewpoint of power consumption that a clock signal should be supplied to the target circuit in an integrated circuit only during the necessary and minimum period.
  • A clock enabler, which is a combination of, e.g., a latch circuit and a logical gate, has been proposed in order to regulate the supply of a clock signal. In this clock enabler, an inverted signal of a clock signal is input to a gate terminal of the latch circuit and an enable signal is input to a data input terminal of the latch circuit, to obtain a corrected enable signal from a data output terminal of the latch circuit. The logical gate generates a logical sum of the corrected enable signal and clock signal to obtain a clock signal with a regulated period. A change in the state of the corrected enable signal occurs only while the clock is in a low level state, so that the waveform (duty ratio) of the clock signal generated by the logical gate is the same as that of the original clock signal. The clock signal with the regulated period can therefore be obtained without being influenced by a timing shift of the original enable signal (for example, refer to FIG. 1 of Japanese Patent Application Publication No. H09-284101).
  • SUMMARY OF THE INVENTION
  • With the above-described clock enabler, the clock signal can be supplied to the target circuit only during the necessary and minimum period, by providing the enable signal. In this case, the enable signal supplied to the clock enabler is required to be maintained in an enabled state while the target circuit operates. However, it is cumbersome to design a circuit of generating the enable signal of this type for each of target circuits.
  • A valid input flag indicating input data timings of a target circuit and a valid output flag indicating output data timings may take various waveforms. For example, if a target circuit receives input data at each clock input and outputs data every fourth clocks and if the supply of clocks is stopped if the valid output flag enters the disabled state, the data which should be output is left in the target circuit. It is therefore necessary to generate the enable signal by considering the waveforms of the valid input and output flags.
  • Accordingly, it is desirable to provide a clock control circuit for supplying a valid clock to a target circuit so as to be used in common for a variety of waveforms of a valid input flag and a valid output flag. The present invention is made in view of the above.
  • According to an embodiment of the present invention, there is provided a clock management control circuit. In the circuit, if a valid input instruction signal indicating timings of data input to a target circuit changes from a disabled state to enabled state, the supply of the clock signal to the target circuit starts in accordance with a system clock signal, and if a valid output instruction signal indicating timings of data output from the target circuit changes from an enabled state to disabled state, the supply of the clock signal is stopped after a lapse of a predetermined period set externally. It is therefore possible to realize the function of supplying the clock signal to the target circuit during the period from when the valid input instruction signal changes from the disabled state to enabled state to when the externally set period lapses after the valid output instruction signal changes from the enabled state to disabled state.
  • According to the embodiment of the present invention, advantageous effects may be provided, which allow the clock control circuit for supplying a valid clock to a target circuit to be used in common for a variety of waveforms of a valid input flag and a valid output flag.
  • BRIEF DESCRIPTION OF THE DRAWING
  • The above and other objects, features and advantages of the present invention will become more apparent from the following description of the presently preferred exemplary embodiment of the invention taken in conjunction with the accompanying drawing, in which:
  • FIG. 1 is a diagram showing an example of a relation between a target circuit and a clock control circuit according to an embodiment of the present invention;
  • FIG. 2 is a diagram showing an example of the timings of a clock enabler 300 according to an embodiment of the present invention;
  • FIG. 3 is a diagram showing an example of the structure of a continuation period adjustment circuit 100 according to an embodiment of the present invention;
  • FIG. 4 is a diagram showing an example of the structure of a counter 140 according to an embodiment of the present invention;
  • FIG. 5 is a diagram illustrating the relation between input data and a valid input flag according to an embodiment of the present invention;
  • FIG. 6 is a diagram illustrating the relation between output data and a valid output flag according to an embodiment of the present invention;
  • FIG. 7 is a diagram illustrating the relation between an input data valid section and an output data valid section according to an embodiment of the present invention;
  • FIG. 8 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if a continuation period count constant 103 is “1” according to an embodiment of the present invention;
  • FIG. 9 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if a continuation period count constant 103 is “2” according to an embodiment of the present invention;
  • FIG. 10 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if a continuation period count constant 103 is “3” according to an embodiment of the present invention;
  • FIG. 11 is a diagram showing an example of the structure of a target circuit 500 to be connected to the clock control circuit 400 according to an embodiment of the present invention; and
  • FIG. 12 is a diagram showing an example of the operation timings if a target circuit 500 shown in FIG. 11 is connected to the clock control circuit 400 according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE EMBODIMENTS
  • An embodiment of the present invention will be described in detail with reference to drawings.
  • FIG. 1 is a diagram showing an example of a relation between a clock control circuit and a target circuit according to an embodiment of the present invention. A target circuit 500 receives input signals including input data 501, a valid input flag 502 and a valid clock 394 supplied from a clock control circuit 400, and delivers output signals including output data 591 and a valid output flag 592. The target circuit 500 fetches the input data 501 synchronously with the valid clock 394, and outputs the output data 591. The valid output flag 592 is a signal indicating the timings of the output data 591. These valid input flag 502 and valid output flag 592 may have a variety of waveforms as will be later described.
  • The clock control circuit 400 has a clock enabler 300 for supplying the valid clock 394 to the target circuit 500, a continuation period adjustment circuit 100 for generating a continuation period signal 191 and a logical sum circuit 210 for generating an enable signal (latch input signal 211) for the clock enabler 300 from the continuation period signal 191 and valid input flag 502. The valid clock 394 generated by the clock enabler 300 is supplied to the target circuit 500 and to the continuation period adjustment circuit 100. Other signals input to the continuation period adjustment circuit 100 are the valid input flag 502 input to the target circuit 500 and the valid output flag 592 output from the target circuit 500. Further, a continuation period count constant 103 is input to the continuation period adjustment circuit 100.
  • The continuation period signal 191 output from the continuation period adjustment circuit 100 is input to one input terminal of the logical sum circuit 210. The valid input flag 502 is input to the other input terminal of the logical sum circuit 210. The logical sum circuit 210 generates a logical sum of the continuation period signal 191 and valid input flag 502 and outputs it as the latch input signal 211. Namely, if either the continuation period signal 191 or the valid input flag 502 is in an enabled state, the latch input signal 211 is set to an enabled state, whereas if the continuation period signal 191 and valid input flag 502 are both in a disabled state, the latch input signal 211 is set to the disabled state.
  • The clock enabler 300 has a latch circuit 310 and a logical product circuit 320. The latch circuit 310 latches the latch input signal 211 by using an inverted signal of the clock 304 as a gate signal. Namely, the clock enabler 300 outputs the latch input signal 211 itself as a latch output signal 311 if the clock 304 takes a low level, whereas it outputs as the latch output signal 311 a latch input signal 211 immediately before the low level changes to a high level if the clock 304 takes the high level. The logical product circuit 320 generates a logical product of the latch output signal 311 and clock 304, and outputs it as the valid clock 394. Namely, if the latch output signal 311 is in the enabled state, the logical product circuit 320 outputs the clock 304 itself as the valid clock 394, whereas if the latch output signal 311 is in the disabled state, it does not output the clock 304 but outputs the signal in the disabled state as the valid clock 394.
  • FIG. 2 is a diagram showing an example of timings of the clock enabler 300 according to the embodiment of the present invention. The latch input signal 211 is generated by the logical sum circuit 210 as the logical sum of the valid input flag 502 and continuation period signal 191, as described above. Therefore, the latch input signal 211 may rise at an indefinite position depending upon the timing of the valid input flag 502. This is also applicable to the fall timing. If the logical product of this latch input signal 211 itself and clock 304 is generated, there is the possibility that the signal changes at the intermediate point while the clock takes the high level, and an unintended pulse may be generated.
  • To avoid this, in the clock enabler circuit 300, the latch circuit 310 corrects this latch input signal 211 and generates the latch output signal 311. This latch output signal 311 is held while the clock 304 takes the high level, and changes only while the clock 304 takes the low level. Therefore, as the logical product with the clock 304 is generated by using this latch output signal 311, the signal will not change at the intermediate point while the clocks takes the high level.
  • FIG. 3(a) is a diagram showing an example of the structure of the continuation period adjustment circuit 100 according to the embodiment of the present invention. The continuation period adjustment circuit 100 has a selector 110, a flip-flop 120, a logical sum circuit 130, a counter 140 and a logical sum circuit 150. The continuation period adjustment circuit 100 receives input signals including the valid input flag 502, valid output flag 592, continuation period count constant 103 and valid clock 394, and outputs the continuation period signal 191.
  • The selector 110 outputs the valid input flag 502 as a select signal 119 if an enabled state signal 129 is in the disabled state, and outputs an inverted signal of the valid output flag 592 as the select signal if the enabled state signal 129 is in the enabled state. The flip-flop 120 holds the select signal 119 immediately if the level of the valid clock 394 changes from the low level to high level, and outputs it as the enabled state signal 129. Therefore, if the valid input flag 502 enters the enabled state while the enabled state signal 129 is in the disabled state, the enabled state signal 129 enters the enabled state at the rising edge of the next valid clock 394. If the valid output flag 592 is in the disabled state while the enabled state signal 129 is in the enabled state, the enabled state signal 129 maintains the enabled state, and if the valid output flag 592 enters the enabled state thereafter, the enabled state signal 129 enters the disabled state at the rising-edge of the next valid clock 394.
  • The logical sum circuit 130 generates a logical sum of the valid input flag 502, valid output flag 592 and enabled state signal 129, and outputs it as a counter setting signal 139. Namely, if any one of the valid input flag 502, valid output flag 592 and enabled state signal 129 is in the enabled state, the counter setting signal 139 is set to the enabled state, whereas if all the valid input flag 502, valid output flag 592 and enabled state signal 129 are in the disabled state, the counter setting signal 139 is set to the disabled state.
  • The counter 140 decrements an internally held value synchronously with the valid clock 394, and outputs the result as a counter output signal 149. If the counter setting signal 139 is in the enabled state, the counter 140 holds therein the continuation period count constant 103 immediately before the level of the valid clock 394 changes from the low level to high level.
  • The logical sum circuit 150 generates a logical sum of all bits of the counter output signal 149, and outputs it as the continuation period signal 191. Namely, the logical sum circuit 150 sets the continuation period signal 191 to the disabled state if the counter output signal 149 is zero, and sets the continuation period signal 191 to the enabled state if the counter output signal 149 indicates non-zero (does not indicate zero).
  • FIG. 3(b) is a diagram showing the functional structure of the continuation period adjustment circuit 100 shown in FIG. 3(a). A block constituted of the selector 110, flip-flop 120 and logical sum circuit 130 functions as a counter setting signal generation unit 13. Namely, the counter setting signal generation unit 13 sets the counter setting signal 139 to the enabled state, during the period from if the valid input flag 502 changes from the disabled state to enabled state to if the valid output flag 592 changes from the disabled state to enabled state and resumes the disabled state.
  • A counter unit 14 corresponds to the counter 140, stores therein the continuation period constant 103 if the counter setting signal 139 is in the enabled state immediately before the valid clock 394 changes its level from the low level to high level, and decrements the internal value each time the valid clock 394 changes its level from the low level to high level.
  • A count detection unit 15 corresponds to the logical sum circuit 150, and sets the continuation period signal 191 to the enabled state during the period from if the continuation period count constant 103 is set to the counter unit 14 to if the number corresponding to the continuation period constant 103 is counted up.
  • FIG. 4 is a diagram showing an example of the structure of the counter 140 according to the embodiment of the present invention. The counter 140 has a register 141 for holding its internal state, a subtracter 142, and selectors 143 and 144. The counter 140 receives input signals including the continuation period count constant 103, counter setting signal 139 and valid clock 394, and outputs the counter output signal 149.
  • The register 141 holds the internal state of the counter 140, and the contents held in the register 141 are output as the counter output signal 149 from the counter 140. The register 141 holds therein an output signal of the selector 144 immediately before the valid clock 394 changes its level from the low level to high level.
  • The subtracter 142 is a circuit for subtracting “1” from the internal state (counter output signal 149) held in the register 141. The selector 143 selects the counter output signal 149 while the counter output signal 149 indicates zero, and selects an output of the subtracter 142 while the counter output signal 149 indicates non-zero (does not indicate zero). Therefore, an output of the selector 143 indicates zero if the counter output signal 149 indicates zero, whereas if the counter output signal 149 indicates non-zero (does not indicate zero), an output of the selector 143 is the counter output signal 149 subtracted by “1”.
  • The selector 144 selects an output of the selector 143 if the counter setting signal 139 is in the disabled state, and selects the continuation period count constant 103 if the counter setting signal 139 is in the enabled state. Therefore, if the counter setting signal 139 is in the disabled state while the counter output signal 149 indicates non-zero (does not indicate zero), the value immediately before and subtracted by “1” is set to the register 141, whereas if the counter setting signal 139 is in the enabled state, the continuation period count constant 103 is set to the register 141.
  • Next, with reference to drawings, description will be made on the waveforms of the valid input flag 502 and valid output flag 592 according to the embodiment of the present invention.
  • FIG. 5 is a diagram showing the relation between input data and the valid input flag according to the embodiment of the invention. It is assumed that five pieces of data are continuously input as input data and three patterns (a) to (c) are considered as the valid input flags. The pattern (a) always indicates the enabled state of an input data valid section. The pattern (b) indicates the enabled state only while the top data piece is input in the input data valid section. The pattern (c) repeats the enable state and disabled state every one clock period in the input data valid section.
  • The pattern (a) is the most typical pattern which is often used for the structure that a valid bit is held at each stage of pipe lines of a target circuit. The pattern (b) is used for indicating the top data piece and often used if input data of a target circuit is collectively processed. The pattern (c) is used for fetching input data at a constant interval.
  • As described above, the continuation period adjustment circuit 100 refers to the state of the valid output flag 592 after the valid input flag 502 enters once the enabled state. Therefore, a normal operation can be guaranteed if the valid input flag is in the enabled state at least while the top data piece is input.
  • FIG. 6 is a diagram showing the relation between output data and the valid output flag according to the embodiment of the invention. It is assumed that five pieces of data are continuously output as output data and four patterns (a) to (d) are considered as the valid output flags. The pattern (a) always indicates the enabled state of an output data valid section. The pattern (b) indicates the enabled state only while the top data piece is output in the input data valid section. The pattern (c) repeats the enable state and disabled state every one clock period in the output data valid section. The pattern (d) indicates the enabled state only while the last data piece is output in the output data valid section.
  • The pattern (a) is the most typical pattern which is often used for the structure that a valid bit is held at each stage of pipe lines of a target circuit. The pattern (b) is used for indicating the top data piece and often used if output data of a target circuit is collectively processed. The pattern (c) is used for outputting data at a constant interval. The pattern (d) is used for indicating the last data piece.
  • As described above, in the continuation period adjustment circuit 100, after the valid output flag 592 changes its state from the enable state to disabled state, the continuation period count constant 103 held in the register 141 of the counter 140 is decremented each time by “1” and the continuation period signal 191 maintains the enabled state until the counter output signal 199 becomes zero. Therefore, in the cases of the patterns (a) and (d), by setting “1” as the continuation period count constant 103, it becomes possible to control to stop the supply of the clock after the necessary clock 394 is supplied to the target circuit 500.
  • In the case of the pattern (b), it is necessary to set a value of “2” or larger to the continuation period count constant 103. For example, if the pattern (b) is used, “4” is set to the continuation period count constant 103.
  • In the case of the pattern (c), if the valid output flag enters the enabled state every “n”-th clocks (n is a natural number), it is necessary to set “n+1” to the continuation period count constant 103. For example, in the case of the pattern (c), “2” is set to the continuation period count constant 103.
  • FIG. 7 is a diagram showing the relation between the input data valid section and output data valid section according to the embodiment of the present invention. In the case (a), the input data valid section overlaps the output data valid section. In this case, for example, if the valid input flag and valid output flag have the patterns (a) shown in FIGS. 5 and 6, the enable signal of the clock enabler can be generated from a logical sum of the valid input flag and valid output flag without using the continuation period adjustment circuit 100 of the embodiment of the present invention. However, if the valid input flag has the pattern (a) shown in FIG. 5 and the valid output flag has the pattern (d) shown in FIG. 6, the valid clock cannot be supplied properly if simply a logical sum of both is generated. According to the embodiment of the present invention, in the case (a) shown in FIG. 7, even if the wave forms of the valid input flag and valid output flag are any ones of those patterns shown in FIGS. 5 and 6, the valid clock can be supplied properly.
  • In the case (b) shown in FIG. 7, there is a gap between the input data valid section and output data valid section. In this case, even if the waveforms of the valid input flag and valid output flag have any ones of those patterns shown in FIGS. 5 and 6, the valid clock cannot be supplied properly if simply a logical sum of both is generated. According to the embodiment of the present invention, in the case (b) shown in FIG. 7, even if the waveforms of the valid input flag and valid output flag are any ones of those patterns shown in FIGS. 5 and 6, the valid clock can be supplied properly.
  • Next, with reference to drawings, description will be made on the operation of the continuation period adjustment circuit 100 according to the embodiment of the present invention.
  • FIG. 8 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if the continuation period count constant 103 is “1”. In a period T1 as the valid input flag 502 changes from the disabled state to enabled state, the enabled state signal 129 enters the enabled state at the rise timing of the next valid clock 394. Since the counter setting signal 139 is a logical sum of the valid input flag 502, valid output flag 592 and enabled state signal 129, the counter setting signal 139 also enters the enabled state as the valid input flag 502 changes from the disabled state to enabled state. In response to this, “1” of the continuation period count constant 103 is set to the register 141 of the counter 140 at the rise timing of the valid clock 394 in a period T2. Since the counter output signal 149 of the counter 140 becomes “1” or non-zero, the continuation period signal 191 enters the enabled signal.
  • In a period T8 as the valid output flag 592 changes from the disabled state to enabled state, the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T9. The counter setting signal 139 therefore enters the disabled state in the period T9. In this example, even if the timing if the valid output flag 592 enters the enabled state is in a period T7 one period earlier (indicated by a broken line), since as described above the counter setting signal 139 is a logical sum of the valid input flag 502, valid output flag 592 and enabled state signal 129, the counter setting signal 139 will not change.
  • In the period T9 as the counter setting signal 139 changes from the enabled state to disabled state, the counter 140 starts counting down and the counter output signal 149 becomes zero at the rise timing of the valid clock 394 in a period T10, because the value set to the register 141 is “1”. In response to this, the continuation period signal 191 changes from the enabled state to disabled state. The enable signal (latch input signal 211) to be supplied to the clock enabler 300 therefore enters the disabled state so that the supply of the valid clock 394 stops after a period T10.
  • FIG. 9 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if the continuation period count constant 103 is “2”. In a period T1 as the valid input flag 502 changes from the disabled state to enabled state, the enabled state signal 129 enters the enabled state at the rise timing of the next valid clock 394. Since the counter setting signal 139 is a logical sum of the valid input flag 502, valid output flag 592 and enabled state signal 129, the counter setting signal 139 also enters the enabled state as the valid input flag 502 changes from the disabled state to enabled state. In response to this, “2” of the continuation period count constant 103 is set to the register 141 of the counter 140 at the rise timing of the valid clock 394 in a period T2. Since the counter output signal 149 of the counter 140 becomes “2” or non-zero, the continuation period signal 191 enters the enabled signal.
  • In a period T7 as the valid output flag 592 changes from the disabled state to enabled state, the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T8. The counter setting signal 139 therefore enters the disabled state in the period T8.
  • As the counter setting signal 139 changes from the enabled state to disabled state in the period T8, the counter 140 starts counting down and the counter output signal 149 becomes zero at the rise timing of the valid clock 394 in a period T10, because the value set to the register 141 is “2”. In response to this, the continuation period signal 191 changes from the enabled state to disabled state. The enable signal (latch input signal 211) to be supplied to the clock enabler 300 therefore enters the disabled state so that the supply of the valid clock 394 stops after the period T10.
  • For example, if the timing if the valid output flag 592 enters changes from the disabled state to enabled state is in a period T5 (indicated by a broken line), the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T6. Even in this case, if the valid output flag 592 maintains the enabled state in the period T6, the counter setting signal 139 will not change. This is also true for the case that the valid output flag 592 changes from the disabled state to enabled state in the period T6. On the other hand, if the valid output flag 592 changes from the disabled state to enabled state in the period T5 and resumes the disabled state in the period T6, the counter setting signal 139 enters the disabled state in the period T6 so that the counter 140 starts counting down from the period T6. Also in this case, the counter output signal 149 will not reach zero so long as the counter setting signal 139 takes the enabled state in a period T7. As a result, as described above, the valid clock 394 is supplied to the period T10.
  • FIG. 10 is a diagram showing an example of the operation timings of the continuation period adjustment circuit 100 if the continuation period count constant 103 is “3”. In a period T1 as the valid input flag 502 changes from the disabled state to enabled state, the enabled state signal 129 enters the enabled state at the rise timing of the next valid clock 394. Since the counter setting signal 139 is a logical sum of the valid input flag 502, valid output flag 592 and enabled state signal 129, the counter setting signal 139 also enters the enabled state as the valid input flag 502 changes from the disabled state to enabled state. In response to this, “3” of the continuation period count constant 103 is set to the register 141 of the counter 140 at the rise timing of the valid clock 394 in a period T2. Since the counter output signal 149 of the counter 140 becomes “3” or non-zero, the continuation period signal 191 enters the enabled signal.
  • In a period T6 as the valid output flag 592 changes from the disabled state to enabled state, the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T7. The counter setting signal 139 therefore enters the disabled state in the period T7.
  • As the counter setting signal 139 changes from the enabled state to disabled state in the period T7, the counter 140 starts counting down and the counter output signal 149 becomes zero at the rise timing of the valid clock 394 in a period T10, because the value set to the register 141 is “3”. In response to this, the continuation period signal 191 changes from the enabled state to disabled state. The enable signal (latch input signal 211) to be supplied to the clock enabler 300 therefore enters the disabled state so that the supply of the valid clock 394 stops after the period T10.
  • For example, if the timing if the valid output flag 592 changes from the disabled state to enabled state is in a period T3 (indicated by a broken line), the enabled state signal 129 enters the disabled state at the rise timing of the valid clock 394 in a period T4. Even in this case, if the valid output flag 592 maintains the enabled state in the period T4, the counter setting signal 139 will not change. This is also true for the case that the valid output flag 592 changes from the disabled state to enabled state in the period T4.
  • On the other hand, if the valid output flag 592 changes from the disabled state to enabled state in the period T3 and resumes the disabled state in the period T4, the counter setting signal 139 enters the disabled state in the period T4 so that the counter 140 starts counting down from the period T4. Further, if the valid output flag 592 changes from the disabled state to enabled state in the period T4 and resumes the disabled state in a period T5, the counter setting signal 139 enters the disabled state in the period T5 so that the counter 140 starts counting down from the period T6. Also in these cases, the counter output signal 149 will not reach zero so long as the counter setting signal 139 takes the enabled state in a period T6. As a result, as described above, the valid clock 394 is supplied to the period T10.
  • Next, with reference to drawings, description will be made on the operation if a target circuit 500 is connected, according to the embodiment of the present invention.
  • FIG. 11 is a diagram showing an example of the structure of the target circuit 500 to be connected to the clock control circuit 400 of the embodiment of the present invention. This target circuit 500 has seven flip- flops 511, 512, 521, 522, 525 and 531 operating synchronously with the valid clock 394, an exclusive logical sum circuit 523 and a logical product circuit 524. Of the seven flip-flops, the flip- flops 511, 521 and 531 constitute a data pipeline and the flop- flops 512, 522, 525 and 532 constitute a valid flag pipeline.
  • In the data pipeline, input data is input to the flip-flop 511, an output of the flip-flop 511 is input to the flip-flop 521, and an output of the exclusive logical sum circuit 523 is input to the flip-flop 531. The exclusive logical sum circuit 523 generates an exclusive logical sum of an output of the flip-flop 511 and an output of the flip-flop 521.
  • In the valid flag pipeline, the valid input flag 502 is input to the flip-flop 512, an output of the flip-flop 512 is input to the flip-flop 522, an output of the logical product circuit 524 is input to the flip-flop 525, and an output of the flip-flop 525 is input to the flip-flop 532. The logical product circuit 524 generates a logical product of an output of the flip-flop 512 and an inverted output of the flip-flop 522.
  • FIG. 12 is a diagram showing an example of the operation timings as the target circuit 500 of FIG. 11 is connected to the clock control circuit 400 of the embodiment of the present invention. In this example, input data 501 “A” is input in a period T1 and input data 501 “B” is input in a period T2. During the periods T1 and T2, the valid input flag 502 is in the enabled state.
  • First, as the valid input flag 502 enters the enabled state in the periods T1 and T2, an output of the flip-flop 512 enters the enabled state in the periods T2 and T3. An output of the flip-flop 522 enters the enabled state in the periods T3 and T4. Since the logical product circuit 524 is connected to an input part of the flip-flop 525, an output of the flip-flop 525 enters the enabled state in the period T3. Therefore, the valid output flag 592 which is an output of the flip-flop 525 enters the enabled state in the period T4.
  • On the other hand, as the input data 501 “A” and “B” are input in the periods T1 and T2, respectively, the flip-flop 511 outputs the data “A” and “B” in the periods T2 and T3, respectively. The flip-flop 521 outputs the data A” and “B” in the periods T3 and T4, respectively. Since the exclusive logical sum circuit 523 is connected to an input part of the flip-flop 531, the flip-flop 531 outputs an exclusive logical sum of the data “A” and “B” and the data “B” as output data 591.
  • As the valid input flag 502 enters the enabled state in the period T1, the enabled state signal 129 enters the enabled state in the period T2. As the valid output flag 592 enters the enabled state in the period T4, the enabled state signal 129 enters the disabled state in a period T5. Therefore, the counter setting signal 139 as well as the valid input flag 502 enters the enabled state in the period T1, and the counter setting signal 139 as well as the enabled state signal 129 enters the disabled state in the period T5.
  • As the counter setting signal 139 enters the enabled state in the period T1, the continuation period count constant 103 is set to the counter 140 in the period T2. In this example, “1” is used as the continuation period count constant 103. Therefore, the continuation period signal 191 enters the enabled state in the period T2. Since the counter setting signal 139 enters the disabled state in the period T5, the counter 140 starts counting down. The counter output signal 149 therefore becomes zero during a period T6. The continuation period signal 191 therefore enters the disabled state in the period T6. In this example, therefore, the valid clock 394 is supplied during the periods T2 to T6.
  • As above, according to the embodiment of the present invention, the continuation period adjustment circuit 100 generates the continuation period signal 191 matching the continuation period count constant 103, and the enable signal (latch input signal 211) based upon the continuation period signal 191 is supplied to the clock enabler 300. It is therefore possible to realize the clock control circuit 400 which can deal with a variety of waveforms of the valid input flag 502 and valid output flag 592.
  • In the embodiment of the present invention, although the clock rising edge is used as a trigger for each flip-flop and latch, a clock falling edge may be used. Further, although the positive logic is adopted as the polarity of the logical circuit in the embodiment of the present invention, the negative logic may be used as the polarity.
  • The embodiment of the present invention is an illustrative example for embodying the present invention. Although the embodiment has the correspondence with each invention specifying item described in the section of “WHAT IS CLAIMED IS”, the invention is not limited only thereto, but various modifications are possible in the range not departing from the gist of the present invention.
  • Namely, in a first embodiment of the present invention, the target circuit corresponds, for example, to the target circuit 500; the valid input instruction signal corresponds, for example, to the valid input flag 502; the system clock signal corresponds, for example, to the clock 304; the clock signal corresponds, for example, to the valid clock 394; the valid input instruction signal corresponds, for example, to the valid output flag 592; the continuation period count constant corresponds, for example, to thee continuation period count constant 103; and the clock control circuit corresponds, for example, to the clock control circuit 400.
  • In a second embodiment of the present invention: the system clock signal corresponds, for example, to the clock 304; the target circuit corresponds, for example, to the target circuit 500; the valid clock signal corresponds, for example, to the valid clock 394; the clock control circuit corresponds, for example, to the clock control circuit 400; the valid input instruction signal corresponds, for example, to the valid input flag 502; the valid output instruction signal corresponds, for example, to the valid output flag 592; the counter setting signal corresponds, for example, to the counter setting signal 139; the counter setting signal generation means corresponds, for example, to the counter setting signal generation unit 13; the continuation period count constant corresponds, for example, to the continuation period count constant 103; the continuation period signal corresponds, for example, to the continuation period signal 191; the counter means corresponds, for example, to the counter unit 14; the count detection means corresponds, for example, to the count detection unit 15; the latch input signal corresponds, for example, to the latch input signal 211; the enable signal generation means corresponds, for example, to the logical sum circuit 210; the latch output signal corresponds, for example, to the latch output signal 311; the latch means corresponds, for example, to the latch circuit 310; and the valid clock output means corresponds, for example, to the logical product circuit 320.
  • In a third embodiment of the present invention: the system clock corresponds, for example, to the clock 304; the target circuit corresponds, for example, to the target circuit 500; the valid clock signal corresponds, for example, to the valid clock 394; the clock control circuit corresponds, for example, to the clock control circuit 400; the valid input instruction signal corresponds, for example, to the valid input flag 502; the valid output instruction signal corresponds, for example, to the valid output flag 592; the selector corresponds, for example, to the selector 110; the flip-flop corresponds, for example, to the flip-flop 120; the counter setting signal generation means corresponds, for example, to the counter setting signal generation unit 13; the first logical sum circuit corresponds, for example, to the logical sum circuit 130; the continuation period count constant corresponds, for example, to the continuation period count constant 103; the counter corresponds, for example, to the counter 140; the second logical sum circuit corresponds, for example, to the logical sum circuit 150; the latch input signal corresponds, for example, to the latch input signal 211; the third logical sum circuit corresponds, for example, to the logical sum circuit 210; the latch output signal corresponds, for example, to the latch output signal 311; the latch circuit corresponds, for example, to the latch circuit 310; and the logical product circuit corresponds, for example, to the logical product circuit 320.
  • The embodiments of the present invention can be applied, for example, to distributing of a clock to each block in an integrated circuit.

Claims (5)

1. A clock control circuit for supplying a clock signal to a target circuit in accordance with a system clock signal, characterized in that:
a valid output instruction signal from the target circuit is applied to circuitry which generates a clock output enable signal that is used in determining when the clock signal is applied to the target circuit.
2. A clock control circuit for supplying a clock signal to a target circuit according to claim 1 and further wherein the circuitry which generates the clock output enable also receives a valid input signal flag.
3-7. (canceled)
8. A method for selectively applying a clock signal to a target circuit comprising:
generating a clock signal;
applying the clock signal to a target circuit;
transmitting a valid output instruction signal from the target circuit to circuitry which generates a clock output enable signal; and
applying the clock output enable signal to circuitry which selectively transmits the clock signal to the target circuit.
9. The method for selectively applying a clock signal to a target circuit of claim 8, further comprising applying a valid input indication signal to the circuitry which generates the clock output enable signal.
US11/903,104 2003-08-06 2007-09-20 Clock control circuit and integrated circuit Abandoned US20080028257A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US11/903,104 US20080028257A1 (en) 2003-08-06 2007-09-20 Clock control circuit and integrated circuit

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JPP2003-287340 2003-08-06
JP2003287340A JP4051682B2 (en) 2003-08-06 2003-08-06 Clock control circuit and integrated circuit
US10/909,910 US7284145B2 (en) 2003-08-06 2004-08-02 Clock control circuit and integrated circuit
US11/903,104 US20080028257A1 (en) 2003-08-06 2007-09-20 Clock control circuit and integrated circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/909,910 Continuation US7284145B2 (en) 2003-08-06 2004-08-02 Clock control circuit and integrated circuit

Publications (1)

Publication Number Publication Date
US20080028257A1 true US20080028257A1 (en) 2008-01-31

Family

ID=33550024

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/909,910 Expired - Fee Related US7284145B2 (en) 2003-08-06 2004-08-02 Clock control circuit and integrated circuit
US11/903,104 Abandoned US20080028257A1 (en) 2003-08-06 2007-09-20 Clock control circuit and integrated circuit

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/909,910 Expired - Fee Related US7284145B2 (en) 2003-08-06 2004-08-02 Clock control circuit and integrated circuit

Country Status (3)

Country Link
US (2) US7284145B2 (en)
EP (1) EP1505479A3 (en)
JP (1) JP4051682B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4862588B2 (en) * 2006-09-27 2012-01-25 ソニー株式会社 Clock control circuit and semiconductor integrated circuit
KR20090045495A (en) * 2007-11-02 2009-05-08 주식회사 하이닉스반도체 Clock controlling circuit and data aligning circuit including the same
GB2472030B (en) * 2009-07-22 2011-11-02 Wolfson Microelectronics Plc Real-time clock
JP5915105B2 (en) * 2011-11-14 2016-05-11 株式会社ソシオネクスト Data transfer system, receiving circuit, and receiving method
CN115565576A (en) * 2021-07-02 2023-01-03 长鑫存储技术有限公司 Signal generation circuit and method and semiconductor memory

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4630295A (en) * 1983-08-05 1986-12-16 Sharp Kabushiki Kaisha Low power consumption CMOS shift register
US5498988A (en) * 1994-11-25 1996-03-12 Motorola, Inc. Low power flip-flop circuit and method thereof
US5498998A (en) * 1992-11-16 1996-03-12 Gehrke; James K. Method for adjusting the output frequency of a frequency synthesizer
US5502689A (en) * 1992-07-21 1996-03-26 Advanced Micro Devices, Inc. Clock generator capable of shut-down mode and clock generation method
US5675282A (en) * 1994-08-09 1997-10-07 Yamaha Corporation Circuit with sleep mode having counter
US5883529A (en) * 1996-04-19 1999-03-16 Sony Corporation Function clock generation circuit and D-type flip-flop equipped with enable function and memory circuit using same
US6065126A (en) * 1998-02-02 2000-05-16 Tran; Thang Minh Method and apparatus for executing plurality of operations per clock cycle in a single processing unit with a self-timed and self-enabled distributed clock
US6101609A (en) * 1997-07-29 2000-08-08 Sharp Kabushiki Kaisha Power consumption reduced register circuit
US6204707B1 (en) * 1998-08-26 2001-03-20 Kabushiki Kaisha Toshiba Flip-flop circuit with clock signal control function and clock control circuit
US6326823B1 (en) * 1999-08-10 2001-12-04 Oki Electric Industry Co., Ltd. Clock control circuit
US20030212917A1 (en) * 2002-05-08 2003-11-13 Fujitsu Limited Microprocessor and operation mode switching method for the microprocessor
US6822478B2 (en) * 2001-07-03 2004-11-23 Texas Instruments Incorporated Data-driven clock gating for a sequential data-capture device
US6828837B2 (en) * 2002-10-22 2004-12-07 Samsung Electronics Co., Ltd. Low power flip-flop circuit
US6944784B2 (en) * 2001-06-29 2005-09-13 Intel Corporation Flip-flop having multiple clock sources and method therefore
US7058832B2 (en) * 2002-01-23 2006-06-06 Telairity Semiconductor, Inc. Idle power reduction for state machines

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5329178A (en) * 1991-11-27 1994-07-12 North American Philips Corporation Integrated circuit device with user-programmable conditional power-down means

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4630295A (en) * 1983-08-05 1986-12-16 Sharp Kabushiki Kaisha Low power consumption CMOS shift register
US5502689A (en) * 1992-07-21 1996-03-26 Advanced Micro Devices, Inc. Clock generator capable of shut-down mode and clock generation method
US5498998A (en) * 1992-11-16 1996-03-12 Gehrke; James K. Method for adjusting the output frequency of a frequency synthesizer
US5675282A (en) * 1994-08-09 1997-10-07 Yamaha Corporation Circuit with sleep mode having counter
US5498988A (en) * 1994-11-25 1996-03-12 Motorola, Inc. Low power flip-flop circuit and method thereof
US5883529A (en) * 1996-04-19 1999-03-16 Sony Corporation Function clock generation circuit and D-type flip-flop equipped with enable function and memory circuit using same
US6101609A (en) * 1997-07-29 2000-08-08 Sharp Kabushiki Kaisha Power consumption reduced register circuit
US6065126A (en) * 1998-02-02 2000-05-16 Tran; Thang Minh Method and apparatus for executing plurality of operations per clock cycle in a single processing unit with a self-timed and self-enabled distributed clock
US6204707B1 (en) * 1998-08-26 2001-03-20 Kabushiki Kaisha Toshiba Flip-flop circuit with clock signal control function and clock control circuit
US6326823B1 (en) * 1999-08-10 2001-12-04 Oki Electric Industry Co., Ltd. Clock control circuit
US6944784B2 (en) * 2001-06-29 2005-09-13 Intel Corporation Flip-flop having multiple clock sources and method therefore
US6822478B2 (en) * 2001-07-03 2004-11-23 Texas Instruments Incorporated Data-driven clock gating for a sequential data-capture device
US7058832B2 (en) * 2002-01-23 2006-06-06 Telairity Semiconductor, Inc. Idle power reduction for state machines
US20030212917A1 (en) * 2002-05-08 2003-11-13 Fujitsu Limited Microprocessor and operation mode switching method for the microprocessor
US6828837B2 (en) * 2002-10-22 2004-12-07 Samsung Electronics Co., Ltd. Low power flip-flop circuit

Also Published As

Publication number Publication date
EP1505479A2 (en) 2005-02-09
US7284145B2 (en) 2007-10-16
EP1505479A3 (en) 2007-12-26
JP4051682B2 (en) 2008-02-27
US20050030077A1 (en) 2005-02-10
JP2005056214A (en) 2005-03-03

Similar Documents

Publication Publication Date Title
US7176711B2 (en) On-die termination impedance calibration device
US7646808B2 (en) Allowing immediate update of pulse width modulation values
US20080028257A1 (en) Clock control circuit and integrated circuit
US20150042395A1 (en) Source driver and method to reduce peak current therein
JP2009290473A (en) Pwm controller and pulse waveform control method
US7664219B2 (en) Flip-flop and shift register
US7797118B2 (en) Real-time clock calibration method and system
US10401900B2 (en) Using a stuttered clock signal to reduce self-induced voltage noise
US7030676B2 (en) Timing circuit for separate positive and negative edge placement in a switching DC-DC converter
CN111028768A (en) Signal generating device, driving chip, display system and driving method of LED display
US7490257B2 (en) Clock distributor for use in semiconductor logics for generating clock signals when enabled and a method therefor
US6351170B1 (en) Low power consumption type digital logic circuit
JPH11145786A (en) Flip-flop reset circuit
JPH08139575A (en) Pulse output circuit
KR970701397A (en) IC CARD CONTROL CIRCUIT AND IC CARD CONTROL SYSTEM
US20080180182A1 (en) Delay unit
EP1702218A1 (en) Delay fault test circuitry and related method
US20050089090A1 (en) Method and apparatus for generating a distortionless pulse width modulated waveform
JP4862588B2 (en) Clock control circuit and semiconductor integrated circuit
TWI655577B (en) Operation speed compensation circuit and compensation method thereof
JP3516661B2 (en) Power consumption control device
JP3700831B2 (en) Clock supply method and circuit
US20060202731A1 (en) Semiconductor integrated circuit device
KR0179998B1 (en) Clock signal generator
KR20020083080A (en) Programmable pulse width modulation circuit

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION