JPS6019023B2 - data processing equipment - Google Patents

data processing equipment

Info

Publication number
JPS6019023B2
JPS6019023B2 JP1547480A JP1547480A JPS6019023B2 JP S6019023 B2 JPS6019023 B2 JP S6019023B2 JP 1547480 A JP1547480 A JP 1547480A JP 1547480 A JP1547480 A JP 1547480A JP S6019023 B2 JPS6019023 B2 JP S6019023B2
Authority
JP
Japan
Prior art keywords
data
buffer memory
register
timer
peripheral device
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.)
Expired
Application number
JP1547480A
Other languages
Japanese (ja)
Other versions
JPS56114026A (en
Inventor
総雄 船木
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP1547480A priority Critical patent/JPS6019023B2/en
Publication of JPS56114026A publication Critical patent/JPS56114026A/en
Publication of JPS6019023B2 publication Critical patent/JPS6019023B2/en
Expired legal-status Critical Current

Links

Classifications

    • 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
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/4226Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 この発明は電子計算機システムの改良に係り、CPUを
専有しない周辺装置間の周期的なデータ転送を可能にし
たデータ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to improvements in electronic computer systems, and more particularly to a data processing device that enables periodic data transfer between peripheral devices that do not exclusively occupy a CPU.

従来のデータ処理装置に関して、比較的低速の周辺装置
間でデータ転送を行なう場合、CPUが上記制御を行い
データ転送路として主記憶装置を経由する必要があった
。従って上記装置を使って大量のデータをを周辺装置間
で転送させる場合には長時間にわたってCPUを専有し
なければならなかった。上記不都合を取除くために、一
般にデータ転送路等の種々の改良がほどこされている。
第1図は従来のデータ処理装置のブロック図で、1は主
記憶装置,2はCPU,3及び4は周辺装置を示し、5
は周辺装置3と周辺装置4のデータ転送を可能にするデ
mタ伝送チャネルである。データ伝送チャネル5は周辺
装置3と周辺装置4、そしてCPU2に接続され、CP
U2からの命令により起動がかけられ、データ転送を開
始する。データチャネル5はCPU2から一旦起動がか
けられると、CPU2の指令なしに主記憶装置1を経由
しないで、周辺装置3と周辺装置4とのデータ転送を制
御する。しかし上記のようなデータ処理装置でも、一定
周期(例えば1時間とは1日)でデータ転送を行なわせ
ようとするとCPU2からチャネルに一定周期でデータ
転送要求を出さなければならなかった。
In conventional data processing devices, when data is transferred between comparatively low-speed peripheral devices, it is necessary for the CPU to perform the above control and to use the main memory as a data transfer path. Therefore, when using the above-mentioned device to transfer a large amount of data between peripheral devices, the CPU must be used exclusively for a long period of time. In order to eliminate the above-mentioned disadvantages, various improvements have been made to data transfer paths and the like.
FIG. 1 is a block diagram of a conventional data processing device, in which 1 is a main memory, 2 is a CPU, 3 and 4 are peripheral devices, and 5 is a block diagram of a conventional data processing device.
is a data transmission channel that enables data transfer between peripheral device 3 and peripheral device 4. The data transmission channel 5 is connected to the peripheral device 3 and the peripheral device 4 and to the CPU 2.
It is activated by a command from U2 and starts data transfer. Once activated by the CPU 2, the data channel 5 controls data transfer between the peripheral device 3 and the peripheral device 4 without passing through the main storage device 1 without a command from the CPU 2. However, even in the data processing apparatus as described above, in order to perform data transfer at a fixed period (for example, one hour is one day), the CPU 2 has to issue a data transfer request to the channel at a fixed period.

本発明は周辺装置の入出力動作をCPUが制御していた
周辺装置間に、タイマーを内蔵したデータ伝送チャネル
を設け、CPUを専有しないで周辺装置間の周期的なデ
ータ転送を可能とするデータ処理装置を得ることを目的
とする。
The present invention provides a data transmission channel with a built-in timer between peripheral devices whose input/output operations are controlled by the CPU, and enables periodic data transfer between the peripheral devices without monopolizing the CPU. The purpose is to obtain a processing device.

本発明は第1図のデータ伝送チャネル5の改良に係るも
のである。
The invention relates to an improvement of the data transmission channel 5 of FIG.

第2図はそのブロック図を示す。6は周辺装置3,4か
ら入力される情報を一時記憶しておくバッファメモリで
あり、7は周辺装置3,4とバッファメモリとを結ぶデ
ータラインであり、8はステータス及びコントロールラ
インである。
FIG. 2 shows its block diagram. 6 is a buffer memory for temporarily storing information input from the peripheral devices 3 and 4; 7 is a data line connecting the peripheral devices 3 and 4 and the buffer memory; and 8 is a status and control line.

11はバッファメモリから情報を取出す番地を保持し、
指定する議出しアドレスレジスタであり、12はバッフ
ァメモリに情報を格納する番地を保持し、指定する書込
みアドレスレジスタである。
11 holds the address to retrieve information from the buffer memory,
This is a designated output address register, and 12 is a write address register that holds and designates an address at which information is stored in the buffer memory.

10はアドレスレジスタ11とアドレスレジスタ12の
内容を比較し大小関係を判別する比較回路である。
A comparison circuit 10 compares the contents of the address register 11 and the address register 12 to determine the magnitude relationship.

9はバッファメモリのコントロールやステータスライン
8を通して周辺装置3,4の状態を判別したり、チャネ
ル自身のステータスを周辺装置3,4に送出したり、又
バッファメモリ6に情報が格納された時にアドレスレジ
スタ12の内容を更新させ、バッファメモリ6から情報
を諸出す場合にはアドレスレジスタ11の内容を更新さ
せる働きをする制御回路である。
9 controls the buffer memory, determines the status of the peripheral devices 3 and 4 through the status line 8, sends the status of the channel itself to the peripheral devices 3 and 4, and also uses the address when information is stored in the buffer memory 6. It is a control circuit that functions to update the contents of the register 12 and, when outputting information from the buffer memory 6, to update the contents of the address register 11.

22は一定周期で加算している、例えば1秒で1ビット
加算するタイマーであり、23は一定周期でデータ転送
を行なわせる場合の周期時間Tをセットする周期時間レ
ジスタであり、上記周期時間Tは入出力バス13を通し
てCPU2よりセットされる。
22 is a timer that adds at a constant cycle, for example, adds 1 bit every second; 23 is a cycle time register that sets the cycle time T when data is transferred at a constant cycle; is set by the CPU 2 through the input/output bus 13.

25は周期時間レジスタ23にデータがセットされると
、周期時間レジスタの内容(周期時間T)と、タイマー
22の内容(その時の現在時刻)′とが加算器24によ
り加算され、加算された結果(時間Tの経過後の時刻)
が格納されるタイマーレジスタである。
25, when data is set in the period time register 23, the contents of the period time register (period time T) and the contents of the timer 22 (current time at that time)' are added by the adder 24, and the added result is obtained. (Time after time T has elapsed)
is a timer register in which is stored.

26はタイマー22の内容(時々刻々変化している現在
時刻)とタイマーレジスタ25の内容とを比較し、それ
らが一致した時制御回路9にデータ転送開始の信号を送
る比較回路である。
A comparison circuit 26 compares the contents of the timer 22 (the current time, which changes from moment to moment) with the contents of the timer register 25, and when they match, sends a signal to the control circuit 9 to start data transfer.

第3図は第2図の制御回路9のブロック図を示す。FIG. 3 shows a block diagram of the control circuit 9 of FIG.

14は情報をチャネルに入力しようとする周辺装置3の
ステータスをチェックし、情報の要求をする第1インタ
フェース部であり、15はバッファメモリ6への情報の
入出力を制御するバッファメモリコントロール部であり
、16はチャネルから出力された情報を謎込む周辺装置
4のステ−タスをチェックし、情報の転送を要求する第
2ィンタフェス部であり、17は入出力バス13を介し
てCPU2から送られてきた起動コマンド及び転送開始
ライン27を介して比較回路26から送られてきた起動
信号により、バッファメモリコントロール部15にデー
タ転送開始指令を出したり、議出しアドレスレジスタ1
1及び書込みアドレスレジスタ12の内容を更新する働
きをしたり、又インタフェース部14,16にステータ
ス要求を出すように指令する働きをする制御部である。
14 is a first interface unit that checks the status of the peripheral device 3 that is about to input information to the channel and requests information; 15 is a buffer memory control unit that controls the input/output of information to the buffer memory 6; 16 is a second interface unit that checks the status of the peripheral device 4 that receives the information output from the channel and requests the transfer of the information, and 17 is the second interface unit that receives the information output from the channel through the input/output bus 13. In response to the activation command received and the activation signal sent from the comparator circuit 26 via the transfer start line 27, a data transfer start command is issued to the buffer memory control unit 15, and a data transfer start command is issued to the buffer memory control unit 15.
This is a control section that functions to update the contents of 1 and write address register 12, and to instruct the interface sections 14 and 16 to issue a status request.

今周辺装置3,4の間で1時間周期でデータ転送を行な
わせようとする場合について第4図を参照しながら説明
する。まずCPU2から入出力ライン13を介して周期
時間、この場合は1時間を周期時間レジスタ23にセッ
トし、そして制御部17に起動コマンドを送る。周期時
間レジスタ23にデータがセットされると、タイマー2
2と周期時間レジスタ23の内容とが加算され、その結
果がタイマーレジスタ25にセットされる。タイマーレ
ジスタ25の内容は次にデータ転送を行なう時間を示し
ている。そしてタイマー22とタイマーレジスタ25の
内容を比較し一致した場合には制御部17に起動信号を
送る。制御部17はCPU2から起動コマンドを得ると
、アドレスレジスタ11,12の内容を0にクリアし、
情報を出力しようとする周辺装置3のステータスをチェ
ックするように第1インタフェース部14に信号を送る
Now, a case in which data is to be transferred between the peripheral devices 3 and 4 at one hour intervals will be explained with reference to FIG. First, the CPU 2 sets a cycle time, in this case 1 hour, in the cycle time register 23 via the input/output line 13, and then sends a start command to the control unit 17. When data is set in the period time register 23, the timer 2
2 and the contents of the period time register 23 are added, and the result is set in the timer register 25. The contents of the timer register 25 indicate the time for the next data transfer. Then, the contents of the timer 22 and the timer register 25 are compared, and if they match, an activation signal is sent to the control section 17. When the control unit 17 receives the start command from the CPU 2, it clears the contents of the address registers 11 and 12 to 0, and
A signal is sent to the first interface unit 14 to check the status of the peripheral device 3 to which information is to be output.

第1インタフェース部14はこの信号により周辺装置3
にステータスの要求信号を出す。要求信号を受けた周辺
装置3は第1インタフェース部14にステータスを送り
、第1インタフェース部14でステータスのチェックを
行なう。ステータスがレディであれば、出力動作開始の
信号を周辺装置3に送り、書込みアドレスレジスタ12
で指定する番地に周辺装置3から送られてきた1ブロッ
ク分の情報をバッファメモリ書込み信号により格納する
。格納完了後書込みアドレスレジスタ12の内容は、制
御部17により更新され、次に書込むべき番地になる。
次に情報を入力しようとする周辺装置4のステータスを
チェックするため第2インタフェース部16に信号を送
る。
The first interface unit 14 uses this signal to connect the peripheral device 3.
sends a status request signal to The peripheral device 3 that has received the request signal sends the status to the first interface section 14, and the first interface section 14 checks the status. If the status is ready, a signal to start output operation is sent to the peripheral device 3, and the write address register 12 is
One block of information sent from the peripheral device 3 is stored at the address specified by the buffer memory write signal. After the storage is completed, the contents of the write address register 12 are updated by the control unit 17 to become the address to be written next.
Next, a signal is sent to the second interface unit 16 to check the status of the peripheral device 4 to which information is to be input.

第1ィンタフェ−ス部14はこの信号によりこんどは周
辺装置4にステータス要求信号を出す。要求信号を受け
た周辺装置4は第1インタフェース部14にステータス
を送り第1インタフェース部14でステータスのチェッ
クを行なう。ステータスがレディであればバッファメモ
リ読出し信号により論出しアドレスレジスタ11で指定
する番地の内容を1ブロック分周辺装置4に出力する。
出力議出しアドレスレジスタ11の内容は17により更
新され、次に読出すべき番地になる。以上の動作を繰返
し、比較回路10はアドレスレジスタ11と12の内容
を比較し、内容が等しくなった時点で制御部17にアド
レス・マッチの信号を送る。
The first interface section 14 then issues a status request signal to the peripheral device 4 based on this signal. The peripheral device 4 that has received the request signal sends the status to the first interface section 14, and the first interface section 14 checks the status. If the status is ready, the contents of the address specified by the logical address register 11 are outputted to the peripheral device 4 for one block by the buffer memory read signal.
The contents of the output address register 11 are updated by 17 and become the address to be read next. By repeating the above operation, the comparison circuit 10 compares the contents of the address registers 11 and 12, and sends an address match signal to the control section 17 when the contents become equal.

この信号を17が受取るとh周辺装置4にチャネルビジ
ィーの信号を送り情報の入力を一時中止するように指示
する。データ転送の終了は情報を出力する周辺装置3か
ら終了信号を受取った時で終了信号を受取ると16は周
辺装置4に終了信号を送る。次に上記データ転送が開始
されてから一定時間後、今は1時間後タィ・マーの内容
と前回転送時にセットされていたタイマーレジスタの内
容が一致すると、比較回路26は制御部17にデータ転
送開始信号を送りそして周期時間レジスタの内容とタイ
マーの内容を加算してその結果をタイマーレジスタに格
納する。制御部17は比較回路26から送られたデータ
転送開始信号を受取ると前回、CPUから起動コマンド
を受取った時と同様にアドレスレジスタ11,12を0
にクリアし情報を出力しようとする周辺装置3のステー
タスをチェックするように第1インタフェース部14に
信号を送り以下前回と同様にデータ転送を制御する。こ
のような一連の操作を繰り返し、一定周期で周辺装置間
のデータ転送が行なわれる。周辺装置間にデータ伝送チ
ャネルを設けて、CPUとは独立した周辺装置間の周期
的なデータ伝送が可能となる。
When the signal 17 receives this signal, it sends a channel busy signal to the peripheral device 4, instructing it to temporarily stop inputting information. The end of the data transfer is when the end signal is received from the peripheral device 3 that outputs the information. When the end signal is received, the end signal 16 sends the end signal to the peripheral device 4. Next, after a certain period of time (currently one hour) after the start of the data transfer, when the contents of the timer match the contents of the timer register that was set during the previous transfer, the comparison circuit 26 transfers the data to the control section 17. Send a start signal, add the contents of the period time register and the contents of the timer, and store the result in the timer register. When the control unit 17 receives the data transfer start signal sent from the comparison circuit 26, it sets the address registers 11 and 12 to 0 in the same way as when it received the startup command from the CPU last time.
A signal is sent to the first interface unit 14 to check the status of the peripheral device 3 that is to be cleared and output information, and the data transfer is thereafter controlled in the same manner as the previous time. By repeating this series of operations, data is transferred between peripheral devices at regular intervals. A data transmission channel is provided between the peripheral devices to enable periodic data transmission between the peripheral devices independent of the CPU.

周辺装置の入出力制御は上記データ伝送チャネルが行な
いそれと並行してCPUは演算処理を行なうことができ
、データ処理装置の処理能力は増大される。
The input/output control of the peripheral devices is performed by the data transmission channel, and the CPU can perform arithmetic processing in parallel, increasing the processing capacity of the data processing device.

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

第1図は従釆のデータ処理装置のブロック図、第2図は
この発明の一実施例を示すデータ伝送チャネル5のブロ
ック図、第3図は第2図で示した制御回路9のブロック
図、第4図はデータ伝送チャネル5の動作を示したタイ
ミング図である。 1…・・・主記憶装置、2・・・・・・CPU、3,4
・・・・・・周辺装置、5・・・・・・データ伝送チャ
ネル、6・・・・・・バッファメモリ、7……データラ
イン、8・・・・・・ステータスライン、9・・・・・
・制御回路、10・・・・・・比較回路、11・・・・
・・議出しアドレスレジスタ、12..・..・書込み
アドレスレジスタ、13…・・・入出力ライン、14・
・・・・・周辺装置インタフェース1部、15……バッ
ファメモリコントロール部、16……周辺装置インタフ
ェース2部、17・・・・・・制御部、18・・・・・
・議出しアドレスレジスタコントロールライン、19・
・・・・・書込みアドレスレジスタコントロールライン
、20……バツフアメモリコントロールライン、21…
…タイマーマッチライン、22…・・・タイマー、23
・・・・・・周期時間レジスタ、24・・・・・・加算
器、25・・・・・・タイマーレジスタ、26.・…・
比較回路、27・・・・・・転送開始ライン。 第3図第1図 第2図 第4図
FIG. 1 is a block diagram of a subordinate data processing device, FIG. 2 is a block diagram of a data transmission channel 5 showing an embodiment of the present invention, and FIG. 3 is a block diagram of a control circuit 9 shown in FIG. , FIG. 4 is a timing diagram showing the operation of the data transmission channel 5. In FIG. 1...Main storage device, 2...CPU, 3, 4
... Peripheral device, 5 ... Data transmission channel, 6 ... Buffer memory, 7 ... Data line, 8 ... Status line, 9 ...・・・
・Control circuit, 10... Comparison circuit, 11...
...Proposal address register, 12. ..・.. ..・Write address register, 13...I/O line, 14・
... Peripheral device interface 1 section, 15 ... Buffer memory control section, 16 ... Peripheral device interface 2 section, 17 ... Control section, 18 ...
・Proposal address register control line, 19・
...Write address register control line, 20...Buffer memory control line, 21...
...Timer match line, 22... Timer, 23
. . . Period time register, 24 . . . Adder, 25 . . . Timer register, 26.・・・・
Comparison circuit, 27...Transfer start line. Figure 3 Figure 1 Figure 2 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1 複数の周辺装置の間のデータ転送をデータ伝送チヤ
ネルを介して行うようにしたデータ処理装置であつて、
前記データ伝送チヤネルは、前記複数の周辺装置のうち
データ送信側の周辺装置から転送すべきデータを受け取
りそのデータを一時記憶するバツフアメモリと、一定周
期でカウントされ現在時刻を示すタイマーと、前記周辺
装置間のデータ転送を開始する時間を保持するタイマー
レジスタと、前記バツフアメモリに前記データを記憶す
るためにその番地を指定するための書込みアドレスレジ
スタと、前記バツフアメモリに記憶したデータを取出す
ためにその番地を指定するための読出しアドレスレジス
タと、前記タイマーの内容と前記タイマーレジスタの内
容とが一致したときにデータ送信側の周辺装置から入力
されたデータを前記書込みアドレスレジスタが示す前記
バツフアメモリの番地に記憶し前記読出しアドレスレジ
スタが示す前記バツフアメモリの番地に記憶された内容
を読出してデータ受信側の周辺装置に出力する制御回路
とからなることを特徴とするデータ処理装置。
1. A data processing device that transfers data between multiple peripheral devices via a data transmission channel,
The data transmission channel includes a buffer memory that receives data to be transferred from a peripheral device on the data transmission side among the plurality of peripheral devices and temporarily stores the data, a timer that counts at a constant cycle and indicates the current time, and the peripheral device. a timer register for holding the time to start data transfer between the buffer memory, a write address register for specifying the address for storing the data in the buffer memory, and a write address register for specifying the address for retrieving the data stored in the buffer memory. A read address register for specifying a read address register, and when the contents of the timer and the contents of the timer register match, data input from a peripheral device on the data transmitting side is stored at an address in the buffer memory indicated by the write address register. A data processing device comprising: a control circuit that reads the content stored at the address of the buffer memory indicated by the read address register and outputs the read content to a peripheral device on the data receiving side.
JP1547480A 1980-02-13 1980-02-13 data processing equipment Expired JPS6019023B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1547480A JPS6019023B2 (en) 1980-02-13 1980-02-13 data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1547480A JPS6019023B2 (en) 1980-02-13 1980-02-13 data processing equipment

Publications (2)

Publication Number Publication Date
JPS56114026A JPS56114026A (en) 1981-09-08
JPS6019023B2 true JPS6019023B2 (en) 1985-05-14

Family

ID=11889791

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1547480A Expired JPS6019023B2 (en) 1980-02-13 1980-02-13 data processing equipment

Country Status (1)

Country Link
JP (1) JPS6019023B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57166658A (en) * 1981-04-06 1982-10-14 Hitachi Ltd Auxiliary storage device
JPS6039265A (en) * 1983-08-12 1985-03-01 Fujitsu Ltd Data transfer system

Also Published As

Publication number Publication date
JPS56114026A (en) 1981-09-08

Similar Documents

Publication Publication Date Title
JPH0122940B2 (en)
KR100348545B1 (en) Communication dma device
JPS6019023B2 (en) data processing equipment
JPS5949624A (en) Data transfer device
JP3304395B2 (en) Data transfer device and data transfer method
US5542057A (en) Method for controlling vector data execution
JPH0137767B2 (en)
JPH07319840A (en) Multi-cpu device
JP3259095B2 (en) Data transfer method
JP2533958B2 (en) Data preceding set device
JP2826780B2 (en) Data transfer method
JP2533886B2 (en) Data transfer method
JP3442099B2 (en) Data transfer storage device
JPH10116245A (en) Dma controller
JP2552025B2 (en) Data transfer method
JPH0736806A (en) Dma system
JP2504528B2 (en) Bus control system between main memory controllers
JPH05173936A (en) Data transfer processing device
JPH0728750A (en) Interface converter
JPH0133848B2 (en)
JPS6012668B2 (en) Direct memory access device interface circuit
JPS6145343A (en) Swapping control system
JPH04160459A (en) Data transfer device
JPH0795797B2 (en) Image signal processor
JPH0298764A (en) File data transfer control system