Examples of the present disclosure generally relate to electronic circuits and, in particular, to a transmitter configured for test signal injection to test AC-coupled interconnect.
Technology complying with the IEEE standard 1149.1 developed by the Joint Test Action Group (JTAG) has been used to successfully test board-level interconnects between devices (e.g., integrated circuits). The IEEE standard 1149.1 (hereinafter referred to as the “JTAG standard” or “JTAG”) specifies sufficient test coverage of faults for direct current-coupled (DC-coupled) interconnects only. A DC-coupled interconnect is a signal path having only wires and series resistances. A DC-coupled interconnect can pass both DC and AC components of a signal. The IEEE standard 1149.6 developed by JTAG is an extension of the JTAG standard that specifies test coverage of faults for AC-coupled interconnects. An AC-coupled interconnect is a signal path having a series capacitance that blocks DC component of a signal and only passes the AC component of the signal.
Integrated circuits (ICs) often include high-speed transceivers that are AC-coupled to board-level interconnects. For example, transceivers can be coupled by a differential signal path for low-voltage differential signaling (LVDS). A transceiver complying with the IEEE standard 1149.6 (hereinafter “AC-JTAG standard” or “AC-JTAG”) includes rest logic that can be used to test the structural correctness of the AC-coupled interconnect. The test logic in a transmitter modulates DC test data onto a time-varying AC waveform that can pass through the AC interconnect. The test logic in a receiver receives the AC waveform from the AC interconnect and recovers the DC test data. A transmitter compliant with AC-JTAG can designed to operate in mission mode (normal operating mode) or test mode. The transmitter should be designed so that the additional circuitry required to implement the test mode does not deleteriously affect the core logic circuitry that implements the mission mode.
Techniques for providing a transmitter configured for test signal injection to test AC-coupled interconnect are described. In an example, a driver circuit includes a differential transistor pair configured to be biased by a current source and including a differential input and a differential output. The driver circuit further includes a resistor pair coupled between a node pair and the differential output, a transistor pair coupled between a voltage supply and the node pair, and a bridge transistor coupled between the node pair. The driver circuit further includes a pair of three-state circuit elements having a respective pair of input ports, a respective pair of control ports, and a respective pair of output ports. The pair of output ports is respectively coupled to the node pair. The pair of control ports is coupled to a common node comprising each gate of the transistor pair and a gate of the bridge transistor.
In another example, an integrated circuit (IC) includes a transmitter having a differential output configured for alternating current (AC)-coupling to interconnect, and test logic configured to generate a test signal and a test enable signal. The IC further includes a driver in the transmitter having a plurality of current-mode logic (CML) stages. A CML stage of the plurality of CML stages includes a differential transistor pair configured to be biased by a current source, the differential transistor pair comprising a differential input and a differential output. The CML stage further includes a resistor pair coupled to the differential output, a transistor pair coupled between the resistor pair and a voltage supply and receiving a gate voltage derived from the test enable signal and a bridge transistor coupled between the resistor pair and receiving a gate voltage derived from the test enable signal. The CML stage further includes a pair of three-state circuit elements coupled to differential output through the resistor pair. The pair of three-state circuit elements receives a differential input voltage derived form the test signal and a control voltage derived from the test enable signal.
In another example, a method of controlling a driver circuit in a transmitter for testing interconnect AC-coupled to the transmitter includes controlling a voltage applied between gates of a differential transistor pair coupled to a differential output of the driver circuit to isolate a current source biasing the driver circuit. The method further includes generating a differential test voltage between inputs of a pair of three-state circuit elements coupled to a node pair, the node pair coupled to the differential output of the driver circuit through a resistor pair. The method further includes generating a control voltage to be coupled to control terminals of the three-stage circuit elements, to gates of a transistor pair coupled between a voltage supply and the node pair, and a gate of a bridge transistor coupled between the node pair. The method further includes controlling the control voltage to enable the three-state circuit elements, to isolate the voltage supply from the node pair, and to isolate the node pair.
These and other aspects may be understood with reference to the following detailed description.
So that the manner in which the above recited features can be understood in detail, a more particular description, briefly summarized above, may be had by reference to example implementations, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical example implementations and are therefore not to be considered limiting of its scope.
To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. It is contemplated that elements of one example may be beneficially incorporated in other examples.
Various features are described hereinafter with reference to the figures. It should be noted that the figures may or may not be drawn to scale and that the elements of similar structures or functions are represented by like reference numerals throughout the figures. It should be noted that the figures are only intended to facilitate the description of the features. They are not intended as an exhaustive description of the claimed invention or as a limitation on the scope of the claimed invention. In addition, an illustrated example need not have all the aspects or advantages shown. An aspect or an advantage described in conjunction with a particular example is not necessarily limited to that example and can be practiced in any other examples even if not so illustrated, or if not so explicitly described.
Techniques for providing a transmitter in an integrated circuit (IC) configured for AC test signal injection are described. The transmitter can be a high-speed serial transmitter in an integrated circuit (IC), such as that used in a multi-gigabit transceiver (MGT). An MGT is a serializer/deserializer (SerDes) that operates at a serial bit-rate above one Gigabit per second (Gbps). The transmitter can employ differential signaling to transmit data, such as low-voltage differential signaling (LVDS). In general, the transmitter is AC-coupled to interconnect that supports high-speed signal transmission. The AC test signal can be generated by AC-JTAG test logic in the IC for the purpose of transmitting an AC waveform capable of testing the interconnect (e.g., a differential signal). The AC test signal is injected at a node in the transmitter downstream from a final clocked circuit element, such as downstream from clocked serialization logic. In an example, the AC test signal is injected at a stage of a driver of the transmitter. Since the AC test signal is injected after the final clocked circuit element, there is no requirement for the transmitter to receiving toggling clock signals while in the test mode. Further, injecting the AC test signal directly into the driver of the transmitter avoids modification to the sequential logic before the driver and, as such, reduces power consumption, reduces wiring complexity, and has negligible impact on timing and speed of the transmitter.
The interconnect 103 comprises a differential pair of transmission lines 112P and 112N (collectively “transmission lines 112”). The interconnect 103 is coupled to the receiver 108 in the IC 102B through coupling capacitors 114P and 114N (collectively “coupling capacitors 114”) and a resistor 116. The resistor 116 comprises a load termination to serve as an impedance match for the transmission lines 112. While the capacitors 114 and the resistor 116 are shown as being outside the ICs 102, in some examples the capacitors 114 and/or the resistor 116 may be disposed within the IC 102B. Also, in other examples, the interconnect 103 can include additional components, such as a resistor providing a source termination or a resistor and voltage source for providing a common-mode DC bias.
In operation, the core logic 104 can use the transmitter 110 in the IC 102A to send high-speed data to the receiver 108 in the IC 102B over the interconnect 103. The high-speed data is transmitted over the interconnect 103 using a differential signal. The transmitter 110 operates in “mission mode” when coupling the high-speed data to the interconnect 103. The test logic 106 can use the transmitter 110 in the IC 102A to send an AC test signal to the receiver 108 in the IC 102B. The transmitter 110 operates in a “test mode” when coupling the AC test signal to the interconnect 103. The AC test signal is also a differential signal, but can have a lower frequency than the high-speed data. For example, the switching-rate of the AC test signal can be on the order of 100 times less than the data rate of the high-speed data (e.g., 10 Megahertz (MHz) versus one or more Gigahertz (GHz) of the high-speed data). In general, the frequency of the AC test signal is less than the frequency of the high-speed data.
As described herein, the transmitter 110 can include a driver configured to inject the AC test signal onto the interconnect 103 when operating in the test mode. The AC test signal is injected after the final clocked circuit element in the transmitter 110. As such, there is no requirement for the IC 102A to provide toggling clocks in the test mode. Further, no modification is required to the sequential logic of the transmitter 110. Adding circuitry to the sequential logic of the transmitter 110 to support injection of the AC test signal increases power consumption, can increase wiring complexity, and can degrade timing margins. As such, injecting the AC test signal after the final clocked circuit element in the transmitter 110 reduces power consumption and wiring complexity, and has negligible impact on timing and speed of the transmitter 110.
The test logic 106 comprises a test access port (TAP) 202 coupled to a boundary scan register (BSR) 206. The TAP 202 includes, among other components, a controller 204 (also referred to as a TAP controller 204). The other components of the TAP 202 include an instruction register, bypass register, multiplexers, and the like, which are well known in the art and are omitted for purposes of clarity. The TAP 202 is coupled to JTAG pins 218 of the 10 pins 216. The JTAG pins 218 include pins for the well-known JTAG interface, such as test data input (TDI), test data output (TDO), test clock (TCK), test mode select (TMS), and optionally test reset (TRS).
The BSR 206 includes DC cells 208 and AC cells 210. The DC cells 208 comprise logic coupled to DC pins 220 of the 10 pins 216. The DC cells 208 are used for testing DC-coupled interconnects. An input of the AC cells 210 is coupled to a test receiver 212 in the receiver 108. In some examples, the IC 102 can include multiple test receivers 212. An output of the AC cells 210 is coupled to an AC test signal generator 214. In some examples, the IC 102 can include multiple AC test signal generators 214. The AC cells 210 are used for testing AC-coupled interconnects. In particular, input cells of the AC cells 210 receive DC test data recovered by the test receiver 212 from a received AC test signal. Output cells of the AC cells 210 provide DC test data to modulate an AC test signal for transmission by the transmitter 110. The BSR 206 can also be coupled to the core logic 104 for receiving and providing data to and from the DC cells 208 and the AC cells 210.
The TAP 202 and the AC test signal generator 214 are each coupled to the transmitter 110. The transmitter 110 can operate in either test mode or mission mode based on a control signal from the TAP 202. In mission mode, the transmitter 110 obtains data from the core logic 104 and transmits the data using a high-speed differential signal, which is coupled to the interconnect through the AC pins 222. In test mode, the transmitter 110 obtains an AC test signal from the AC test signal generator 214 and couples the AC test signal to the interconnect through the AC pins 222. The TAP 202 can initiate the test mode for the transmitter 110 in response to an AC EXTEST instruction (e.g., EXTEST_PULSE or EXTEST_TRAIN instructions defined in AC-JTAG).
The driver 304 includes a differential output 314 comprising a positive end 314P and a negative end 314N. The positive end 314P provides a signal Txp, and the negative end 314N provides a signal Txn. The signals Txp and Txn are centered at a common-mode voltage, and the signal Txn is an inversion of the signal Txp. The data of the serial output 308 is conveyed by the difference between the signal Txp and the signal Txp. The driver 304 also includes a control input 312 and a test input 310. The driver 304 can receive a JTAG enable signal on the control input, and an AC test signal on the test input 310. The JTAG enable signal comprises a single-ended signal that controls whether the driver circuitry 304 is in mission mode or test mode. The AC test signal comprises a single-ended signal that is converted by the driver circuitry 304 into a differential signal and coupled to the differential output 314.
The transmitter 110 can have different variations than the example shown. For example, the serial-to-parallel logic 302 can output the serial signal as a differential signal, rather than a single-ended signal. Likewise, the driver circuitry 304 can receive the test input 310 as a differential signal, rather than a single-ended signal. In another example, the transmitter 110 can receive serial data (single-ended or differential) directly from the IC 102, obviating the need for the serial-to-parallel logic 302.
The driver circuit 404 comprises current-mode logic (CML) configured to drive a differential signal onto the differential output 314. The current-mode logic comprises a plurality of CML circuits 4061 through 406M (collectively CML circuits 406). Each of the CML stages 406 comprises a CML circuit that buffers and conditions the differential signal for transmission. For example, the CML logic can include one or more CML stages 406 operating as pre-drivers and one or more CML stages 406 operating as drivers. One of the CML stages 406 is configured to inject an AC test signal onto the differential output 314 in response to the control input 312 and the test input 310. In the example shown, the CML circuit 4061 is so configured, but in general any of the CML stages 406 can be configured to inject the AC test signal.
In the example, the current source 502 comprises a transistor M1, which is an n-channel field effect transistor (FET), such as an n-type metal oxide field effect transistor (MOSFET) or the like. An n-type MOSFET is also known as an “NMOS” transistor. A source of the transistor M1 is coupled to a reference voltage (e.g., electrical ground). A gate of the transistor M1 is configured to receive a bias voltage Vbias. The voltage Vbias is configured so that the transistor M1 operates in the saturation region and conducts a current Itail. The current source 502 can have other variations than that shown, such as a cascode current source, stacked current source, and the like.
The differential transistor pair 504 comprises a source-coupled pair of transistors M2 and M3. The transistors M2 and M3 comprise n-channel FETs, such as NMOS transistors. Sources of the transistors M2 and M3 are coupled together to form a bias port 514. The bias port 514 is coupled to a drain of the transistor M1. A drain of the transistor M2 is coupled to an output node 512N, and a drain of the transistor M3 is coupled to an output node 512P. The voltage at the output node 512P is referred to as Vop, and the voltage at the output node 512N is referred to as Von. The output nodes 512P and 512N collectively comprise a differential output port 512. A gate 516P of the transistor M2 receives a gate voltage Vip, and a gate 516N of the transistor M3 receives a gate voltage Vin. The gates 516P and 516N of the transistors M2 and M3 collectively comprise a differential input port 516.
The resistor pair 506 comprises a resistor R1 having a terminal coupled to the output node 512N, and a resistor R2 having a terminal coupled to the output node 512P. Another terminal of the resistor R1 is coupled to a node Vcomn. Another terminal of the resistor R2 is coupled to a node Vcomp.
The bridge transistor M4 is coupled between the nodes Vcomn and Vcomp. The bridge transistor comprises a p-channel FET, such as a p-type MOSFET (also referred to as a “PMOS” transistor). A gate of the bridge transistor M4 is coupled to a voltage enJTAG.
The three-state circuit elements 510 comprise a three-state inverter Invp and a three-state inverter Invp. The three-state inverter Invp includes an input coupled to a true voltage dtest The three-state inverter Invn includes an input coupled to a complement voltage
The transistor pair 508 comprises source-coupled transistors M5 and M6. The transistors M5 and M6 each comprise a PMOS transistor. Sources of the transistors M5 and M6 are coupled to a supply voltage Vsup. Gates of the transistors M5 and M6 are coupled to the control voltage enJTAG. A drain of the transistor M5 is coupled to the node Vcomn, and a drain of the transistor M6 is coupled to a node Vcomp.
In operation, the voltage enJTAG determines whether the CML circuit 4061 is in mission mode or test mode. The voltage enJTAG comprises or is derived from the JTAG enable signal from the TAP 202. When enJTAG is a low voltage (i.e., the JTAG enable signal is logic-low), the CML circuit 4061 is in mission mode. When enJTAG is a high voltage (e.g., the JTAG enable signal is logic-high), the CML circuit 4061 is in test mode.
Assume the CML circuit 4061 is in mission mode. In mission mode, the voltage enJTAG is such that the transistors M5 and M6 operate in the triode region and conduct current drawn from the supply by the current source 502. The gate voltage applied to the transistor M4 (enJTAG) turns on the transistor M4, causing a channel to form between source and drain. Hence, the nodes Vcomn and Vcomp are electrically connected through the transistor M4. The transistors M5 and M6 are in parallel and collectively conduct the current Itail. The three-state inverters Invp and Invn are in a high-impedance state (i.e., disabled), preventing the true and complement dtest voltage from being coupled to the nodes Vcomn and Vcomp, respectively.
The differential transistor pair 504 steers the current Itail through either the resistor R1 or the resistor R2, depending on the difference between Vip and Vin. As the difference between Vip and Vin becomes positive, the transistor M2 begins to conduct and the transistor M3 transitions towards the cut-off region. The output node 512N is pulled down towards the reference voltage (e.g., towards Vcomn−R1*Itail) and the output node 512P moves toward the supply voltage Vsup. As the difference between Vip and Vin becomes negative, the transistor M2 transistors towards the cut-off region and the transistor M3 begins to conduct. The output node 512P is pulled down towards the reference voltage (e.g., towards Vcomp−R2*Itail) and the output node 512N moves toward the supply voltage Vsup. Thus, the differential output Vop−Von follows the differential input Vip−Vin.
Now assume the CML circuit 4061 is in test mode. In test mode, the enJTAG voltage is such that the transistors M5 and M6 are cut off and do not conduct current from the supply. The bridge transistor M4 is also cut off, which electrically isolates node Vcomn from Vcomp. The three-state inverters Invp and Invn are enabled. The three-state inverter Invp couples complement test voltage dtest to the node Vcomn (e.g., the logical inverse of the true test voltage). The three-state inverter Invn couples true test voltage dtest to the node Vcomp (e.g., the logical inverse of the complement test voltage). The voltages Vip and Vin can be at the reference voltage (or any voltage less than the threshold voltage of the transistors M2 and M3), causing the transistors M2 and M3 to be cutoff. In such case, current drawn by the three-state inverters Invp and Invn flows through R1 and R2 to the output nodes 512N and 512P, respectively. In this manner, the differential test signal is coupled to the differential input port 516.
The transistors M4, M5, and M6, as well as the three-state inverters Invp and Invn, comprise elements added to a CML stage to inject an AC test signal onto the differential output in a test mode. The added elements do not affect the function of the CML stage in mission mode, and allow injection of the AC test signal onto the differential output in test mode. The additional load of the added elements M4, M5, M6, Invp, and Invn on the CML stage appears as common-mode during normal operation, and thus does not affect the differential output signal in mission mode.
The clock signals clk1 through clkn are configured such that the output of the multiplexing stage 604n provides a serial stream of the data inputs to the driver 304. As discussed above, the driver 304 includes a test input to receive the AC test signal and a control input to receive the JTAG enable signal. The driver 304 includes the test logic to inject the AC test signal, rather than the sequential logic in the serial-to-parallel logic 302. Thus, there is no additional test logic that affects the timing margins of the serial-to-parallel logic 302.
The method 700 includes block 704, where the transmitter 110 generates (or receives) a differential test voltage between inputs of the pair of three-state circuit elements 510 coupled to the node pair Vcomn, Vcomp, where the node pair Vcomn, Vcomp is coupled to the differential output of the driver circuit through the resistor pair 506.
The method 700 includes block 706, where the transmitter 110 generates (or receives) a control voltage to be coupled to control terminals of the three-state circuit elements 510, to gates of the transistor pair 508 coupled between a voltage supply and the node pair Vcomn, Vcomp, and a gate of the bridge transistor M4 coupled between the node pair Vcomn, Vcomp.
The method 700 includes a block 708, where the transmitter 110 or some other circuit (e.g., the TAP 202) controls the control voltage to enable the three-state circuit elements 510, to isolate the voltage supply from the node pair Vcomn, Vcomp, and to isolate the node pair Vcomn, Vcomp.
The driver circuit configured for test signal injection described above can be used in various applications, including on various integrated circuit applications. For example, the driver 304 can be used on a programmable integrated circuit, such as a field programmable gate array (FPGA).
In some FPGAs, each programmable tile can include at least one programmable interconnect element (“INT”) 811 having connections to input and output terminals 820 of a programmable logic element within the same tile, as shown by examples included at the top of
In an example implementation, a CLB 802 can include a configurable logic element (“CLE”) 812 that can be programmed to implement user logic plus a single programmable interconnect element (“INT”) 811. A BRAM 803 can include a BRAM logic element (“BRL”) 813 in addition to one or more programmable interconnect elements. Typically, the number of interconnect elements included in a tile depends on the height of the tile. In the pictured example, a BRAM tile has the same height as five CLBs, but other numbers (e.g., four) can also be used. A DSP tile 806 can include a DSP logic element (“DSPL”) 814 in addition to an appropriate number of programmable interconnect elements. An 10B 804 can include, for example, two instances of an input/output logic element (“IOL”) 815 in addition to one instance of the programmable interconnect element 811. As will be clear to those of skill in the art, the actual I/O pads connected, for example, to the I/O logic element 815 typically are not confined to the area of the input/output logic element 815.
In the pictured example, a horizontal area near the center of the die (shown in
Some FPGAs utilizing the architecture illustrated in
Note that
While the foregoing is directed to specific examples, other and further examples may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.
Number | Name | Date | Kind |
---|---|---|---|
6091277 | Fujii | Jul 2000 | A |
7579876 | Chen | Aug 2009 | B1 |
20070285120 | Venditti | Dec 2007 | A1 |
20090039913 | Matsudera | Feb 2009 | A1 |
20100127746 | Lewison | May 2010 | A1 |
20150058690 | Dia | Feb 2015 | A1 |
Number | Date | Country | |
---|---|---|---|
20160341780 A1 | Nov 2016 | US |