US 11,928,056 B2
Memory controller for allocating cache lines and method of operating the same
Do Hun Kim, Icheon (KR)
Assigned to SK hynix Inc., Icheon (KR)
Filed by SK hynix Inc., Icheon (KR)
Filed on Feb. 19, 2021, as Appl. No. 17/180,531.
Claims priority of application No. 10-2020-0105641 (KR), filed on Aug. 21, 2020.
Prior Publication US 2022/0058120 A1, Feb. 24, 2022
Int. Cl. G06F 12/06 (2006.01); G06F 13/28 (2006.01)
CPC G06F 12/0646 (2013.01) [G06F 13/28 (2013.01); G06F 2212/608 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A memory controller comprising:
a memory buffer configured to store command data corresponding to a request received from a host; and
a cache memory configured to cache the command data,
wherein the cache memory divides the command data and allocates divided command data to cache lines, based on reference addresses of the memory buffer and a flag, the flag being included in the command data and including a start address and an end address of a storage region in the memory buffer in which the command data is stored, and
wherein when the start address is an address other than the reference addresses, the cache memory:
obtains first divided command data corresponding to a first interval between the start address and a first reference address, which is a next address of the start address, among the reference addresses, the first divided command data being a first part of the command data, and
obtains second divided command data corresponding to a second interval between the first reference address and a second reference address, which is a next address of the first reference address, among the reference addresses, the second divided command data being a second part of the command data.