JPH1124991A - Data processor - Google Patents

Data processor

Info

Publication number
JPH1124991A
JPH1124991A JP9178436A JP17843697A JPH1124991A JP H1124991 A JPH1124991 A JP H1124991A JP 9178436 A JP9178436 A JP 9178436A JP 17843697 A JP17843697 A JP 17843697A JP H1124991 A JPH1124991 A JP H1124991A
Authority
JP
Japan
Prior art keywords
data
word
bus
transfer
main memory
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP9178436A
Other languages
Japanese (ja)
Other versions
JP3176319B2 (en
Inventor
Hiroaki Tsuda
裕章 津田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems Co Ltd
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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP17843697A priority Critical patent/JP3176319B2/en
Publication of JPH1124991A publication Critical patent/JPH1124991A/en
Application granted granted Critical
Publication of JP3176319B2 publication Critical patent/JP3176319B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the system ability of a data processor having large capacity memory. SOLUTION: A data comparison circuit 110 is provided for comparing data on a head word in a write line with other data at the time of writing data in a cache memory 1300 and for outputting a compared result in accordance with the continuously matched number of words from the head word. When data transferred to a bus controller 1200 continuously have the same values at the time of write back and block transfer by a special instruction, respective pieces of data which are continuously matched are compressed into data of a 1/2 word or one work and into the number of transfer times from the head word, and they are outputted to the bus controller 1200 thus a bus is released to the other processing until the reading of next data.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ処理装置に関
し、特に高速のキャッシュ・メモリを備えるデータ処理
装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processor, and more particularly to a data processor having a high-speed cache memory.

【0002】[0002]

【従来の技術】従来、この種のデータ処理装置は、高速
のキャッシュ・メモリを備え、動作速度の遅いメイン・
メモリとの整合をとり、マイクロプロセッサからみた見
かけ上のアクセスタイムを改善するために用いられてい
る。たとえば、図8は、この従来のデータ処理装置にお
けるマイクロプロセッサとバス・コントローラ間のデー
タ転送部の1例を示す部分ブロック図である。この従来
のデータ処理装置におけるデータ転送部は、マイクロプ
ロセッサ100,バス・コントローラ200,キャッシ
ュ・メモリ300を備え、バス・コントローラ200を
介して、メイン・メモリおよび周辺I/O部400とデ
ータ転送を行う。
2. Description of the Related Art Conventionally, this type of data processing apparatus has a high-speed cache memory and a main memory having a low operation speed.
It is used to match the memory and improve the apparent access time seen from the microprocessor. For example, FIG. 8 is a partial block diagram showing an example of a data transfer unit between a microprocessor and a bus controller in this conventional data processing device. A data transfer unit in this conventional data processing device includes a microprocessor 100, a bus controller 200, and a cache memory 300, and transfers data to and from a main memory and a peripheral I / O unit 400 via the bus controller 200. Do.

【0003】マイクロプロセッサ100は、キャッシュ
制御回路120,バス制御回路130を備え、キャッシ
ュ・メモリ300の制御と、バス・コントローラ200
との間のアドレス・データ共用バスAD,制御バスCT
Lの入出力制御とを行う。キャッシュ制御回路120
は、マイクロプロセッサ100が頻繁にリードまたはラ
イトするデータを数ワード構成ののライン単位でメイン
・メモリ400から一時格納し、不要になったときメイ
ン・メモリにライン単位でライト・バックする制御を行
う。また、バス制御回路130は、アドレス・データ共
用バスAD,制御バスCTLを介して、アドレス,デー
タをバス・コントローラ200に出力する。これらアド
レス,データは、アドレス・データ共用バスADにより
時分割でそれぞれデータ転送され、アドレス・データ共
用バスADをアドレスのために使用しているかデータの
ために使用しているかは、制御バスCTLの信号で指定
される。
[0003] The microprocessor 100 includes a cache control circuit 120 and a bus control circuit 130, and controls the cache memory 300 and the bus controller 200.
Address / data shared bus AD and control bus CT
L input / output control. Cache control circuit 120
Performs control to temporarily store data that is frequently read or written by the microprocessor 100 from the main memory 400 in units of lines having a configuration of several words, and to write back data to the main memory in units of lines when it becomes unnecessary. . The bus control circuit 130 outputs an address and data to the bus controller 200 via the address / data shared bus AD and the control bus CTL. These addresses and data are transferred in a time-division manner by the shared address / data bus AD, and whether the shared address / data bus AD is used for address or data is determined by the control bus CTL. Specified by signal.

【0004】バス・コントローラ200は、マイクロプ
ロセッサ100のアドレス・データ共用バスADに接続
され、且つ、メイン・メモリおよび周辺I/O部400
を別のアドレスバスADDR,データバスDATAを介
して接続し、これら各バス間の入出力制御を行い、デー
タ転送を行う。このとき、マイクロプロセッサ100か
らアドレス・データ共用バスADを介して時分割で渡さ
れたアドレス,データをそれぞれアドレス・バッファ2
10,データ・バッファ220に一時格納し、これらア
ドレス,データを、それぞれアドレスバスADDR,デ
ータバスDATAを介して、メイン・メモリおよび周辺
I/O部400に出力する。また、メイン・メモリの入
出力機能に対応して、アドレス・バッファ210からア
ドレスバスADDRに出力されるアドレス値は、バスサ
イクルごとにインクリメントされる場合がある。
A bus controller 200 is connected to an address / data sharing bus AD of the microprocessor 100, and has a main memory and a peripheral I / O unit 400.
Are connected via another address bus ADDR and data bus DATA, input / output control between these buses is performed, and data transfer is performed. At this time, the address and data passed in a time division manner from the microprocessor 100 via the address / data shared bus AD are respectively stored in the address buffer 2.
10. Temporarily store in the data buffer 220, and output these addresses and data to the main memory and the peripheral I / O unit 400 via the address bus ADDR and the data bus DATA, respectively. In addition, the address value output from the address buffer 210 to the address bus ADDR may be incremented every bus cycle in accordance with the input / output function of the main memory.

【0005】キャッシュ・メモリ300は、大きく2つ
の領域に分けられる。図9は、このキャッシュ・メモリ
300の領域構成例を示す説明図である。1つは、タグ
領域310であり、キャッシュにヒットしたかどうかを
比較するためのアドレス情報を格納する。2つは、デー
タ領域320であり、ヒットしたデータを格納する。タ
グ情報,データの一対のペアを1ライン330とし、1
ライン330内のデータ領域320は複数ワードのデー
タを持つ。キャッシュ・メモリ300とメイン・メモリ
および周辺I/O部400の間のデータ転送の際には、
1ライン330内のデータ領域320の複数ワード・デ
ータが、転送単位となり、ブロック転送される。
[0005] The cache memory 300 is roughly divided into two areas. FIG. 9 is an explanatory diagram showing an example of the area configuration of the cache memory 300. One is a tag area 310, which stores address information for comparing whether or not a cache hit has occurred. Two are a data area 320, which stores hit data. A pair of tag information and data is defined as one line 330,
The data area 320 in the line 330 has a plurality of words of data. When transferring data between the cache memory 300 and the main memory and the peripheral I / O unit 400,
A plurality of word data in the data area 320 in one line 330 is a transfer unit and is block-transferred.

【0006】図10は、この従来のデータ処理装置のデ
ータ転送部におけるマイクロプロセッサ側の動作フロー
を示す流れ図である。簡単に説明すると、キャッシュ・
メモリ300からのライトバック時または特殊命令によ
るブロック転送時など、メインメモリおよび周辺I/O
部400へデータ出力要求発生のとき、ステップ613
において、制御バスCTLによりコマンド指定し、アド
レス・データ共用バスADにアドレス出力する。次に、
ステップ614,615において、制御バスCTLによ
りデータ識別子指定し、最終データ指定信号EODにな
るまで、アドレス・データ共用バスADへ複数ワードの
データ出力を繰り返す。
FIG. 10 is a flowchart showing an operation flow on the microprocessor side in the data transfer section of the conventional data processing apparatus. Briefly, cache
Main memory and peripheral I / O such as at the time of write-back from memory 300 or block transfer by a special instruction
Step 613 when a data output request is issued to the unit 400
, A command is designated by the control bus CTL and an address is output to the address / data shared bus AD. next,
In steps 614 and 615, a data identifier is designated by the control bus CTL, and data output of a plurality of words to the address / data shared bus AD is repeated until the final data designation signal EOD is reached.

【0007】図11は、この従来のデータ処理装置のデ
ータ転送部におけるバス・コントローラ側の動作フロー
を示す流れ図である。キャッシュ・メモリ300からの
ライトバック時または特殊命令によるブロック転送時な
ど、メインメモリおよび周辺I/O部400へデータ出
力要求発生により、アドレス・データ共用バスAD,制
御バスCTLを介して、マイクロプロセッサ100から
アドレス,コマンドを入力すると、アドレスをアドレス
・バッファ210に一時格納し、ステップ621におい
て、アドレスバスADDRを介して、メイン・メモリお
よび周辺I/O部400にアドレス出力する。次に、ス
テップ623〜625において、制御バスCTLによる
データ識別子指定に対応して、図10のマイクロプロセ
ッサ側の動作と同期してアドレス・データ共用バスAD
からデータ・バッファ220にデータ入力および一時格
納し、データ・バッファ220からデータバスDATA
を介してメイン・メモリおよび周辺I/O部400へデ
ータ出力する。これらデータ入力およびデータ出力は、
制御バスCTLによるデータ識別子指定が最終データ指
定信号EODになるまで繰り返される。
FIG. 11 is a flowchart showing an operation flow on the bus controller side in the data transfer section of the conventional data processing device. When a data output request is issued to the main memory and the peripheral I / O unit 400, such as at the time of writing back from the cache memory 300 or at the time of block transfer by a special instruction, the microprocessor via the address / data shared bus AD and the control bus CTL. When an address and a command are input from 100, the address is temporarily stored in the address buffer 210, and in step 621, the address is output to the main memory and the peripheral I / O unit 400 via the address bus ADDR. Next, in steps 623 to 625, the address / data shared bus AD is synchronized in synchronization with the operation on the microprocessor side in FIG. 10 in response to the data identifier designation by the control bus CTL.
From the data buffer 220 to the data bus DATA.
And outputs data to the main memory and the peripheral I / O unit 400 via These data inputs and outputs are
The data identifier designation by the control bus CTL is repeated until the final data designation signal EOD is reached.

【0008】これら図10,図11の動作フローに基づ
く従来のデータ処理装置のデータ転送部のブロック転送
例をまとめて、タイミング・チャートとして図12に示
す。
FIG. 12 is a timing chart showing a block transfer example of the data transfer unit of the conventional data processing apparatus based on the operation flows of FIGS.

【0009】また、図13は、この従来のデータ処理装
置のデータ転送部の動作機能を説明するための説明図で
ある。アドレス・データ共用バスAD,制御バスCTL
の各ビット構成に対応してデータ転送部の動作機能を示
す。ここで、アドレス・データ共用バスADは、全32
ビットを1まとめにして扱われる。また、制御バスCT
L4〜0において、ビット4がバス属性を示し、このデ
ータに対応して、下位各ビット3〜0がそれぞれが別々
の意味を持つ。ビット4が“0”であるとき、ビット3
〜0はコマンドを指定し、ビット4が“1”であると
き、データ識別子を指定する。たとえば、図10〜図1
2で説明したメイン・メモリおよび周辺I/O部400
へのブロック転送機能は、制御バスCTLの各ビット4
〜2を“0,1,1”とすることにより指定される。
FIG. 13 is an explanatory diagram for explaining an operation function of a data transfer section of the conventional data processing apparatus. Address / data shared bus AD, control bus CTL
The operation function of the data transfer unit is shown corresponding to each bit configuration of FIG. Here, the address / data shared bus AD has 32
The bits are treated as one. Also, control bus CT
In L4-0, bit 4 indicates a bus attribute, and corresponding lower bits 3-0 have different meanings corresponding to this data. When bit 4 is “0”, bit 3
〜0 designates a command, and when bit 4 is “1”, designates a data identifier. For example, FIGS.
Main memory and peripheral I / O unit 400 described in 2
The block transfer function to each of the four bits of the control bus CTL
2 are designated as "0, 1, 1".

【0010】[0010]

【発明が解決しようとする課題】従来のデータ処理装置
における問題点は、地図などの大容量の画像データを扱
うシステムでは、システムとしての性能が大きく落ちて
しまうことである。
A problem with the conventional data processing apparatus is that the performance of the system, which handles a large amount of image data such as a map, is greatly reduced.

【0011】その理由は、マイクロプロセッサを実装す
るボートと違うボード上に、大容量のメモリが低速メモ
リで構成され、通常、マイクロプロセッサはキャッシュ
上のプログラムとデータで高速実行しているのに、大容
量のメモリに対する連続アクセスにより、大きな待ち時
間ができ、マイクロプロセッサの処理とのギャップが生
じるためである。
The reason is that a large-capacity memory is constituted by a low-speed memory on a board different from the board on which the microprocessor is mounted, and the microprocessor normally executes the program and data in the cache at a high speed. This is because continuous access to a large-capacity memory results in a large waiting time and a gap with the processing of the microprocessor.

【0012】従って、本発明の目的は、大容量のメモリ
を実装したデータ処理装置のシステム性能を向上するこ
とにある。
Accordingly, it is an object of the present invention to improve the system performance of a data processing device in which a large-capacity memory is mounted.

【0013】[0013]

【課題を解決するための手段】そのため、本発明は、マ
イクロプロセッサと、このマイクロプロセッサが頻繁に
リードまたはライトするデータを数ワード構成のライン
単位でメイン・メモリから一時格納し不要になったとき
前記メイン・メモリにライト・バックするキャッシュ・
メモリと、前記マイクロプロセッサにバス接続され且つ
前記メイン・メモリおよび周辺I/O部を別のバスを介
して接続しこれら各バス間の入出力制御を行いデータ転
送を行うバス・コントローラとを備え、データ処理を行
うデータ処理装置において、前記キャッシュ・メモリの
データ書込み時にその書込ライン内の先頭ワードのデー
タと他の各データとをそれぞれ比較し同一データのワー
ドが前記先頭ワードから連続一致するワード数に対応し
て比較結果を出力するデータ比較手段と、前記キャッシ
ュ・メモリのデータ書込み時にデータと共に前記比較結
果を一致フラグとしてライン単位に書き込み前記ライト
・バック時に前記先頭ワードのデータおよび前記一致フ
ラグを読み出しこの一致フラグに対応して前記先頭ワー
ドから連続一致する各データをスキップし次データの読
出し制御を行うキャッシュ制御手段と、前記ライト・バ
ック時に前記一致フラグに対応して前記先頭ワードから
連続一致する各データを前記先頭ワードのデータおよび
その転送回数に圧縮して前記バス・コントローラに出力
し前記次データの読出しまで他処理にバス解放するバス
制御手段とを備えている。
SUMMARY OF THE INVENTION Therefore, the present invention provides a microprocessor and a method for temporarily storing data that is frequently read or written by the microprocessor from a main memory in units of a line having a configuration of several words. A cache that writes back to the main memory
A memory and a bus controller connected to the microprocessor via a bus, connecting the main memory and the peripheral I / O unit via another bus, controlling input / output between these buses, and performing data transfer. In the data processing device for performing data processing, when writing data in the cache memory, the data of the first word in the write line is compared with each of the other data, and the word of the same data continuously matches from the first word. Data comparing means for outputting a comparison result corresponding to the number of words, and writing the comparison result together with the data as a match flag at the time of writing the data in the cache memory in line units, and the data of the head word and the match at the time of the write back The flag is read out and a continuous match starts from the first word in accordance with the match flag. Cache control means for skipping each data and controlling reading of the next data, and compressing each data successively coincident from the first word into the data of the first word and the number of transfers thereof in correspondence with the coincidence flag at the time of the write back Bus control means for outputting to the bus controller and releasing the bus for other processing until the next data is read.

【0014】また、前記バス・コントローラが、前記ラ
イト・バック時に、前記メイン・メモリに対するバスサ
イクルを計数し、その計数値が前記転送回数に達するま
で、バスサイクルごとに前記先頭ワードのデータを前記
メイン・メモリにバス出力している。
Further, the bus controller counts the number of bus cycles for the main memory at the time of the write back, and stores the data of the first word every bus cycle until the counted value reaches the number of transfers. Bus output to main memory.

【0015】また、前記データ比較手段が、前記書込ラ
イン内の先頭ワードの1/2ワードのデータと他の各1
/2ワードのデータとをそれぞれ比較し1/2ワード単
位で同一データのワードが前記先頭ワードから連続一致
するワード数に対応して比較結果を出力し、前記バス制
御手段が、前記先頭ワードの1/2ワードのデータおよ
び前記転送回数をビット分割により同時に前記バス・コ
ントローラにバス出力している。
[0015] The data comparing means may store the data of one half word of the first word in the write line and the other one word.
ワ ー ド word data is compared with each other, and a comparison result is output in units of ワ ー ド word corresponding to the number of words in which the word of the same data continuously matches from the first word. The half-word data and the number of transfers are simultaneously output to the bus controller by a bit division.

【0016】さらに、前記バス制御手段が、前記メイン
・メモリおよび周辺I/O部にデータをブロック転送す
る特殊命令により、ブロック転送の先頭ワードから連続
一致する各データを1ワードまたは1/2ワードのデー
タおよびその転送回数に圧縮して前記バス・コントロー
ラにバス出力している。
Further, the bus control means executes a special instruction for transferring data in blocks to the main memory and the peripheral I / O unit, thereby causing each data successively coincident from the first word of the block transfer to be 1 word or 1/2 word. And the data is transferred to the bus controller after being compressed to the number of transfers.

【0017】[0017]

【発明の実施の形態】次に、本発明について図面を参照
して説明する。図1は、本発明のデータ処理装置の実施
形態1おけるデータ転送部を示す部分ブロック図であ
る。図1を参照すると、本実施形態のデータ処理装置に
おけるデータ転送部は、従来のデータ処理装置のデータ
転送部と同様に、マイクロプロセッサ1100,バス・
コントローラ1200,キャッシュ・メモリ1300を
備え、バス・コントローラ1200を介して、メイン・
メモリおよび周辺I/O部400とデータ転送を行う。
このとき、従来のデータ転送機能の他に、圧縮ブロック
転送機能が追加され選択的に実行される。この圧縮ブロ
ック転送は、ライト・バック時および特殊命令によるブ
ロック転送時に、バス・コントローラ1200に転送す
るデータが連続して同じ値であれば、先頭ワードから連
続一致する各データを1ワードまたは1/2ワードのデ
ータとその転送回数とに圧縮しバス・コントローラ12
00に出力し、次データの読出しまで他処理にバス解放
する。この圧縮ブロック転送以外の機能は、図8の従来
のデータ処理装置のデータ転送部と同様であり、重複説
明を省略する。
Next, the present invention will be described with reference to the drawings. FIG. 1 is a partial block diagram showing a data transfer unit in Embodiment 1 of the data processing device of the present invention. Referring to FIG. 1, the data transfer unit in the data processing device of the present embodiment includes a microprocessor 1100, a bus, and a bus, similarly to the data transfer unit of the conventional data processing device.
A controller 1200 and a cache memory 1300 are provided.
It performs data transfer with the memory and the peripheral I / O unit 400.
At this time, in addition to the conventional data transfer function, a compressed block transfer function is added and selectively executed. In the compressed block transfer, when data to be transferred to the bus controller 1200 continuously has the same value at the time of write-back and block transfer by a special instruction, each successively matching data from the first word is replaced by one word or 1 /. The bus controller 12 compresses the data into two-word data and the number of transfers.
00, and releases the bus to other processes until the next data is read. The functions other than the compressed block transfer are the same as those of the data transfer unit of the conventional data processing apparatus of FIG.

【0018】マイクロプロセッサ1100は、データ比
較回路110,キャッシュ制御回路120,バス制御回
路130を備え、キャッシュ・メモリ1300のデータ
比較および制御と、バス・コントローラ1200との間
のアドレス・データ共用バスAD,制御バスCTLの入
出力制御とを行う。
The microprocessor 1100 includes a data comparison circuit 110, a cache control circuit 120, and a bus control circuit 130. The microprocessor 1100 compares and controls data in the cache memory 1300, and shares an address / data shared bus AD with the bus controller 1200. , And input / output control of the control bus CTL.

【0019】データ比較回路110は、キャッシュ・メ
モリ1300のデータ書込み時に、その書込ライン内の
先頭ワードのデータと他の各データとをそれぞれ比較
し、同一データのワードが先頭ワードから連続一致する
ワード数に対応して比較結果を出力する。図2は、この
データ比較回路の構成例を示す回路図である。本実施形
態では、キャッシュ・メモリ1300からライン内の4
ワードの32ビットデータを1/2ワード単位で並列入
力し、先頭ワードの1/2ワードのデータと他の各1/
2ワードのデータとをそれぞれ比較し各1/2ワード一
致信号を出力し、これらの論理出力により、1/2ワー
ド単位で同一データのワードが先頭ワードから連続一致
するワード数に対応して、2ワード連続一致信号,4ワ
ード連続一致信号を比較結果として出力している。
When data is written to cache memory 1300, data comparison circuit 110 compares the data of the first word in the write line with each of the other data, and the words of the same data continuously match from the first word. The comparison result is output according to the number of words. FIG. 2 is a circuit diagram showing a configuration example of the data comparison circuit. In the present embodiment, 4 caches in the line from the cache memory 1300
The 32-bit data of a word is input in parallel in units of 1/2 word, and the data of 1/2 word of the first word and each other 1 /
Each of the two words is compared with each other and a half-word match signal is output. With these logical outputs, the words of the same data in half-word units correspond to the number of words that continuously match from the first word. A two-word continuous match signal and a four-word continuous match signal are output as comparison results.

【0020】また、キャッシュ制御回路120は、キャ
ッシュ・メモリ1300のデータ書込み時に、データと
共にデータ比較回路110の比較結果を一致フラグとし
てライン単位に書き込む制御を行う。また、通常の読み
出し制御を行う他に、ライト・バック時に、先頭ワード
のデータおよび一致フラグを読み出し、この一致フラグ
に対応して、先頭ワードから連続一致する各データをス
キップし、次データの読出し制御を行う。このライト・
バック時の一致フラグによる制御は、キャッシュ・メモ
リ1300のデータ書込み時と時間的に離れるため、デ
ータ比較回路110の比較結果の遅れにより影響される
ことは無く、高速に行われる。
The cache control circuit 120 performs control of writing the data and the comparison result of the data comparison circuit 110 as a match flag in line units when writing data to the cache memory 1300. In addition to performing normal read control, at the time of write back, the data and the match flag of the first word are read, and in accordance with the match flag, each successive data from the first word is skipped, and the next data is read. Perform control. This light
Since the control by the match flag at the time of backing is temporally separated from the time of data writing to the cache memory 1300, it is not affected by the delay of the comparison result of the data comparing circuit 110 and is performed at high speed.

【0021】さらに、バス制御回路130は、従来と同
様に通常のデータ転送を行う他に、ライト・バック時
に、一致フラグに対応して、先頭ワードから連続一致す
る各データを1/2ワードのデータとその転送回数とに
圧縮してビット分割により同時にバス・コントローラ1
200にバス出力する1/2ワード単位圧縮ブロック転
送を行い、次データの読出しまで他処理にバス解放す
る。また、メイン・メモリおよび周辺I/O部400に
データをブロック転送する特殊命令により、ブロック転
送の先頭ワードから連続一致する各データを1/2ワー
ドまたは1ワードのデータとその転送回数とに圧縮して
バス・コントローラ1200にバス出力する1/2ワー
ドまたは1ワード単位圧縮ブロック転送を行い、次デー
タの読出しまで他処理にバス解放する。このとき、1ワ
ード単位圧縮ブロック転送では、先頭ワードのデータと
その転送回数とが時分割によりバス・コントローラ12
00にバス出力される。また、これらの通常データ転
送,1/2ワードまたは1ワード単位圧縮ブロック転送
のコマンド指定は、制御バスCTLにより行われる。
Further, in addition to performing normal data transfer in the same manner as in the prior art, the bus control circuit 130 also converts each successively matching data from the first word into a half word corresponding to the match flag at the time of write-back. The bus controller 1 compresses the data and the number of transfers and compresses them at the same time by bit division.
A 1/2 word unit compressed block transfer to the bus 200 is performed, and the bus is released to another process until the next data is read. In addition, a special instruction for block-transferring data to the main memory and the peripheral I / O unit 400 compresses each successively matching data from the first word of the block transfer into 1 / 2-word or 1-word data and the number of transfers. Then, a 1/2 word or 1 word unit compressed block transfer to be output to the bus controller 1200 via the bus is performed, and the bus is released to another process until the next data is read. At this time, in the 1-word unit compressed block transfer, the data of the first word and the number of transfers are divided by the bus controller 12 by time division.
00 is output to the bus. The commands for the normal data transfer and the 1 / 2-word or 1-word unit compression block transfer are designated by the control bus CTL.

【0022】バス・コントローラ1200は、アドレス
・バッファ210およびアドレスバスADDRについて
は、図8の従来のデータ処理装置と同様であり、データ
・バッファ220と共に、従来と同様に通常のデータ転
送を行う。その他に、バスサイクル・カウンタ230が
追加され、ライト・バック時および特殊命令によるブロ
ック転送時に、1/2ワードまたは1ワード単位圧縮ブ
ロック転送を行う。バスサイクル・カウンタ230は、
マイクロプロセッサ1100側からアドレス・データ共
用バスADを介して転送回数を入力し、ライト・バック
時に、メイン・メモリに対するバスサイクルを計数し、
その計数値が転送回数に達したことを示す信号を出力す
る。また、マイクロプロセッサ1100側からアドレス
・データ共用バスADを介して先頭ワードまたはその1
/2ワードのデータを入力し、先頭ワードのデータをデ
ータ・バッファ220に一時格納し、バスサイクル・カ
ウンタ230の計数値が転送回数に達するまで、バスサ
イクルごとに、データ・バッファ220に一時格納され
たデータをデータバスDATAにバス出力する。
The bus controller 1200 is the same as the conventional data processing apparatus shown in FIG. 8 with respect to the address buffer 210 and the address bus ADDR, and performs normal data transfer together with the data buffer 220 as in the conventional case. In addition, a bus cycle counter 230 is added to perform 1/2 word or 1 word unit compression block transfer at the time of write back and block transfer by a special instruction. The bus cycle counter 230
The number of transfers is input from the microprocessor 1100 via the address / data shared bus AD, and at the time of write back, the number of bus cycles for the main memory is counted.
A signal indicating that the count value has reached the transfer count is output. Also, the first word or its first word is sent from the microprocessor 1100 via the address / data shared bus AD.
/ 2 word data is input, the first word data is temporarily stored in the data buffer 220, and is temporarily stored in the data buffer 220 every bus cycle until the count value of the bus cycle counter 230 reaches the transfer count. The output data is output to a data bus DATA.

【0023】キャッシュ・メモリ1300は、大きく3
つの領域に分けられる。図3は、このキャッシュ・メモ
リ1300の領域構成例を示す説明図である。1つは、
タグ領域310であり、キャッシュにヒットしたかどう
かを比較するためのアドレス情報を格納する。2つは、
データ領域320であり、ヒットしたデータを格納す
る。これら2つの領域は、図9の従来のキャッシュ・メ
モリ300の各領域と同じである。本実施形態では、3
つ目の領域として、データ比較回路110の比較結果で
ある2ワード連続一致信号,4ワード連続一致信号を一
致フラグとして格納する一致フラグ領域340が付加さ
れている。また、従来のデータ処理装置と同様に、タグ
情報,データ,一致フラグの一対のペアを1ライン33
0とし、1ライン330内のデータ領域320は複数ワ
ードのデータを持つ。キャッシュ・メモリ1300とメ
イン・メモリおよび周辺I/O部400の間のデータ転
送の際には、この1ライン330内のデータ領域320
の複数ワード・データが、転送単位となり、ブロック転
送される。
The cache memory 1300 is roughly 3
Divided into two areas. FIG. 3 is an explanatory diagram showing an example of the area configuration of the cache memory 1300. One is
The tag area 310 stores address information for comparing whether or not a cache hit has occurred. The two are
The data area 320 stores hit data. These two areas are the same as the respective areas of the conventional cache memory 300 in FIG. In the present embodiment, 3
As a second area, a match flag area 340 for storing a 2-word continuous match signal and a 4-word continuous match signal, which are the comparison results of the data comparison circuit 110, as a match flag is added. As in the case of the conventional data processing apparatus, a pair of tag information, data, and a match flag is stored in one line 33.
The data area 320 in one line 330 has data of a plurality of words. When data is transferred between the cache memory 1300 and the main memory and the peripheral I / O unit 400, the data area 320 in this one line 330 is
Is a unit of transfer and is block-transferred.

【0024】次に、本実施形態のデータ処理装置におけ
るデータ転送部の動作について説明する。図4は、本実
施形態のデータ処理装置のデータ転送部におけるマイク
ロプロセッサ側の動作フローを示す流れ図である。
Next, the operation of the data transfer unit in the data processing device of the present embodiment will be described. FIG. 4 is a flowchart showing an operation flow on the microprocessor side in the data transfer unit of the data processing device of the present embodiment.

【0025】まず、キャッシュ・メモリ1300からの
ライトバック時または特殊命令によるブロック転送時な
ど、メインメモリおよび周辺I/O部400へデータ出
力要求発生のとき、ステップ613において、従来と同
様、制御バスCTLによりコマンド指定し、アドレス・
データ共用バスADにアドレス出力する。次に、ステッ
プ714において、特殊命令によるブロック転送か否か
を判定し、ステップ715またはステップ716に進
む。ステップ715において、ライトバック時に、キャ
ッシュ・メモリ1300から読み出された一致フラグの
確認を行い、ステップ614またはステップ717に進
む。ステップ614〜615の処理は、従来と同様であ
り、通常のデータ転送が行われ、制御バスCTLによる
データ識別子指定が最終データ指定信号EODになるま
で、バスサイクルごとにアドレス・データ共用バスAD
にデータ出力する。
First, when a data output request is issued to the main memory and the peripheral I / O unit 400, for example, at the time of write-back from the cache memory 1300 or at the time of block transfer by a special instruction, at step 613, the control bus Specify the command by CTL,
The address is output to the data sharing bus AD. Next, in step 714, it is determined whether or not block transfer is performed by a special instruction, and the process proceeds to step 715 or step 716. At step 715, at the time of write-back, the matching flag read from the cache memory 1300 is checked, and the process proceeds to step 614 or 717. The processing in steps 614 to 615 is the same as that in the conventional case. Normal data transfer is performed, and the address / data shared bus AD is used in each bus cycle until the data identifier is designated by the control bus CTL to the final data designation signal EOD.
Output data to

【0026】ステップ716において、特殊命令による
ブロック転送が先頭ワードから連続一致する各データを
1/2ワードまたは1ワードのデータとその転送回数と
に圧縮する1/2ワード単位圧縮ブロック転送または1
ワード単位圧縮ブロック転送に対応してステップ717
またはステップ718に進む。ステップ717におい
て、1/2ワード単位圧縮ブロック転送が行われ、先頭
ワードの1/2ワードのデータとその転送回数とをビッ
ト分割により同時にアドレス・データ共用バスADに出
力し、次データの読出し要求まで他処理にバス解放す
る。ステップ718,719において、先頭ワードの1
ワードのデータとその転送回数とを時分割でアドレス・
データ共用バスADに出力し、次データの読出し要求ま
で他処理にバス解放する。
In step 716, block transfer by the special instruction compresses each data successively coincident from the first word into 1/2 word or 1 word data and the number of times of transfer by 1/2 word unit compressed block transfer or 1 byte.
Step 717 corresponding to the word unit compressed block transfer
Alternatively, the process proceeds to step 718. In step 717, a 1/2 word unit compressed block transfer is performed, and the data of the first word and the number of transfers are simultaneously output to the address / data shared bus AD by bit division, and a read request for the next data is made. The bus is released to other processing until it. In steps 718 and 719, the first word 1
The word data and the number of transfers are
The data is output to the data sharing bus AD, and the bus is released to another process until the next data read request.

【0027】図5は、本実施形態のデータ処理装置のデ
ータ転送部におけるバス・コントローラ側の動作フロー
を示す流れ図である。
FIG. 5 is a flowchart showing an operation flow on the bus controller side in the data transfer unit of the data processing device of the present embodiment.

【0028】まず、キャッシュ・メモリ1300からの
ライトバック時または特殊命令によるブロック転送時な
ど、メインメモリおよび周辺I/O部400へデータ出
力要求発生により、アドレス・データ共用バスAD,制
御バスCTLを介して、マイクロプロセッサ1100か
らアドレス,コマンドを入力すると、アドレスをアドレ
ス・バッファ210に一時格納し、ステップ621にお
いて、アドレスバスADDRを介して、メイン・メモリ
および周辺I/O部400にアドレス出力する。次に、
ステップ722において、制御バスCTLによるコマン
ド指定に対応して通常データ転送,1/2ワード単位圧
縮ブロック転送,1ワード単位圧縮ブロック転送の何れ
かを判定し、それぞれステップ623,ステップ723
またはステップ724に進む。ステップ623〜625
の処理は、従来と同様であり、通常データ転送が行わ
れ、制御バスCTLによるデータ識別子指定が最終デー
タ指定信号EODになるまで、バスサイクルごとにアド
レス・データ共用バスADからデータ・バッファ220
にデータ入力および一時格納しデータバスDATAにバ
ス出力する。
First, when a data output request is issued to the main memory and the peripheral I / O unit 400 such as at the time of write-back from the cache memory 1300 or at the time of block transfer by a special instruction, the address / data shared bus AD and the control bus CTL are switched. When an address and a command are input from the microprocessor 1100 via the memory, the address is temporarily stored in the address buffer 210, and in step 621, the address is output to the main memory and the peripheral I / O unit 400 via the address bus ADDR. . next,
In step 722, one of normal data transfer, 1/2 word unit compressed block transfer, and 1 word unit compressed block transfer is determined according to the command designation by the control bus CTL.
Alternatively, the process proceeds to step 724. Step 623-625
Is performed in the same manner as in the prior art. Normal data transfer is performed and the data buffer 220 is transferred from the address / data shared bus AD every bus cycle until the data identifier designation by the control bus CTL becomes the final data designation signal EOD.
And temporarily stores the data, and outputs the data to the data bus DATA.

【0029】ステップ723において、アドレス・デー
タ共用バスADを介して、先頭ワードの1/2ワードの
データとその転送回数とをビット分割により同時に入力
し、先頭ワードとその転送回数とをデータ・バッファ2
20とバスサイクル・カウンタ230とに一時格納しス
テップ726に進む。また、ステップ724,725に
おいて、アドレス・データ共用バスADを介して、先頭
ワードのデータとその転送回数とを時分割により入力し
データ・バッファ220とバスサイクル・カウンタ23
0とに一時格納しステップ726に進む。ステップ72
6〜728において、バスサイクルごとに、データ・バ
ッファ220に一時格納された先頭ワードのデータをデ
ータバスDATAにバス出力し、バスサイクル計数を行
い、この計数値が転送回数に達するまで、データバスD
ATAを介して、メイン・メモリおよび周辺I/O部4
00へのデータ出力が繰り返される。
In step 723, the data of the half word of the first word and the number of transfers thereof are simultaneously inputted by bit division via the address / data shared bus AD, and the first word and the number of transfers are input to the data buffer. 2
20, and temporarily stored in the bus cycle counter 230 and proceed to step 726. In steps 724 and 725, the data of the first word and the number of transfers are input in a time-division manner via the address / data shared bus AD, and the data buffer 220 and the bus cycle counter 23 are input.
The value is temporarily stored as 0, and the flow advances to step 726. Step 72
In steps 6 to 728, the head word data temporarily stored in the data buffer 220 is bus-outputted to the data bus DATA for each bus cycle, and the bus cycle is counted. D
Main memory and peripheral I / O unit 4 via ATA
The data output to 00 is repeated.

【0030】これら図4,図5の動作フローに基づく本
実施形態のデータ処理装置のデータ転送部のブロック転
送例をまとめて、タイミング・チャートとして図6に示
す。図6(A)は、1/2ワード単位圧縮ブロック転送
のタイミング・チャートであり、先頭ワードの1/2ワ
ードのデータとその転送回数とが、ビット分割により同
時にアドレス・データ共用バスADに出力されてい
る。、図6(B)は、1ワード単位圧縮ブロック転送の
タイミング・チャートであり、先頭ワードの1ワードの
データとその転送回数とが、時分割でアドレス・データ
共用バスADに出力されている。
FIG. 6 is a timing chart showing a block transfer example of the data transfer unit of the data processing apparatus according to the present embodiment based on the operation flows shown in FIGS. FIG. 6A is a timing chart of a half-word unit compressed block transfer, in which the data of the first half word and the number of transfers are simultaneously output to the address / data shared bus AD by bit division. Have been. FIG. 6B is a timing chart of the one-word unit compressed block transfer, in which the data of one head word and the number of transfers are output to the address / data shared bus AD in a time sharing manner.

【0031】また、図7は、本実施形態のデータ処理装
置のデータ転送部の動作機能を説明するための説明図で
ある。アドレス・データ共用バスAD,制御バスCTL
の各ビット構成に対応してデータ転送部の動作機能を示
す。図13の従来のデータ処理装置の説明図と比較する
と、制御バスCTLが1ビット拡大され、従来のデータ
処理装置におけるバス・コントローラを介したメイン・
メモリおよび周辺I/O部への通常データ転送機能の他
に、図4,図5の動作フローに基づく、1/2ワード単
位圧縮ブロック転送,1ワード単位圧縮ブロック転送の
機能が追加されている。例えば、制御バスCTLの各ビ
ット5〜2を“0,1,1,0”または“0,1,1,
1”とすることにより、1/2ワード単位圧縮ブロック
転送または1ワード単位圧縮ブロック転送が、コマンド
指定される。
FIG. 7 is an explanatory diagram for explaining the operation function of the data transfer unit of the data processing device of the present embodiment. Address / data shared bus AD, control bus CTL
The operation function of the data transfer unit is shown corresponding to each bit configuration of FIG. Compared to the explanatory diagram of the conventional data processing device of FIG. 13, the control bus CTL is expanded by one bit, and the main bus via the bus controller in the conventional data processing device is expanded.
In addition to the normal data transfer function to the memory and the peripheral I / O unit, a function of ワ ー ド word unit compressed block transfer and 1 word unit compressed block transfer based on the operation flow of FIGS. 4 and 5 is added. . For example, each bit 5 to 2 of the control bus CTL is set to “0, 1, 1, 0” or “0, 1, 1,
By setting the value to “1”, a command is specified for a half-word unit compressed block transfer or a one-word unit compressed block transfer.

【0032】本実施形態では、ブロック転送時に、1ワ
ード長が32ビットのデータである場合について説明し
ているが、他の実施形態として、1ワード長が32ビッ
ト以外のデータに対しても適用可能であり、また、1/
2ワード以外の等分割ワードのデータに対しても適用可
能である。例えば、1ワード長が16ビットのデータに
ついて、1/2ワード8ビット単位で同一データのワー
ドが先頭ワードから連続一致するワード数に対応して、
ブロック転送の先頭ワードから連続一致する各データを
1/2ワードの8ビットデータとその転送回数とに圧縮
できる。
In this embodiment, a case where one word length is 32 bits of data at the time of block transfer is described. However, as another embodiment, the present invention is applied to data whose one word length is other than 32 bits. Is possible, and 1 /
The present invention is also applicable to equally divided word data other than two words. For example, for data having a word length of 16 bits, corresponding to the number of words where the same data word continuously matches from the first word in units of 1/2 word and 8 bits,
Each data that continuously matches from the first word of the block transfer can be compressed into 1/2 word 8-bit data and the number of transfers.

【0033】[0033]

【発明の効果】第1の効果は、大容量のメモリを実装し
たデータ処理装置のシステム性能が向上することであ
る。
The first effect is that the system performance of a data processing device in which a large-capacity memory is mounted is improved.

【0034】その理由は、キャッシュ・メモリからのラ
イトバック時または特殊命令によるブロック転送時な
ど、メインメモリおよび周辺I/O部へデータ出力要求
発生のとき、ブロック転送の先頭ワードから連続一致す
る各データを1/2ワードまたは1ワードのデータとそ
の転送回数とに圧縮してバスコントローラにバス出力
し、次データの読出し要求まで他処理にバス解放できる
ためである。
The reason is that, when a data output request is issued to the main memory and the peripheral I / O unit, such as at the time of write-back from the cache memory or at the time of block transfer by a special instruction, each of the consecutive words starting from the first word of the block transfer. This is because data can be compressed into half-word or one-word data and the number of transfers thereof, output to the bus controller via the bus, and the bus can be released to other processing until the next data read request.

【0035】例えば、データ比較により4ワードのデー
タを1/2ワード単位圧縮データ転送できれば、マイク
ロプロセッサからバス・コントローラへのデータ転送時
間を2/5にでき、3/5のデータ転送時間を他処理に
利用できる。
For example, if 4-word data can be compressed and transferred in 1 / 2-word units by data comparison, the data transfer time from the microprocessor to the bus controller can be reduced to 2/5, and the data transfer time of 3/5 can be shortened. Available for processing.

【0036】第2の効果は、特に、画像データ作成の同
色データの設定や、大きなデータベースの初期データ設
定などの連続データ設定を、効率良く、少ないハードウ
ェア資源で行えることである。
The second effect is that, in particular, the setting of the same color data for creating image data and the setting of continuous data such as the initial data setting of a large database can be performed efficiently and with less hardware resources.

【0037】その理由は、特殊命令による圧縮ブロック
転送機能が、キャッシュ・メモリからのライトバック時
の圧縮ブロック転送機能と兼用して実現できるためであ
る。
The reason is that the compressed block transfer function by the special instruction can be realized also as the compressed block transfer function at the time of write back from the cache memory.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明のデータ処理装置の実施形態におけるデ
ータ転送部を示す部分ブロック図である。
FIG. 1 is a partial block diagram illustrating a data transfer unit in an embodiment of a data processing device of the present invention.

【図2】図1のデータ比較回路の構成例を示す回路図で
ある。
FIG. 2 is a circuit diagram illustrating a configuration example of a data comparison circuit in FIG. 1;

【図3】図1のキャッシュ・メモリの領域構成例を示す
説明図である。
FIG. 3 is an explanatory diagram showing an example of an area configuration of a cache memory in FIG. 1;

【図4】図1のデータ転送部のマイクロプロセッサ側動
作フローを示す流れ図である。
FIG. 4 is a flowchart showing an operation flow of the data transfer unit of FIG. 1 on the microprocessor side;

【図5】図1のデータ転送部のバス・コントローラ側動
作フローを示す流れ図である。
FIG. 5 is a flowchart showing an operation flow of the data transfer unit of FIG. 1 on the bus controller side;

【図6】図1のデータ転送部の圧縮ブロック転送時動作
例を示すタイミング・チャートである。
FIG. 6 is a timing chart showing an operation example of the data transfer unit in FIG. 1 at the time of compressed block transfer.

【図7】図1のデータ転送部の動作機能を説明するため
の説明図である。
FIG. 7 is an explanatory diagram for explaining an operation function of the data transfer unit in FIG. 1;

【図8】従来のデータ処理装置におけるデータ転送部を
示す部分ブロック図である。
FIG. 8 is a partial block diagram illustrating a data transfer unit in a conventional data processing device.

【図9】図8のキャッシュ・メモリの領域構成例を示す
説明図である。
FIG. 9 is an explanatory diagram showing an example of an area configuration of the cache memory in FIG. 8;

【図10】図8のデータ転送部のマイクロプロセッサ側
動作フローを示す流れ図である。
10 is a flowchart showing an operation flow of the data transfer unit shown in FIG. 8 on the microprocessor side;

【図11】図8のデータ転送部のバス・コントローラ側
動作フローを示す流れ図である。
11 is a flowchart showing an operation flow of the data transfer unit of FIG. 8 on the bus controller side.

【図12】図8のデータ転送部のブロック転送時動作例
を示すタイミング・チャートである。
12 is a timing chart showing an example of an operation at the time of block transfer of the data transfer unit of FIG. 8;

【図13】図8のデータ転送部の動作機能を説明するた
めの説明図である。
FIG. 13 is an explanatory diagram for explaining an operation function of the data transfer unit in FIG. 8;

【符号の説明】[Explanation of symbols]

100,1100 マイクロプロセッサ 200,1200 バス・コントローラ 300,1300 キャッシュ・メモリ 400 メイン・メモリおよび周辺I/O部 110 データ比較器 120 キャッシュ制御回路 130 バス制御回路 210 アドレス・バッファ 220 データ・バッファ 230 アドレス・カウンタ 310 タグ領域 320 データ領域 330 1ライン 340 一致フラグ領域 610〜728 動作ステップ 100, 1100 Microprocessor 200, 1200 Bus controller 300, 1300 Cache memory 400 Main memory and peripheral I / O unit 110 Data comparator 120 Cache control circuit 130 Bus control circuit 210 Address buffer 220 Data buffer 230 Address Counter 310 Tag area 320 Data area 330 1 line 340 Match flag area 610 to 728 Operation steps

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 マイクロプロセッサと、このマイクロプ
ロセッサが頻繁にリードまたはライトするデータを数ワ
ード構成のライン単位でメイン・メモリから一時格納し
不要になったとき前記メイン・メモリにライト・バック
するキャッシュ・メモリと、前記マイクロプロセッサに
バス接続され且つ前記メイン・メモリおよび周辺I/O
部を別のバスを介して接続しこれら各バス間の入出力制
御を行いデータ転送を行うバス・コントローラとを備
え、データ処理を行うデータ処理装置において、前記キ
ャッシュ・メモリのデータ書込み時にその書込ライン内
の先頭ワードのデータと他の各データとをそれぞれ比較
し同一データのワードが前記先頭ワードから連続一致す
るワード数に対応して比較結果を出力するデータ比較手
段と、前記キャッシュ・メモリのデータ書込み時にデー
タと共に前記比較結果を一致フラグとしてライン単位に
書き込み前記ライト・バック時に前記先頭ワードのデー
タおよび前記一致フラグを読み出しこの一致フラグに対
応して前記先頭ワードから連続一致する各データをスキ
ップし次データの読出し制御を行うキャッシュ制御手段
と、前記ライト・バック時に前記一致フラグに対応して
前記先頭ワードから連続一致する各データを前記先頭ワ
ードのデータおよびその転送回数に圧縮して前記バス・
コントローラに出力し前記次データの読出しまで他処理
にバス解放するバス制御手段とを備えることを特徴とす
るデータ処理装置。
1. A microprocessor and a cache for temporarily storing data frequently read or written by the microprocessor from a main memory in units of several words in a line unit and writing back the data to the main memory when it becomes unnecessary. A memory, a bus connected to the microprocessor and the main memory and peripheral I / O
A bus controller for connecting the units via different buses, performing input / output control between these buses and performing data transfer, and performing data processing. Data comparing means for comparing the data of the first word in the read line with each of the other data, and outputting a comparison result corresponding to the number of words in which the words of the same data continuously match from the first word, and the cache memory At the time of data writing, the comparison result is written together with the data as a match flag in line units.At the time of the write-back, the data of the head word and the match flag are read out, and each data successively matching from the head word corresponding to the match flag is read. A cache control means for skipping and controlling reading of the next data; Wherein compressing each data corresponding to said match flag click upon consecutive matches from the first word to the data and its transfer number of the first word bus
A data processing device comprising: a bus control unit that outputs a signal to a controller and releases the bus to another process until the next data is read.
【請求項2】 前記バス・コントローラが、前記ライト
・バック時に、前記メイン・メモリに対するバスサイク
ルを計数し、その計数値が前記転送回数に達するまで、
バスサイクルごとに前記先頭ワードのデータを前記メイ
ン・メモリにバス出力する、請求項1記載のデータ処理
装置。
2. The bus controller counts bus cycles for the main memory at the time of the write back, and keeps counting the number of bus cycles until the count reaches the transfer count.
2. The data processing device according to claim 1, wherein the data of the first word is bus-outputted to the main memory every bus cycle.
【請求項3】 前記データ比較手段が、前記書込ライン
内の先頭ワードの1/2ワードのデータと他の各1/2
ワードのデータとをそれぞれ比較し1/2ワード単位で
同一データのワードが前記先頭ワードから連続一致する
ワード数に対応して比較結果を出力し、前記バス制御手
段が、前記先頭ワードの1/2ワードのデータおよび前
記転送回数をビット分割により同時に前記バス・コント
ローラにバス出力する、請求項1または2記載のデータ
処理装置。
3. The data comparison means according to claim 1, wherein the data of the half word of the first word in the write line and each other half of the word are written.
The data of each word is compared with each other, and a comparison result is output in correspondence with the number of words in which the same data word continuously matches from the first word in units of 1/2 word. 3. The data processing device according to claim 1, wherein two words of data and the number of transfers are simultaneously output to the bus controller by bit division.
【請求項4】 前記バス制御手段が、前記メイン・メモ
リおよび周辺I/O部にデータをブロック転送する特殊
命令により、ブロック転送の先頭ワードから連続一致す
る各データを1ワードまたは1/2ワードのデータおよ
びその転送回数に圧縮して前記バス・コントローラにバ
ス出力する、請求項1,2または3記載のデータ処理装
置。
4. The bus control means according to a special instruction for block-transferring data to the main memory and the peripheral I / O unit, wherein each successively matching data from the head word of the block transfer is one word or one-half word. 4. The data processing device according to claim 1, wherein the data is compressed to the data and the number of transfers and output to the bus controller via a bus.
JP17843697A 1997-07-03 1997-07-03 Data processing device Expired - Fee Related JP3176319B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17843697A JP3176319B2 (en) 1997-07-03 1997-07-03 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17843697A JP3176319B2 (en) 1997-07-03 1997-07-03 Data processing device

Publications (2)

Publication Number Publication Date
JPH1124991A true JPH1124991A (en) 1999-01-29
JP3176319B2 JP3176319B2 (en) 2001-06-18

Family

ID=16048493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17843697A Expired - Fee Related JP3176319B2 (en) 1997-07-03 1997-07-03 Data processing device

Country Status (1)

Country Link
JP (1) JP3176319B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410897C (en) * 2004-12-02 2008-08-13 富士通株式会社 Storage system and its control method and its programme

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100410897C (en) * 2004-12-02 2008-08-13 富士通株式会社 Storage system and its control method and its programme

Also Published As

Publication number Publication date
JP3176319B2 (en) 2001-06-18

Similar Documents

Publication Publication Date Title
US7996821B2 (en) Data processor
US6341318B1 (en) DMA data streaming
EP1310874A2 (en) Fly-by XOR
US7165126B2 (en) Direct memory access device
JP4097883B2 (en) Data transfer apparatus and method
JP3176319B2 (en) Data processing device
JP3005626B2 (en) Data processing system and data transfer method
JPH05189360A (en) Data transfer and storage system
JPH0351012B2 (en)
JPH06149669A (en) System and device for transferring cache data
JP2002259326A (en) Dma controller and dma transferring method
JP3799451B2 (en) Electronic computer system
JP2642087B2 (en) Data transfer processing mechanism between main storage devices
JP2000029788A (en) Cache memory system, cache control method used therefor and recording medium control program therefor recorded therein
JP3204297B2 (en) DMA transfer control device
JPH10111798A (en) Information processor
JP2945668B2 (en) Pipeline processing equipment
JP3496942B2 (en) Memory access method
JPS61256458A (en) Information transfer system
JPH05324534A (en) Dma transfer system
JPH0567035A (en) Data alignment system for dma transfer
JPH058459B2 (en)
JPH0357055A (en) Dma transfer control system
JPH1196032A (en) Data processor
JPH03250379A (en) High speed processing system for image processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010306

LAPS Cancellation because of no payment of annual fees