This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2011-283952, filed Dec. 26, 2011; the entire contents of which are incorporated herein by reference.
Embodiments described herein relate to a differential output circuit.
Generally, the maximum transmission speed when communicating using LVDS (Low Voltage Differential Signaling) methods is approximately 2 Gbps. If a higher transmission speed is needed, it is difficult for the LVDS method to meet such a requirement, and the LVDS method needs to be replaced with another method that provides a higher maximum transmission speed. One such possible method is CML (Current Mode Logic). However, even though the maximum data transmission speed in LVDS is lower, it has merit in that it consumes less electricity.
Based on this background, there is not yet a product that provides the merits of both LVDS and CML methods . For instance, if electric current consumption can be high for low-speed transmission, then the CML method is an acceptable option. Or if low electric current consumption without high transmission speeds is acceptable, the LVDS method is an option. But low electric current consumption with high transmission speeds is not available with using these methods individually unless they are combined. Combining circuits incorporating both methods will generally require increasing the required device circuit area, which may not be acceptable for many applications.
Embodiments describe methods for providing low current consumption and high transmission speeds without significant increases in device circuit area.
In general, in the embodiments described herein, a first potential line is connected with an electrical source, and a second potential line is connected with the ground; and a first conductivity type MOS transistor is a pMOS transistor, and a second conductivity type MOS transistor is an nMOS transistor.
According to one embodiment., there is provided a differential output circuit configured to operate in the LVDS mode (second mode) or the CML mode (first mode) without requiring an enlargement of the circuit size.
The differential output circuit according to an embodiment includes first, second, third, and fourth data terminals to which first, second, third, and fourth data signals are input, respectively. The third and fourth data signals are logically inverted signals of the first and second data signals, respectively. The differential output circuit further includes a first variable current source having a first end that is connected to the first potential line, a first MOS transistor of a first conductivity type having a first end that is connected between a first output terminal and a second end of the first variable current source, a first resistor connected between the first output terminal and the second end of the first variable current source, a second MOS transistor of a second conductivity type having a first end that is connected to the first output terminal, a second variable current source having a first end that is connected to the second potential line and a second end that is connected to the second MOS transistor, a third MOS transistor of the first conductivity type connected between the first variable current source and a second output terminal, and a second resistor connected in series with the third MOS transistor between the first variable current source and the second output terminal.
The differential output circuit further includes a fourth MOS transistor of the second conductivity type having a first end that is connected to the second output terminal and a second end that is connected to the second variable current source, a third resistor that is connected between a monitor node and the first output terminal, and a first switch element that is connected in series with the third resistor between the monitor node and the first output terminal. A selection signal for the first switch element is input via a terminal when the second mode (LDVS mode) of operation has been selected. The differential output circuit further includes a fourth resistor that is connected between the second output terminal and the monitor node, and a second switch element that is connected in series with the fourth resistor between the monitor node and the second output terminal. A selection signal for the second switch element is input via the terminal when the first mode has been selected.
A current control circuit of the differential output circuit, when the differential output circuit is in the first mode, controls the current flow to be a certain fixed value according to the impedance of the first variable current source and, when the differential output circuit is in the second mode, compares the voltage at the monitor node and a reference voltage and controls the current flow so that the voltage at the monitor node and the reference voltage are equal.
Moreover, when the differential output circuit is in the first mode, the first and third MOS transistors are controlled to be on, and the second MOS transistor is controlled to be on or off according to the second data signal. Also, the fourth MOS transistor is controlled to be on or off according to the fourth data signal.
When the differential output circuit is in the second mode, the first MOS transistor is controlled to be on or off according to the first data signal, and the second MOS transistor is controlled to be on or off according to the second data signal. Also, the third MOS transistor is controlled to be on or off according to the third data signal, and the fourth MOS transistor is controlled to be on or off according to the fourth data signal.
In the case the differential output circuit is connected to potential lines with opposite polarity, such that the first potential line is connected to the ground, and the second potential line is connected to an electrical source, the first conductivity type MOS transistor is the nMOS transistor and the second conductivity type MOS transistor is the pMOS transistor.
Logic circuit 3 outputs and performs logical operations on the output signal from IP core 104. Pre-driver 2 amplifies an output signal from the logic circuit 3. The output signal from the pre-driver 2, as explained later, contains selection signal Ss, reference voltage Vref, fixed voltage Vg, and the first through fourth data signals SD1, SD2, SD1B and SD2B. The differential output circuit 1 transmits a signal that has been derived from the output signal from the pre-driver 2 through Tout1 and Tout2 of the first and second output terminals using the CML or LVDS method.
The selection terminal TS is input with a selection signal Ss output from the pre-driver 2 when the data is transmitted. The reference voltage Vref is applied to the reference terminal Tref from the output of pre-driver 2 when the data is transmitted. During the transmission process, the first data terminal TD1 will receive an input of the first data signal SD1 from the output of the pre-driver 2; the second data terminal TD2 will receive an input of the second data signal SD2 from the output of the pre-driver 2; the third data terminal TD3 will receive an input of the third data signal SD1B, which is a signal that is logically inverted from the first data signal SD1, from the output of the pre-driver 2; and the fourth data terminal TD4 will receive an input of the fourth data signal SD2B, which is a signal that is logically inverted from the second data signal SD2, from the output of the pre-driver 2. When the data is being transmitted, the first data signal SD1, for example, is equivalent to SD2 of the second data signal. In the same concept, the third data signal SD1B is equivalent to the fourth data signal SD2B.
The first variable current source IS1 is connected to one end of the first potential line VDD. The first variable current source IS1, in this embodiment, includes the fifth MOS transistor (pMOS transistor) M5 of the first conductivity type. The fifth MOS transistor M5 has one end (source) connected to the first potential line VDD, the other end (drain) connected to one end (source) of the first MOS transistor M1, and a gate that is supplied with a control signal SG.
The first MOS transistor M1 has one end connected to the first variable current source IS1 and the other end connected to the first output terminal Tout1. The first resistor R1 is connected in series with the first MOS transistor M1 between the first variable current source IS1 and the first output terminal Tout1. When considering the parasitic capacitance of the first MOS transistor M1 with respect to the first output terminal Tout1, it can seen from
Also, the second MOS transistor M2 has one end (drain) connected to the first output terminal Tout1. The second variable current source IS2 has one end connected to the other end of the second MOS transistor M2 (source), and the other end connected to the second potential line VSS. The second variable current source IS2, in this embodiment, is the sixth MOS transistor (nMOS transistor) M6 of the second conductivity type. The sixth MOS transistor M6 has one end (drain) connected to the other end of the second MOS transistor M2 (source), the other end (source) connected to the second potential line VSS, and gate to which a fixed voltage Vg is applied (via gate terminal Tg).
Also, the third MOS transistor M3 has one end connected to the first variable current source IS1 and the other end connected to the second output terminal Tout2. The second resistor R2 is connected in the series with the third MOS transistor M3 between the first variable current source IS1 and the second output terminal Tout2. When considering the parasitic capacitance of the second MOS transistor M2 with respect to the second output terminal Tout2, it can seen from
The fourth MOS transistor M4 has one end (drain) that is connected to the second output terminal Tout2 and the other end (source) connected to the second variable current source IS2.
The third transistor R3 is connected between the first output terminal Tout1 and the monitor node TM. The first switch element SW1 is connected in series with the third resistor R3 between the first output terminal Tout 1 and the monitor node TM. The first switch element SW1, in this embodiment, is a first conductivity type MOS transistor (pMOS transistor). This first switch SW1 is off in the first mode according to the selection of CML method for the selection signal Ss (CML mode) (e.g., when the selection signal Ss is at a “high” level); and it is on in the second mode according to the selection of the LVDS method for the selection signal Ss (LVDS mode) (e.g., selection signal Ss is at a “low” level). When considering the parasitic capacitance of the first switch element (pMOS transistor) SW1 with respect to the first output terminal Tout1, it can be seen from
The fourth resistor R4 is connected between the second output terminal Tout2 and the monitor node TM. The second switch element SW2 is connected in series with the fourth resistor R4 between the second output terminal Tout2 and the monitor node TM, and in this embodiment, is a first conductivity type MOS transistor (pMOS transistor). The second switch element SW2, is off in the first mode (CML mode) and on in the second mode (LVDS mode). When considering the parasitic capacitance of the second switch element (pMOS transistor) SW2 with respect to the second output terminal Tout2, it can be seen from
The current control circuit CON1, when the differential output circuit 1 is in the first mode (CML mode), controls the current output by the first variable current source IS1 to be a predetermined current corresponding to the impedance of the first variable current source IS1 or a set value (low impedance) (the “on” condition of the fifth MOS transistor M5). On the other hand, the current control circuit CON1, when the differential output circuit 1 is in the second mode (LVDS mode), controls the current output by the first variable current source IS1 according to the reference voltage Vref compared to the monitor voltage VM of the monitor node TM.
The current control circuit CON1 includes, in one embodiment, an amplifier circuit (common mode feedback amp) AMP and the third switch element SW3, as shown in
The third switch element SW3 is connected between the gate of the fifth MOS transistor M5 and the second potential line VSS, and is switched on or off according to the selection signal Ss. This third switch element SW3, in this embodiment, is an nMOS transistor having a gate to which the selection signal Ss is input. For example, the third switch element SW3, is on in the first mode (CML mode) (e.g., when the selection signal Ss is at a high level), and is off in the second mode (LVDS mode) (e.g., when the selection signal Ss is at a low level).
When the data signal control circuit CON2 is in the first mode (CML mode), the first and third MOS transistors M1 and M3 are turned on; the second MOS transistor M2 will be turned on or off according to the second data signal SD2; and the fourth MOS transistor M4 will be turned on or off according to the fourth data signal SD2B.
When the data signal control circuit CON2 is in the second mode (LVDS mode), the first MOS transistor M1 will be turned on or off according to the first data signal SD1; the second MOS transistor M2 will be turned on or off according to the second data signal SD2; the third MOS transistor M3 will be turned on or off according to the third data signal SD1B; and the fourth MOS transistor M4 will be turned on or off according to the fourth data signal SD2B.
The data signal control circuit CON2, in one embodiment, includes first pre-driver PD1, second pre-driver PD2, third pre-driver PD3 and fourth pre-driver PD4.
The first pre-driver PD1 controls the gate voltage of the first MOS transistor Ml based on the selection signal Ss and the first data signal SD1. The first pre-driver PD1, as shown in
The second pre-driver PD2, controls the gate voltage of the second MOS transistor M2 based on the second data signal SD2. The second pre-driver PD2, as shown in
The third pre-driver PD3 controls the gate voltage of the third MOS transistor M3 in response to the selection signal Ss and the third data signal SD1B. The third pre-driver PD3, as shown in
The fourth pre-driver PD4 controls the gate voltage of the fourth MOS transistor M4 in response to the fourth data signal SD2B. The fourth pre-driver PD4, as shown in
The following will describe an example operation of the differential output circuit 1 composed of these components.
Generally during the transmission process, it is unlikely that there will be a sudden switch of the transmission method between LVDS and CML. Typically, the transmission method is determined by the receiver. The differential output circuit 1 allows changes between the LVDS and CML methods in response to the selection signal Ss.
First, when the selection signal Ss chooses the CML method then the first mode will be regulated (CML mode) (Ss is at a high level). In the first mode (CML mode), the third switch element SW3 will be on. Based on the selection signal Ss, the amplifier circuit AMP output will be invalid, and at the same time according to the third switch element SW3, the gate voltage of the fifth MOS transistor M5 will be turned to “low” level, and the fifth MOS transistor M5 is fully turned on. In other words, the current control circuit CON1 controls so that a predetermined current flows by setting the impedance of the first variable current source IS1 at a low impedance value (that is, the fifth MOS transistor M5 is turned on).
Furthermore, in the first mode (CML mode), the first and second switch elements SW1 and SW2 are off. Based on this, the third and fourth resistor R3 and R4 will not transmit any current, and the pathway between the first and second output terminal Tout1 and Tout2 will be open.
Furthermore, in the first mode (CML mode) the data signal control circuit CON2, will apply to the “low” level signal to the gates of the first and third MOS transistor M1 and M3. Also, the second and fourth data signal SD2 and SD2B are applied to the gates of the second and fourth MOS transistor M2 and M4. In other words, in the case of the first mode (CML mode), the data signal control circuit CON2 will turn on the first and third MOS transistor M1 and M3, control the on/off of the second MOS transistor M2 according to the second data signal SD2, and control the on/off of the fourth MOS transistor M4 according to the fourth data signal SD2B.
Similarly, the first, third and fifth MOS transistors M1, M3 and M5 will be fully on, that is, in a situation where the on resistance is low, to allow the first and second resistors R1 and R2 to function. As a result, the differential output circuit 1 enables the CML method.
At this time, the pull-up resistant value related to the first output terminal Tout1 is the total of the on resistance of the fifth MOS transistor M5, the on resistance of the first MOS transistor M1, and the resistance value of the first resistor R1. Also, the pull-up resistant value related to the second output terminal Tout2 is the total of the on resistance of the fifth MOS transistor M5, the on resistance of the third MOS transistor M3, and the resistance value of the second resistor R2. The amplitude of the output signal when the first mode is in action (CML mode) is determined by the total of the pull-up resistant values, and the drain-to-source current passing through the sixth MOS transistor M6. The output current of the sixth MOS transistor M6 is controlled based on the fixed voltage Vg.
The following will explain the situation when the second mode (LVDS mode) has been chosen by the selection signal Ss (the selection signal Ss is at the low level).
The third switch element SW3 is off during the second mode (LVDS mode). Based on the selection signal Ss, the amplifier circuit AMP output will be valid. The amplifier circuit AMP outputs the control signal SG to the gate of the fifth MOS transistor M5, upon comparing the monitor voltage VM and the reference voltage Vref and determining that the monitor voltage VM is equal to the reference voltage Vref . When the monitor voltage VM is higher than the reference voltage Vref, the amplifier circuit AMP restricts the transmitted current from the fifth MOS transistor M5, and when the monitor voltage VM is lower than the reference voltage Vref, the amplifier circuit AMP increases the transmitted current from the fifth MOS transistor M5. In this manner, the current control circuit CON1 in the second mode (LVDS mode) controls the current passing through the first variable current source IS1 in order to make the monitor voltage VM and the reference voltage Vref the same.
Furthermore, the first and second switch elements SW1 and SW2 are on in the second mode (LVDS mode). The monitor voltage (common mode voltage) VM is returned to the input of the amplifier circuit AMP. The monitor voltage VM is generated based on the differential output signal at nodes TXN and TXP received via the third resistor R3 and the fourth resistor R4, respectively, during operation.
Furthermore, in the data signal control circuit CON2 in the second mode (LVDS mode), the first MOS transistor M1 will be turned on or off according to the first data signal SD1, the second MOS transistor M2 will be turned on or off according to the second data signal SD2; similarly the third MOS transistor M3 will be turned on or off according to the third data signal SD1B; and finally the fourth MOS transistor M4 will be turned on or off according to the fourth data signal SD2B. As a result, the differential output circuit 1 enables the LVDS method.
Accordingly, the differential output circuit 1 can be used in a wide range of areas from low to high transmission speeds. Also, the differential output circuit 1 in order to become a unified circuit device for both methods, can allow the increase of the integrated circuit size to be limited. In other words, the differential output circuit 1 restrains the increase of the size of the integrated circuit, and allows the suitability to use either the LVDS or CML method.
The second embodiment explains the other configuration examples of the differential output circuit. The second embodiment can be applied in the semiconductor device in
Here, different from the first embodiment, the fifth MOS transistor M5 which is the first variable current source IS1 has a fixed voltage Vg applied to its gate (gate terminal Tg). Also, at the sixth MOS transistor M6, which is the second variable current source IS2, the control signal SG is input to its gate. Also, the current control circuit CON1a, in the first mode (CML mode), is controlled according to a set current impedance at the second variable current source IS2 or a set value (low impedance) (the “on” condition of the sixth MOS transistor M6). Alternately, in the second mode (LVDS mode), the current control circuit CON1a is configured to control by restraining the transmitted current through the second variable current source IS2, to make sure that the monitor voltage VM of the monitor node TM and the reference voltage Vref are the same.
The current control circuit CON1a includes a third inverter IN3, and an amplifier AMPa and a third switch element SW3a. The third inverter IN3 is connected to the selection terminal TS. The third switch element SW3a is connected between the gate of the sixth MOS transistor and the first potential line VDD, and has a gate to which the output of the third inverter IN3 is connected. The third switch element SW3 is on in the first mode (CML mode) and, off in the second mode (LVDS mode).
The amplifier circuit AMPa in the second mode (CML mode) outputs the control signal SG to the gate of the sixth MOS transistor M6 based on a comparison of the monitor voltage VM and the reference voltage Vref, to make the monitor voltage VM and the reference voltage Vref the same value.
The differential output circuit 1a is different from the first embodiment in that the current control circuit CON1a controls the second variable current source IS2. Yet, the differential output circuit 1a has the same structure in other components and functions with the first embodiment of the differential output circuit 1. In other words, the differential output circuit 1a is the same as the first embodiment that it can be used in a wide range of applications from low to high speeds. Also, the differential output circuit 1 can limit the increase of the integrated circuit size so that a unified circuit that can perform both methods can be implemented. Accordingly, as in the first embodiment, the second embodiment of the differential output circuit can restrain the increase of the circuit size in order to be suitable for both LVDS and CML methods.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Number | Date | Country | Kind |
---|---|---|---|
2011-283952 | Dec 2011 | JP | national |