US 11,694,735 B2
Memory controller and method of controlling the memory controller
Daisuke Shiraishi, Tokyo (JP)
Assigned to CANON KABUSHIKI KAISHA, Tokyo (JP)
Filed by CANON KABUSHIKI KAISHA, Tokyo (JP)
Filed on Jan. 19, 2022, as Appl. No. 17/578,797.
Claims priority of application No. 2021-015139 (JP), filed on Feb. 2, 2021.
Prior Publication US 2022/0246187 A1, Aug. 4, 2022
Int. Cl. G11C 7/22 (2006.01); G11C 7/10 (2006.01)
CPC G11C 7/222 (2013.01) [G11C 7/109 (2013.01); G11C 7/1048 (2013.01); G11C 7/1063 (2013.01)] 6 Claims
OG exemplary drawing
 
1. A memory controller configured to access a memory including a plurality of banks, comprising:
a holding circuit configured to hold a plurality of read or write access requests from a bus master;
a read/write control circuit configured to select one of the access requests held in the holding circuit and issue a read command or a write command; and
an active control circuit configured to select the access request held in the holding circuit and issue an active command,
wherein the active control circuit includes
a generation circuit that generates number of activated read commands and number of activated write commands, the number of activated read commands is the total number of read commands of an access for which the active command is issued among the access requests held in the holding circuit, and the number of activated write commands is the total number of the write commands of an access for which the active command is issued among the access requests held in the holding circuit, and
a selection circuit that, when the number of activated read commands is equal to or more than a first threshold, preferentially issues the active command of an read access in which the number obtained by adding the number of read commands of each of the read accesses requiring issue of the active command among the accesses held in the holding circuit and the number of activated read commands is equal to or more than a second threshold and,
when the number of activated write commands is equal to or more than the first threshold, preferentially issues the active command of a write access in which the number obtained by adding the number of write commands of each of the write accesses requiring the issue of the active command among the accesses held in the holding circuit and the number of activated write commands is equal to or more than the second threshold.