KR850001016B1 - Buffer memory control system of the swap system - Google Patents

Buffer memory control system of the swap system Download PDF

Info

Publication number
KR850001016B1
KR850001016B1 KR1019800004652A KR800004652A KR850001016B1 KR 850001016 B1 KR850001016 B1 KR 850001016B1 KR 1019800004652 A KR1019800004652 A KR 1019800004652A KR 800004652 A KR800004652 A KR 800004652A KR 850001016 B1 KR850001016 B1 KR 850001016B1
Authority
KR
South Korea
Prior art keywords
data
memory
signal
replacement
block
Prior art date
Application number
KR1019800004652A
Other languages
Korean (ko)
Inventor
마사노리 다까하시
Original Assignee
후지쓰가부시끼가이샤
고바야시 다이스께
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 후지쓰가부시끼가이샤, 고바야시 다이스께 filed Critical 후지쓰가부시끼가이샤
Priority to KR1019800004652A priority Critical patent/KR850001016B1/en
Application granted granted Critical
Publication of KR850001016B1 publication Critical patent/KR850001016B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

A control system for a buffer memory in a swap system processes ordinary memory access only to the buffer memory, and when no data in a requested address exists in the buffer memory, moves out any one of the blocks to a main memory and moves into the buffer memory a block including the data for the requested address. In the processing of writing data in an area that is equal to or an integral multiple of the block of the buffer memory, when the detecting mechanism determines that the data corresponding to a write address does not exist in the buffer memory, the data is written directly in the replace block of the buffer memory without preforming the operation of moving into the block from the main memory.

Description

스와프(swap) 방식의 버퍼 메모리 제어 시스템Swap Buffer Memory Control System

제1도는 본 발명에 의한 실시예의 버퍼 메모리 회로를 나타낸 블록 다이어그램.1 is a block diagram showing a buffer memory circuit of an embodiment according to the present invention.

제2도는 제1도의 버퍼 메모리 회로중 데이터 메모리 부분을 보이는 블록 다이어그램.FIG. 2 is a block diagram showing a data memory portion of the buffer memory circuit of FIG.

제3도는 본 발명의 실시예의 버퍼 메모리 기록(write) 제어수단을 보이는 블록 다이어그램.3 is a block diagram showing buffer memory write control means in an embodiment of the invention.

제4도는 제3도에 예시된 제어 시프트 레지스터의 설명도.4 is an explanatory diagram of the control shift register illustrated in FIG.

제5도는 제3도에서 사용된 기록 데이터 제어회로의 주요 부분을 보이는 블록 다이어그램.FIG. 5 is a block diagram showing the main part of the write data control circuit used in FIG.

제6도는 제1도에 사용된 기록 제어 수단의 주요 부분을 보이는 블록 다이어그램.FIG. 6 is a block diagram showing the main part of the recording control means used in FIG.

본 발명은 통상의 메모리 액세스 처리를 버퍼 메모리에 대해서만 행하고, 상기 버퍼 메모리에 아무런 리퀘스트 어드레스(request address)의 데이터가 존재하지 않을 때만 상기 버퍼 메모리 내의 어떤 블록을 주메모리에 송출(move-out)하고, 그 주메모리로 부터 리퀘스트 어드레스의 데이터를 포함한 블록을 버퍼메모리에 송입(move-in)하는 스와프 방식의 버퍼 메모리 제어 시스템에 관한 것으로, 특히 버퍼메모리에 아무런 리퀘스트 어드레스의 데이터가 존재하지 않을때 데이터가 특정 조건하에서 버퍼 메모리에 직접 기록(written-in) 되도록한 버퍼 메모리 제어 시스템에 관한 것이다.The present invention performs normal memory access processing only for the buffer memory, and moves a block in the buffer memory to the main memory only when there is no data of any request address in the buffer memory. And a swap-type buffer memory control system for moving a block containing data of a request address from the main memory into a buffer memory, particularly when no request address data exists in the buffer memory. Is directed to a buffer memory control system that allows a written-in directly to the buffer memory under certain conditions.

버퍼 메모리와 주메모리를 가지고 있는 종래의 처리장치에 있어서는 버퍼 메모리내에 데이터가 기록(written-in)될 때 태그(tag=flag)를 검색하여 버퍼 메모리에 리퀘스트 어드레스의 데이터가 있는지 없는지를 판정하는데, 버퍼메모리에 리퀘스트 어드레스의 데이터가 있는 경우에는 버퍼메모리로부터 리퀘스트 어드레스의 데이터를 포함하고 있는 블록을 독출(read-out)하고, 기록 데이터와 조합(merge)한 다음 버퍼메모리내에 다시 기록시키고, 리퀘스트 어드레스의 데이터가 없는 경우에는 교체(replace) 회로에 의해 결정된 버퍼 메모리의 교체 대상 블록을 주메모리에 송출하고 리퀘스트 어드레스의 데이터를 포함하는 블록을 주메모리에서 독출(read-out)하여 기록 데이터와 조합한 후, 버퍼 메모리내에 기록시켰다. 즉, 리퀘스트 어드레스의 데이터가 버퍼 메모리 내에 없을 때마다 리퀘스트 어드레스의 데이터를 포함하고 있는 블록이 주메모리에서 버퍼 메모리내로 송입(move-in)된다. 덧붙여 말하자면, 버퍼 메모리의 관리단위(control unit)인 블록과 동일 크기를 갖거나 또는 정수배의 크기를 갖는 영역에 대한 기록 명령(블록기억명령)을 처리할경우 블록 전체가 재기록 되기 때문에 주메모리에서 버퍼 메모리로 송입된 블록 내용은 하등의 의미를 갖지 않게 된다. 따라서 상기 기록 명령의 처리에 있어서는 주메모리를 독출하는 시간이 이를테면 무효동작 시간으로 되어 버린다. 이러한 스와프 시스템은 미국 특허 제3,771,137호와 제3,848,234호에 발표되어 있다.In a conventional processing apparatus having a buffer memory and a main memory, when data is written-in in the buffer memory, a tag (tag = flag) is searched to determine whether or not there is data of a request address in the buffer memory. If there is data of the request address in the buffer memory, the block containing the data of the request address is read out from the buffer memory, merged with the write data, and then written back into the buffer memory. If there is no data, the block to replace the buffer memory determined by the replace circuit is sent to the main memory, and the block containing the data of the request address is read out from the main memory and combined with the write data. Then, it was written into the buffer memory. That is, whenever the data of the request address is not in the buffer memory, the block containing the data of the request address is moved from the main memory into the buffer memory. Incidentally, when the write command (block memory command) is processed for an area having the same size as the control unit of the buffer memory or an integer multiple, the entire block is rewritten so that the buffer is stored in the main memory. The block contents sent to the memory do not have any meaning. Therefore, in the processing of the write command, the time for reading the main memory becomes, for example, an invalid operation time. Such a swap system is disclosed in US Pat. Nos. 3,771,137 and 3,848,234.

본 발명의 목적은 상술한 버퍼 메모리의 관리 단위인 블록과 동일한 크기의 또는 그것의 정수배 크기의영역에 대한 기록명령의 처리속도를 향상시키는 것이다.It is an object of the present invention to improve the processing speed of a write command for an area of the same size as the block, which is the management unit of the above-described buffer memory, or an integer size thereof.

본 발명을 간단히 요약하면, 통상의 메모리액세스 처리를 버퍼 메모리에 대해서만 행하고, 상기 버퍼 메모리에 리퀘스트 에드레스의 데이터가 존재하지 않을 때만 버퍼 메모리내의 어떤 블록을 주메모리로 송출하고 주메모리로부터 리퀘스트어드레스의 데이터를 포함한 블록을 송출하는 스와프 방식의 버퍼 메모리 제어 시스템에 있어서는, 리퀘스트 어드레스의 데이터를 포함하고 있는 블록이 버퍼 메모리에 존재하는가를 검출하는 수단과, 주메모리에 대한 교체 블록이 버퍼 메모리내에 격납된 후 변경되었는가를 검출하는 수단을 구비하고 있다. 버퍼 메모리의 블록과 동일한 크기의 또는 정수배의 크기의 영역에 대한 기록 명령을 처리하는데 있어서, 기록 어드레스에 해당하는 데이터가 버퍼 메모리에 존재하지 않는다는 것이 검출되면, 주메모리로부터 버퍼 메모리에 교체블록을 송입하지 않고, 버퍼 메모리의 교체 블록에 데이터가 직접 기록된다.In summary, the present invention performs normal memory access processing only for the buffer memory, sends out a block in the buffer memory to the main memory only when there is no data of the request address in the buffer memory, and returns the request address from the main memory. In a swap type buffer memory control system for sending a block including data, means for detecting whether a block containing data of a request address exists in the buffer memory, and a replacement block for the main memory is stored in the buffer memory. And a means for detecting whether it has been changed later. In processing a write command for an area of the same size or an integer multiple of the block of the buffer memory, if it is detected that no data corresponding to the write address exists in the buffer memory, a replacement block is sent from the main memory to the buffer memory. Instead, data is written directly to the replacement block of the buffer memory.

이하 본 발명을 첨부 도면에 의해 설명한다.BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described below with reference to the accompanying drawings.

제1도는 본 발명의 실시예를 블록형태로 나타낸 것이다. 예시 부호 1-1∼1-n는 64바이트가 한블록을 형성하도록 관리단우로 구성된 데이터 메모리, 2-1∼2-n은 태그 메모리, 3-1∼3-n은 데이터 메모리 블록에 대응한 데이터 메모리의 내용에 변경이 있는지 없는지를 기억하기 위한 변경 비트 메모리, 4는 데이터 메모리의 교체블록의 정보를 기억하기 위한 교체 데이터 메모리, 5는 리퀘스트 어드레스를 설정하기 위한 레지스터, 6-1∼6-n은 상기 레지스터(5) 내에 설정된 하위 비트와 태그 메모리들의 내용을 비교하기 위한 비교회로, 7, 10-1∼10-n, 11 및 21-1∼21-n은 선택회로, 8은 교체제어 논리회로, 9는 데이터 메모리들로부터 데이터의 기록을 제어하기 위한 기록 제어수단, 12는 OR회로, 13, 14는 게이트회로, 15는 기록데이터선, 16은 독출데이터선, 17은 일치시호(FOUND)가 출력되는 일치 검출신호선, 18은 변경 검출 신호선 19는 불일치-불변경신호(NF·CHF)가 출력되는 신호선, 20은 불일치-변경신호(NF·CHG)가 출력되는 신호선, 22는 설정어드레스선, 23은 내부 블록 어드레스선을 나타낸다.1 is a block diagram of an embodiment of the present invention. Reference numerals 1-1 to 1-n denote data memory composed of management words such that 64 bytes form one block, 2-1 to 2-n correspond to tag memory, and 3-1 to 3-n correspond to data memory blocks. A change bit memory for storing whether or not there is a change in the contents of the data memory, 4 is a replacement data memory for storing information of the replacement block of the data memory, 5 is a register for setting the request address, and 6-1 to 6-6. n is a comparison circuit for comparing the contents of the lower bits and the tag memories set in the register 5, 7, 10-1 to 10-n, 11 and 21-1 to 21-n are selection circuits, and 8 is replacement control. Logic circuitry, 9 is write control means for controlling the writing of data from the data memories, 12 is an OR circuit, 13 is a gate circuit, 15 is a write data line, 16 is a read data line, 17 is a coincidence signal (FOUND) ) Is a coincidence detection signal line, 18 is a change detection signal line Mismatch-light change signal is a signal line (NF · CHF) is the output, 20 is a disparity-signal line through which the output change signal (NF · CHG), 22 is a set address line, 23 shows the internal block address line.

제2도는 제1도의 데이터 메모리를 구체적으로 예시한 블록 다이어그램으로써, 데이터 메모리의 각블록(1-1)∼(1-n)은 64바이트의 용량을 가지고 있으며, 각각 8바이트를 포함하고 있는 액세스단위(B1-0∼B1-7)… (Bn-0∼Bn-7)로 구성되어 있다. 데이터는 설정어드레스선(22)으로 부터 설정 어드레스에 따라 독출되고, 내부 블록어드레스선(23)으로 부터 내부 블록어드레스에 따라 선택회로(21-1∼21-n)에 의해 선택되고, 그후에 선택회로(11)에 인가된다. 선택회로(11)는 선택회로(10-1)∼(10-n)의 출력신호에 따라 선택 동작을 수행하고 독출 데이터선(16)상에 선택된 데이터를 제공한다.FIG. 2 is a block diagram specifically illustrating the data memory of FIG. 1, wherein each block 1-1 to 1-n of the data memory has a capacity of 64 bytes, and access includes 8 bytes each. Unit (B1-0 to B1-7)... (Bn-0 to Bn-7). Data is read out from the setting address line 22 according to the setting address, selected from the internal block address line 23 by the selection circuits 21-1 through 21-n in accordance with the internal block address, and thereafter, the selection circuit. Is applied to (11). The selection circuit 11 performs a selection operation according to the output signals of the selection circuits 10-1 to 10-n and provides the selected data on the read data line 16.

제3도는 블록 형태로 도시된 버퍼 메모리의 기록 제어 수단을 예시한 것으로, 예시번호 30은 일치 검출신호(FOUND), 불일치-불변경신호(NF·CHG) 불일치-변경신호(NF·CHG) 및 제어 시프트레지스터(51)에서 출력되는 타이밍 T(x-1)의 제어신호 (CONT·T(x-1)를 공급받아서 신호선(43)에독출인에이블(enable)신호를 출력하는 기록 데이터 제어회로이다. 예시번호 31은 기록 데이터선(40)에서 입력하는 기록 데이터를 설정하는 레지스터(47) 및 선택회로(48)(49)로 구성된 데이터 푸울회로(data pool circuit)를 나타낸다. 예시번호 32는 데이터가 타이밍 Tx에 설정되는 기록 데이터 레지스터, 33은 데이터가 타이밍 Tx에 설정되는 독출 데이터 레지스터, 34는 송입 데이터선(41)에서 입력된 송입 데이터 설정 레지스터 35는 바이트 마아크신호선(byte mark signal line)(44)으로 부터의 바이트 마아크 신호에 따라 응하여 레지스터(32)와 레지스터(33)의 출력 데이터를 조합하는 머어지회로(merge circuit), 36은 데어체크회로, 37은 타이밍 Ty에 데이터를 설정하는 레지스터, 38, 39, 45, 46은 게이트회로, 50은 독출 어드레스선(42)을 통해 선택회로(48)(49)에 독출 어드레스를 입력하는 데이터푸울 제어회로, 51은 제어신호를 타이밍 Ti→Tx→Ty로연속시프트(shift)하기 위한 제어시프트 레지스터를 나타낸다.3 illustrates write control means of a buffer memory shown in block form, and reference numeral 30 denotes a coincidence detection signal FOUND, an inconsistency-invariant signal NF and CHG, and an inconsistency-change signal NF and CHG. A write data control circuit for receiving a control signal CONT · T (x-1) of the timing T (x-1) output from the control shift register 51 and outputting a read enable signal to the signal line 43. Example number 31 shows a data pool circuit composed of a register 47 for setting the write data input from the write data line 40 and the selection circuits 48 and 49. Example number 32 Write data register in which data is set at timing Tx, 33 are read data registers in which data is set in timing Tx, 34 are input data setting registers 35 inputted from the feed data line 41, and byte mark signal lines. Byte m from (44) A merge circuit for combining the output data of the registers 32 and 33 in response to the signal, 36 is a checkcheck circuit, 37 is a register for setting data at timing Ty, 38, 39, 45, Reference numeral 46 denotes a gate circuit, 50 denotes a data pool control circuit for inputting a read address to the selection circuits 48 and 49 through the read address line 42, 51 denotes continuous shift of the control signal from timing Ti to Tx to Ty. Control shift register.

제4도는 제3도에 예시된 제어 시프트 레지스터(51)의 설명도이다. 유효신호 V, 오퍼레이션코우드(operation code) 및 서브 오퍼레이션 코우드(sub operation code)가 시프트 레지스터(51)의 첫단계에서 타이밍 T1에 설정된 다음, 다음 단계인 타이밍 T2→Tx→Ty에 이전된다. 도면에서 알 수 있는 바와같이, 타이밍 T(x-1)에서는 유효신호와 오퍼레이션 코우드 및 서브 오퍼레이션 코우드를 포함하고 있는 제어신호CONT T(x-1)가 기록데이터 제어회로(30)에 가해진다. 그리고 타이밍 Ty에서는 제어신호 CONT·Ty가 기록 제어수단(9)에 가해진다. 그리고 송출동작의 경우에는 서브 오퍼레이션 코우드 MO가 "온(ON)"이 되며 송입동작의 경우에는 서브 오퍼레이션코우드 MI가 "온"이 되고, 태그송입동작의 경우에는 서브 오퍼레인션코우드 TMI가 "온"이 된다.4 is an explanatory diagram of the control shift register 51 illustrated in FIG. A valid signal V, an operation code and a sub operation code are set at timing T1 in the first stage of the shift register 51 and then transferred to the next stage, timing T2? Tx? Ty. As can be seen from the figure, at timing T (x-1), a control signal CONT T (x-1) including a valid signal and an operation code and a sub-operation code is applied to the write data control circuit 30. All. At timing Ty, the control signal CONTTy is applied to the recording control means 9. In the case of the sending operation, the sub operation code MO is "ON", and in the case of the sending operation, the sub operation code MI is "ON", and in the case of the tag sending operation, the sub operation code TMI is "On"

제5도는 블록행태로 제3도의 버퍼 메모리 기록 제어수단내의 기록 데이터 제어회로(30)를 보이고 있다. 예시번호 52는 오퍼레이션코우드(OPC)를 디코우드 하기 위한 디코우더, 53-60은 게이트 회로를 나타낸다. 게이트회로(59, 60)에는 제어신호 CONT·T(x-1)의 유효신호 V와 송출신호 MO와 송입신호 MI 및 태그송입신호 TMI들이 가해지고, 그때 유효신호 V만이 "1"이면 게이트회로(59)의 출력은 "1"이 된다. 유효신호 V와 송입신호 MI가 "1"이면, 게이트회로(60)의 출력이 "1"이 된다. 디코우더(52)의 출력 STR 과 BSTR은 각각 기억신호 및 블록 기억신호이며, 독출 인에이블 신호는 신호선(43)에 출력된다.FIG. 5 shows a write data control circuit 30 in the buffer memory write control means of FIG. Example number 52 is a decoder for decoding the operation code (OPC), 53-60 is a gate circuit. The valid signals V, the sending signal MO, the sending signal MI, and the tag sending signal TMI of the control signal CONT · T (x-1) are applied to the gate circuits 59 and 60, and if only the valid signal V is "1", the gate circuit 59 and 60 are applied. The output of (59) becomes "1". When the valid signal V and the feed signal MI are "1", the output of the gate circuit 60 becomes "1". The outputs STR and BSTR of the decoder 52 are memory signals and block memory signals, respectively, and the read enable signal is output to the signal line 43.

제6도는 블록형태로 제1도의 기록 제어수단(9)의 주요 부분을 나타낸 것으로, 예시번호 61-76는 게이트회로를 나타내고, 80-81은 디코우더를 나타낸다. 게이트회로(69, 70)에는 제어신호 CONT. Ty의 유효신호 V와 송출신호 MO와 송입신호 MI 및 태크 송입신호 TMI들이 공급된다. 디코우더(80)는제어신호CONT.Ty의 오퍼레이션코우드(OPC)를 디코우드 하여 기억신호 STR, 록블기억신호 BSTR 또는 명령인출(fetch) 신호 FCH를 출력한다. 디코우더(81)는 어드레스선(23)으로 부터 내부 블록어드레스(intra-block address)를 디코우드하여 데이터메모리의 블록에 B1-0∼Bn-0…B1-7∼Bn-7을 지정한다. 예를들어 3비트의 내부블록어드레스가 "10"이면, 블록에 B1-2∼Bn-2가 지정된다. 게이트회로(71-76)의 출력들은 데이터메모리의 블록들에서 서로에 각각 대응되는 기록인에이블 신호(WE1-0)∼(WE1-7)…(WEn-0)∼(WEn-7)가 된다. 예시문자 VT1∼VTn은 제1도에 있는 선택회로(10-1)∼(10-n)의 출력신호를 나타낸다.FIG. 6 shows the main part of the write control means 9 in FIG. 1 in the form of a block, with reference numerals 61-76 designating a gate circuit and 80-81 designating a decoder. The gate circuits 69 and 70 have control signals CONT. The valid signal V of Ty, the sending signal MO, the sending signal MI, and the tag sending signal TMI are supplied. The decoder 80 decodes the operation code OPC of the control signal CONT.Ty and outputs a storage signal STR, a rockable memory signal BSTR, or an instruction fetch signal FCH. The decoder 81 decodes an internal block address from the address line 23 and writes B1-0 to Bn-0 to the block of the data memory. B1-7 to Bn-7 are specified. For example, if the 3-bit inner block address is "10", B1-2 to Bn-2 are assigned to the block. The outputs of the gate circuits 71-76 are write enable signals WE1-0 to WE1-7 corresponding to each other in the blocks of the data memory, respectively. (WEn-0) to (WEn-7). The example letters VT1 to VTn denote output signals of the selection circuits 10-1 to 10-n in FIG.

본 발명의 동작을 이하 설명한다.The operation of the present invention will be described below.

제어 시프트 레지스터(51) 내에는 메모리 액세스 리퀘스트시 실행되는 오퍼레이션 정보의 서브 오퍼레이션 코우드들과 오퍼레이션 코우드들 및 유효신호가 설정된다. 통상의 독출프로세싱에 있어서, 오퍼레이션코우드는 명령 인출을 지시하고, 유효신호 V는 "1"이 도니다. 리퀘스트 어드레스(REQA)는 레지스터(5)에 설정된다.In the control shift register 51, sub-operation codes, operation codes, and valid signals of operation information executed at the time of a memory access request are set. In normal read processing, the operation code instructs instruction drawing and the valid signal V is "1". The request address REQA is set in the register 5.

제1플로우(flow)는 (a) 리퀘스트 어드레스의 데이터가 데이터 메모리(1-1)∼(1-n) 내에 존재하고 있는지를 검출하기 위해 태그 메모리(2-1)∼(2-n)를 독출하고, (b) 교체블록을 결정하거나 교체데이터 메모리(4)의 내용을 갱신하기 위한 교체 데이터 메모리(4)를 독출하며, (c) 리퀘스트 어드레스의 데이터가 버퍼 메모리내에 존재하지 않는 경우 변경 비트 메모리(3-1)∼(3-n)를 독출하며, (d) 이렇게 독출된 데이터를 레지스터(37)에 설정하는 것이다. 다음에, 제1플로우에서의 조건들에 따라, 서브 오퍼레이션코우드는 제어시프트 레지스터(51)에 설정되고 그 동작은 송출 플로우와 송입플로우 그리고 태그 송입플로우로 진행한다.The first flow includes (a) tag memories 2-1 to 2-n to detect whether the data of the request address exists in the data memories 1-1 to 1-n. (B) read the replacement data memory 4 for determining the replacement block or updating the contents of the replacement data memory 4, and (c) a change bit if the data of the request address does not exist in the buffer memory. The memories 3-1 to 3-n are read out, and (d) the read data is set in the register 37. Then, according to the conditions in the first flow, the sub operation code is set in the control shift register 51 and the operation proceeds to the delivery flow, the delivery flow and the tag delivery flow.

통상의 독출 프로세싱에 있어서, 태그 메모리(2-1)∼(2-n)로 부터 독출된 내용들과 레지스터(5)에 선정된 리퀘스트 어드레스는 비교회로(6-1)∼(6-n)에 의해 비교되고, 리퀘스트 어드레스의 데이터가 데이터 메모리(1-1)∼(1-n)에 존재하지 않으면 비교회로(6-1)∼(6-n) 중의 어느 하나가 "1"을 출력하며, 그리하여, 이 신호에 의해 신호선(17)상의 일치 검출신호(FOUND)가 "1"이 된다. 더우기 선택회로(10-1)∼(10-n)의 출력중 어느 하나가 "1"이 되고, 그것은 선택회로(11)와 기록 제어수단(9)에 공급된다.In normal read processing, the contents read from the tag memories 2-1 to 2-n and the request address selected in the register 5 are compared with the comparison circuits 6-1 to 6-n. Are compared, and if the data of the request address does not exist in the data memories 1-1 to 1-n, any one of the comparison circuits 6-1 to 6-n outputs " 1 " Thus, the coincidence detection signal FOUND on the signal line 17 becomes "1" by this signal. Furthermore, any one of the outputs of the selection circuits 10-1 to 10-n becomes "1", which is supplied to the selection circuit 11 and the write control means 9.

리퀘스트 어드레스(REQA)의 설정 어드레스에 따라, 데이터메모리(1-1)∼(1-n)로부터 데이터가 독출되고, 내부 블록 어드레스에 따라 선택회로(21-1)∼(21-n)는 각각 지정된 블록의 일부의 독출 데이터를 선택회로(11)에 공급한다. 선택회로(10-1)∼(10-n)들중 어느 하나가 "1"을 출력하면 선택회로(11)는 선택회로(21-1∼)∼(21-n)에 의해 선택된 것과 동일한 설정어드레스의 블록의 일부의 독출 데이터를 선택하여독출데이터선(16) 상에 한 블록의 일부의 독출 데이터를 출력한다.According to the setting address of the request address REQA, data is read from the data memories 1-1 to 1-n, and the selection circuits 21-1 to 21-n are respectively set according to the internal block address. Read data of a part of the designated block is supplied to the selection circuit 11. If any one of the selection circuits 10-1 to 10-n outputs " 1 ", then the selection circuit 11 has the same setting as that selected by the selection circuits 21-1 to 21-n. A part of read data of a block of an address is selected and a part of read data of one block is output on the read data line 16.

리퀘스트 어드레스의 데이터가 데이터 메모리(1-1)∼(1-n)에 존재하지 않는 경우에는 일치 검출신호(FOUND)가 "0"이 된다. 그 경우, 교체 데이터 메모리(4)를 독출하여 교체제어 논리회로(8)에서 교체블록을 결정한다. 더우기 변경 비트 메모리(3-1)∼(3-n를 독출하여, 아무런 비트 변경이 검출되지 않으면 신호선(19) 상에 불일치 불변경신호 NF·CHG가 "1"이 되며, 만약 비트 변경이 검출되면 신호 선상에 불일치-변경신호 NF·CHG는 "1"이 된다.If the data of the request address does not exist in the data memories 1-1 to 1-n, the coincidence detection signal FOUND becomes " 0 ". In that case, the replacement data memory 4 is read out to determine the replacement block in the replacement control logic circuit 8. Further, if the change bit memories 3-1 to 3-n are read out and no bit change is detected, the inconsistent unchangeable signal NF-CHG becomes "1" on the signal line 19, and if the bit change is detected. When the mismatch-change signal NF-CHG on the signal line becomes " 1 "

이하 송입 동작에 관해 설명한다.The feeding operation will be described below.

NF·CHG="1"인 경우 그 동작은 송입 플로우로 진행한다. 즉, 오퍼레이션 코우드는 명령 인출(fetch)을 가리키고, 서브 오퍼레이션 코우드의 송입신호 MI가 "1"이 된다. 송입 플로우에 있어서, 64바이트 데이터가 기록되기 때문에, 시프트 레지스터(51)로 하여금 8바이트 단위의 송입 플로우를 8번 연속적으로 프로세싱하게 함에 의해 데이터 메모리에의 한 블록의 송입이 이루어진다. 송입 플로우에 있어서, 주 메모리로 부터 독출된 데이터가 송입 데이터선(41)을 통해 송입 데이터 설정 레지스터(34)에 설정되며, 타이밍 Tx 에서 게이트 회로(46)를 통해 독출데이터 레지스터(33)에 설정된다. 신호선(44)으로 부터의 바이트 마아크 신호가 모두 "0"이면 머어지회로(35)는 상기 독출 데이터 레지스터(33)의 내용을 출력하며, 그 내용을 타이밍 Ty에서 에러 체크회로(36)를 통해 레지스터(37)내에 설정한다. 따라서 레지스터(37)내에 설정된 데이터는 기록 데이터선(15)으로 출력하고 데이터 메모리(1-1)∼(1-n)의 교체블록에 기억됨과 동시에 액세스 요구단자에 독출 데이터로서 공급된다.If NF CHG = "1", the operation proceeds to the feed flow. That is, the operation code indicates instruction fetch, and the input signal MI of the sub operation code becomes "1". In the feed flow, since 64 bytes of data are recorded, a block is fed into the data memory by causing the shift register 51 to process the feed flow in units of 8 bytes continuously. In the feed flow, data read from the main memory is set in the feed data setting register 34 through the feed data line 41 and set in the read data register 33 through the gate circuit 46 at timing Tx. do. If the byte mark signals from the signal line 44 are all "0", the merge circuit 35 outputs the contents of the read data register 33, and the contents are output through the error check circuit 36 at timing Ty. It is set in the register 37. Therefore, the data set in the register 37 is outputted to the write data line 15, stored in the replacement blocks of the data memories 1-1 to 1-n, and supplied as read data to the access request terminal.

이하 송출 동작에 관해 설명한다.The delivery operation will be described below.

NF·CHG="1"인 경우에는 그 동작이 송출 플로우로 진행된다. 송출에서 64바이트 데이터가 주메모리에 입력되기 때문에, 주메모리에 한 블록을 송출하는 데는 시프트 레지스터(51)에서 8바이트 단위의 송출 프로우를 연속해서 8번 처리하게 체에 의해 이루어진다. 이 송출 플로우에서, 데이터 메모리(1-1)∼(1-n)의 교체대상블록이 송출되고, 그리고 나서 그 동작은 송입플로우로 진행된다. 송입 플로우의 동작은 전술한 바와 같다.If NF CHG = "1", the operation proceeds to a delivery flow. Since 64 bytes of data are input to the main memory during transmission, a block is sent out to the main memory by the shift register 51 so as to continuously process the 8-byte sending procedure 8 times. In this delivery flow, the replacement target blocks of the data memories 1-1 to 1-n are sent out, and then the operation proceeds to the delivery flow. The operation of the feed flow is as described above.

송입 플로우 뒤에는 태그 송입 플로우가 뒤따른다. 태그 송입 플로우에 있어서는, 어드레스가 태그 메모리에 기억(register)되고, 교체 데이터 메모리(4)의 내용이 갱신(update)되며, 변경 비트 메모리에 "0"이기록된다.The tag flow follows the feed flow. In the tag feed flow, an address is registered in the tag memory, the contents of the replacement data memory 4 are updated, and " 0 " is recorded in the change bit memory.

블록의 일부의 데이터를 기록하기 위한 프로세싱은 앞에서 전술한 독출 프로세싱과 동일한 방법으로 수행된다. 즉, 태그 메모리(2-1)∼(2-n)를 독출하고, 리퀘스트 어드레스의 데이터가 존재하는지 존재하지 않는지는 비교회로(6-1)∼(6-n)의 비교 결과에 의해 검출된다.Processing for writing data of a part of the block is performed in the same manner as the read processing described above. That is, the tag memories 2-1 to (2-n) are read out, and it is detected by the comparison result of the comparison circuits 6-1 to (6-n) whether or not the data of the request address exists. .

만약 일치 검출신호(FOUND)가 "1"이면 변경 비트 메모리(3-1)∼(3-n)에 "1"이 기억되고, 리퀘스트어드레스의 데이터를 포함하고 있는 블록이 데이터 메모리에서 독출된다. 그리고, 독출 데이터선(16) 상의 독출데이터와 기록 데이터선(40) 상의 기록 데이터가 머어지회로(35)에 공급되고, 신호선(44) 상의 바이트 마아크 신호에 따라 조합된 데이터가 에러체크 회로(36)에 의해 점검된다. 이 경우에 가무런 에러가 검출되지 않으면 데어터는 레지스터(37)에 설정되고 기록 데이터선(15)으로 출력된다.If the coincidence detection signal FOUND is " 1 ", " 1 " is stored in the change bit memories 3-1 to 3-n, and the block containing the data of the request address is read out from the data memory. The read data on the read data line 16 and the write data on the write data line 40 are supplied to the merge circuit 35, and the combined data in accordance with the byte mark signal on the signal line 44 is used as an error check circuit ( Is checked by 36). In this case, if no error is detected, the data is set in the register 37 and output to the write data line 15.

기록 데이터선(15)으로 출력된 데이터는 데어터메모리(1-1)∼(1-n)에 입력되어 내부 블록 어드레스와 기록 제어수단(9)의 출력인 기록 인에이블 신호 WE(WE1-0∼WE1-7…WEn-0∼WEn-7)에 의해 결정된 블록의 한 부분에 데이터가 기록된다.The data output to the write data line 15 is input to the data memories 1-1 to 1-n to write write signals WE (WE1-0 to 1) which are outputs of the internal block address and the write control means 9. Data is recorded in one part of the block determined by WE1-7… WEn-0 to WEn-7).

리퀘스트 어드레스의 데이터가 존재하지 않는 교체 데이터 메모리(4)로 부터 독출된 내용에 의해 교체 대상 블록이 결정되며, 변경 비트 메모리(3-1)∼(3-n)에서 독출된 내용에 의해 아무런 비트 변경이 검출되지 않을때는 송입데이터와 기록 데이터가 함께 조합되고, 조합된 데이터가 데이터 메모리에 기록 데이터로서 입력되어 상기의 경우와 같이 지정된 블록에 기록된다. 그리하여 리퀘스트 어드레스는 태그 메모리에 기억되고 변경 비트 메모리에 "1"이 기록된다. 비트 변경이 검출되면 교체 대상 블록은 송출되고 그후 기록데이터는 상기와 같은 동작에 의해 동작한다.The replacement target block is determined by the contents read from the replacement data memory 4 in which the data of the request address does not exist, and any bits are read by the contents read from the change bit memories 3-1 to (3-n). When no change is detected, the feed data and the write data are combined together, and the combined data is input to the data memory as write data and written in the designated block as in the above case. Thus, the request address is stored in the tag memory and " 1 " is written in the change bit memory. If a bit change is detected, the replacement object block is sent out, and then the write data is operated by the above operation.

상기 동작은 실질적으로 스와프 시스템에 사용되는 것과 동일하다. 본 발명은 블록 기억처리에 이스와프 시스템의 이점을 가지고 있다. 우선 리퀘스트 어드레스(REQA)의 데이터가 버퍼 메모리에 존재하는 경우와 관련해서 설명을 할 것이다. 이 경우에 일치 검출신호(FOUND)는 "1"이 되고 타이밍T(x-1)에 시프트레지스터(51)로 부터 출력된 제어신호 CONT.T(x-1)의 오퍼레이션 코우드(OPC)는 디코우더(52)에 의해 디코우드 되며, 그리하여 블록 기억신호가 "1"이 된다. 더우기, 서브 오퍼레이션 코우드드의 유효신호 V만이 "1"이 되기 때문에 게이트 회로(56)는 "1"을 출력하고 신호선(43)상의 독출인에이블 신호는 "1"이 된다.The operation is substantially the same as that used in the swap system. The present invention has the advantage of the is-warp system for block memory processing. First, a description will be given regarding the case where the data of the request address REQA exists in the buffer memory. In this case, the coincidence detection signal FOUND becomes " 1 " and the operation code OPC of the control signal CONT.T (x-1) output from the shift register 51 at timing T (x-1) is It is decoded by the decoder 52, so that the block memory signal becomes " 1 ". Moreover, since only the valid signal V of the sub-operation code becomes "1", the gate circuit 56 outputs "1" and the read enable signal on the signal line 43 becomes "1".

기록 데이터들은 기록 데이터선(40)으로 부터 데이터 푸울회로(31)의 레지스터(47) 내에 설정되며, 독출인에이블 신호가 "1"이기 때문에, 그 데이터들은 타이밍 Tx에서 선택회로(48, 49) 및 게이트회로(38, 39)를 통해 기록 정보레지스터(32) 내에 설정된다. 이 경우에 바이트 마아크 신호는 전부 "1"이다.The write data are set in the register 47 of the data pool circuit 31 from the write data line 40, and since the read enable signal is " 1 ", the data are selected in the selection circuits 48 and 49 at the timing Tx. And in the write information register 32 via the gate circuits 38 and 39. In this case the byte mark signals are all "1".

신호선(44)으로 부터의 바이트 마아크 신호가 전부 "1"이기 때문에, 머어지회로(35)는 독출 데이터 레지스터(33)의 독출 데이터에 상관없이 에러 체크회로(36)에 기록 데이터 레지스터(32)의 기록 데이터를 공급하고, 에러 체크회로(36)에 가해진 데이터는 타이밍 Ty에 레지스터(37)에 설정된다.Since the byte mark signals from the signal line 44 are all "1", the merge circuit 35 writes the data register 32 to the error check circuit 36 regardless of the read data of the read data register 33. The write data of the data is supplied, and the data applied to the error check circuit 36 is set in the register 37 at timing Ty.

제어신호 CONT. Ty의 오퍼레이션 코우드(OPC)는 타이밍 Ty에서 디코우더(80)에 의해 디코우드 되며, 블록기억신호 BSTR은 "1"이 된다. 더우기, 서브오퍼레이션코우드의 유효신호 V가 "1"이기 때문에 게이트회로(64)는 "1"로 출력한다.Control signal CONT. Ty's operation code (OPC) is decoded by the decoder 80 at timing Ty, and the block memory signal BSTR becomes "1". Furthermore, since the valid signal V of the sub operation code is "1", the gate circuit 64 outputs "1".

블록 기억에 있어서, 블록 기억신호 BSTR가 "1"이고 유효신호 V가 "1"에서 처리되는 8바이트 단위의 제1플로우를 연속해서 8번(8바이트×8=64바이트) 시프트레지스터(51)에 입력하므로서 데이터 메모리의 한블록에 데이터들이 전부 기록된다. 예를들면 처음의 제1플로우에서 어드레스선(23)상의 내부 블록 어드레스는 디코우더(81)로 디코우드 되고 기록 인에이블신호 WE1-0는 선택회로(10-1)∼(10-n)의 출력신호VT1∼VTn에 의해 "1"로 되며 기록 데이터선(15)을 통해 데이터 메모리(1-1)∼(1-n)에 입력하는 레지스터(37)의 출력 기록 데이터는 데이터 메모리(1-1)의 블록 B1-0에 기록된다. 그후 블록 기억부의 2번째에서 8번째 제1플로우가 계속해서 시프트 레지스터(51)에 입력되면 어드레스선(23)의 내부 블록 어드레스는 상기 제1플로우가 계속해서 시프트 레지스터(51)에 입력되면 어드레스선(23)의 내부 블록 어드레스는 상기 제1플로우에서의 값에 1을 더한 값으로 설정되며, 이해 의해 기록 인에이블선(WE1-1∼WE1-7)은"1"이 되며, 데이터 메모리(1-1)의 블록(B1-1∼B1-7)에 데이터가 연속 순위로 기록된다. 더우기 "1"은 변경 비트 메모리의 대응 블록의 위치에 기록된다.In block storage, the shift register 51 is executed eight times (8 bytes x 8 = 64 bytes) in the first flow in the eight-byte unit in which the block memory signal BSTR is "1" and the valid signal V is processed at "1". All data is written to one block of the data memory by inputting to. For example, in the first first flow, the internal block address on the address line 23 is decoded to the decoder 81, and the write enable signal WE1-0 is selected circuits 10-1 to (10-n). The output write data of the register 37, which is set to "1" by the output signals VT1 to VTn and inputs to the data memories 1-1 to 1-n via the write data line 15, is stored in the data memory 1 -1) is written to block B1-0. After that, if the second to eighth first flows of the block storage section continue to be inputted to the shift register 51, the internal block address of the address line 23 becomes the address line if the first flow continues to be inputted to the shift register 51. The internal block address of (23) is set to a value obtained by adding 1 to the value in the first flow, and the write enable lines WE1-1 to WE1-7 become "1" by understanding, and the data memory 1 In blocks B1-1 to B1-7 of -1), data is recorded in continuous order. Furthermore, "1" is written to the position of the corresponding block of the change bit memory.

리퀘스트 어드레스의 데이터가 버퍼 메모리에 존재하지 않고 교체블록이 주 메모리에서 버퍼 메모리로 격납된 후에 교체블록의 내용이 변경되지 않는 경우, 일치 검출신호(FOUND)는 "0"이며, 신호선(19)의 불일치-불변경신호 NF·CHG는 "1"이다. 이 경우 데이터는 일치 검출신호 FOUND가 "1"인 경우와 동일 방식으로 데이터 메모리(1-1)∼(1-n)에 기록된다. 즉, 교체블록의 송출과 주메모리로 부터의 리퀘스트 어드레스의 데이터를 포함하고 있는 블록으로 송입은 일어나지 않는다. 기록 데이터는 타이밍 Tx에서 레지스터(32)내에 설정된다. 그리고 바이트 마아크신호가 모두 "1"의기 때문에 레지스터(32)내의 데이터는 레지스터(33)내의 데이터에 관계없이 타이밍 Ty에서 레지스터(37)내에 설정되고, 레지스터(32) 내의 설정 데이터가 기록 데이터선(15)으로 출력되어 타이밍 Ty의 제어신호 CNOT. Ty와 내부 블록 어드레스에 따라 출력된 기록 인에이블신호에 의해 데이터 메모리 내에 데이터가 기록된다.If the data of the request address does not exist in the buffer memory and the contents of the replacement block do not change after the replacement block is stored from the main memory to the buffer memory, the coincidence detection signal FOUND is "0", and the signal line 19 The mismatch-invariant signal NF-CHG is "1". In this case, data is written to the data memories 1-1 to 1-n in the same manner as when the coincidence detection signal FOUND is " 1 ". In other words, no sending of the replacement block and sending to the block containing the data of the request address from the main memory occurs. The write data is set in the register 32 at timing Tx. Since the byte mark signals are all "1", the data in the register 32 is set in the register 37 at timing Ty regardless of the data in the register 33, and the setting data in the register 32 is written to the write data line ( 15) and the control signal CNOT. Data is written into the data memory by a write enable signal output in accordance with Ty and the internal block address.

교체 블록이 주모리에서 버퍼 메모리로 격납된 후 교체 블록의 내용이 변경된 경우 신호선(20)의 불일치-변경신호 NF·CHG "1"이 된다. 이 경우 송출플로우의 동작이 진행된다. 즉, 오퍼레이션코우드는 블록기억을 지시하고 서브 오퍼레이션 코우드의 송출신호 MO는 "1"이 된다. 결과적으로 교체블록의 송출이 행해진다. 그 다음에 송입동작이 진행된다. 즉, 오퍼레이션코우드는 블록 기억을 지시하고 서브 오퍼레이션코우드의 송입신호 MI는 "1"이 된다. 이 송입에서 제어신호 CONT. T(x-1)은 V="1", MI="1", MO="0" 및 TMT="0"로 되기 때문에 게이트 회로(60)는 "1"을 출력하고 디코우더(52)에서 유도된 블록기억신호BSTR은 "1"이 된다. NF·CHG="1"이기 때문에 게이트회로(58)의 출력은 "1"이며 신호선(43)의 독출 인에이블신호는 "1"이 된다.When the contents of the replacement block are changed after the replacement block is stored in the main memory in the buffer memory, the inconsistency-change signal NF-CHG " 1 " In this case, the operation of the delivery flow proceeds. That is, the operation code instructs block memory and the transmission signal MO of the sub-operation code becomes "1". As a result, the replacement block is sent out. Then, the feeding operation proceeds. That is, the operation code instructs block storage and the feed signal MI of the sub-operation code becomes "1". The control signal CONT. Since T (x-1) becomes V = "1", MI = "1", MO = "0", and TMT = "0", the gate circuit 60 outputs "1" and the decoder 52 The block memory signal BSTR derived from the " 1 " Since NF · CHG = "1", the output of the gate circuit 58 is "1", and the read enable signal of the signal line 43 is "1".

데이터 푸울회로(31)내에 보유된(pooled) 기록데이터는 타이밍 Tx에서 게이트 회로(38)(39)를 통해 기록데이터 레지스터(32)내에 설정되며, 신호선(44)의 바이트 마이크신호는 모두 "1"이기 때문에 머어지회로(35)는 레지스터(34)의 송입 데이터가 설정된 레지스터(33)내의 데이터에 관계없이 타이밍 Ty에서 에러 체크회로(36)를 통해 레지스터(37)내에 기록 데이터 레지스터(32)의 내용만을 설정한다.The write data pooled in the data pool circuit 31 is set in the write data register 32 via the gate circuits 38 and 39 at timing Tx, and the byte microphone signals of the signal line 44 are all " 1 " The merge circuit 35 writes the data register 32 in the register 37 via the error check circuit 36 at timing Ty regardless of the data in the register 33 in which the transfer data of the register 34 is set. Set only the content of.

제어신호(CONT.Ty)는 타이밍 Ty에서 기록제어수단(9)에 입력되어 게이트회로(70)(66)의 출력은 "1"이되며, 디코우더(81)와 선택회로(10-1)∼(10-n)의 출력에 의해 결정된 기록 인에이블 신호에 의해 데이터가 데이터 메모리에 기록된다.The control signal CONT.Ty is inputted to the write control means 9 at timing Ty so that the outputs of the gate circuits 70 and 66 become "1", and the decoder 81 and the selection circuit 10-1. Data is written to the data memory by the write enable signal determined by the outputs of "-" (10-n).

다음에는 태그 송입 플로우의 동작으로 이전된다. 블록기억 명령에서 NF·CHG="1"인 경우, 즉 리 퀘스트 어드레스의 데이터가 데이터 메모리(1-1)∼(1-n) 내에 없는 경우 및 블록이 데이터 메모리(1-1)∼(1-n)로 격납된 후 교체블록의 내용이 변경되지 않는 경우, 전술한 바와같이 송출 및 송입플로우의 동작없이 직접 데이터가 교체블록내에 기록된다. 따라서 블록 기억명령이 계속되면 기록처리에서 무효 동작시간이 제거되며 고석처리를 허용한다. 특히 많은 데이터를 취급하는 경우에는 버퍼메모리의 블록과 같은 또는 정수배의 크기 영역내에 블록 기억명령에 의해 데이터가 기록된다. 따라서 송출, 송입 동작을 제거하면 버퍼 메모리의 출력이 크게 향상되는 것이 가능하게 된다.Next, it is transferred to the operation of the tag input flow. In the block storage instruction, when NF · CHG = " 1 ", that is, when the data of the request address is not in the data memories 1-1 to 1-n, and the block is the data memories 1-1 to 1 If the contents of the replacement block do not change after being stored as -n), as described above, the direct data is recorded in the replacement block without the operation of the sending and receiving flow. Therefore, if the block storage instruction continues, the invalid operation time is removed from the recording process and the advanced processing is allowed. In particular, in the case of handling a large amount of data, the data is written by a block storage instruction in the same size area or an integer multiple of the blocks of the buffer memory. Therefore, the output of the buffer memory can be greatly improved by eliminating the sending and sending operations.

본 발명의 기본 개념의 범위를 벗어나지 않고 여러수정과 변경이 있을 수 있음이 명백할 것이다.It will be apparent that various modifications and changes may be made without departing from the scope of the basic concepts of the invention.

Claims (1)

리퀘스트신호, 기록데이터, 송입데이터를 기억하는 주메모리에 발생시키는 처리장치에 동작전으로 연결할 수 있는 버퍼 메모리 제어 시스템에 있어서, 리퀘스트신호의 상태에 따라 데이터를 선택적으로 출력하고 상기 처리장치에 의해 발생되고 사용된 데이터를 기억하기 위하여 주메모리와 처리장치에 동작적으로 연결된 데이터 메모리(1-1)∼(1-n)와, 상기 처리장치에 의해 처리된 데이터가 상기 데이터 메모리에 기억되었는지를 지시하는 태그 신호를 기억하기 위하여 상기 처리장치에 동작전으로 연결된 태그 메모리(2-1)∼(2-n)와, 상기 데이터 메모리에 기억된 데이터가 처리장치에 의해 변경되었는지를 지시하는 변경 비트신호를 기억하기 위하여 처리장치에 동작적으로 연결된 변경 비트 메모리(3-1)∼(3-n)와, 상기 데이터 메모리에 기억된 데이터가 교체되었는지를 지시하는 교체신호들을 기억하기 위하여 상기처리장치에 동작적으로 연결된 교체 데이터 메모리(4)와, 상기 리퀘스트신호, 태그신호, 변경신호, 상기 교체신호의 상태에 따라서 상기 데이터 메모리에 기억된 데이터를 제어하기 위하여 상기 태그 메모리, 교체 데이터메모리, 데이터메모리에 동작적으로 연결되고, 상기 처리장치에 동작적으로 연결되고, 상기 처리장치에 동작적으로 연결된 기록 제어수단(9)과, 상기 태그신호, 변경신호, 교체신호의 상태에 따라서 상기 데이터 메모리의 송입 데이터의 기억을 제어하기 위하여 상기 변경 비트메모리, 교체 데이터 메모리, 데이터메모리, 기록 제어수단에 동작적으로 연결되고, 상기 처리장치, 주메모리에 동작적으로 연결된 버퍼메모리 기록 제어회로(제3도)로 구성된다.A buffer memory control system which can be connected before operation to a processing device for generating a request signal, recording data and input data in a main memory, wherein the data is selectively output and generated by the processing device according to the status of the request signal. And data memory (1-1) to (1-n) operatively connected to the main memory and the processing apparatus for storing data used, and indicating whether data processed by the processing apparatus is stored in the data memory. Tag memories (2-1) to (2-n) connected before operation to the processing apparatus for storing a tag signal, and a change bit signal indicating whether or not data stored in the data memory has been changed by the processing apparatus. Change bit memories (3-1) to (3-n) operatively connected to the processing apparatus for storing the data, and the data stored in the data memory A replacement data memory 4 operatively connected to the processing device for storing replacement signals indicative of replacement, and stored in the data memory according to the status of the request signal, tag signal, change signal, and replacement signal; Write control means 9 operatively connected to the tag memory, a replacement data memory, a data memory, operatively connected to the processing apparatus, and operatively connected to the processing apparatus for controlling data; Operatively connected to said change bit memory, replacement data memory, data memory, and write control means for controlling the storage of the feed data of said data memory in accordance with the state of a signal, a change signal and a replacement signal; And a buffer memory write control circuit (FIG. 3) operatively connected to the memory. 상기 처리장치에 의해 요구된 데이터가 상기 데이터 메모리에 있지 않음을 상기 태그 신호가 지시하고 상기 데이터 메모리에 기억된 데이터가 교체될 수 있음을 상기 교체신호가 지시하고, 상기 데이터 메모리에 기억된 데이터가 변경되지 않음을 상기 변경신호가 지시하고, 상기 처리장치에 의해 데이터 메모리에 기억된 데이터가 1블록의 크기와 동일하거나 정수배의 크기를 가질때 기록데 이터가 주메모리에서 버퍼 메모리내의 블록으로 송입됨이 없이 교체하고 상기 태그신호, 교체신호, 변경비트 신호가 상기 각각의 태그메모, 리 교체 데이터 메모리, 변경 비트 메모리에 의해 병행하여 발생됨을 특징으로 하는 스와프방식의 버퍼메모리 제어 시스템.The tag signal indicates that the data requested by the processing device is not in the data memory and the replacement signal indicates that the data stored in the data memory can be replaced, and the data stored in the data memory The change signal indicates that there is no change, and when the data stored in the data memory by the processing device has the same size or an integer multiple of one block, the write data is transferred from the main memory to the block in the buffer memory. And the tag signal, the replacement signal, and the change bit signal are generated in parallel by each of the tag memo, the replacement data memory, and the change bit memory.
KR1019800004652A 1980-12-06 1980-12-06 Buffer memory control system of the swap system KR850001016B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019800004652A KR850001016B1 (en) 1980-12-06 1980-12-06 Buffer memory control system of the swap system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019800004652A KR850001016B1 (en) 1980-12-06 1980-12-06 Buffer memory control system of the swap system

Publications (1)

Publication Number Publication Date
KR850001016B1 true KR850001016B1 (en) 1985-07-18

Family

ID=19218442

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019800004652A KR850001016B1 (en) 1980-12-06 1980-12-06 Buffer memory control system of the swap system

Country Status (1)

Country Link
KR (1) KR850001016B1 (en)

Similar Documents

Publication Publication Date Title
US4527238A (en) Cache with independent addressable data and directory arrays
US4370710A (en) Cache memory organization utilizing miss information holding registers to prevent lockup from cache misses
US4725947A (en) Data processor with a branch target instruction storage
US4707784A (en) Prioritized secondary use of a cache with simultaneous access
US4157586A (en) Technique for performing partial stores in store-thru memory configuration
EP0072179A2 (en) Clearing invalid addresses in cache memory
US3984818A (en) Paging in hierarchical memory systems
US4317170A (en) Microinstruction controlled data processing system including micro-instructions with data align control feature
US5960453A (en) Word selection logic to implement an 80 or 96-bit cache SRAM
US3553653A (en) Addressing an operating memory of a digital computer system
JPS6324428A (en) Cache memory
US4507729A (en) Error processing system using two different types of replace logic
US5206941A (en) Fast store-through cache memory
US4395763A (en) Buffer memory control system of the swap system
US4768197A (en) Cache error code update
US5845321A (en) Store buffer apparatus with two store buffers to increase throughput of a store operation
US4924425A (en) Method for immediately writing an operand to a selected word location within a block of a buffer memory
US5197145A (en) Buffer storage system using parallel buffer storage units and move-out buffer registers
KR850001016B1 (en) Buffer memory control system of the swap system
KR100380674B1 (en) Method and system for maintaining cache coherency for write-through store operations in a multiprocessor system
US11669392B2 (en) Non-volatile memory
US5535358A (en) Cache memory control circuit and method for controlling reading and writing requests
US4737908A (en) Buffer memory control system
US5636365A (en) Hierarchical buffer memories for selectively controlling data coherence including coherence control request means
US6826655B2 (en) Apparatus for imprecisely tracking cache line inclusivity of a higher level cache