The present application claims priority from Japanese Patent Application No. 2011-012743 filed on Jan. 25, 2011, the content of which is hereby incorporated by reference into this application.
The present invention relates to a technique of a frequency determining circuit. More particularly, the present invention relates to a technique effectively applied to a frequency determining circuit for determining a frequency from a plurality of data signals having different frequencies and to a semiconductor device including this frequency determining circuit.
For example, a data rate for transferring data between transmitting/receiving LSIs has increased as increase in a speed of an IT device in recent years, and deterioration of the transmitted signal has occurred due to a transmission channel. Therefore, the long-distance high-speed transmission has been difficult. Against such a problem, by inserting an LSI having a waveform shaping function such as a backplane signal conditioner between the transmitting/receiving LSIs, the long-distance high-speed transmission can be achieved. Since the LSI inserted between the transmitting/receiving LSIs is operated at a plurality of transfer rates, a technique of determining a frequency is required.
For example, Japanese Patent Application Laid-Open Publication No. 2009-76965 (Patent Document 1) describes a technique of discriminating a frequency of an input clock signal having any one of a plurality of predetermined frequencies against a problem that a sampling frequency of an input signal cannot be discriminated.
In a conventional technique of determining the frequency including the technique of Patent Document 1 as described above and others, when the frequency is specified from different data signals having a plurality of frequencies, it is difficult to determine the frequency even if a pulse number of each data signal is counted. This is because a counted pulse width is not always shorter than a predetermined pulse width since a pattern of the data signal is not constant and has a mixture of short and long pulse widths. Therefore, it is required to count only the pulse width shorter than the predetermined pulse width from the data signals having the mixture of short and long pulse widths.
Accordingly, the present invention has been made in consideration of the above-described problems, and a main preferred aim thereof is to provide a technique capable of determining a frequency of a data signal having a mixture of short and long pulse widths.
The above and other preferred aims and novel characteristics of the present invention will be apparent from the description of the present specification and the accompanying drawings.
The typical ones of the inventions disclosed in the present application will be briefly described as follows.
That is, in a frequency determining circuit for determining a frequency from different data signals having a plurality of frequencies, the frequency determining circuit has a feature that the different data signals having the plurality of frequencies are acquired to determine the frequency based on the number of counts of the signal having the pulse width shorter than the predetermined pulse width.
More specifically, the frequency determining circuit includes: a data-rate detecting circuit for detecting the signal having the pulse width shorter than the predetermined pulse width; a counter circuit for counting a signal detected by this data-rate detecting circuit; a timer circuit for controlling a section where the frequency is determined; and a controlling circuit for determining the frequency from the number of counts counted by the counter circuit, based on a relation between the frequency and the number of counts which is previously corresponded thereto.
Also, the present invention can be also applied to a semiconductor device including the frequency determining circuit having the feature as described above.
The effects obtained by typical aspects of the present invention will be briefly described below.
That is, the frequency of the data signal having the mixture of short and long pulse widths can be determined.
In the embodiments described below, the invention will be described in a plurality of sections or embodiments when required as a matter of convenience. However, these sections or embodiments are not irrelevant to each other unless otherwise stated, and the one relates to the entire or a part of the other as a modification example, details, or a supplementary explanation thereof. Also, in the embodiments described below, when referring to the number of elements (including number of pieces, values, amount, range, and the like), the number of the elements is not limited to a specific number unless otherwise stated or except the case where the number is apparently limited to a specific number in principle. The number larger or smaller than the specified number is also applicable.
Further, in the embodiments described below, it goes without saying that the components (including element steps) are not always indispensable unless otherwise stated or except the case where the components are apparently indispensable in principle. Similarly, in the embodiments described below, when the shape of the components, positional relation thereof, and the like are mentioned, the substantially approximate and similar shapes and the like are included therein unless otherwise stated or except the case where it is conceivable that they are apparently excluded in principle. The same goes for the numerical value and the range described above.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiments, and the repetitive description thereof will be omitted.
A frequency determining circuit according to embodiments of the present invention is a frequency determining circuit for determining a frequency from different data signals having a plurality of frequencies, and it has a feature that the frequency determining circuit includes a circuit (201) which acquires the different data signals having the plurality of frequencies and determines the frequency based on the number of counts of a signal having a pulse width shorter than a predetermined pulse width.
More specifically, this circuit for determining the frequency includes: a data-rate detecting circuit (301) for detecting the signal having the pulse width shorter than the predetermined pulse width; a counter circuit (302) for counting a signal detected by the data-rate detecting circuit; a timer circuit (303) for controlling a section where the frequency is determined; and a controlling circuit (304) for determining the frequency from the number of counts counted by the counter circuit, based on a relation between the frequency and the number of counts which is previously corresponded thereto.
Each embodiment based on the summary of the embodiments of the present invention described above is specifically explained below. Each embodiment described below is one example using the present invention, and the present invention is not limited by the following embodiments.
A first embodiment of the present invention is explained with reference to
<Configuration of Data-Transfer System>
First, with reference to
The data-transfer system shown in
This data-transfer system is electrically connected from the transmitting-side integrated circuit 101 to the data-transfer integrated circuit 103 via the board 104 and the motherboard 106, and besides, is electrically connected from the data-transfer integrated circuit 103 to the receiving-side integrated circuit 102 via the motherboard 106 and the board 105.
In such a data-transfer system, each of the transmitting-side integrated circuit 101, the receiving-side integrated circuit 102, and the data-transfer integrated circuit 103 is manufactured as, for example, a semiconductor device such as a semiconductor chip obtained by forming each integrated circuit on a semiconductor substrate. In the present invention, among these semiconductor devices, the semiconductor device on which the data-transfer integrated circuit 103 is formed has a feature which is explained in detail below.
<Configuration of Transmission Mechanism Performing Data Transfer of Data-Transfer Integrated Circuit>
Next, with reference to
The data-transfer integrated circuit 103 shown in
The input circuit 202 receives a data from the transmitting-side integrated circuit 101, and outputs the data to the frequency determining circuit 201, the CDR circuit 204, and the selector circuit 206.
The frequency determining circuit 201 determines a frequency of the data received from the input circuit 202 based on a reference clock generated by the PLL circuit 205, and outputs a result of this determination to the selector circuit 206. This frequency determining circuit 201 has a feature that the frequency is determined from different data signals having a plurality of frequencies based on the number of counts of a signal having a pulse width shorter than a predetermined pulse width, which will be described in detail later.
The CDR circuit 204 extracts a clock from the data received from the input circuit 202, recovers the data, and outputs this data to the selector circuit 206.
The PLL circuit 205 generates the reference clock by phase synchronization control, and outputs this reference clock to the frequency determining circuit 201.
The selector circuit 206 takes the data received from the input circuit 202 and the data recovered by the CDR circuit 204 as its input, selects either one data based on the determination result from the frequency determining circuit 201, and outputs the data to the output circuit 203.
The output circuit 203 performs the waveform shaping for the data selected by the selector circuit 206 in a waveform equalizing unit, and then, transfers the data to the receiving-side integrated circuit 102. This output circuit 203 includes the waveform equalizing unit for performing the waveform shaping for the data and outputting the data.
<Configuration of Frequency Determining Circuit>
Next, with reference to
The frequency determining circuit 201 shown in
The data-rate detecting circuit 301 takes a data (DATA) from the input circuit 202 shown in
The counter circuit 302 counts a signal detected by this data-rate detecting circuit 301 from the detection result from the data-rate detecting circuit 301, and outs a result of this count to the controlling circuit 304.
The timer circuit 303 controls a section where the frequency is determined, and outputs a result of this control to the data-rate detecting circuit 301, the counter circuit 302, and the controlling circuit 304. By controlling the section where the data rate (frequency) is determined by this timer circuit 303, an unnecessary circuit can be stopped after the data-rate determination.
The controlling circuit 304 receives the counter result from the counter circuit 302 and the control result from the timer circuit 303, determines the frequency within the section, where the frequency is determined and which is controlled by the timer circuit 303, from the number of counts counted by the counter circuit 302 based on a relation between the frequency and the number of counts previously corresponded thereto, and outputs a result of this determination to the selector circuit 206 shown in
<Configuration and Operation of Data-Rate Detecting Circuit>
Next, with reference to
The data-rate detecting circuit 301 shown in
In
In the operation in the case that the data-rate detecting circuit 301 detects the pulse width shorter than the predetermined pulse width as shown in
For example, when the data signal 419 has a state of a signal pattern “010” (501), it has a shorter pulse width than the predetermined pulse width, and therefore, the detection is required. At this time, an output signal 401 of the FF circuit 410 has a pattern “010” (502), and an output signal 402 of the FF circuit 411 has a pattern “000” (503 and 504). After receiving the output signal 401, an output signal 403 of the FF circuit 412 has a pattern “010” (505). After receiving the output signal 402, an output signal 404 of the FF circuit 413 has a pattern “000” (506 and 507). After receiving the output signal 404, an output signal 405 of the FF circuit 414 has a pattern “000” (508 and 509). After receiving the output signals 403 and 404, an output signal 406 of the EXOR circuit 415 has a pattern “010” (510). After receiving the output signals 403 and 405, an output signal 407 of the EXOR circuit 416 has a pattern “010” (511). After receiving the output signals 406 and 407, an output signal 408 of the AND circuit 417 has a pattern “010” (512). After receiving the output signal 408, an output signal 409 of the FF circuit 418 has a pattern “010” (513).
On the other hand, when the data signal 419 has a state of a signal pattern “0110” (514), it has a longer pulse width than the predetermined pulse width, and therefore, the detection is not required. At this time, the output signal 401 of the FF circuit 410 has a pattern “010” (515), and the output signal 402 of the FF circuit 411 has a pattern “010” (516 and 517). After receiving the output signal 401, the output signal 403 of the FF circuit 412 has a pattern “010” (518). After receiving the output signal 402, the output signal 404 of the FF circuit 413 has a pattern “010” (519 and 520). After receiving the output signal 404, the output signal 405 of the FF circuit 414 has a pattern “010” (521 and 522). After receiving the output signals 403 and 404, the output signal 406 of the EXOR circuit 415 has a pattern “000” (523). After receiving the output signals 403 and 405, the output signal 407 of the EXOR circuit 416 has a pattern “011” (524). After receiving the output signals 406 and 407, the output signal 408 of the AND circuit 417 has a pattern “000” (525). After receiving the output signal 408, the output signal 409 of the FF circuit 418 has a pattern “000” (526).
In the above-described operations, when the data signal 419 has the state of the signal pattern “010” (501), the output signal 409 of the FF circuit 418 has a pattern “010” (513), and, when the data signal 419 has the state of the signal pattern “0110” (514), the output signal 409 of the FF circuit 418 has a pattern “000”. Therefore, only the pulse width shorter than the predetermined pulse width can be detected from the data signal 419 having the mixture of the short and long pulse widths.
The counter circuit 302 connected to the output side of this data-rate detecting circuit 301 counts the pulse of the output signal 409 supplied from the data-rate detecting circuit 301, and supplies the result to the controlling circuit 304.
For example, if the pulse of the data signal is counted without using the present invention, the numbers of counts of both of the data signals are “3”, and therefore, their frequencies cannot be differentiated from each other. That is, by using the present invention, the numbers of counts of the pulses are differentiated depending on the data rate, and, as a result, the frequency can be detected.
The timer circuit 303 connected to this data-rate detecting circuit 301 controls the section where the data rate is determined. By controlling the section where the data rate is determined, an unnecessary circuit can be stopped after the data-rate determination, and therefore, excessive power consumption can be suppressed.
Also, the controlling circuit 304 connected to the counter circuit 302 and the timer circuit 303 receives the result counted by the counter circuit 302, determines the frequency from the number of counts, and outputs the result. For this determination, it is required to previously set which frequency corresponds to the number of counts.
According to the frequency determining circuit 201 configuring the transmission mechanism performing the data transfer of the data-transfer integrated circuit 103 included in the data-transfer system according to the first embodiment as described above, the frequency of the data signal having the mixture of the short and long pulse widths can be determined by providing the circuit which acquires the different data signals having the plurality of frequencies and determines the frequency based on the number of counts of the signal having the pulse width shorter than the predetermined pulse width, more specifically, by providing the data-rate detecting circuit 301, the counter circuit 302, the timer circuit 303, and the controlling circuit 304. And, according to the semiconductor device in which the data-transfer integrated circuit 103 including this frequency determining circuit 201 as an output buffer unit is formed, the operation rate can be judged from the input signal, and output characteristics can be changed in accordance with the result.
A second embodiment of the present invention is explained with reference to
In the present second embodiment, the configuration (
The present second embodiment is different from the above-described first embodiment (
<Configuration and Operation of Part of Data-Rate Detecting Circuit>
With reference to
The part of the data-rate detecting circuit 301 shown in
In
On the other hand,
Also in the present second embodiment described above, the same effect as that of the above-described first embodiment can be obtained, and besides, the frequency of the data signal having the mixture of the short and long pulse widths can be correctly determined since the pulse width much shorter than the predetermined pulse width can be detected by the configuration of the data-rate detecting circuit 301 with the delay circuit 821.
In the part of the data-rate detecting circuit 301 shown in
A third embodiment of the present invention is explained with reference to
In the present third embodiment, the configuration (
The present third embodiment is different from the above-described first embodiment (
Note that the same circuit as those of the above-described first and second embodiments can be used for the frequency determining circuit (
<Configuration of Transmission Mechanism performing Data Transfer of Data-Transfer Integrated Circuit>
With reference to
The configuration of the transmission mechanism performing the data transfer of the data-transfer integrated circuit shown in
This characteristic controlling circuit 1201 is a circuit which includes a selector circuit 1206 for selecting a TAP coefficient from any one of TAP signals 1202, 1203, 1204, and 1205, and can switch the TAP coefficient to any one of the TAP signals 1202, 1203, 1204, and 1205 in this selector circuit 1206 in accordance with a result of the frequency determination outputted from the frequency determining circuit 201. For example, as one example of the TAP signals 1202, 1203, 1204, and 1205 for this TAP coefficient, set signals such as LL level, LH level, HL level, and HH level in ascending order from low to high can be considered.
A result of the switching which is outputted from this characteristic controlling circuit 1201 is inputted to the output circuit 203, and the waveform equalizing unit of this output circuit 203 is controlled based on the switched TAP coefficient. By switching the TAP coefficient, such an output emphasis value as canceling the frequency characteristics of the transmission channel can be set. That is, the characteristics of the transmission mechanism can be controlled by this characteristic controlling circuit 1201.
Also in the present third embodiment described above, the same effect as those of the above-described first and second embodiments can be obtained, and besides, the characteristics of the transmission mechanism can be controlled since the frequency characteristics of the transmission channel can be cancelled by switching the TAP coefficient with using the characteristic controlling circuit 1201. And, according to the semiconductor device in which the data-transfer integrated circuit including this characteristic controlling circuit 1201 as an output buffer unit is formed, the operation rate can be judged from the input signal, and the TAP setting in the waveform equalizing unit can be dynamically changed in accordance with the result.
A fourth embodiment of the present invention is explained with reference to
Similarly to the above-described third embodiment, the present fourth embodiment is different from the above-described first embodiment (
<Configuration of Transmission Mechanism performing Data Transfer of Data-Transfer Integrated Circuit>
With reference to
The configuration of the transmission mechanism performing the data transfer of the data-transfer integrated circuit shown in
This characteristic controlling circuit 1301 includes: a TAP generating circuit 1302 with using delay; a TAP generating circuit 1303 with using FF; and a selector circuit 1304 for selecting either of the TAP generating circuits. The TAP generating circuit 1302 with using delay is directly connected to the input circuit 202, and the TAP generating circuit 1303 with using FF is connected to the CDR circuit 204.
This characteristic controlling circuit 1301 is a circuit for generating emphasis by supplying a signal for selecting the TAP generating circuit 1302 with using delay or the TAP generating circuit 1303 with using FF to the selector circuit 1304 in accordance with the result of the frequency determination outputted from the frequency determining circuit 201 to select either the TAP generating circuit 1302 with using delay or the TAP generating circuit 1303 with using FF. That is, by this characteristic controlling circuit 1301, the characteristics of the transmission mechanism can be controlled.
For example, in a normal operation, in order to perform retiming of the input signal with using the CDR circuit, a waveform for the TAP is generated by the TAP generating circuit 1303 with using FF. As this TAP generating circuit 1303 with using FF, a 4 TAP method or others is considered as one example, in which four FFs are connected in cascade connection to provide a PRE signal (−1 cyc), a MAIN signal, a POST 1 signal (+1 cyc), and a POST 2 signal (+2 cyc). On the other hand, in a low-speed operation, a circuit which uses the clock such as the CDR circuit is stopped, and the waveform is generated by the TAP generating circuit 1302 with using delay. As this TAP generating circuit 1302 with using delay, a 2 TAP method or others is considered as one example, in which one delay is used to provide the MAIN signal and the POST 1 signal (+1 cyc).
Also in the present fourth embodiment described above, the same effect as those of the above-described first and second embodiments can be obtained, and besides, the characteristics of the transmission mechanism can be controlled similarly to the above-described third embodiment since the frequency characteristics of the transmission channel can be cancelled by switching the method for generating the TAP by the characteristic controlling circuit 1301. And, according to the semiconductor device in which the data-transfer integrated circuit including this characteristic controlling circuit 1301 as an output buffer unit is formed, the operation rate is judged from the input signal, and the method for generating the TAP can be dynamically changed in accordance with the result.
A fifth embodiment of the present invention is explained with reference to
Similarly to the above-described third and fourth embodiments, the present fifth embodiment is different from the above-described first embodiment (
<Configuration of Transmission Mechanism performing Data Transfer of Data-Transfer Integrated Circuit>
With reference to
The configuration of the transmission mechanism performing the data transfer of the data-transfer integrated circuit shown in
In the configuration of the transmission mechanism performing the data transfer of this data-transfer integrated circuit, a characteristic controlling circuit 1401 is connected to the frequency determining circuit 201, and variable resistors 1402, 1403 (a P pole of a differential signal), 1404, and 1405 (an N pole of the differential signal) which are connected in series between a power supply and ground are connected to an output of the output circuit 203. These variable resistors 1402, 1403, 1404, and 1405 are controlled by the output of the frequency determining circuit 201.
The characteristic controlling circuit 1401 shown in
For example, in a case of supporting different standards as PCI-Express and 10 G-Ether/FC, one example is considered as follows. In the mode of the PCI-Express, it is set that the output level in the non operation is an intermediate level, and the output level can be also changed so as to fix to H or L. If the frequency determining circuit recognizes the transfer rate of the 10 G-Ether/FC, the output level in the non operation is changed to H or L.
Also in the present fifth embodiment described above, the same effect as those of the above-described first and second embodiments can be obtained, and besides, the plurality of standards can be automatically supported since the output level in the non operation can be switched by varying the output level of the output circuit 203 by the configuration of the characteristic controlling circuit 1401 with the variable resistors 1402, 1403, 1404, and 1405. And, according to the semiconductor device in which the data-transfer integrated circuit including the configuration of this characteristic controlling circuit 1401 with the variable resistors 1402, 1403, 1404, and 1405 as an output buffer unit is formed, the operation rate is judged from the input signal, and the output level in the non operation can be dynamically changed in accordance with the result.
In the foregoing, the invention made by the inventors has been concretely described based on the embodiments. However, it is needless to say that the present invention is not limited to the foregoing embodiments and various modifications and alterations can be made within the scope of the present invention.
The present invention can be used for a frequency determining circuit for determining a frequency from different data signals having a plurality of frequencies and for a semiconductor device including this frequency determining circuit.
Number | Date | Country | Kind |
---|---|---|---|
JP2011-012743 | Jan 2011 | JP | national |