IP Library Granted Patent US 12,087,381
Granted Patent B2
US 12,087,381 · App. 17/357,181 · Granted Sep 10, 2024

Systems and methods for detecting and configuring lanes in a circuit system

Inventors: Marian Cretu (Munich, DE); Musaravakkam S. Krishnan (Saratoga, CA)
Assignee: Altera Corporation
G11C29/16G06F13/4213G11C29/02G06F1/04G06F1/08G06F11/1048G06F13/00G06F13/423G06F13/4243G06F13/4256G06F2213/0024G11C29/023G11C29/025G11C29/028
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 12,087,381
App. No.
17/357,181
Granted
Sep 10, 2024
Kind
B2
Abstract

An electronic circuit system includes a main device that generates first and second strobe signals and a clock signal, a first peripheral device that uses the first strobe signal to generate a first output signal in a first lane in response to the clock signal, and a second peripheral device that uses the second strobe signal to generate a second output signal in a second lane in response to the clock signal. The main device determines if the first peripheral device is coupled to the main device through the first lane based on the first output signal. The main device determines if the second peripheral device is coupled to the main device through the second lane based on the second output signal. The main device also has the ability to detect if a peripheral device is faulty and to select a valid configuration of peripheral devices.

Claims (52)

1. An electronic circuit system comprising:

a main device that generates first and second strobe signals and a clock signal, wherein the main device comprises a processing integrated circuit;

peripheral devices, wherein each of the peripheral devices comprises a memory integrated circuit; and

lanes, wherein a first one of the peripheral devices uses the first strobe signal with the clock signal to generate a first output signal in a first lane one of the lanes;

wherein a second one of the peripheral devices uses the second strobe signal with the clock signal to generate a second output signal in a second one of the lanes,

wherein the main device determines if the first one of the peripheral devices is coupled to the main device through the first one of the lanes based on the first output signal, wherein the main device determines if the second one of the peripheral devices is coupled to the main device through the second one of the lanes based on the second output signal, and wherein the main device detects a number of the lanes that are coupled to the peripheral devices and that are active in the electronic circuit system.

2. The electronic circuit system of claim 1 ,

wherein a third one of the peripheral devices uses a third strobe signal with the clock signal to generate a third output signal in a third one of the lanes,

wherein the main device generates the third strobe signal, and wherein the main device determines if the third one of the peripheral devices is coupled to the main device through the third one of the lanes based on the third output signal.

3. The electronic circuit system of claim 1 , wherein the main device determines if the first one of the lanes has a faulty connection between the first one of the peripheral devices and the main device based on the first output signal containing a first predefined pattern according to a write leveling algorithm, and wherein the main device determines if the second one of the lanes has a faulty connection between the second one of the peripheral devices and the main device based on the second output signal containing a second predefined pattern according to the write leveling algorithm.

4. The electronic circuit system of claim 1 , wherein the main device adjusts a delay of the first strobe signal relative to the clock signal based on the first output signal to generate a first adjusted strobe signal, and wherein the main device adjusts a delay of the second strobe signal relative to the clock signal based on the second output signal to generate a second adjusted strobe signal.

5. The electronic circuit system of claim 4 , wherein the first one of the peripheral devices uses the first adjusted strobe signal with the clock signal to generate a third output signal in the first one of the lanes, and wherein the second one of the peripheral devices uses the second adjusted strobe signal with the clock signal to generate a fourth output signal in the second one of the lanes.

6. The electronic circuit system of claim 5 , wherein the main device determines if the first one of the peripheral devices is coupled to the main device through the first one of the lanes without a fault based on the first and the third output signals, and wherein the main device determines if the second one of the peripheral devices is coupled to the main device through the second one of the lanes without a fault based on the second and the fourth output signals.

7. The electronic circuit system of claim 5 , wherein the range electronic circuit system powers down the lanes and the peripheral devices determined to be inactive.

8. The electronic circuit system of claim 1 , wherein the main device adjusts a delay of the first strobe signal to the first one of the peripheral devices relative to the clock signal to align an edge of the first strobe signal with an edge of the clock signal, and wherein the main device adjusts a delay of the second strobe signal to the second one of the peripheral devices relative to the clock signal to align an edge of the second strobe signal to an edge of the clock signal.

9. The electronic circuit system of claim 1 , wherein the main device selects a value of the first output signal that occurs most frequently from the first one of the peripheral devices in the first one of the lanes as a final trained value for the first one of the peripheral devices, wherein the main device selects a value of the second output signal that occurs most frequently from the second one of the peripheral devices in the second one of the lanes as a final trained value for the second one of the peripheral devices, and wherein the main device uses the final trained values for the first and the second ones of the peripheral devices to adjust the first and the second strobe signals, respectively.

10. The electronic circuit system of claim 1 , wherein the main device collects errors in the first and the second output signals and determines if the errors in the first and the second output signals have values that are within predefined ranges.

11. A method for detecting lanes coupled to peripheral devices in an electronic circuit system, the method comprising:

generating first and second strobe signals and a clock signal from a main device;

using the first strobe signal at a first one of the peripheral devices to sample the clock signal to generate a first output signal in a first one of the lanes;

using the second strobe signal at a second one of the peripheral devices to sample the clock signal to generate a second output signal in a second one of the lanes; and

detecting a number of the lanes that are coupled to the peripheral devices and that are active in the electronic circuit system using the main device by determining whether the first one of the peripheral devices is coupled to the main device through the first one of the lanes based on the first output signal and determining whether the second one of the peripheral devices is coupled to the main device through the second one of the lanes based on the second output signal.

12. The method of claim 11 further comprising:

generating a third strobe signal from the main device;

using the third strobe signal at a third one of the peripheral devices to sample the clock signal to generate a third output signal in a third one of the lanes; and

determining whether the third one of the peripheral devices is coupled to the main device through the third one of the lanes based on the third output signal.

13. The method of claim 11 , wherein determining whether the first one of the peripheral devices is coupled to the main device comprises determining whether the first output signal contains a first predefined pattern using a write leveling algorithm, and

wherein determining whether the second one of the peripheral devices is coupled to the main device comprises determining whether the second output signal contains a second predefined pattern using the write leveling algorithm.

14. The method of claim 11 , wherein using the first strobe signal at the first one of the peripheral devices further comprises using the first strobe signal at the first one of the peripheral devices in at least two iterations to generate the first output signal and a third output signal in the first one of the lanes by sampling the clock signal, and

wherein using the second strobe signal at the second one of the peripheral devices further comprises using the second strobe signal at the second one of the peripheral devices in at least two iterations to generate the second output signal and a fourth output signal in the second one of the lanes by sampling the clock signal.

15. The method of claim 14 , wherein generating the first and the second strobe signals comprises adjusting a delay of the first strobe signal relative to the clock signal based on the first and the third output signals, and adjusting a delay of the second strobe signal relative to the clock signal based on the second and the fourth output signals.

16. The method of claim 14 , wherein determining whether the first one of the peripheral devices is coupled to the main device further comprises determining whether the first one of the peripheral devices is coupled to the main device through the first one of the lanes based on the first and the third output signals, and

wherein determining whether the second one of the peripheral devices is coupled to the main device further comprises determining whether the second one of the peripheral devices is coupled to the main device through the second one of the lanes based on the second and the fourth output signals.

17. The method of claim 14 further comprising:

determining if a variation of values indicated by the first and the third output signals are within a predefined range to reduce effects of clock jitter; and

determining if a variation of values indicated by the second and the fourth output signals are within the predefined range to reduce the effects of clock jitter.

18. The method of claim 11 further comprising:

detecting a range of attributes of the first one of the peripheral devices using the first strobe signal; and

detecting the range of the attributes of the second one of the peripheral devices using the second strobe signal.

19. A non-transitory computer-readable storage medium comprising instructions stored thereon for causing an electronic circuit system to detect lanes coupled to peripheral devices, wherein the instructions comprise:

instructions executable to generate first and second strobe signals and a clock signal using a main device in the electronic circuit system;

instructions executable to use the first strobe signal at a first one of the peripheral devices to generate a first output signal in a first one of the lanes in response to the clock signal;

instructions executable to use the second strobe signal at a second one of the peripheral devices to generate a second output signal in a second one of the lanes in response to the clock signal; and

instructions executable to detect a number of the lanes that are coupled to the peripheral devices and that are active in the electronic circuit system using the main device by determining whether the first one of the peripheral devices is coupled to the main device through the first one of the lanes based on the first output signal and by determining whether the second one of the peripheral devices is coupled to the main device through the second one of the lanes based on the second output signal.

20. The non-transitory computer-readable storage medium of claim 19 , wherein the instructions further comprise:

instructions executable to generate a third strobe signal from the main device; and

instructions executable to use the third strobe signal at a third one of the peripheral devices to generate a third output signal in a third one of the lanes in response to the clock signal,

wherein the instructions executable to detect the number of the lanes that are coupled to the peripheral devices and that are active in the electronic circuit system further comprise determining whether the third one of the peripheral devices is coupled to the main device through the third one of the lanes based on the third output signal.

21. The non-transitory computer-readable storage medium of claim 19 , wherein the instructions executable to use the first strobe signal at the first one of the peripheral devices further comprise instructions executable to use the first strobe signal at the first one of the peripheral devices in at least two iterations to generate the first output signal and a third output signal in the first one of the lanes in response to the clock signal, and

wherein the instructions executable to use the second strobe signal at the second one of the peripheral devices further comprise instructions executable to use the second strobe signal at the second one of the peripheral devices in at least two iterations to generate the second output signal and a fourth output signal in the second one of the lanes in response to the clock signal.

22. The non-transitory computer-readable storage medium of claim 21 , wherein the instructions executable to detect the number of the lanes that are coupled to the peripheral devices and that are active in the electronic circuit system using the main device further comprise instructions executable to determine whether the first one of the peripheral devices is coupled to the main device through the first one of the lanes based on the first and the third output signals, and

instructions executable to determine whether the second one of the peripheral devices is coupled to the main device through the second one of the lanes based on the second and the fourth output signals.

Assignments (3)
SECURITY INTEREST Recorded Sep 12, 2025
From: ALTERA CORPORATION
To: BARCLAYS BANK PLC, AS COLLATERAL AGENT
Reel/Frame 073431/0309 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2024
From: INTEL CORPORATION
To: ALTERA CORPORATION
Reel/Frame 066353/0886 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 24, 2021
From: CRETU, MARIAN; KRISHNAN, MUSARAVAKKAM S.
To: INTEL CORPORATION
Reel/Frame 056658/0495 →
Continuity (1)
Related Publication 20210319841A1 · Oct 14, 2021