This nonprovisional application claims priority under 35 U.S.C. ยง119(a) on Patent Application No. 2011-183250 filed in Japan on Aug. 25, 2011, the entire contents of which are hereby incorporated by reference.
1. Field of the Invention
The present invention relates to a clock divider unit including a plurality of divider circuits.
2. Description of Related Art
In a circuit using a delay-locked loop (DLL) or other circuit in which relatively strong restriction of clock waveform quality (for example, restriction of a jitter to be substantially small) is imposed, in order to reduce an influence of wirings to jitter as much as possible, a divider circuit generating a clock signal needed for the circuit is disposed as close as possible to the target circuit.
If the divided clock generated by the divider circuit and other clock to be synchronized with the divided clock are used only in the target circuit, a reset circuit used for the divider circuit can be a single asynchronous reset circuit. However, if the divided clock is used also in another circuit that has also relatively strong restriction of waveform quality, a plurality of similar divider circuits are necessary. In this case, if the reset circuit for a plurality of divider circuits is still an asynchronous reset circuit, a clock edge when the reset state is released so that dividing action is started may be different among the plurality of divider circuits.
This will be described with reference to
A delayed one of a clock edge 841 corresponds to a clock edge 851, and a delayed one of a clock edge 842 corresponds to a clock edge 852. In
In order that the edge of the source clock for starting the dividing action is stably the same among the plurality of divider circuits, it is necessary to adjust wiring delays of the clock and the reset signal so that the timings of the reset signals reaching the individual divider circuits become uniform. In other words, it is necessary to adjust the wiring delays so that the edge of the reset signal reaches between the common neighboring clock edges (for example, so that the edge of the reset signal reaches between the clock edge timings Tb2 and Tb3 for the input point B, and that the edge of the reset signal reaches between the clock edge timings Tc2 and Tc3 for the input point C). A difference T_bc between time T_ab for the source clock to reach from the branch point a to the input point b and time T_ac to reach the input point c is referred to as a clock skew, and a wiring design of controlling the clock skew to be as small as possible is normally performed in a field of digital integrated circuits. It is possible to apply a similar wiring design to the reset signal too, so as to control a difference T_BC between delay time T_AB between points A and B of the reset signal and delay time T_AC between points A and C to be small. However, in the structure of
Therefore, although substantially impossible, even if both the delay difference T_bc of the clock and the delay difference T_BC of the asynchronous reset signal can be set to zero, it cannot be assured that the dividing action start timings of the divider circuits 811 and 812 are made uniform in the structure of
In view of this, conventionally, there is a countermeasure of synchronizing the reset signal that is asynchronous to the source clock. Specifically, in order to determine a timing relationship between the reset signal and the clock edge, as illustrated in
In the clock divider unit of
The reset signal supplied to the point A of the circuit 813 is synchronized with a rising edge 862 of the source clock supplied to the point d (corresponding to Td3) as illustrated in
The reset signal output from the point D is supplied to the input points B and C of the divider circuit 811 with delay times via individual paths (times a little shorter than the delay times T_db3 and T_dc3 in
Note that there is also proposed a technique to dispose a clock gate before the divider circuit.
Recently, operating frequencies of digital circuits have been increased, and there are many circuits operating at a frequency of a few hundreds megahertz. A frequency of the source clock to be a base of the operation clock at a few hundreds megahertz may reach up to a few giga hertz, and one cycle time of the source clock may be 1 ns or shorter. Further, if a distance between the divider circuits 811 and 812 is increased, it becomes difficult to control the differences (clock skew) among the delay times T_ad, T_ab, and T_ac to be small, and the time from the edge timing Td3 to the edge timing Tb4 or Tc4 (corresponding to T_db4 or T_dc4 in
In order to operate the circuit of
A clock divider unit according to the present invention includes a plurality of divider circuits which divides a common reference clock, and a gate circuit disposed before the plurality of divider circuits, in which the reference clock is supplied to the divider circuits via the gate circuit after a reset state of each divider circuit is released so that dividing action of each divider circuit is allowed.
Hereinafter, an example of an embodiment of the present invention will be described specifically with reference to the attached drawings. In the drawings to be referred to, the same part is denoted by the same numeral or symbol so that overlapping description of the same part is omitted as a rule. Note that in this specification, for simple description, when a numeral or a symbol denotes information, a signal, physical quantity, state quantity, a member, or the like, a name of the information, signal, physical quantity, state quantity, member, or the like may be omitted or abbreviated.
The source clock output from the source clock generating circuit 21 propagates in a common wiring 31 between the circuit 21 and the circuits 13 and 14, and then branches at a branch point a to be supplied to clock input points e and f of the circuits 13 and 14. The reset signal output from the reset signal generating circuit 22 propagates in a common wiring 32 between the circuit 22 and the circuits 11, 12, and 14, and then branches at a branch point A to be supplied to reset signal input points B, C, and F of the circuits 11, 12, and 14. The gate signal generating circuit 14 outputs the gate signal from an output point G1, and the gate signal is supplied to an input point G2 of the gate circuit 13. The gate circuit 13 is a clock gate circuit which controls whether or not to output the source clock supplied to the input point e from an output point h in accordance with the gate signal supplied to the input point G2. Therefore, the source clock output from the output point h is referred to as a gated clock. The gated clock output from the output point h of the gate circuit 13 is supplied to a clock input point b of the divider circuit 11 and a clock input point c of the divider circuit 12 via a wiring between the circuits 13 and 11 and a wiring between the circuits 13 and 12. Hereinafter, the source clock or the gated clock may be simply referred to as a clock.
The reset signal is a voltage signal for controlling whether or not to reset the divider circuits, and has a voltage level of high or low level. The low-level reset signal functions as a reset instruction signal for resetting the divider circuit so as to stop the dividing action of the divider circuit. The high-level reset signal functions as a reset release signal for releasing the reset state of the divider circuit so as to allow the dividing action of the divider circuit.
Therefore, when the low-level reset signal is supplied to the input point B of the divider circuit 11, the divider circuit 11 is reset so that the dividing action of the divider circuit 11 is stopped. When a level of the reset signal at the input point B is switched from the low level to the high level, the reset state of the divider circuit 11 is released, and the divider circuit 11 starts the dividing action at the next rising edge of the clock supplied to the clock input point b. The same is true for the divider circuit 12. The clock is a rectangular wave, and the rising edge of the clock means a change from the low level to the high level of the clock voltage level, or the timing of the change. The same is true for the rising edge of the reset signal. In addition, the rising edge of the clock is simply referred to as a clock edge.
When the dividing action is performed, the divider circuits 11 and 12 respectively divide the source clock supplied as the gated clock from the gate circuit 13 to the input points b and c and output first and second divided signals obtained by the dividing action.
The gate signal generating circuit 14 delays the reset signal received at the input point F by a predetermined time T_FG and outputs the delayed reset signal as the gate signal from the output point G1 (see waveform 305). In the example of
In
For in stance, the gate circuit 13 receives the gate signal by a low-active latch circuit, activates the gate signal in a low level period of the source clock, and turns on and off the gate between the input point e and the output point h while controlling so that no Glitch noise is generated. More specifically, for example, as illustrated in
On the other hand, at timing tB when the delay time corresponding to the wiring between the points A and B passes after the timing tA, the reset signal at the input point B is switched from the low level to the high level (see waveform 310), and thus the reset state of the divider circuit 11 is released so that the dividing action of the divider circuit 11 can be performed (so that the dividing action of the divider circuit 11 is allowed). Similarly, at timing tC when the delay time corresponding to the wiring between the points A and C passes after the timing tA, the reset signal at the input point C is switched from the low level to the high level (see waveform 312), and thus the reset state of the divider circuit 12 is released so that the dividing action of the divider circuit 12 can be performed (so that the dividing action of the divider circuit 12 is allowed).
However, at the timings tB and tC, the gated clock is not active yet (namely, the source clock is not output as the gated clock from the gate circuit 13). Therefore, the divider circuit 11 does not start the dividing action at the timing tB, and the divider circuit 12 does not start the dividing action at the timing tC. Thus, the divider circuits 11 and 12 wait an input of the clock.
The divider circuits 11 and 12 respectively start the dividing action at first clock edges 324 and 325 (corresponding to the timings tb and tc) after the gated clock becomes active. In other words, the divider circuit 11 starts the dividing action at the timing tb, and the divider circuit 12 starts the dividing action at the timing tc. The timing tb is a timing of the first rising edge 324 of the gated clock supplied to the input point b, and the timing tc is a timing of the first rising edge 325 of the gated clock supplied to the input point c. In
Although different from the situation illustrated in
As described above, in this embodiment, the source clock (gated clock) is supplied to the divider circuits via the gate circuit 13 after the reset state of each divider circuit is released so that the dividing action of each divider circuit is allowed (namely, after the timings tB and tC). Therefore, the divider circuits 11 and 12 can securely start the dividing action from the same clock edge (324 and 325) of the source clock. By setting the time after the reset state of each divider circuit is released until the gate circuit 13 is opened (the time after the reset state of each divider circuit is released until the start of output of the source clock from the output point h) to be sufficiently long, it is possible to design wirings under a loose restriction condition, even though the source clock has high frequency. In other words, it is possible to easily design a circuit having a synchronization relationship for a plurality of divider circuits to start operations from the same clock edge, with respect to a high-frequency source clock.
The gate signal generating circuit 14 is further described below. In the gate signal generating circuit 14 of
The gate signal generating circuit 14 can use an arbitrary element or circuit in order to delay the reset signal and obtain the gate signal. For instance, the gate signal generating circuit 14 can be constituted using a delay element 51, a shift register circuit 52, or a counter circuit 53 (see
The delay element 51 delays the reset signal supplied to the input point F by the predetermined time T_FG, and outputs the delayed reset signal as the gate signal from the output point G1. The delay element 51 can be constituted using a simple wire. In this case, it is not necessary to supply the source clock to the gate signal generating circuit 14. However, it is possible to constitute the delay element 51 realizing the above-mentioned delay by using the source clock (in this case, the delay element 51 can be one type of the shift register circuit 52). When the shift register circuit 52 and the counter circuit 53 are used, the reset signal is delayed by using the source clock so that the gate signal is generated. If the delay of four cycles (four periods) of source clock is performed as the example of
It is possible to generate the gate signal under control of software. For instance, in the clock divider unit 1, it is possible to dispose a microcomputer 61 illustrated in
It is not always necessary to supply the source clock to the microcomputer 61 (the gate signal generating circuit in the microcomputer 61), and it is sufficient to generate and output the gate signal in accordance with the reset signal so that a timing relationship similar to
The embodiment of the present invention can be appropriately modified variously in the scope of the technical concept described in claims. The above-mentioned embodiment is merely an example of embodiment of the present invention, and meanings of the present invention and elements thereof are not limited to those described in the above-mentioned embodiment. Specific values shown in the above description are merely examples, which can be changed to various values as a matter of course.
The relationship between the low level and the high-level of each signal may be opposite. The clock divider unit 1 can be mounted in an arbitrary digital circuit and an arbitrary apparatus including the digital circuit (for example, an image pickup apparatus such as a digital camera, a personal computer, and a mobile terminal such as a mobile phone).
Number | Date | Country | Kind |
---|---|---|---|
2011-183250 | Aug 2011 | JP | national |