US 12,067,288 B2
Storage devices including a controller for handling command sequences and methods of operating the same
Che Jen Su, Zhubei (TW); and Bao Ren Guo, Zhubei (TW)
Assigned to SILICON MOTION INC., Hsinchu County (TW)
Filed by SILICON MOTION INC., Zhubei (TW)
Filed on Nov. 23, 2021, as Appl. No. 17/534,283.
Prior Publication US 2023/0161502 A1, May 25, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A disk drive controller of a storage device, comprising:
an interface controller;
a memory controller; and
a processor configured to transmit commands to the memory controller;
the memory controller coupled between the interface controller and the processor and comprising:
a first command queue;
a second command queue; and
a racing handler,
wherein the memory controller is configured to:
store a first command received from the processor in the first command queue;
transmit, to the interface controller, first information associated with the first command, wherein the first command is associated with a first serial number, and the first serial number indicates the order in which the first information is transmitted to the interface controller;
store a second command received from the processor in the second command queue;
transmit, to the interface controller, second information associated with the second command, wherein the second command is received from the processor after the first command;
in response to a second access region of the second command overlapping a first access region of the first command, assign a second serial number to the second command by the racing handler, wherein the second serial number is equal to the first serial number.