IP Library Granted Patent US 8,686,773
Granted Patent B1
US 8,686,773 · App. 13/721,867 · Granted Apr 1, 2014

In-system margin measurement circuit

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,686,773
App. No.
13/721,867
Granted
Apr 1, 2014
Kind
B1
Abstract

A margin circuit for controlling skew between first and second signals in order to determine margin, includes a variable delay circuit and a margin controller. Based on a current code value, the delay circuit applies a delay to the second signal to generate a delayed second signal. The margin controller generates the current code value for the variable delay circuit to be any one of a plurality of available code values. In one embodiment, the margin circuit is a write margin circuit that generates a first clock signal and a delayed second clock signal used to generate transmit (TX) clock and data signals having a non-zero phase offset between them. In another embodiment, the margin circuit is a read margin circuit that applies a phase offset between receive (RX) clock and data signals to enable the RX clock signal to be used to recover data from the RX data signal.

Claims (63)

1. An integrated circuit having a margin circuit for controlling skew between a first signal and a second signal comprising:

a variable delay circuit (e.g., 440 , 1140 , 1240 ) configured to apply a delay to the second signal to generate a delayed second signal, wherein the magnitude of the delay is based on a current code value (e.g., code_out) received at the variable delay circuit; and

a margin controller (e.g., 430 , 1130 , 1230 ) configured to generate the current code value for the variable delay circuit to be any one of a plurality of available code values,

wherein the integrated circuit comprises a programmable logic device having programmable input/output (I/O) circuitry and programmable logic connected to receive incoming signals from and provide outgoing signals to the I/O circuitry.

2. The invention of claim 1 , wherein the margin controller is configured to receive a nominal code value (e.g., code_in), a direction control signal (e.g., direction), and a move control signal (e.g., move), such that:

for a first pulse in the move control signal, the margin controller increments or decrements the nominal code value based on the direction control signal to generate the current code value (e.g., code_out); and

for a subsequent pulse in the move control signal, the margin controller increments or decrements the current code value based on the direction control signal to update the current code value.

3. The invention of claim 2 , wherein the margin controller is configured to generate an overflow control signal (e.g., cout) when the current code value reaches either a maximum code value or a minimum code value.

4. The invention of claim 1 , wherein:

the margin circuit is a write margin circuit (e.g., 400 ) included within an integrated circuit;

the first signal and the delayed second signal are clock signals (e.g., 412 , 442 ); and

the integrated circuit further comprises downstream transmit (TX) circuitry that uses the first clock signal and the delayed second clock signal to generate TX clock and data signals (e.g., 106 , 108 ).

5. The invention of claim 4 , wherein:

the downstream TX circuitry uses the first clock signal to generate the TX clock signal; and

the downstream TX circuitry uses the delayed second clock signal to generate the TX data signal.

6. The invention of claim 1 , wherein:

the margin circuit is a read margin circuit (e.g., 1100 , 1200 ) included within an integrated circuit;

the first signal and the delayed second signal are receive (RX) clock and data signals (e.g., 1142 / 1106 , 1208 / 1242 ); and

the integrated circuit further comprises downstream RX circuitry that uses the clock signal to recover data from the data signal.

7. The invention of claim 6 , wherein:

the first signal is the RX data signal (e.g., 1106 ); and

the delayed second signal is the RX clock signal (e.g., 1142 ).

8. The invention of claim 6 , wherein:

the first signal is the RX clock signal (e.g., 1208 ); and

the delayed second signal is the RX data signal (e.g., 1242 ).

9. A method for characterizing margin of an integrated circuit having a margin circuit for controlling skew between a first signal and a second signal comprising:

providing a margin circuit for controlling skew between a first signal and a second signal, the margin circuit comprising:

a variable delay circuit (e.g., 440 , 1140 , 1240 ) configured to apply a delay to the second signal to generate a delayed second signal, wherein the magnitude of the delay is based on a current code value (e.g., code_out) received at the variable delay circuit; and

a margin controller (e.g., 430 , 1130 , 1230 ) configured to generate the current code value for the variable delay circuit to be any one of a plurality of available code values;

controlling the margin controller to sequentially generate a plurality of different current code values such that the variable delay circuit sequentially applies a plurality of different delays to the second signal to sequentially generate a plurality of different delayed second signals; and

characterizing, for each different delayed second signal, performance of the integrated circuit to determine the margin of the integrated circuit.

10. The invention of claim 9 , wherein the margin of the integrated circuit corresponds to a range of current code values from (i) a smallest current code value for which the corresponding delayed second signal provides acceptable performance of the integrated circuit to (ii) a largest current code value for which the corresponding delayed second signal provides acceptable performance of the integrated circuit.

11. The invention of claim 9 , wherein the margin controller receives a nominal code value (e.g., code_in), a direction control signal (e.g., direction), and a move control signal (e.g., move), such that:

for a first pulse in the move control signal, the margin controller increments or decrements the nominal code value based on the direction control signal to generate the current code value (e.g., code_out); and

for a subsequent pulse in the move control signal, the margin controller increments or decrements the current code value based on the direction control signal to update the current code value.

12. The invention of claim 11 , wherein the margin controller generates an overflow control signal (e.g., cout) when the current code value reaches either a maximum code value or a minimum code value.

13. The invention of claim 9 , wherein:

the margin circuit is a write margin circuit (e.g., 400 );

the first signal and the delayed second signal are clock signals (e.g., 412 , 442 ); and

the integrated circuit further comprises downstream transmit (TX) circuitry that uses the first clock signal and the delayed second clock signal to generate TX clock and data signals (e.g., 106 , 108 ).

14. The invention of claim 13 , wherein:

the downstream TX circuitry uses the first clock signal to generate the TX clock signal; and

the downstream TX circuitry uses the delayed second clock signal to generate the TX data signal.

15. The invention of claim 9 , wherein:

the margin circuit is a read margin circuit (e.g., 1100 , 1200 );

the first signal and the delayed second signal are receive (RX) clock and data signals (e.g., 1142 / 1106 , 1208 / 1242 ); and

the integrated circuit further comprises downstream RX circuitry that uses the clock signal to recover data from the data signal.

16. The invention of claim 15 , wherein:

the first signal is the RX data signal (e.g., 1106 ); and

the delayed second signal is the RX clock signal (e.g., 1142 ).

17. The invention of claim 15 , wherein:

the first signal is the RX clock signal (e.g., 1208 ); and

the delayed second signal is the RX data signal (e.g., 1242 ).

18. The invention of claim 9 , wherein the plurality of different current code values comprises:

a first sub-sequence of current code values from a nominal code value (e.g., code_in) up to a maximum code value; and

a second sub-sequence of current code values from the nominal code value down to a minimum code value.

19. The invention of claim 9 , wherein the integrated circuit is a programmable logic device having programmable input/output (I/O) circuitry and programmable logic connected to receive incoming signals from and provide outgoing signals to the I/O circuitry.

20. An integrated circuit having a margin circuit for controlling skew between a first signal and a second signal comprising:

a variable delay circuit (e.g., 440 , 1140 , 1240 ) configured to apply a delay to the second signal to generate a delayed second signal, wherein the magnitude of the delay is based on a current code value (e.g., code_out) received at the variable delay circuit; and

a margin controller (e.g., 430 , 1130 , 1230 ) configured to generate the current code value for the variable delay circuit to be any one of a plurality of available code values,

wherein the margin controller is configured to receive a nominal code value (e.g., code_in), a direction control signal (e.g., direction), and a move control signal (e.g., move), such that:

for a first pulse in the move control signal, the margin controller increments or decrements the nominal code value based on the direction control signal to generate the current code value (e.g., code_out); and

for a subsequent pulse in the move control signal, the margin controller increments or decrements the current code value based on the direction control signal to update the current code value.

Assignments (5)
SECURITY INTEREST Recorded May 21, 2019
From: LATTICE SEMICONDUCTOR CORPORATION
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS ADMINISTRATIVE AGENT
Reel/Frame 049980/0786 →
RELEASE OF SECURITY INTEREST Recorded May 21, 2019
From: JEFFERIES FINANCE LLC
To: LATTICE SEMICONDUCTOR CORPORATION; SILICON IMAGE, INC.; SIBEAM, INC.; DVDO, INC.
Reel/Frame 049827/0326 →
SECURITY INTEREST Recorded Mar 24, 2015
From: LATTICE SEMICONDUCTOR CORPORATION; SIBEAM, INC.; SILICON IMAGE, INC.; DVDO, INC.
To: JEFFERIES FINANCE LLC
Reel/Frame 035309/0142 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 18, 2013
From: ZHANG, FULONG; KUANG, CHIEN
To: LATTICE SEMICONDUCTOR CORPORATION
Reel/Frame 030028/0285 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 20, 2012
From: ZHANG, FULONG
To: LATTICE SEMICONDUCTOR CORPORATION
Reel/Frame 029510/0411 →