US 12,332,681 B1
Clock selection in a clock distribution network
Scott Andrew Emery, Saratoga, CA (US); and James Paul Rivers, Capitola, CA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Jun. 13, 2022, as Appl. No. 17/839,309.
Int. Cl. G06F 1/10 (2006.01); G06F 1/06 (2006.01); G06F 1/08 (2006.01)
CPC G06F 1/10 (2013.01) [G06F 1/06 (2013.01); G06F 1/08 (2013.01)] 15 Claims
OG exemplary drawing
 
1. A method of selecting a clock signal in a clock distribution network, the method comprising:
analyzing a plurality of clock inputs from different sources to determine which of the clock inputs are valid, wherein each of the plurality of clock inputs includes a different clock signal;
selecting a clock input from the plurality of clock inputs based upon the analyzing;
programming a clock switching module with an identifier of the selected clock input;
transmitting the selected clock input to multiple other clock switching modules in the clock distribution network, wherein the clock distribution network includes at least three hierarchical levels of clock switching modules, with each clock switching module at each level including a supervisor processor for switching control signals to control which clock signal is transmitted to a next level in the hierarchical levels;
for each of the plurality of clock inputs, generating a first timestamp when a first pulse occurs, generating a second timestamp when a second pulse occurs, determining a difference between the two time stamps and comparing the difference to a predetermined interval;
assigning a priority order to the clock signals based upon the determined differences and storing the priority order of the clock signals in a priority order register, wherein the supervisor processor uses the priority order in the priority order register to perform the control of which clock signal is transmitted to the next level in the hierarchical levels.