JPH05242003A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPH05242003A JPH05242003A JP4075140A JP7514092A JPH05242003A JP H05242003 A JPH05242003 A JP H05242003A JP 4075140 A JP4075140 A JP 4075140A JP 7514092 A JP7514092 A JP 7514092A JP H05242003 A JPH05242003 A JP H05242003A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- main
- local
- processor
- input
- 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.)
- Pending
Links
- 230000004044 response Effects 0.000 claims abstract description 5
- 239000013256 coordination polymer Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は入出力制御ローカルプロ
セッサとメインプロセッサとを備えたデータ処理装置に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processor having an input / output control local processor and a main processor.
【0002】[0002]
【従来の技術】従来、入出力制御ローカルプロセッサと
メインプロセッサとを備えたデータ処理装置に於いて
は、他のデータ処理装置等からフレームが送られてきた
場合、先ず、入出力制御ローカルプロセッサがフレーム
を受信し、受信したフレームからデータ,誤り訂正符号
等を取り出す。その後、入出力制御ローカルプロセッサ
に於いて誤り訂正等の処理を行ない、訂正済みのデータ
をメインプロセッサのメインメモリ上に設けられている
受信データバッファに転送する。2. Description of the Related Art Conventionally, in a data processing apparatus having an input / output control local processor and a main processor, when a frame is sent from another data processing apparatus or the like, first, the input / output control local processor is A frame is received, and data, error correction code, etc. are extracted from the received frame. Thereafter, the input / output control local processor performs processing such as error correction and transfers the corrected data to the reception data buffer provided on the main memory of the main processor.
【0003】メインプロセッサはメインメモリに訂正済
みのデータが格納されると、メインメモリ上で処理を行
なう。When the corrected data is stored in the main memory, the main processor performs processing on the main memory.
【0004】[0004]
【発明が解決しようとする課題】上述したように、従来
は、入出力制御ローカルプロセッサに於いて、データ等
の取り出しや誤り訂正処理等を行ない、更に、訂正済み
のデータをメインプロセッサのメインメモリに転送し、
メインプロセッサにメインメモリ上で処理を行なわせる
ようにしていたため、処理速度を高速化することが難し
いという問題があった。As described above, conventionally, in the input / output control local processor, data and the like are fetched and error correction processing is performed, and the corrected data is further stored in the main memory of the main processor. Transfer to
Since the main processor was made to perform the processing on the main memory, it was difficult to increase the processing speed.
【0005】本発明の目的は入出力制御ローカルプロセ
ッサとメインプロセッサとを備えたデータ処理装置の処
理速度を高速化できるようにすることにある。An object of the present invention is to increase the processing speed of a data processing device having an input / output control local processor and a main processor.
【0006】[0006]
【課題を解決するための手段】本発明は上記目的を達成
するため、入出力制御ローカルプロセッサと、メインプ
ロセッサとを備えたデータ処理装置に於いて、前記入出
力制御ローカルプロセッサに、ローカルメモリと、受信
したフレームを前記ローカルメモリに書き込むと共に、
前記メインプロセッサに対して割り込みを発生するロー
カルCPUとを設け、前記メインプロセッサに、キャッ
シュメモリと、メインメモリと、前記割り込みに応答し
て前記ローカルメモリに格納されているフレームを読み
込んだ後、読み込んだフレームの前記キャッシュメモリ
への書き込みを要求するメインCPUと、該メインCP
Uの前記要求により、前記キャッシュメモリに前記フレ
ームを書き込むキャッシュ制御部とを設けたものであ
る。In order to achieve the above object, the present invention provides a data processing device comprising an input / output control local processor and a main processor, wherein the input / output control local processor is provided with a local memory. , Writing the received frame to the local memory,
A local CPU that generates an interrupt to the main processor is provided, and a cache memory, a main memory, and a frame stored in the local memory in response to the interrupt are read into the main processor and then read. Main CPU for requesting to write a subframe to the cache memory, and the main CP
A cache control unit for writing the frame in the cache memory in response to the request from U is provided.
【0007】[0007]
【作用】入出力制御ローカルプロセッサ内のローカルC
PUは受信したフレームをローカルメモリに書き込むと
共に、メインプロセッサに対して割り込みを発生する。Operation: Local C in input / output control local processor
The PU writes the received frame to the local memory and issues an interrupt to the main processor.
【0008】メインプロセッサ内のメインCPUは割り
込みがかけられると、ローカルメモリに格納されている
フレームを読み込み、その後、読み込んだフレームをメ
インメモリの受信データバッファに書き込もうとする。When the main CPU in the main processor is interrupted, it reads the frame stored in the local memory and then tries to write the read frame in the reception data buffer of the main memory.
【0009】そうすると、キャッシュ制御部が、そのフ
レームをキャッシュメモリに書き込む。前記メインCP
Uは受信したフレームに対する処理をキャッシュメモリ
上で行なう。Then, the cache controller writes the frame in the cache memory. Main CP
U processes the received frame on the cache memory.
【0010】[0010]
【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。Embodiments of the present invention will now be described in detail with reference to the drawings.
【0011】図1は本発明の実施例のブロック図であ
り、データ処理装置は入出力制御ローカルプロセッサ1
と、メインプロセッサ2とから構成される。FIG. 1 is a block diagram of an embodiment of the present invention, in which a data processor is an input / output control local processor 1.
And a main processor 2.
【0012】入出力制御ローカルプロセッサ1とメイン
プロセッサ2とはバス3,入出力制御チャネル4及び割
り込みチャネル5を介して接続されている。The input / output control local processor 1 and the main processor 2 are connected via a bus 3, an input / output control channel 4 and an interrupt channel 5.
【0013】入出力制御ローカルプロセッサ1は入出力
制御部11と、ローカルCPU12と、ローカルメモリ
13とを含んでいる。入出力制御部11には回線6が接
続されている。The input / output control local processor 1 includes an input / output control unit 11, a local CPU 12, and a local memory 13. The line 6 is connected to the input / output control unit 11.
【0014】メインプロセッサ2はメインCPU21
と、キャッシュメモリ22と、メインメモリ23と、キ
ャッシュ制御部24とを含んでいる。The main processor 2 is a main CPU 21.
And a cache memory 22, a main memory 23, and a cache control unit 24.
【0015】回線6を介して他のデータ処理装置等から
加えられるフレームの受信準備としてメインプロセッサ
2内のメインCPU21は入出力制御チャネル4を介し
て入出力制御ローカルプロセッサ1内の入出力制御部1
1に設定されているフラグシーケンス,アドレス部のビ
ット数,制御部のビット数等を示す入出力制御情報を読
み込み、読み込んだ入出力制御情報を書き込みデータと
し、メインメモリ23上の所定の領域のアドレスを書き
込みアドレスとした書き込み要求を出す。In preparation for receiving a frame added from another data processing device or the like via the line 6, the main CPU 21 in the main processor 2 receives the input / output control unit in the input / output control local processor 1 via the input / output control channel 4. 1
The input / output control information indicating the flag sequence set to 1, the number of bits in the address section, the number of bits in the control section, etc. is read, and the read input / output control information is used as write data to store data in a predetermined area of the main memory 23. A write request with the address as the write address is issued.
【0016】すると、キャッシュ制御部24により上記
所定領域を含むブロックがキャッシュメモリ22上に存
在するか否かが判定され、存在する場合(キャッシュヒ
ットの場合)はキャッシュメモリ22上の上記所定領域
に対応するブロックに入出力制御情報が書き込まれる。
また、存在しない(キャッシュミスヒットの場合)は上
記ブロックがメインメモリ23からキャッシュメモリ2
2上に移された後、キャッシュメモリ22上の上記ブロ
ックに入出力制御情報が書き込まれる。Then, the cache control unit 24 determines whether or not a block including the predetermined area exists in the cache memory 22, and if it exists (in the case of a cache hit), the predetermined area in the cache memory 22 exists. Input / output control information is written in the corresponding block.
If the block does not exist (in the case of a cache miss hit), the above block is transferred from the main memory 23 to the cache memory 2
2 is transferred to the above block, the input / output control information is written in the above block on the cache memory 22.
【0017】上記した受信準備が完了した後、回線6を
介してフレームが送られてくると、入出力制御部11は
フレームの受信を開始すると共に、ローカルCPU12
に対して受信割り込みを発生する。When a frame is sent through the line 6 after the above-mentioned preparation for reception is completed, the input / output control unit 11 starts receiving the frame and the local CPU 12
Receive interrupt is generated for.
【0018】ローカルCPU12は受信割り込みが発生
すると、入出力制御部11が受信したフレームをそのま
まローカルメモリ13に書き込む。When a reception interrupt occurs, the local CPU 12 writes the frame received by the input / output control unit 11 in the local memory 13 as it is.
【0019】ローカルメモリ13にフレームを書き込む
と、ローカルCPU12は割り込みチャネル5を介して
メインプロセッサ2内のメインCPU21に割り込みを
かけ、フレームを受信したことを通知する。When a frame is written in the local memory 13, the local CPU 12 interrupts the main CPU 21 in the main processor 2 via the interrupt channel 5 to notify that the frame has been received.
【0020】メインプロセッサ2内のメインCPU21
は割り込みがかけられると、バス3を介してローカルメ
モリ13に格納されているフレームを読み込み、読み込
んだフレームを書き込みデータとし、メインメモリ23
上の受信データバッファのアドレスを書き込みアドレス
とした書き込み要求を出す。Main CPU 21 in the main processor 2
Is interrupted, the frame stored in the local memory 13 is read via the bus 3, the read frame is used as write data, and the main memory 23
A write request with the address of the above receive data buffer as the write address is issued.
【0021】キャッシュメモリ22には上記した受信デ
ータバッファに対応する専用のブロックが設けられてお
り、キャッシュ制御部24はメインCPU21が上記の
書き込み要求を出すと、キャッシュメモリ22に設けら
れている上記専用のブロックにフレームを書き込む。The cache memory 22 is provided with a dedicated block corresponding to the above-mentioned receive data buffer, and the cache control unit 24 is provided in the cache memory 22 when the main CPU 21 issues the write request. Write the frame in a dedicated block.
【0022】その後、メインCPU21はメインメモリ
23に格納されている入出力制御情報の読み込みを要求
する。その時、上記入出力制御情報を含むブロックがキ
ャッシュメモリ22上に存在すれば、キャッシュ制御部
24はキャッシュメモリ22から入出力制御情報を読み
込み、メインCPU21に渡す。存在しなければ、キャ
ッシュ制御部24はメインメモリ23上の入出力制御情
報を含むブロックをキャッシュメモリ22上に転送し、
その後、キャッシュメモリ22に格納された入出力制御
情報をメインCPU21に渡す。After that, the main CPU 21 requests reading of the input / output control information stored in the main memory 23. At that time, if a block including the input / output control information exists in the cache memory 22, the cache control unit 24 reads the input / output control information from the cache memory 22 and transfers it to the main CPU 21. If it does not exist, the cache control unit 24 transfers the block including the input / output control information on the main memory 23 to the cache memory 22,
After that, the input / output control information stored in the cache memory 22 is passed to the main CPU 21.
【0023】メインCPU21は入出力制御情報が渡さ
れると、それに基づいてデータ,誤り訂正符号等の取り
出し,誤り訂正処理等の従来入出力制御ローカルプロセ
ッサが行なっていた処理をキャッシュメモリ22上で行
ない、その後、従来メインプロセッサが行なっていた処
理をキャッシュメモリ22上で行なう。When the main CPU 21 receives the input / output control information, the main CPU 21 performs, on the cache memory 22, processing such as data and error correction code extraction, error correction processing, etc. which the conventional input / output control local processor has performed. After that, the processing which the main processor has conventionally performed is performed on the cache memory 22.
【0024】[0024]
【発明の効果】以上説明したように、本発明は、キャッ
シュメモリ上で受信処理を行なうものであるので、処理
速度を従来例に比較して高速化することができる効果が
ある。As described above, according to the present invention, since the receiving process is performed on the cache memory, the processing speed can be increased as compared with the conventional example.
【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
1…入出力制御ローカルプロセッサ 11…入出力制御部 12…ローカルCPU 13…ローカルメモリ 2…メインプロセッサ 21…メインCPU 22…キャッシュメモリ 23…メインメモリ 24…キャッシュ制御部 3…バス 4…入出力制御チャネル 5…割り込みチャネル 6…回線 1 ... I / O control Local processor 11 ... I / O control unit 12 ... Local CPU 13 ... Local memory 2 ... Main processor 21 ... Main CPU 22 ... Cache memory 23 ... Main memory 24 ... Cache control unit 3 ... Bus 4 ... I / O control Channel 5 ... Interrupt channel 6 ... Line
Claims (3)
ンプロセッサとを備えたデータ処理装置に於いて、 前記入出力制御ローカルプロセッサは、 ローカルメモリと、 受信したフレームを前記ローカルメモリに書き込むと共
に、前記メインプロセッサに対して割り込みを発生する
ローカルCPUとを含み、 前記メインプロセッサは、 キャッシュメモリと、 メインメモリと、 前記割り込みに応答して前記ローカルメモリに格納され
ているフレームを読み込んだ後、読み込んだフレームの
前記キャッシュメモリへの書き込みを要求するメインC
PUと、 該メインCPUの前記要求により、前記キャッシュメモ
リに前記フレームを書き込むキャッシュ制御部とを含む
ことを特徴とするデータ処理装置。1. A data processing device comprising an input / output control local processor and a main processor, wherein the input / output control local processor writes a local memory and a received frame to the local memory, A main CPU that generates an interrupt to the processor, wherein the main processor reads a cache memory, a main memory, and a frame stored in the local memory in response to the interrupt; Main C requesting to write to the cache memory
A data processing device comprising: a PU; and a cache control unit for writing the frame in the cache memory in response to the request from the main CPU.
ムに対する処理を前記キャッシュメモリ上で行なうこと
を特徴とする請求項1記載のデータ処理装置。2. The data processing apparatus according to claim 1, wherein the main CPU performs processing for the received frame on the cache memory.
ファに対応する専用のブロックを有し、 前記キャッシュ制御部は前記フレームを前記キャッシュ
メモリ上の専用のブロックに書き込むことを特徴とする
請求項1または2記載のデータ処理装置。3. The cache memory has a dedicated block corresponding to a reception data buffer, and the cache control unit writes the frame in a dedicated block on the cache memory. The described data processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4075140A JPH05242003A (en) | 1992-02-26 | 1992-02-26 | Data processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4075140A JPH05242003A (en) | 1992-02-26 | 1992-02-26 | Data processor |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05242003A true JPH05242003A (en) | 1993-09-21 |
Family
ID=13567598
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4075140A Pending JPH05242003A (en) | 1992-02-26 | 1992-02-26 | Data processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05242003A (en) |
-
1992
- 1992-02-26 JP JP4075140A patent/JPH05242003A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3289661B2 (en) | Cache memory system | |
| JPH06309230A (en) | Bus snooping method | |
| JPH0250499B2 (en) | ||
| WO2001024007A3 (en) | Method and apparatus for processing errors in a computer system | |
| JPH11184799A (en) | Memory data transfer method and device | |
| JP3039391B2 (en) | Memory system | |
| JPH0844659A (en) | Data transfer controller | |
| JP3226557B2 (en) | Multiprocessor system | |
| JP2803552B2 (en) | Data receiving device | |
| JP2599184B2 (en) | DMAC read transfer controller | |
| JP2501393B2 (en) | Direct memory access device | |
| JP2793474B2 (en) | Partial write control circuit | |
| JPH0981500A (en) | Virtual DMA transfer method | |
| JPS61250748A (en) | Memory access system of information processor | |
| JPH0667982A (en) | Address conversion system | |
| JP2806690B2 (en) | Microprocessor | |
| JPH11353242A (en) | Memory control system | |
| JP2818562B2 (en) | Address translation circuit | |
| JP2560312B2 (en) | Information processing system | |
| JPS59212960A (en) | Prefetch control system | |
| JPH076117A (en) | Data transfer method and data transfer device | |
| JPH03189844A (en) | Information processor | |
| JPH01191941A (en) | Information processor | |
| JPH0588969A (en) | Partial write processing system | |
| JPH03182959A (en) | High speed coprocessor interface device |