JPH0136138B2 - - Google Patents

Info

Publication number
JPH0136138B2
JPH0136138B2 JP58229418A JP22941883A JPH0136138B2 JP H0136138 B2 JPH0136138 B2 JP H0136138B2 JP 58229418 A JP58229418 A JP 58229418A JP 22941883 A JP22941883 A JP 22941883A JP H0136138 B2 JPH0136138 B2 JP H0136138B2
Authority
JP
Japan
Prior art keywords
input
control
control unit
output
bus
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
JP58229418A
Other languages
Japanese (ja)
Other versions
JPS60122452A (en
Inventor
Kentaro Myoshi
Toyokazu Nagahara
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 JP22941883A priority Critical patent/JPS60122452A/en
Publication of JPS60122452A publication Critical patent/JPS60122452A/en
Publication of JPH0136138B2 publication Critical patent/JPH0136138B2/ja
Granted 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/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Control By Computers (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 本発明は、マイクロプロセツサーによつて制御
される制御装置において、入出力制御を効率的に
行う制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field of the Invention The present invention relates to a control method for efficiently performing input/output control in a control device controlled by a microprocessor.

(b) 技術の背景 最近の半導体素子の著しい進歩に伴つて、マイ
クロプロセツサーによつて制御される制御装置が
盛んに用いられるようになつてきた。
(b) Background of the Technology With recent remarkable progress in semiconductor devices, control devices controlled by microprocessors have come into widespread use.

一方、かかる制御装置に接続される入出力装置
(例えば、デイスプレイ装置、プリンタ装置等)
は一般のデータ処理システムの大型化、高速化に
伴つて、益々高速化する動向にある。
On the other hand, input/output devices (for example, display devices, printer devices, etc.) connected to such control devices
There is a trend toward faster speeds as general data processing systems become larger and faster.

然して、マイクロプロセツサーで制御される制
御装置の処理能力には限界があり、上記のような
高速の入出力装置が複数台接続されていると、該
入出力装置の特性を充分に生かし切れない問題が
あつた。
However, the processing power of control devices controlled by microprocessors is limited, and when multiple high-speed input/output devices such as those mentioned above are connected, it is difficult to fully utilize the characteristics of the input/output devices. I had a problem that didn't exist.

従つて、上記制御装置において、マイクロプロ
セツサーに対する負担を少しでも軽くする入出力
装置に対する制御方式が要望されていた。
Therefore, there is a need for a control method for the input/output device in the above-mentioned control device that reduces the burden on the microprocessor as much as possible.

(c) 従来技術と問題点 第1図が本発明に関連する制御装置をブロツク
図で示したもので、1が制御装置、11はマイク
ロプロセツサー(以下MPUという)、12はメモ
リ(以下MEMという)、12aはメモリコント
ロール部、13は入出力制御部(以下IOCとい
う)、14は共通バス、15はバスコントロール
部、2が入出力装置(以下I/Oという)であ
る。
(c) Prior art and problems Figure 1 is a block diagram of a control device related to the present invention, where 1 is a control device, 11 is a microprocessor (hereinafter referred to as MPU), and 12 is a memory (hereinafter referred to as MPU). 12a is a memory control unit, 13 is an input/output control unit (hereinafter referred to as IOC), 14 is a common bus, 15 is a bus control unit, and 2 is an input/output device (hereinafter referred to as I/O).

本制御装置1のIOC13には、例えばハイレベ
ル伝送制御手順(HDLC手順)で回線制御を行う
回線制御部(ADLC)131があり、該回線制御
部(ADLC)131とI/O2との間は、半二重
で情報交換を行うようになつている。
The IOC 13 of the control device 1 includes a line control unit (ADLC) 131 that performs line control using, for example, a high-level transmission control procedure (HDLC procedure). , information is now being exchanged using half-duplex.

該情報交換は以下の手順で行われる。 The information exchange is performed in the following steps.

IOC13に設けられている制御レジスタ
(CR)1311に、MEM12から送信制御用
パラメータ値をセツトし、回線制御部
(ADLC)131を、「空き」の状態から「送信
状態」に切り替える。
A transmission control parameter value is set from the MEM 12 in a control register (CR) 1311 provided in the IOC 13, and the line control unit (ADLC) 131 is switched from the "idle" state to the "transmission state".

I/O2に対してコマンド及びデータ(但
し、ライトコマンドの場合)を送出する。
Sends commands and data (in the case of write commands) to I/O2.

コマンド及びデータの送出完了時点(IOC1
3において、バイトカウンタ(BC)=0が検出
された時)で、回線制御部(ADLC)131を
「受信状態」に切り替える。
At the completion of sending commands and data (IOC1
3, when byte counter (BC)=0 is detected), the line control unit (ADLC) 131 is switched to the "receiving state".

I/O2からデータ(リードコマンドの時)、
又は、ステータス(リード、ライトコマンドの
時)を受信する。
Data from I/O2 (at the time of read command),
Or receive the status (for read and write commands).

ステータス受信後、回線制御部(ADLC)1
31は「空き」となる。
After receiving the status, line control unit (ADLC) 1
31 is "vacant".

上記情報交換手順において、従来方式において
は、、はMPU11が実行するプログラムに
よつて実行され、、はIOC13がダイレクト
メモリアクセス(以下DMAという)によつて実
行していた。このDMAは、MPU1が実行する
プログラムが、予め、転送語数、及び読み出し/
書き込み等の情報を、それぞれ、IOC13内のバ
イトカウンタ(BC)と、レジスタ(R/W)に
設定し、メモリ転送開始番地をメモリコントロー
ル部12a内のアドレスレジスタ(AR)に設定
した後、入出力命令を発行することで、該IOC1
3によつて行われていた。
In the above information exchange procedure, in the conventional system, is executed by a program executed by the MPU 11, and is executed by the IOC 13 by direct memory access (hereinafter referred to as DMA). In this DMA, the program executed by MPU 1 specifies the number of words to be transferred and read/write in advance.
After setting information such as writing in the byte counter (BC) and register (R/W) in the IOC 13, and setting the memory transfer start address in the address register (AR) in the memory control unit 12a, By issuing an output command, the corresponding IOC1
It was carried out by 3.

上記の処理の内、の処理は、の処理をIOC
13がバスコントロール部15に共通バス14の
使用権を要求して許可されたとき、該共通バス1
4を通して、上記DMDで行うと同時に、MPU
1で実行されるプログラムによつて、予めIOC1
3内にセツトされているバイトカウンタ(BC)
の更新を、該IOC13が1バイトの転送が完了す
る毎に行い、該IOC13は該バイトカウンタ
(BC)の値が“0”になつた時点で、プログラム
に対して終結割り込みを発生し、MPU1におい
て実行される該終結処理プログラムがIOC13内
の前記制御レジスタ(CR)1311に受信制御
用パラメータ値を、上記MEM12の入出力制御
パラメータ領域121から読み出し、該IOC13
内の制御レジスタ(CR)1311にセツトする
こと{第1図の1で示す}により送受信の切り替
えを行い、続いてI/O2から送られてくる終結
報告であるステータスを受信する用意をしてい
た。
Among the above processes, the process of IOC
13 requests the bus control unit 15 for the right to use the common bus 14 and is granted the right to use the common bus 14.
Through 4, perform the above DMD and at the same time MPU
IOC1 is set in advance by the program executed in IOC1.
Byte counter (BC) set within 3
The IOC 13 updates the byte every time a 1-byte transfer is completed, and when the value of the byte counter (BC) reaches "0", the IOC 13 generates a termination interrupt for the program, and the MPU 1 The final processing program executed in the IOC 13 reads the reception control parameter value from the input/output control parameter area 121 of the MEM 12 into the control register (CR) 1311 in the IOC 13, and
By setting the control register (CR) 1311 in the I/O2 (indicated by 1 in Figure 1), the transmission/reception is switched, and then it prepares to receive the status which is the completion report sent from I/O2. Ta.

従つて、該MPU1が、例えば、複数個の回線
制御部(ADLC)を使用している場合において
は、上記プログラムによる処理である為、コマン
ド処理を行つている「送信状態」から、上記終結
報告のステータスを受信する為に必要な「受信状
態」への切り替えが間に合わないという問題があ
つた。
Therefore, if the MPU 1 uses multiple line control units (ADLC), for example, the above-mentioned completion report will be displayed from the "transmission state" where command processing is being performed, since the processing is performed by the above program. There was a problem that it was not possible to switch to the "receiving state" in time to receive the status.

(d) 発明の目的 本発明は上記従来の欠点に鑑み、MPUと
MEMとIOCとからなる制御装置であつて、上記
IOC内の回線制御部(ADLC)に設けられている
通信制御の為の制御レジスタ(CR)に設定され
る送受信制御用パラメータ値によつて、I/Oと
の間で送受信制御を行う制御装置において、上記
IOC内の回線制御部(ADLC)の制御レジスタ
(CR)への該受信制御用パラメータ値の書き込み
を、DMAで行う方法を提供することを目的とす
るものである。
(d) Purpose of the Invention In view of the above-mentioned drawbacks of the conventional technology, the present invention provides an MPU and
It is a control device consisting of MEM and IOC, and the above
A control device that controls transmission and reception with I/O based on the transmission and reception control parameter values set in the control register (CR) for communication control provided in the line control unit (ADLC) in the IOC. In the above
It is an object of the present invention to provide a method of writing the reception control parameter value to the control register (CR) of the line control unit (ADLC) in the IOC using DMA.

(e) 発明の構成 そしてこの目的は、本発明によれば、少なくと
も、マイクロプロセツサーと、メモリと、メモリ
コントロール部と、入出力制御部と、バスコント
ロール部と、共通バスとから構成され、上記バス
コントロール部によつて共通バスの使用を許可さ
れた入出力制御部からのダイレクトメモリアクセ
スと、上記マイクロプロセツサーによるメモリア
クセスが同一バスを使用する制御装置であつて、
上記マイクロプロセツサーが実行するプログラム
によつて、予め、上記メモリ上に用意された送受
信制御用パラメータ値が、上記入出力制御部内に
設けられている制御レジスタに格納された時、そ
の内容によつて、該入出力制御部が入出力装置と
の間で送受信制御を行う上記制御装置において、
上記マイクロプロセツサーから入出力制御部に対
してデータ転送の起動を行い、起動された上記入
出力制御部が入出力装置との間で送信のデータ転
送を行い、該データ転送の終了を検出した時点
で、上記バスコントロール部に上記共通バスの使
用を要求して許可されたとき、自律的に上記受信
制御用パラメータ値をダイレクトメモリアクセス
によつて、上記メモリから読み出し、上記入出力
制御部内の制御レジスタに格納する手段を該入出
力制御部に設け、上記入出力制御部が上記バスコ
ントロールに該共通バスの使用を要求して許可さ
れたとき、上記の手段によつて上記制御レジスタ
に格納された受信制御用パラメータ値に基づい
て、該入出力制御部がマイクロプロセツサーと平
行に、入出力装置との間で受信動作を行う方法を
提供することによつて達成され、上記入出力制御
部内の制御レジスタへの受信制御用パラメータ値
の設定が、プログラムを介することなく、入出力
制御部からのダイレクトメモリアクセスによつて
行われるので、マイクロプロセツサーにおけるプ
ログラムの実行効率が向上すると共に、制御レジ
スタへの受信制御用パラメータ値の設定が高速に
行われるので、複数個の入出力制御部を使用でき
るようになり、制御装置本体の処理能力を向上さ
せる利点がある。
(e) Structure of the Invention According to the present invention, this object comprises at least a microprocessor, a memory, a memory control section, an input/output control section, a bus control section, and a common bus. , a control device in which direct memory access from an input/output control unit permitted to use a common bus by the bus control unit and memory access by the microprocessor use the same bus,
When the transmission/reception control parameter values prepared in advance on the memory are stored in the control register provided in the input/output control section by the program executed by the microprocessor, the contents are Therefore, in the above control device in which the input/output control section performs transmission/reception control with the input/output device,
The microprocessor activates data transfer to the input/output control unit, the activated input/output control unit transfers data to and from the input/output device, and detects the end of the data transfer. At that point, the bus control unit requests the use of the common bus, and when it is granted, autonomously reads the reception control parameter values from the memory by direct memory access and stores them in the input/output control unit. The input/output control unit is provided with means for storing information in the control register of the common bus, and when the input/output control unit requests the bus control to use the common bus and is granted permission, the input/output control unit stores the data in the control register by the means. This is achieved by providing a method for the input/output control unit to perform reception operations with the input/output device in parallel with the microprocessor based on the stored reception control parameter values, Parameter values for reception control are set in the control register in the output control unit by direct memory access from the input/output control unit without going through the program, improving program execution efficiency in the microprocessor. At the same time, since the parameter values for reception control are set in the control register at high speed, it becomes possible to use a plurality of input/output control sections, which has the advantage of improving the processing capacity of the main body of the control device.

(f) 発明の実施例 以下本発明の実施例を図面によつて詳述する。
第2図が本発明の実施例を、従来方式と対比しな
がら説明する図であつて、11,12,12a,
13,14,15は第1図で説明したものと同じ
ものであり、15はバスコントロール部、121
はMEM12内の入出力制御パラメータ格納領
域、131は回線制御部(ADLC)、1311は
前記制御レジスタ(CR)である。そして、点線
で示した(1)は第1図で説明したの処理を従
来方式で行う場合の、受信制御用パラメータ値の
転送ルートを示し、(2)は同じ処理を本発明に
よつて行う場合の転送ルートを示したものであ
る。
(f) Examples of the invention Examples of the invention will be described in detail below with reference to the drawings.
FIG. 2 is a diagram illustrating an embodiment of the present invention in comparison with a conventional system, and includes 11, 12, 12a,
13, 14, 15 are the same as those explained in FIG. 1, 15 is a bus control section, 121
1 is an input/output control parameter storage area in the MEM 12, 131 is a line control unit (ADLC), and 1311 is the control register (CR). The dotted line (1) shows the transfer route of the reception control parameter value when the process explained in FIG. This shows the transfer route in this case.

(1)で示した従来方式においては、IOC13
がバイトカウンタ=0を検出した時点において、
MPU11に終結割り込みを行い、MPU11がそ
の割り込みプログラムを実行することによつて、
MEM12内の上記入出力制御パラメータ格納領
域121から受信制御用パラメータ値を読み出
し、IOC13内の回線制御部(ADLC)131に
設けられている制御レジスタ(CR)1311に
書き込むことにより、制御レジスタ(CR)13
11の更新を行つて、IOC13での送受信切り替
え制御を行い、その後で第1図で説明したの動
作(I/O2からのデータ、及びステータスの受
信)がIOC13において実行されていた。
In the conventional method shown in (1), IOC13
When detects byte counter = 0,
By issuing a termination interrupt to the MPU 11 and having the MPU 11 execute the interrupt program,
The reception control parameter value is read from the input/output control parameter storage area 121 in the MEM 12 and written to the control register (CR) 1311 provided in the line control unit (ADLC) 131 in the IOC 13. )13
11, the IOC 13 performs transmission/reception switching control, and then the IOC 13 executes the operations described in FIG. 1 (receiving data and status from the I/O 2).

本発明を実施した場合の、上記送受信切り替え
制御方式を(2)で示しているが、この場合にお
いては、第1図で説明したの制御をIOC13自
身が、バイトカウンタ(BC)=0を検出して時点
で、MPU1で実行されるプログラムが予め、
MEM12内の入出力制御パラメータ格納領域1
21に用意しておいた、回線制御部(ADLC)1
31にセツトする受信制御用パラメータ値を、
MEM12の前記入出力制御パラメータ領域12
1からDMAで読み出し、IOC13内の回線制御
部(ADLC)131に設けられている制御レジス
タ(CR)1311にセツトするように動作する。
この後の動作は、前記従来方式と同じである。
The above transmission/reception switching control method when implementing the present invention is shown in (2). In this case, the IOC 13 itself performs the control explained in FIG. 1 when the byte counter (BC) = 0. At the point when the program to be executed on MPU1 is set in advance,
Input/output control parameter storage area 1 in MEM12
Line control unit (ADLC) 1 prepared in 21
The reception control parameter value to be set to 31 is
The input/output control parameter area 12 of MEM12
1 by DMA and set in the control register (CR) 1311 provided in the line control unit (ADLC) 131 in the IOC 13.
The subsequent operation is the same as that of the conventional method.

IOC13が上記DMAによつて、MEM12か
ら受信制御用パラメータ値を読み出す場合には、
共通バス14を1バスサイクルの間、確保する必
要があるが、このバスサイクルスチール動作は各
IOC13から、該DMAが必要な時に、バスコン
トロール部15に対してバス使用要求を送出し、
該バスコントロール部15からバス使用許可
(OK)信号を受信することによつて行うことが
できる。この時の、該IOC13内のバイトカウン
タ(BC)への転送語数の設定、読み出し情報
(R)のレジスタ(R/W)への設定、及び、メ
モリコントロール部12aのアドレスレジスタ
(AR)へのメモリ転送開始番地の設定は、該IOC
13が、前述のの動作、即ち、コマンド、及び
データの送出完了時点、即ち、上記バイトカウン
タ(BC)=0を検出した時点において自律的に行
う。
When the IOC 13 reads the reception control parameter value from the MEM 12 using the above DMA,
It is necessary to secure the common bus 14 for one bus cycle, but this bus cycle stealing operation
The IOC 13 sends a bus use request to the bus control unit 15 when the DMA is required,
This can be done by receiving a bus use permission (OK) signal from the bus control section 15. At this time, the number of transferred words is set to the byte counter (BC) in the IOC 13, the read information (R) is set to the register (R/W), and the address register (AR) of the memory control unit 12a is set. The memory transfer start address is set by the corresponding IOC.
13 autonomously performs the above-mentioned operation, that is, at the time when the sending of the command and data is completed, that is, when the above-mentioned byte counter (BC)=0 is detected.

本制御装置においては、IOC13からのDMA
によるバスアクセスがない時に、MPU11から
のバスアクセスが無条件に許可され、両方からの
バスアクセスがある場合には、MPU13からの
DMAとが交互に共通バス14を使用することが
できるように、バスコントロール部15によつて
制御される。
In this control device, DMA from IOC13
When there is no bus access from MPU 11, bus access from MPU 11 is unconditionally permitted, and when there is bus access from both
The bus controller 15 controls the DMA and the DMA so that the common bus 14 can be used alternately.

以上のように、本発明を施した場合は、IOC1
3によつて、DMAで送受信の切り替えが行われ
るので、IOC13がデータの送信完了後、続いて
I/O2から送られてくる終結報告のステータス
情報を受信する迄の間に、制御レジスタの内容を
「受信状態」にすることを高速に行うことができ、
ここに本発明の主眼がある。即ち、前述の半二重
による情報交換動作の起動(即ち、前述のの動
作)をソフトウエアで実行し、以降の情報交換
(即ち、前述の、)は勿論、送受信の切り替
えの為の受信制御用パラメータ値の制御レジスタ
(CR)1311への設定も、DMAで行うように
し、該情報交換が終了して、上記回線制御部
(ADLC)131が‘空き’になつたとき(即ち、
前述のの動作)、ソフトウエアに割込んで終結
処理を行うようにした所に特徴がある。
As described above, when the present invention is applied, IOC1
3, the DMA switches between transmission and reception, so after the IOC 13 completes data transmission and until it receives the status information of the completion report sent from the I/O 2, the contents of the control register can be changed. can be quickly put into the "receiving state",
This is the main focus of the present invention. That is, the above-mentioned half-duplex information exchange operation (i.e., the above-mentioned operation) is executed by software, and the subsequent information exchange (i.e., the above-mentioned operation) is performed, as well as reception control for switching between transmission and reception. The setting of parameter values for the control register (CR) 1311 in the control register (CR) 1311 is also performed by DMA, and when the information exchange is completed and the line control unit (ADLC) 131 becomes 'vacant' (i.e.,
The feature of this method is that it interrupts the software and performs the finalization process.

(g) 発明の効果 以上、詳細に説明したように、本発明の制御装
置は、少なくとも、マイクロプロセツサーと、メ
モリと、メモリコントロール部と、入出力制御部
と、バスコントロール部と、共通バスとから構成
され、上記バスコントロール部によつて共通バス
の使用を許可された入出力制御部からのダイレク
トメモリアクセスと、上記マイクロプロセツサー
によるメモリアクセスが同一バスを使用する制御
装置であつて、上記マイクロプロセツサーが実行
するプログラムによつて予め、上記メモリ上に用
意した送受信制御用パラメータ値が、上記入出力
制御部内に設けられている制御レジスタに格納さ
れた時、その内容によつて、該入出力制御部が入
出力装置との間で送受信制御を行う上記制御装置
において、上記マイクロプロセツサーから入出力
制御部に対してデータ転送の起動を行い、起動さ
れた上記入出力制御部が入出力装置との間で送信
のデータ転送を行い、該データ転送の終了(バイ
トカウンタ=0)を検出した時点で、上記バスコ
ントロール部に上記共通バスの使用を要求して許
可されたとき、自律的に上記受信制御用パラメー
タ値をダイレクトメモリアクセスによつて、上記
メモリから読み出し、上記入出力制御部内の制御
レジスタに格納する手段を該入出力制御部内に設
け、上記入出力制御部が上記バスコントロールに
該共通バスの使用を要求して許可されたとき、上
記の手段によつて上記制御レジスタに格納された
受信制御用パラメータ値によつて、該入出力制御
部がマイクロプロセツサーと平行に、入出力装置
との間で受信動作を行うように制御されるので、
従来方式において行つていたような、入出力制御
部における送受信の切り替え制御の為に、プログ
ラムに負担をかけることがなくなる為、マイクロ
プロセツサーでのプログラムの実行効率が向上す
ると共に、切り替え処理が高速化されるので、複
数個の回線制御部(ADLC)を使用することが可
能となり、制御装置全体の処理能力を向上させる
効果がある。
(g) Effects of the Invention As explained in detail above, the control device of the present invention has a common control device that can be used at least for a microprocessor, a memory, a memory control section, an input/output control section, and a bus control section. Direct memory access from the input/output control unit, which is permitted to use a common bus by the bus control unit, and memory access by the microprocessor are control devices that use the same bus. When the transmission/reception control parameter values prepared in advance on the memory by the program executed by the microprocessor are stored in the control register provided in the input/output control section, the contents are changed. Therefore, in the control device in which the input/output control unit performs transmission/reception control with the input/output device, data transfer is activated from the microprocessor to the input/output control unit, and the activated input The output control unit performs transmission data transfer with the input/output device, and when it detects the end of the data transfer (byte counter = 0), requests the bus control unit to use the common bus and grants permission. means is provided in the input/output control unit to autonomously read the reception control parameter value from the memory by direct memory access and store it in a control register in the input/output control unit, when the input/output control unit When the control unit requests the bus control to use the common bus and is granted permission, the input/output control unit controls the microcontroller according to the reception control parameter value stored in the control register by the above means. Since it is controlled to perform reception operations with input/output devices in parallel with the processor,
This eliminates the burden on the program to control transmission/reception switching in the input/output control unit, which was done in the conventional method, which improves program execution efficiency on the microprocessor and reduces switching processing. Since the speed is increased, it becomes possible to use a plurality of line control units (ADLC), which has the effect of improving the processing capacity of the entire control device.

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

第1図は本発明に関連する制御装置の構成を示
す図、第2図が本発明の実施例を、従来方式と対
比しながら説明する図である。 図において、1は制御装置、2は入出力装置、
11はマイクロプロセツサー(MPU)、12はメ
モリ(MEM)、12aはメモリコントロール部、
13は入出力制御部(IOC)、14は共通バス、
15はバスコントロール部、121は入出力制御
パラメータ領域、131は回線制御部(ADLC)、
1311は制御レジスタ(CR)、(1)は従来方
式による制御レジスタ更新ルート、(2)は本発
明を実施した場合の制御レジスタ更新ルート、を
それぞれ示す。
FIG. 1 is a diagram showing the configuration of a control device related to the present invention, and FIG. 2 is a diagram illustrating an embodiment of the present invention in comparison with a conventional system. In the figure, 1 is a control device, 2 is an input/output device,
11 is a microprocessor (MPU), 12 is a memory (MEM), 12a is a memory control unit,
13 is an input/output control unit (IOC), 14 is a common bus,
15 is a bus control section, 121 is an input/output control parameter area, 131 is a line control section (ADLC),
1311 shows a control register (CR), (1) shows a control register update route according to the conventional method, and (2) shows a control register update route when the present invention is implemented.

Claims (1)

【特許請求の範囲】[Claims] 1 少なくとも、マイクロプロセツサーと、メモ
リと、メモリコントロール部と、入出力制御部
と、バスコントロール部と、共通バスとから構成
され、上記バスコントロール部によつて、共通バ
スの使用を許可された入出力制御部からのダイレ
クトメモリアクセスと、上記マイクロプロセツサ
ーによるメモリアクセスが同一バスを使用する制
御装置であつて、上記マイクロプロセツサーが実
行するプログラムによつて、予め、上記メモリ上
に用意された送受信制御用パラメータ値が、上記
入出力制御部内に設けられている制御レジスタに
格納された時、その内容によつて、該入出力制御
部が入出力装置との間で送受信制御を行う上記制
御装置において、上記マイクロプロセツサーから
入出力制御部に対してデータ転送の起動を行い、
起動された上記入出力制御部が入出力装置との間
で送信のデータ転送を行い、該データ転送の終了
を検出した時点で、上記バスコントロール部に上
記共通バスの使用を要求して許可されたとき、自
律的に上記受信制御用パラメータ値をダイレクト
メモリアクセスによつて、上記メモリから読み出
し、上記入出力制御部内の制御レジスタに格納す
る手段を該入出力制御部に設け、上記入出力制御
部が上記バスコントロールに該共通バスの使用を
要求して許可されたとき、上記の手段によつて上
記制御レジスタに格納された受信制御用パラメー
タ値に基づいて、該入出力制御部がマイクロプロ
セツサーと平行に、入出力装置との間で受信動作
を行うことを特徴とする制御装置。
1 Consists of at least a microprocessor, a memory, a memory control section, an input/output control section, a bus control section, and a common bus, and is permitted to use the common bus by the bus control section. The control device uses the same bus for direct memory access from the input/output control unit and memory access by the microprocessor, and is configured such that direct memory access from the input/output control unit and memory access by the microprocessor use the same bus. When the parameter values for transmission/reception control prepared in the input/output device are stored in the control register provided in the input/output control unit, the input/output control unit controls transmission/reception between the input/output device and the input/output device depending on the contents. In the control device that performs
The activated input/output control unit transfers data to and from the input/output device, and upon detecting the end of the data transfer, requests the bus control unit to use the common bus and is granted permission. The input/output control section is provided with means for autonomously reading the reception control parameter value from the memory by direct memory access and storing it in a control register in the input/output control section, when the input/output control section When the unit requests the use of the common bus from the bus control unit and is granted permission, the input/output control unit requests the microprocessor to use the common bus based on the reception control parameter value stored in the control register by the above means. A control device that performs a receiving operation with an input/output device in parallel with a setter.
JP22941883A 1983-12-05 1983-12-05 Controller Granted JPS60122452A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22941883A JPS60122452A (en) 1983-12-05 1983-12-05 Controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22941883A JPS60122452A (en) 1983-12-05 1983-12-05 Controller

Publications (2)

Publication Number Publication Date
JPS60122452A JPS60122452A (en) 1985-06-29
JPH0136138B2 true JPH0136138B2 (en) 1989-07-28

Family

ID=16891913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22941883A Granted JPS60122452A (en) 1983-12-05 1983-12-05 Controller

Country Status (1)

Country Link
JP (1) JPS60122452A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5421229A (en) * 1977-07-19 1979-02-17 Mitsubishi Electric Corp Data fetch system
JPS5476031A (en) * 1977-11-30 1979-06-18 Hitachi Ltd Input/output control system for electronic computer
JPS55154623A (en) * 1979-05-23 1980-12-02 Hitachi Ltd Input and output control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5421229A (en) * 1977-07-19 1979-02-17 Mitsubishi Electric Corp Data fetch system
JPS5476031A (en) * 1977-11-30 1979-06-18 Hitachi Ltd Input/output control system for electronic computer
JPS55154623A (en) * 1979-05-23 1980-12-02 Hitachi Ltd Input and output control system

Also Published As

Publication number Publication date
JPS60122452A (en) 1985-06-29

Similar Documents

Publication Publication Date Title
JP2829091B2 (en) Data processing system
JP3055917B2 (en) Data transfer control device
JPS6138507B2 (en)
JPS6122333B2 (en)
JPH04363746A (en) Microcomputer system having dma function
JPS6339072A (en) Data processing system
JPH10334037A (en) Communication dma device
JPS61123970A (en) Data transmission control system
JPH0136138B2 (en)
JP3096382B2 (en) DMA circuit
JPH0310354A (en) Data transfer control system
JPS61224063A (en) Data transfer controller
JP2594611B2 (en) DMA transfer control device
JPH06250965A (en) Input/output controller
JP2687716B2 (en) Information processing device
JP2785855B2 (en) Information processing device
JPH01142962A (en) Data transfer control system
JPS60136853A (en) Data transfer system
JPH08221106A (en) Programmable controller
JPH0424733B2 (en)
JPH04306754A (en) Dma controller
JPH02307149A (en) Direct memory access control system
JPH02301851A (en) System bus accessing system
JPS61285566A (en) Input and output controller
JPH02136949A (en) Input/output controller