# US 2013/0275686 A1 · Multiprocessor system and method for managing cache memory thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0275686 A1
- Document ID: US20130275686A1
- Status: Published application
- Kind: A1
- Application number: 13/793,023
- Filed: 2013-03-11
- Published: 2013-10-17
- Earliest claimed: 2012-04-17
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: IL PARK; YOUNG PYO JOO
- Web page: https://patentgrep.com/patent/US20130275686A1

## CPC

- G06F 12/0831: using a bus scheme, e.g. with bus monitoring or watching means
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A multiprocessor system includes a plurality of master devices, at least one slave device, and a system bus connecting the master devices to the at least one slave device. At least one of the master devices includes at least one cache memory, and the system bus processes a data write or data read request corresponding a transaction issued to the slave device from at least one of the master devices prior to termination of a snooping operation on the master devices.

## Claims

### Claim 1

A multiprocessor system comprising:
a plurality of master devices, wherein at least one of the master devices comprises at least one cache memory;
at least one slave device; and
a system bus configured to connect the master devices to the at least one slave device,
wherein the system bus processes a data write or data read request corresponding to a transaction issued to the slave device from at least one of the master devices prior to termination of a snooping operation on the master devices.

### Claim 2 (depends on 1)

The multiprocessor system as set forth in claim 1, wherein the transaction is a write transaction, and the system bus writes write data corresponding to the write transaction into the slave device while performing a snooping operation corresponding to the write transaction on the cache memory of the master devices.

### Claim 3 (depends on 1)

The multiprocessor system as set forth in claim 1, wherein the system bus comprises:
a plurality of slave interfaces configured to receive the transaction from a corresponding one of the master devices and decode an address corresponding to the slave device;
a master interface configured to receive the transaction from the slave interface and grant an access right to the slave device to one of the master devices; and
a snoop router configured to perform a snooping operation on the master devices, based on a snoop control signal received from the master interface.

### Claim 4 (depends on 3)

The multiprocessor system as set forth in claim 3, wherein the transaction is a write transaction and the master interface writes write data corresponding to the write transaction into the slave device and transmits the snoop control signal to the snoop router.

### Claim 5 (depends on 3)

The multiprocessor system as set forth in claim 3, wherein the transaction is a write transaction and the master interface writes write data corresponding to the write transaction into the slave device and then or simultaneously transmits the snoop control signal to the snoop router.

### Claim 6 (depends on 3)

The multiprocessor system as set forth in claim 3, wherein the transaction is a write transaction, and wherein if there is valid data in the cache memory of a master device from which the transaction is not issued among the master devices, the snoop router invalidates the valid data when write data corresponding to the write transaction is full-line data, and merges the valid data with the write data and transmits the merged data to the master interface when the write data is partial-line data.

### Claim 7 (depends on 6)

The multiprocessor system as set forth in claim 6, wherein the master interface overwrites the merged data into the slave device.

### Claim 8 (depends on 3)

The multiprocessor system as set forth in claim 3, wherein the transaction is a write transaction, and wherein the snoop router terminates processing of the write transaction when there is no valid data in the cache memory of a master device from which the write transaction is not issued among the master devices.

### Claim 9 (depends on 1)

The multiprocessor system as set forth in claim 1, wherein the transaction is a read transaction, and wherein the system bus reads read data corresponding to the read transaction from the slave device and then or simultaneously performs a snooping operation corresponding to the write transaction on the master devices.

### Claim 10

A method of managing a cache memory of a multiprocessor system comprising:
issuing a transaction to a slave device of the system from at least one of a plurality of master devices of the system;
processing, by a system bus of the system, a data read or data write request corresponding to the transaction; and
snooping, by the system bus, the master device from which the transaction is not issued among the master devices,
wherein the processing of the data read or data write request is performed prior to termination of the snooping of the master device.

### Claim 11 (depends on 10)

The method as set forth in claim 10, wherein the transaction is a write transaction, and wherein the processing of the data write request writes write data from the write transaction into the slave device.

### Claim 12 (depends on 11)

The method as set forth in claim 11, wherein the snooping of the master device determines whether valid data is present in the corresponding master device.

### Claim 13 (depends on 12)

The method as set forth in claim 12, further comprising:
determining whether the write data is full-line data or partial-line data when the valid data is present.

### Claim 14 (depends on 13)

The method as set forth in claim 13, further comprising:
invalidating the valid data when the write data is full-line data;
merging the write data with the valid data when the valid data is partial-line data; and
overwriting merged data obtained by merging the write data and the valid data and invalidating the valid data.

### Claim 15 (depends on 10)

The cache memory management method as set forth in claim 10, wherein the transaction is a read transaction, and wherein the processing of the data read request reads read data corresponding to the read transaction from the slave device.

### Claim 16

A method of managing a cache memory of a system by a system bus of the system, the method comprising:
receiving by the system bus, a write request from a first master device of the system;
writing by the system bus, first data of the write request to the slave device;
after the writing, determining by the system bus, whether second data corresponding to the first data is present within the cache memory of second master device of the system; and
marking by the system bus, the present data in the cache memory as invalid.

### Claim 17 (depends on 16)

The method of claim 16, wherein the second data corresponding to the first data is present when an address of the write request is the same as an address in the cache memory associated with the second data.

### Claim 18 (depends on 16)

The method of claim 16, wherein the marking comprises:
marking an entire cache line of the cache memory corresponding to the second data invalid when the first data is a size of a cache line of the cache memory; and
merging the second data with the first data and marking only a portion of a cache line of the cache memory corresponding to the second data invalid when the first data is smaller than the cache line.

### Claim 19 (depends on 18)

The method of claim 18, further comprising overwriting by the system bus, data of the slave device with the merged data.

### Claim 20 (depends on 16)

The method of claim 16, the marking comprises changing a value of a register in the second master device associated with the present data.
