Interface device including ports and a cache memory, and control method thereof
AssigneeCanon Kabushiki Kaisha
InventorTadayuki Ito
Life of this patent
Estimating the term…
Abstract
In order to allow efficient data communication, an interface device that includes N ports, comprises: a cache memory that is shared by the N ports and includes a plurality of cache tags each of which is allocated to one of the N ports; and N cache determination units corresponding to the N ports. Each of the N cache determination units comprises: a determiner configured to determine, based on all of the values of the plurality of cache tags, whether a cache miss has occurred in the cache memory, and an update unit configured to update, when the determiner determines that a cache miss has occurred, cache tag values allocated to a self-port.
Claims16
An interface device that includes N ports, wherein N is an integer greater than or equal to 2, comprising:
- a cache memory that is shared by the N ports and includes a plurality of cache tags, wherein each of the plurality of cache tags is allocated to one of the N ports;
- and
- a cache determination unit corresponding to one of the N ports,
- wherein the cache determination unit comprises:
- a determiner configured to determine that a cache miss has occurred or not in the cache memory based on values of the plurality of cache tags allocated to the N ports if data request is broadcasted, and
- an update unit configured to update, when the determiner determines that a cache miss has occurred, values of the plurality of cache tags allocated to the N ports, and
- wherein, in the determiner,
- a data request address value string in the one of the N ports is configured as a first pipeline,
- a cache tag string in the one of the N ports is configured as a second pipeline which serves as a counterflow pipeline, and
- data request address value strings in the others of the N ports are configured as (N−1) third pipelines, and
- wherein the determiner includes:
- a first determiner configured to perform a cache miss determination by comparing a node of the first pipeline and a node of the second pipeline,
- a second determiner configured to perform the cache miss determination by comparing the node of the first pipeline and nodes of the (N−1) third pipelines, and
- a third determiner configured to perform a final determination by tallying determination results from the first determiner and the second determiner.
A control method of an interface device that includes N ports, wherein N is an integer greater than or equal to 2,
- the interface device comprising a cache memory that is shared by the N ports and includes a plurality of cache tags, wherein each of the plurality of cache tags is allocated to one of the N ports, and a cache determination unit corresponding to one of the N ports,
- the control method comprising:
- determining, by the cache determination unit, that a cache miss has occurred or not in the cache memory based on values of the plurality of cache tags allocated to the N ports if data request is broadcasted, and
- updating, in each of the N cache determination units, when it is determined that a cache miss has occurred, values of the plurality of cache tags allocated to the N ports,
- wherein the determining includes:
- a first determining operation to perform a cache miss determination by comparing data request address values in the one of the N ports and the values of cache tags allocated to the one of the N ports,
- a second determining operation to perform the cache miss determination by comparing data request address values in the one of the N ports and the values of cache tags allocated to the others of the N ports, and
- a third determining operation to perform a final determination by tallying determination results from the first determining operation and the second determining operation, and
- wherein in the determining,
- a data request address value string in the one of the N ports is configured as a first pipeline,
- a cache tag string in the one of the N ports is configured as a second pipeline which serves as a counterflow pipeline,
- data request address value strings in the others of the N ports are configured as (N−1) third pipelines,
- the first determining operation is configured to compare a node of the first pipeline and a node of the second pipeline, and
- the second determining operation is configured to compare the node of the first pipeline and nodes of the (N−1) third pipelines.
A non-transitory computer-readable recording medium storing a program that causes a computer that includes N ports, wherein N is an integer greater than or equal to 2, to function as an interface device comprising:
- a cache memory that is shared by the N ports and includes a plurality of cache tags, wherein each of the plurality of cache tags is allocated to one of the N ports;
- and
- a cache determination unit corresponding to one of the N ports,
- wherein the cache determination unit comprises:
- a determiner configured to determine that a cache miss has occurred or not in the cache memory based on values of the plurality of cache tags allocated to the N ports if data request is broadcasted, and
- an update unit configured to update, when the determiner determines that a cache miss has occurred, values of the plurality of cache tags allocated to the N ports, and
- wherein, in the determiner,
- a data request address value string in the one of the N ports is configured as a first pipeline,
- a cache tag string in the one of the N ports is configured as a second pipeline which serves as a counterflow pipeline, and
- data request address value strings in the others of the N ports are configured as (N−1) third pipelines, and
- wherein the determiner includes:
- a first determiner configured to perform a cache miss determination by comparing a node of the first pipeline and a node of the second pipeline,
- a second determiner configured to perform the cache miss determination by comparing the node of the first pipeline and nodes of the (N−1) third pipelines, and
- a third determiner configured to perform a final determination by tallying determination results from the first determiner and the second determiner.
Dependencies are inferred from the claim text.