EP0343567A2

Multi-processing system and cache apparatus for use in the same.

Abstract

A main memory (5) is subdivided into a shared region (60, 63) to undergo a write access from a plu­rality of processors (1, 2) and an input/output device (6) and a plurality of private regions (61, 62) to undergo a write access only from the associated proces­sor (1, 2). Each of the cache devices (3, 4) includes a region discriminating circuit (20, 52) for determining whether an address generated from the processor (1, 2) is to be employed for an access the shared region or to the private regions. If the access is to be conducted to the shared region, the cache devices (3, 4) operate according to the write-through method. On the other hand, if the access is to be conducted to the private region, the cache devices (3, 4) operates according to the copy-back method. When the processor (2) or the input/output device (6) rewrites data in the shared region of the main memory (5), the stored data of the shared region in the cache device (3) of the processor (1) is invalidated.

EP0343567A2, drawing sheet 1
Sheet 1 of 9

Term

Term ended

Projected expiry passed 22 May 2009, 17.3 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

4 claims: 2 independent, 2 dependent

  1. 1
    A multi-processing system comprising:(1) a first processor (1) and a second processor (2) each for generating an address;(2) a bus (7);(3) a main memory (5) coupled to said bus (7);(4) an input/output device (6) coupled to said bus (7);(5) a first cache device (3) coupled between said first processor (1) and said bus (7);and (6) a second cache device (4) coupled between said second processor (2) and said bus (7) wherein: said main memory is subdivided into a shared region (60, 63) to undergo a write access from said first processor, said second processor, and said input/­output device and private regions (61, 62) to undergo a write access from said first processor or said second processor;and each of said first and second cache devices includes: (a) a region discriminating circuit (20) for determining whether an address generated from said first or second processor is to be employed for an access to the shared region or to the private region;and (b) a cache control circuit (21) for control­ling a data store operation on said cache devices and on said main memory in response to an output from said region discriminating circuit, the output from said region discriminating circuit causing, when the address generated from said first or second processor is used to access the shared region, said cache devices to effect a data write operation in a write-through method, the output from said region discriminating circuit causing, when the address generated from said first or second processor is used to access the private region, said cache devices to effect a data write operation in a copy-back method.
  2. 2
    A multi-processing system according to Claim 1 wherein said cache control circuit associated with said first cache device invalidates, when said second processor or said input/output device rewrites data in the shared region of said main memory, stored data of the shared region in said first cache device.
  3. 3
    A cache apparatus to be employed in a multi-­processing system comprising first and second processors (1, 2) each for generating an address, a bus (7), a main memory (5) coupled to said bus (7), and an input/output device (6) coupled to said bus (7), said main memory being subdivided into a shared region to undergo a write access from said first processor, said second processor, and said input/output device and private regions to undergo a write access from said first processor or said second processor wherein:said cache apparatus includes a first cache device (3) coupled between said first processor (1) and said bus (7) and a second cache device (4) coupled between said second processor (2) and said bus (7);each of said first and second cache devices including: (a) a region discriminating circuit (20) for determining whether an address generated from said first or second processor is to be employed for an access to the shared region or to the private region;and (b) a cache control circuit (21) for control­ling a data store operation on said cache devices and on said main memory in response to an output from said region discriminating circuit, the output from said region discriminating circuit causing, when the address generated from said first or second processor is used to access the shared region, said cache devices to effect a data write operation in a write-through method, the output from said region discriminating circuit causing, when the address generated from said first or second processor is used to access the private region, said cache devices to effect a data write oper­ation in a copy-back method.
  4. 4
    A cache apparatus according to Claim 3 wherein said cache control circuit associated with said first cache device invalidates, when said second processor or said input/output device rewrites data in the shared region of said main memory, stored data of the shared region in said first cache device.