The present invention generally relates to digital circuitry and, more particularly, to a clock divider circuit.
Components in digital systems typically operate using a system clock. A system clock provides synchronization to digital circuits in the components to allow the circuits to generate and process information. At various times, different components in a digital system may use clock signals with different frequencies and/or duty cycles. Although multiple clocks may be included in a system to generate clock signals with different frequencies and/or duty cycles, multiple clocks in a system may add cost, complexity, or physical space to a design of the system. As a result, the use of multiple clocks to generate clock signals with different frequencies and/or duty cycles in a digital system may be undesirable.
Various analog or digital circuits may be used to alter the frequency or the duty cycle of a clock signal. These circuits, however, may not provide a clock signal that has a desired frequency and/or duty cycle for a particular digital system. For example, the circuits may not generate a divided clock signal with a 50% duty cycle where the divided clock signal has a frequency that is an odd fraction of the frequency of the system clock (e.g. ⅓, ⅕, {fraction (1/7)}, etc.). In addition, these circuits may not be programmable such that the frequency of a clock signal may be changed at various times.
It would be desirable to be able to generate a clock signal that has a frequency that is a fraction of a frequency of another clock signal.
The present disclosure provides a system that includes a first circuit configured generate a first set of encoded signals in response to a first clock signal and a second circuit configured to generate a second set of encoded signals in response to the first clock signal. The system also includes a third circuit configured to generate a first pulse signal and a second pulse signal in response to the first set of encoded signals and the second set of encoded signals, and a fourth circuit configured to generate a second clock signal in response to the first pulse signal and the second pulse signal.
In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. It is to be understood that other embodiments ma be utilized and structural or logical changes may be made without departing from the scope of the present invention. The following detailed description, therefore, is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.
A clock divider circuit is described and illustrated herein. The clock divider circuit receives a first clock signal such as a system clock signal and generates a second clock signal using the first clock signal. The second clock signal has a duty cycle of 50% and a frequency that is (one divided by n) of the frequency of the first clock signal where n is an integer that is greater than or equal to one. In particular, n may be an odd integer such as 3, 5, or 7 to cause the frequency of the second clock signal to be ⅓, ⅕, or {fraction (1/7)}, respectively, of the first clock signal. In certain embodiments, the clock divider circuit may be programmable such that the value of n may be changed over time.
The following Figures illustrate embodiments of the clock divider circuit using hardware logic elements. Other embodiments not shown herein may use software or a combination of hardware and software to perform one or more of the functions of the clock divider circuit.
Host device 110 may be any type of wired or wireless device configured to operate in conjunction with transceiver 120. Examples of such devices include a server computer system, a personal computer system, a laptop computer system, a handheld computer system, a personal digital assistant, and a mobile telephone.
Transceiver 120 comprises an optical transceiver configured to communicate with host device 110 by sending and receiving digital signals using an electrical connection 152. Electrical connection 152 couples host device 110 to transmitter 122 and may be any suitable serial or parallel connection. One suitable connection would be an 12C connection, as provided by the 12C-Bus Specification available from Philips Semiconductors. Transceiver 120 also communicates with another device (not shown) by sending and receiving optical signals using optical interface 128. Optical interface 128 may be a Fibre Channel interface or another type of optical interface.
In one embodiment, transceiver 120 conforms to the SFF-8074i Specification for SFP (Small Form Factor Pluggable) Transceiver. The SFF-8074i Specification is available from http://www.sffcommittee.com or ftp://ftp.seagate.com/sff/. In other embodiments, transceiver 120 may conform to other specifications.
Transmitter 122 receives digital output signals from host 110 using a connection not shown in
Receiver 124 receives optical input signals from optical interface 128 using a connection 156, converts the optical input signals to digital input signals using an analog-to-digital converter (not shown), and provides the digital input signals to host 110 using a connection not shown in FIG. 1.
Controller 126 provides control signals to and receives feedback signals from transmitter 122 and receiver 124 using a connection 158. Connection 158 may be any suitable serial or parallel connection. One suitable connection would be an 12C connection, as provided by the 12C-Bus Specification available from Philips Semiconductors. Controller 126 includes a microcontroller, firmware, and memory (not shown) for generating the control signals and receiving the feedback signals.
In operation, PIN photo diode 142 receives optical signals from laser 140 using a connection 162. PIN photo diode 142 converts the optical signals to analog signals and provides the analog signals to amplifier 144 using a connection 164. Amplifier 144 amplifies the analog signals and provides the amplified signals to analog-to-digital converter 146 using a connection 166. Analog-to-digital converter 146 comprises a sigma-delta modulator configured to convert the analog signals into digital signals and provide the digital signals to controller 126 using connection 158. In response to receiving the digital signals, controller 126 provides control signals to laser 140 using connection 158. PIN photo diode 142, amplifier 144, and/or analog-to-digital converter 146 comprise a monitoring circuit.
System clock 148 provides a system clock signal to clock divider circuit 150 using a connection 168. Clock divider circuit 150 receives the system clock signal and generates a divided clock signal using the system clock signal. Clock divider circuit 150 provides the divided clock signal to analog-to-digital converter 146 using a connection 170.
The divided clock signal has a frequency of (one divided by n) of the frequency of the system clock signal where n is an integer greater than or equal to one. n may be any integer greater than or equal to one including odd integers that are greater than one. In one particular embodiment, n is three such that the divided clock signal has a frequency that is one-third (⅓) of the frequency of the system clock signal.
In the embodiment of
In the embodiment of
Referring to
Negative edge encoder 214 receives system clock signal 402 from system clock 148 and generates the second set of encoded signals 406. The set of encoded signals 406 changes with each negative edge of system clock signal 402. The set of encoded signals 406 begins with 000 and continues in the following sequence in response to the negative edge of system clock signal 402: 001, 011, 111, 110, 100, 000, etc. In the set of encoded signals 406, the most significant bit corresponds to connection 226a, the next most significant bit corresponds to connection 226b, and the least significant bit corresponds to connection 226c.
As shown in
Referring to
Clock divider circuit 700 comprises a programmable clock divider circuit configured to receive a clock divide signal from controller 720. In response to the clock divide signal, clock divider circuit 700 causes the divided clock signal to have a frequency that is (one divided by n) of the frequency of the system clock signal where n is an integer greater than or equal to one and is determined according to the clock divide signal. In particular, the clock divide signal provided by controller 720 to clock divider circuit 700 causes the frequency of the divided clock signal to be set.
Controller 720 either stores or accesses information used to generate the clock divide signal. The clock divide signal indicates the integer n that determines the frequency of the divided clock signal. Controller 720 generates the clock divide signal and provides the clock divide signal to positive edge encoder 712, negative edge encoder 714, and pulse circuit 716 using a connection 734.
In response to the clock divide signal, positive edge encoder 712 generates a first set of encoded signals. The first set of encoded signals includes a number of signals equal to the value of n indicated by the clock divide signal. Similarly, in response to the clock divide signal, negative edge encoder 714 generates a second set of encoded signals. The second set of encoded signals includes a number of signals equal to the value of n indicated by the clock divide signal. For example, where the clock divide signal indicates that n is five, the first and second sets of encoded signals will each include five signals.
In response to the clock divide signal and the first and second sets of encoded signals, pulse circuit 716 generates the first and second pulse signals and provides the first and second pulse signals to clocked D flip-flop 718. Similar to the embodiment of
Although specific embodiments have been illustrated and described herein for purposes of description of the preferred embodiment, it will be appreciated by those of ordinary skill in the art that a wide variety of alternate and/or equivalent implementations calculated to achieve the same purposes may be substituted for the specific embodiments shown and described without departing from the scope of the present invention. Those with skill in the chemical, mechanical, electro-mechanical, electrical, and computer arts will readily appreciate that the present invention may be implemented in a very wide variety of embodiments. This application is intended to cover any adaptations or variations of the preferred embodiments discussed herein. Therefore, it is manifestly intended that this invention be limited only by the claims and the equivalents thereof.
Number | Name | Date | Kind |
---|---|---|---|
4945229 | Daly et al. | Jul 1990 | A |
5293079 | Knoch | Mar 1994 | A |
5528181 | Suggs | Jun 1996 | A |
5781049 | Fugo | Jul 1998 | A |
6084442 | Bayer | Jul 2000 | A |
6201820 | Palmer | Mar 2001 | B1 |
6404840 | Sindalovsky | Jun 2002 | B1 |
6487674 | White et al. | Nov 2002 | B1 |
Number | Date | Country | |
---|---|---|---|
20040135615 A1 | Jul 2004 | US |