One or more aspects of the invention relate generally to integrated circuits and systems therefor. More particularly, one or more aspects of the invention relate to an Integrated circuit for in-system signal monitoring.
Programmable logic devices (“PLDs”) are a well-known type of integrated circuit (IC) that can be programmed to perform specified logic functions. One type of PLD, the field programmable gate array (“FPGA”), typically includes an array of programmable tiles. These programmable tiles can include, for example, input/output blocks (“IOBs”), configurable logic blocks (“CLBs”), dedicated random access memory blocks (“BRAMs”), multipliers, digital signal processing blocks (“DSPs”), processors, clock managers, delay lock loops (“DLLs”), and so forth. Notably, as used herein, “include” and “including” mean including without limitation.
One such FPGA is the Xilinx Virtex® FPGA (including Virtex, Virtex 2 and Virtex 4) available from Xilinx, Inc., 2100 Logic Drive, San Jose, Calif. 95124. Other PLDs are programmed by applying a processing layer, such as a metal layer, that programmably interconnects the various elements on the device. These PLDs are known as mask programmable devices. PLDs can also be implemented in other ways, for example, using fuse or antifuse technology. The terms “PLD” and “programmable logic device” include but are not limited to these exemplary devices, as well as encompassing devices that are only partially programmable.
For purposes of clarity, FPGAs are described below though other types of PLDs may be used. FPGAs may include one or more embedded microprocessors. For example, a microprocessor may be located in an area reserved for it, generally referred to as a “processor block.”
It should be understood that flip-chip and ball grid array packaging generally do not have exposed leads for probing. Thus, to do real-time debug and verification of a design instantiated in an FPGA, a tool called ChipScope from Xilinx, Inc., may be used. ChipScope facilitates debug and verification at or near operating system speed. Essentially, logic analyzer, bus analyzer, and virtual input/output low-profile software cores are loaded into programmable logic of an FPGA in addition to the instantiated design. These cores allow viewing of internal signals and nodes as brought out through a programming interface, and such signals may be captured for output at or near operating system speed. The FPGA may be linked to test bench equipment for signal viewing and analysis.
However, it should be appreciated that a software core solution, such as the ChipScope solution, is for testing while coupled to a “test bench” or other test equipment. Accordingly, it would be desirable and useful to provide means for testing or monitoring a design instantiated in a PLD while in an in-system operating environment.
One or more aspects of the invention generally relate to integrated circuits and systems therefor. More particularly, one or more aspects of the invention relate to a programmable logic device for in-system signal monitoring.
An aspect of the invention is a system for in-system monitoring of signals. An analog-to-digital converter is disposed in an IC having programmable logic and programmable interconnect. In one instance this IC may be a programmable logic device. A sampling bridge is coupled to provide an analog input to the analog-to-digital converter and coupled to receive first signaling of a first frequency. A signal generator is configured to provide second signaling at a second frequency, the second frequency being a fraction of the first frequency. Sample window circuitry is coupled to receive the second signaling and configured to provide third signaling to the sampling bridge at least partially responsive to the second signaling and at least partially responsive to an adjustable impedance setting of the sample window circuitry. The sample window circuitry is configured to provide an adjustable sample window within a pulse-width range.
Another aspect of the invention is a method for in-system monitoring of signals. A programmable logic device is provided. While operating the programmable logic device, a reference signal having a first frequency is generated within the programmable logic device. The reference signal is converted into a first differential signal which has an adjustable pulse width. A second differential signal having a second frequency is obtained, where the first frequency is a fraction of the second frequency. The second differential signal is sampled responsive to the pulse width of the first differential signal to provide a signal sample as an analog signal. The analog signal is converted to a digital signal in the programmable logic device.
Accompanying drawing(s) show exemplary embodiment(s) in accordance with one or more aspects of the invention; however, the accompanying drawing(s) should not be taken to limit the invention to the embodiment(s) shown, but are for explanation and understanding only.
In the following description, numerous specific details are set forth to provide a more thorough description of the specific embodiments of the invention. It should be apparent, however, to one skilled in the art, that the invention may be practiced without all the specific details given below. In other instances, well known features have not been described in detail so as not to obscure the invention. For ease of illustration, the same number labels are used in different diagrams to refer to the same items; however, in alternative embodiments the items may be different.
In some FPGAs, each programmable tile includes a programmable interconnect element (“INT”) 111 having standardized connections to and from a corresponding interconnect element 111 in each adjacent tile. Therefore, the programmable interconnect elements 111 taken together implement the programmable interconnect structure for the illustrated FPGA. Each programmable interconnect element 111 also includes the connections to and from any other programmable logic element(s) within the same tile, as shown by the examples included at the right side of
For example, a CLB 102 can include a configurable logic element (“CLE”) 112 that can be programmed to implement user logic plus a single programmable interconnect element 111. A BRAM 103 can include a BRAM logic element (“BRL”) 113 in addition to one or more programmable interconnect elements 111. Typically, the number of interconnect elements included in a tile depends on the height of the tile. In the pictured embodiment, a BRAM tile has the same height as four CLBs, but other numbers (e.g., five) can also be used. A DSP tile 106 can include a DSP logic element (“DSPL”) 114 in addition to an appropriate number of programmable interconnect elements 111. An IOB 104 can include, for example, two instances of an input/output logic element (“IOL”) 115 in addition to one instance of the programmable interconnect element 111. 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 115 are manufactured using metal layered above the various illustrated logic blocks, and typically are not confined to the area of the I/O logic element 115.
In the pictured embodiment, a columnar area near the center of the die (shown shaded in
Some FPGAs utilizing the architecture illustrated in
Note that
In the following disclosure, real-time sampling of repetitive signals is described. Notably, relatively fast rise time MGT signals are sampled at a lower frequency using a sliding sample window. This sliding sample window is effectively a narrow aperture sampler. This narrow aperture sampler may be used to sample MGT signals at target points of interest. For example, target points of interest may be an MGT receiver and an MGT transmitter. It should be appreciated that sampling may be done synchronously, asynchronously or randomly.
Thus, the following description involves in-situ or in-system signal monitoring using an FPGA. The FPGA may be operating at full speed, though full bandwidth output of such FPGA need not be used. Repetitive measurement using a sliding sample window may be used to measure a repetitive signal. For example, a repetitive gigahertz frequency signal may be progressively sampled at hundreds of kilohertz by sliding a sampling window sequentially. Such a sample window may be incrementally moved to capture a trigger recognition point at some moment of time. For purposes of clarity by way of example, a 200 kSPs, 10-bit ADC is used for sampling an 11 gigahertz MGT repetitive signal, though it should be appreciated that other sampling rates, as well as other signaling frequencies, may be used. A sub-harmonic clock, namely a clock having a frequency which is some fraction of the transmission/reception frequency of the MGT, may be used to provide a reference signal sampling frequency. It should be appreciated that it may not be necessary to have a priori knowledge of a trigger pattern, as measurement may be premised solely on timing or timing events.
Controller and signal generator 320 provides sampling reference signal 304. Sampling reference signal 304 may be provided having a fraction of the frequency of reference output signal 313. Thus, for example, a sub-harmonic clock may be used to generate sampling reference signal 304 in a kilohertz range for sampling of reference output signal 313, which is in a gigahertz range. Notably, reference signal 304 need not be gated with a clock signal, but may be asynchronous to a signal being sampled by sampling bridge 305. However, the rate of such sampling responsive to reference signal 304 is limited by the sampling rate of ADC 206 of
Sampling reference signal 304 is provided as an input to differential output buffer 302 of sample window circuitry 318. A negative side output 316 of differential output buffer 302 may be provided to an impedance 303 of sample window circuitry 318. Impedance 303 may be used to provide a delay for sampling bridge 305. Positive side output 317 from differential output buffer 302 and negative side output 316 after passing through impedance 303 may be provided to respective terminals of transformer 301 of sample window circuitry 318. These respective terminals coupled to receive differential output from differential output buffer 302 may be considered input terminals of a primary winding of transformer 301. A secondary winding of transformer 301 may be adjustably coupled to ground, and output terminals of such secondary winding of transformer 301 may be used as respective inputs 314 and 315 to sampling bridge 305. Accordingly, it should be appreciated that a secondary winding of transistor 301 is adjusted to provide an impedance sufficient to drive sampling bridge 305. By adjusting impedance of transformer 301 of sample window circuitry 318 such as responsive to a control signal 319 from controller 320, a sample window pulse may be variably generated for sampling bridge 305. This pulse, which may be on the order to 20 to 100 picoseconds wide, may be used to provide a sliding window or narrow aperture for capturing or sampling a high frequency signal, such as a differential signal in a gigahertz range in this example.
For sampling bridge 305 implemented externally to FPGA 100, as illustratively shown in
Thus, it should be appreciated that differential buffers 306 and 307 may form part of an MGT 325 of an FPGA 100, such as one of MGTs 101 of
It should also be appreciated that FPGA 100, via DCM 321 for example, may be used to provide all of the timing for a diagnostic or monitoring mode. Thus, all phasing, timing, and clock skew, as well as other reference signal parameters, may be controlled by FPGA 100. FPGA 100 may occupy a central hub of coherence for temporal flow of information within a system owing to the ability to controllably generate reference signals.
Sampling of a gigahertz signal using a narrow aperture signal, namely sampling bridge 305, has been described for purposes of sampling output of an MGT transmitter, namely differential output buffer 307. However, another location of interest for sampling may be input to a receiver of MGT 325, namely differential input buffer 306. Thus, sampling bridge 305 may be configured to switch between input pairs, namely to switch between either receiving inputs 311 and 312 as output from differential output buffer 307, or obtaining positive side input 308 and negative side input 309 for differential input buffer 306 as inputs to sampling bridge 305, as those inputs are provided to respective positive and negative terminals of differential input buffer 306. Alternatively, a separate sampling bridge may be used as illustratively shown in
Output from sampling bridge 305 may be provided as an external input 210-1 to system monitor 200 or, more particularly, to multiplexer 207 of
Output of multiplexer 207 may thus be controllably selected to provide analog signal 210-1 to ADC 206 for conversion to a digital output. Control signal 211 may be responsive to a test period. Thus, it should be understood that sampling bridge 305, by providing a narrow aperture, may be used to sequentially sample a repetitive gigahertz signal. By putting a narrow aperture sampling gate in front of system monitor 200, not only can diagnostics be run at a microchip level, but such diagnostics may be done while operating FPGA 100 in a system environment.
In
It should be appreciated that one channel may be operational while another channel is being tested or monitored. For example, receiver 306 may be operational within a system to provide output 310 to a design instantiated in programmable logic of FPGA 100. Meanwhile, controller and signal generator 320 may be generating reference output signal 313, which is provided to sampling bridge 305-T via output signals 311 and 312. Thus, output of sampling bridge 305-T, which may have a capture window adjustably set via at least in part transformer 301, provides an analog output 210-1 to system monitor 200 for diagnostic testing or monitoring. Notably, the reverse may be done, where while operating differential output buffer 307 with information from an instantiated design in an operating mode, inputs 308 and 309 to FPGA 100 are being sampled by sampling bridge 305-R for a diagnostic or monitoring mode. Furthermore, it should be appreciated that multiple channels may be concurrently operated.
With continuing reference to
Furthermore, the speed of ADC 206 of
At this point, it should be appreciated that FPGA 100 may be used to monitor and perform measurement of signal characteristics. This on-chip measurement may be processed by an ADC, such as ADC 206 of
It should be understood that although FPGA 100 of
Additionally, because an FPGA may be configured to provide self-reference signals, such FPGA may be the source of system temporal coherence. FPGAs implemented in such system applications may provide timing and control information for such systems. Furthermore, it should be appreciated that because FPGA 100 may be used for continuous monitoring within a system, FPGA 100 may be used to identify unstable or uncorrelated events. For example, when FPGA 100 is implemented on a line card, and such line card is plugged into a back plane, though incorrectly, FPGA 100 may be able to determine that such line card is improperly plugged in by monitoring of channels, for example.
Notably, FPGA 100 provides a synchronous-to-asynchronous interface. Again, a repetitive reference signal may be provided; however, sampling may be correlated to any time at which samples may be taken and are not necessarily correlated to a clock. Alternatively, FPGA 100 may be correlated to a clock where control signal 304 of
While the foregoing describes exemplary embodiment(s) in accordance with one or more aspects of the invention, other and further embodiment(s) in accordance with the one or more aspects of the invention may be devised without departing from the scope thereof, which is determined by the claim(s) that follow and equivalents thereof. For example, FPGA programmable logic and a processor embedded in the FPGA may in combination be configured to provide application-specific signal processing. For example, FPGA programmable logic may be configured to provide waveform averaging or digital signal processing blocks of the FPGA may be configured to provide windowing, either of these configurations may be combined with an embedded or external processor operating responsive to Fast Fourier Transform software. Notably, rather than using an embedded processor in an FPGA, FPGA programmable logic may be configured to provided a “soft” processor. Claim(s) listing steps do not imply any order of the steps. Trademarks are the property of their respective owners.
Number | Name | Date | Kind |
---|---|---|---|
4634998 | Crawford | Jan 1987 | A |
4659945 | Metz | Apr 1987 | A |
5014018 | Rodwell et al. | May 1991 | A |
5121067 | Marsland | Jun 1992 | A |
5122800 | Philipp | Jun 1992 | A |
6247147 | Beenstra et al. | Jun 2001 | B1 |
6297760 | Hungerbuehler et al. | Oct 2001 | B1 |
6397048 | Toda | May 2002 | B1 |
6887339 | Goodman et al. | May 2005 | B1 |
7138820 | Goetting et al. | Nov 2006 | B2 |
7242217 | van Wageningen et al. | Jul 2007 | B2 |
7245638 | Agazzi et al. | Jul 2007 | B2 |
7348914 | Hazanchuk et al. | Mar 2008 | B1 |
7382304 | Stein | Jun 2008 | B2 |
20030061010 | Durston | Mar 2003 | A1 |
20070200550 | Corredoura | Aug 2007 | A1 |