JPS6235957A - Buffer control system - Google Patents

Buffer control system

Info

Publication number
JPS6235957A
JPS6235957A JP17675985A JP17675985A JPS6235957A JP S6235957 A JPS6235957 A JP S6235957A JP 17675985 A JP17675985 A JP 17675985A JP 17675985 A JP17675985 A JP 17675985A JP S6235957 A JPS6235957 A JP S6235957A
Authority
JP
Japan
Prior art keywords
microprocessor
buffer memory
memory
buffer
state
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
Application number
JP17675985A
Other languages
Japanese (ja)
Inventor
Saburo Inoue
三郎 井上
Tomoaki Honma
本間 友章
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17675985A priority Critical patent/JPS6235957A/en
Publication of JPS6235957A publication Critical patent/JPS6235957A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To transfer data at a high speed by accessing a buffer memory from a host or subordinate device without interrupting the processing of a microprocessor when the microprocessor is in the instruction read state or the operation processing state in an input/output controller. CONSTITUTION:When transmission data reaches a device interface 18 from a magnetic disc device 3, the access request to the buffer memory is transmitting to a testing circuit 19. The testing circuit 19 checks the operation state of a microprocessor 11; and if the microprocessor 11 is in the instruction read state or the operation state, a gate 110 is cut off to divide an internal bus 16 into parts which connect the microprocessor 11, a direct memory access mechanism 12, a program memory 13, and a work memory 14 and parts which connect a buffer memory 15, a processor interface 17, and the device interface 18, and an access permission signal (s) to the buffer memory 15 is transmitted to the direct memory access mechanism 12.

Description

【発明の詳細な説明】 〔概要〕 上位装置と下位装置との間のデータ転送を制御する入出
力制御装置において、バッファメモリに対するアクセス
要求を受信した際、マイクロプロセッサが命令読出し状
態および演算処理状態にある場合に、バッファメモリと
の間のデータ転送を許容することにより、転送効率を向
上するものである。
[Detailed Description of the Invention] [Summary] In an input/output control device that controls data transfer between a higher-level device and a lower-level device, when an access request to a buffer memory is received, a microprocessor changes to an instruction reading state and an arithmetic processing state. By allowing data transfer to and from the buffer memory, transfer efficiency is improved.

〔産業上の利用分野〕[Industrial application field]

本発明は、例えば磁気ディスク装置等の下位装置を中央
処理装置或いは主記憶装置等の上位装置に接続し、デー
タ転送を行わせる入出力制御装置におけるバッファ制御
方式に関する。
The present invention relates to a buffer control method in an input/output control device that connects a lower device such as a magnetic disk device to a higher device such as a central processing unit or a main storage device to perform data transfer.

一般に入出力制御ll装置は、中央処理装置のプロセッ
サバスに接続されるか、或いはデータチャネル配下に接
続され、下位装置である入出力機器を制御する形態を採
っている。
In general, the input/output control device is connected to a processor bus of a central processing unit or under a data channel, and controls input/output devices that are lower-level devices.

この種の入出力制御装置は、上位装置および下位装置間
に行われるデータ転送を、極力高速に、効率良く制御す
ることが望まれる。
This type of input/output control device is desired to efficiently control data transfer between a higher-level device and a lower-level device as quickly as possible.

〔従来の技術〕[Conventional technology]

第5図は従来ある入出力制御装置の一例を示す図であり
、第6図は従来あるバッファ制御方式の一例を示す図で
ある。
FIG. 5 is a diagram showing an example of a conventional input/output control device, and FIG. 6 is a diagram showing an example of a conventional buffer control method.

第5図においては、入出力制御装置1は、図示されぬ上
位装置のプロセッサバス2に接続され、下位装置として
磁気ディスク装置(DK)3を接続しており、上位装置
および磁気ディスク装置(DK)3間のデータ転送を制
御するマイクロプロセッサ(MP)11および直接メモ
リアクセス機構(DMAC)12、マイクロプロセッサ
11の動作制御用プログラムを記憶するプログラムメモ
リ (PM)13、マイクロプロセ・2す11が動作時
に使用するワークメモリ (WM)14、上位装置と磁
気ディスク装置3間に転送されるデータを一旦格納する
バッファメモリ (BM)13、前記各装置を接続する
内部ハス16に、プロセッサバス2を接続するプロセッ
サインタフェース(P【)17、並びに磁気ディスク装
置3を接続するデバイスインタフェース(DI)1Bか
ら構成される。
In FIG. 5, an input/output control device 1 is connected to a processor bus 2 of a higher-level device (not shown), and a magnetic disk device (DK) 3 as a lower-level device. ) 3, a direct memory access mechanism (DMAC) 12, a program memory (PM) 13 that stores a program for controlling the operation of the microprocessor 11, and a microprocessor 2 11. A processor bus 2 is connected to a work memory (WM) 14 used during operation, a buffer memory (BM) 13 that temporarily stores data transferred between the host device and the magnetic disk device 3, and an internal bus 16 that connects each of the devices. It consists of a processor interface (P) 17 to which it is connected, and a device interface (DI) 1B to which it connects the magnetic disk device 3.

第5図および第6図において、磁気ディスク装置3から
デバイスインタフェース184こ転送データが到着する
と、デバイスインタフェース18は直接メモリアクセス
機構12にバッファメモリ15に対するアクセス要求を
伝達する(第6図ステップSl)。直接メモリアクセス
機構12はマイクロプロセッサ11に処理を一時中断さ
セるプロセッサホールトを実行した後(ステップS2)
、バッファメモリ15に対するデータの書込みを行う(
ステップS3)。データの書込みが終了すると、直接メ
モリアクセス機構12はマイクロプロセッサ11に中断
していた処理を再開させるプロセッサホールト解除を実
行する(ステップ54)。
5 and 6, when transfer data arrives at the device interface 184 from the magnetic disk device 3, the device interface 18 transmits an access request to the buffer memory 15 to the direct memory access mechanism 12 (step Sl in FIG. 6). . After the direct memory access mechanism 12 executes a processor halt which causes the microprocessor 11 to temporarily suspend processing (step S2)
, writes data to the buffer memory 15 (
Step S3). When the data writing is completed, the direct memory access mechanism 12 executes a processor halt release that causes the microprocessor 11 to resume the suspended processing (step 54).

バッファメモリ15に格納されているデータを磁気ディ
スク装置3に転送する場合、並びにバッファメモリ15
と上位装置とのデータ転送の場合にも、同様の過程で行
われる。
When transferring data stored in the buffer memory 15 to the magnetic disk device 3, and when transferring data stored in the buffer memory 15,
A similar process is performed in the case of data transfer between the host device and the host device.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以−ヒの説明から明らかな如く、従来あるバッファ制御
方式においては、上位装置または磁気ディスク装置3か
らバッファメモリI5に対するデータの読出し・書込み
の際は、マイクロプロセッサ11の処理が一時中断され
る為、転送制御処理時間が増大する欠点があった。また
磁気ディスク装置3等の如く高速処理を必要とする場合
には、専用の制御回路を設けねばならず、経済性を損な
う恐れもあった。
As is clear from the explanation below, in some conventional buffer control systems, when data is read from or written to the buffer memory I5 from the host device or the magnetic disk device 3, the processing of the microprocessor 11 is temporarily interrupted. However, the disadvantage is that the transfer control processing time increases. Furthermore, in cases where high-speed processing is required, such as in the magnetic disk device 3, a dedicated control circuit must be provided, which may impair economic efficiency.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

第1図は本発明の原理を示す図である。 FIG. 1 is a diagram showing the principle of the present invention.

第1図においては、上位装置(300)および下位装置
(4(10>の何れかからバッファメモリ(200)に
対するアクセス要求を受信した際、マイクロプロセッサ
(100)の動作状態を検査する試験回路(600)を
、入出力制御装置(500)内に設ける。
In FIG. 1, a test circuit (100) that tests the operating state of the microprocessor (100) when receiving an access request to the buffer memory (200) from either the upper device (300) or the lower device (4 (10)) is shown. 600) is provided in the input/output control device (500).

試験回路(600)は、マイクロプロセッサ(100)
が命令読出し状態および演算処理状態にある場合に、前
記上位装置(300)または下位装置(’400)と前
記バッファメモリ(200)との間のデータ転送を許容
する。
The test circuit (600) is a microprocessor (100)
data transfer between the upper device (300) or the lower device (400) and the buffer memory (200) is allowed when the buffer memory (200) is in an instruction reading state and an arithmetic processing state.

〔作用〕[Effect]

即ち本発明によれば、マイクロプロセッサが命令読出し
状態および演算処理状態にある場合には、マイクロプロ
セッサの処理を中断すること無く、上位装置または下位
装置からバッファメモリにアクセスが可能となり、デー
タ転送の高速化および効率化が可能となる。
That is, according to the present invention, when the microprocessor is in the instruction reading state and the arithmetic processing state, the buffer memory can be accessed from the higher-level device or the lower-level device without interrupting the processing of the microprocessor, and data transfer can be performed easily. This makes it possible to increase speed and efficiency.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第2図は本発明の一実施例による入出力制御装置を示す
図であり、第3図は本発明の一実施例によるバッファ制
御方式を示す図であり、第4図は本発明の一実施例によ
るバッファアクセス可能期間を示す図である。なお、企
図を通じて同一符号は同一対象物を示す。
FIG. 2 is a diagram showing an input/output control device according to an embodiment of the invention, FIG. 3 is a diagram showing a buffer control system according to an embodiment of the invention, and FIG. 4 is a diagram showing an embodiment of the invention. FIG. 7 is a diagram illustrating a buffer accessible period according to an example. Note that the same reference numerals refer to the same objects throughout the plan.

第2図においては、入出力制御装置11内に試験回路(
TST)19とゲー)110とが新たに設けられている
In FIG. 2, a test circuit (
TST) 19 and game) 110 are newly established.

第2図乃至第4図において、磁気ディスク装置3からデ
バイスインタフェース18に転送データが到着すると、
デバイスインタフェース18は試験回路I9にバッファ
メモリに対するアクセス要求を伝達する(ステップ5l
l)。試験回路I9はマイクロプロセッサ11の動作状
態を検査しくステップ512)、命令読出し状態および
演算処理状態にある場合には、ゲー)] 10を遮断状
態に設定し、内部バス16をマイクロプロセッサ11、
直接メモリアクセス機構12、プログラムメモリ13お
よびワークメモリ14を接続する部分(16−1>と、
バッファメモリ15、プロセ直接メモリアクセス機構1
2にバッファメモリ15に対するアクセス許可信号Sを
伝達する。その結果直接メモリアクセス機構12は、デ
バイスインタフェース1Bに到着した転送データをバッ
ファメモリ15に格納する(ステップ513)。
In FIGS. 2 to 4, when transfer data arrives at the device interface 18 from the magnetic disk device 3,
The device interface 18 transmits an access request to the buffer memory to the test circuit I9 (step 5l).
l). The test circuit I9 tests the operating state of the microprocessor 11 (step 512), and if it is in the instruction reading state and the arithmetic processing state, the test circuit I9 sets the internal bus 16 to the microprocessor 11,
A portion (16-1>) connecting the direct memory access mechanism 12, program memory 13, and work memory 14;
Buffer memory 15, process direct memory access mechanism 1
The access permission signal S for the buffer memory 15 is transmitted to the buffer memory 15. As a result, the direct memory access mechanism 12 stores the transfer data that has arrived at the device interface 1B in the buffer memory 15 (step 513).

バッファメモリ15に格納されているデータを磁気ディ
スク装置3に転送する場合、並びにバッファメモリ15
と上位装置とのデータ転送の場合にも、同様の過程で行
われる。
When transferring data stored in the buffer memory 15 to the magnetic disk device 3, and when transferring data stored in the buffer memory 15,
A similar process is performed in the case of data transfer between the host device and the host device.

以上の説明から明らかな如く、本実施例によれば、マイ
クロプロセッサ11が、第4図に示す如くオペランドフ
ェッチサイクルP以外、即ち命令続出サイクルI5イン
デキシングサイクルXおよび演算サイクル八にある場合
には、直接メモリアクセス機構12はバッファアクセス
可能期間BAとしてデータ転送が可能となる。
As is clear from the above description, according to this embodiment, when the microprocessor 11 is in a cycle other than the operand fetch cycle P as shown in FIG. The direct memory access mechanism 12 becomes capable of data transfer during the buffer accessible period BA.

なお、第2図乃至第4図はあく迄本発明の一実施例に過
ぎず、例えば下位装置は磁気ディスク装置3に限定され
ることは無く、他に幾多の変形が考慮されるが、何れの
場合にも本発明の効果は変わらない。また入出力制御l
装置1′の構成は図示されるものに限定されることは無
く、他に幾多の変形が考慮されるが、何れの場合にも本
発明の効果は変わらない。
Note that FIGS. 2 to 4 are only one embodiment of the present invention, and for example, the lower-order device is not limited to the magnetic disk device 3, and many other modifications may be considered, but any The effect of the present invention does not change even in this case. Also, input/output control
The configuration of the device 1' is not limited to that shown in the drawings, and many other modifications may be considered, but the effects of the present invention will not change in any case.

〔発明の効果〕〔Effect of the invention〕

以上、本発明によれば、前記入出力制御装置において、
マイクロプロセッサが命令読出し状態および演算処理状
態にある場合には、マイクロプロセッサの処理を中断す
ること無く、上位装置または下位装置からバッファメモ
リにアクセスが可能となり、データ転送の高速化および
効率化が可能となる。
As described above, according to the present invention, in the input/output control device,
When the microprocessor is in the instruction reading state or arithmetic processing state, the buffer memory can be accessed from the upper or lower device without interrupting the microprocessor's processing, making data transfer faster and more efficient. becomes.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理を示す図、第2図は本発明の一実
施例による入出力制御装置を示す図、第3図は本発明の
一実施例によるバッファ制御方式を示す図、第4図は本
発明の一実施例によるバッファアクセス可能期間を示す
図、第5図は従来ある入出力制御装置の一例を示す図、
第6図は従来あるバッファ制御方式の一例を示す図であ
る。 図において、1.1′および500は入出力制御装置、
2はプロセッサバス、3は磁気ディスク装置(DK)、
11および100はマイクロプロセソt(MP)、12
は直接メモリアクセス機構(DMAC) 、13はプロ
グラムメモリ (PM)、14はワークメモリ (WM
) 、15および200はバッファメモリ (BM) 
、l 6.16−1および16−2は内部バス、17は
プロセッサインタフェース(PI)、1Bはデバイスイ
ンタフェース(DI)、19は試験回路(TST) 、
110はゲート、300は上位装置、400は下位装置
、600は試験手段、Aは演算サイクル、BAはバッフ
ァアクセス可能期間、■は命令読出サイクル、Pはオペ
ランドフェッチサイクル、Sはアクセス許可信号、Xは
インデキシングサイクル、を示す。
FIG. 1 is a diagram showing the principle of the present invention, FIG. 2 is a diagram showing an input/output control device according to an embodiment of the present invention, FIG. 3 is a diagram showing a buffer control system according to an embodiment of the present invention, and FIG. FIG. 4 is a diagram showing a buffer accessible period according to an embodiment of the present invention, FIG. 5 is a diagram showing an example of a conventional input/output control device,
FIG. 6 is a diagram showing an example of a conventional buffer control method. In the figure, 1.1' and 500 are input/output control devices;
2 is a processor bus, 3 is a magnetic disk device (DK),
11 and 100 are microprocessor t (MP), 12
is the direct memory access mechanism (DMAC), 13 is the program memory (PM), and 14 is the work memory (WM).
), 15 and 200 are buffer memories (BM)
, l 6.16-1 and 16-2 are internal buses, 17 is a processor interface (PI), 1B is a device interface (DI), 19 is a test circuit (TST),
110 is a gate, 300 is an upper device, 400 is a lower device, 600 is a test means, A is an operation cycle, BA is a buffer accessible period, ■ is an instruction read cycle, P is an operand fetch cycle, S is an access permission signal, and X indicates an indexing cycle.

Claims (1)

【特許請求の範囲】 マイクロプロセッサ(100)およびバッファメモリ(
200)を具備し、上位装置(300)と下位装置(4
00)との間のデータ転送を制御する入出力制御装置(
500)において、 前記上位装置(300)および下位装置(400)の何
れかから前記バッファメモリ(200)に対するアクセ
ス要求を受信した際、前記マイクロプロセッサ(100
)の動作状態を検査する試験回路(600)を設け、 前記マイクロプロセッサ(100)が命令読出し状態お
よび演算処理状態にある場合に、前記上位装置(300
)または下位装置(400)と前記バッファメモリ(2
00)との間のデータ転送を許容することを特徴とする
バッファ制御方式。
[Claims] A microprocessor (100) and a buffer memory (
200), an upper device (300) and a lower device (4
An input/output control device (
500), when receiving an access request to the buffer memory (200) from either the higher-level device (300) or the lower-level device (400), the microprocessor (100)
) is provided, and when the microprocessor (100) is in an instruction reading state and an arithmetic processing state, the test circuit (600) tests the operating state of the host device (300).
) or the lower device (400) and the buffer memory (2
A buffer control method characterized by allowing data transfer between 00 and 00).
JP17675985A 1985-08-09 1985-08-09 Buffer control system Pending JPS6235957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17675985A JPS6235957A (en) 1985-08-09 1985-08-09 Buffer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17675985A JPS6235957A (en) 1985-08-09 1985-08-09 Buffer control system

Publications (1)

Publication Number Publication Date
JPS6235957A true JPS6235957A (en) 1987-02-16

Family

ID=16019312

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17675985A Pending JPS6235957A (en) 1985-08-09 1985-08-09 Buffer control system

Country Status (1)

Country Link
JP (1) JPS6235957A (en)

Similar Documents

Publication Publication Date Title
US5890012A (en) System for programming peripheral with address and direction information and sending the information through data bus or control line when DMA controller asserts data knowledge line
JPH064220A (en) Magnetic disk subsystem
JPS6235957A (en) Buffer control system
JPS6331806B2 (en)
KR950009576B1 (en) Bus interface unit
JP2963696B2 (en) Data transfer control system
JPS61127026A (en) Optical disk controller
JPS63300346A (en) Dma control system
JPH02291039A (en) Memory control system
KR940009830B1 (en) Control logic device
JP2803270B2 (en) SCSI host adapter circuit
JPH0353361A (en) Io control system
JPH01100653A (en) System for transferring data of i/o processor
JP2511012B2 (en) Task termination method
JPS61127025A (en) Optical disk controller
JPH04199217A (en) Input/output control method
JPH02304616A (en) File control system
JPS61243559A (en) Dual processing system
JPH02301851A (en) System bus accessing system
JPS6175942A (en) Disk cache control system
JPS6388644A (en) Central processing unit
JPS60222948A (en) Program loading control system
JPH01259441A (en) Bus interface device
JPS6349935A (en) Central controller
JPH02294815A (en) Connecting device for optical disk device