JPH05204830A - Input/output controller - Google Patents

Input/output controller

Info

Publication number
JPH05204830A
JPH05204830A JP1359092A JP1359092A JPH05204830A JP H05204830 A JPH05204830 A JP H05204830A JP 1359092 A JP1359092 A JP 1359092A JP 1359092 A JP1359092 A JP 1359092A JP H05204830 A JPH05204830 A JP H05204830A
Authority
JP
Japan
Prior art keywords
input
output
bus
transfer
signal line
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.)
Withdrawn
Application number
JP1359092A
Other languages
Japanese (ja)
Inventor
Masakazu Chiba
雅一 千葉
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 JP1359092A priority Critical patent/JPH05204830A/en
Publication of JPH05204830A publication Critical patent/JPH05204830A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To control an input/output device without following any complicate procedure over a DMA channel when DMA transfer is performed by using an input/output bus controller. CONSTITUTION:A signal line 105 for controlling the input/output bus controller 101 and input/output devices 102, 103, and 104 is added to a single-input/output- bus system including a main memory 106. The input/output bus controller 101 receives an address or transfer-destination input/output device number, sent through an address bus, by an address register, sends it to a decoding circuit, and sends addresses decoded by the decoding circuit as individual select signals to the input/output devices 102, 103, and 104, connected to an input/output bus 107, through a signal line 105 one to one when determining a device as an input/output object prior to the transfer of data. When the DMA transfer is performed, the input/output devices in the computer system uses the individual select signals to perform control.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は入出力制御装置に関し、
特に計算機システムにおける入出力データバスの制御を
行なう際の入出力制御を選択制御する入出力制御装置に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control device,
In particular, the present invention relates to an input / output control device for selectively controlling input / output control when controlling an input / output data bus in a computer system.

【0002】[0002]

【従来の技術】計算機システムにおける入出力制御装置
は、従来多くのものがあるが中小型の計算機システムに
おいては単一入出力バスによる方式が主な方式とされて
いる。
2. Description of the Related Art Although there are many conventional input / output control devices in a computer system, a system using a single input / output bus is mainly used in small and medium computer systems.

【0003】単一入出力バス方式とは、図3に示すよう
に、中央処理装置(CPU)301、メインメモリ30
2や入出力装置303,304等の装置を、入出力デー
タバス305を介して接続し、これらの装置間のデータ
転送を行なうものである。
The single input / output bus system is, as shown in FIG. 3, a central processing unit (CPU) 301 and a main memory 30.
2 and input / output devices 303 and 304 are connected via an input / output data bus 305 to perform data transfer between these devices.

【0004】データ転送の手順は以下のようである。ま
ず、CPU301は、入出力装置303,304に対し
て一定のアドレスを送り、そのアドレスによって前述の
入出力装置303,304を選択する。このことによ
り、前述のCPU301と前述の入出力装置303,3
04との間の授受を行なうものである。
The data transfer procedure is as follows. First, the CPU 301 sends a fixed address to the input / output devices 303 and 304, and selects the above-mentioned input / output devices 303 and 304 by the address. As a result, the above-mentioned CPU 301 and the above-mentioned input / output devices 303, 3
It is to exchange with 04.

【0005】入出力装置303,304が、例えば磁気
ディスクなどのように大量のデータを取り扱えるように
場合には、前記のような手順では非能率的である。そこ
で、DMAチャネル方式というものがある。
When the input / output devices 303 and 304 can handle a large amount of data, such as a magnetic disk, the above procedure is inefficient. Therefore, there is a DMA channel system.

【0006】DMAチャネル方式とは、メインメモリと
入出力装置とのデータ転送をCPUが直接行なうもので
なく、CPUは入出力装置に対して、データ転送に必要
な情報だけを送出してやる。これを受けて、入出力装置
はデータ転送を自ら行なう。つまり、メインメモリに対
してアドレスを発行してデータの転送を行なう。この際
のアドレス更新やデータ転送語数の管理は全て入出力装
置側で行なうものである。
In the DMA channel system, the CPU does not directly transfer data between the main memory and the input / output device, but the CPU sends only the information necessary for the data transfer to the input / output device. In response to this, the input / output device performs data transfer by itself. That is, the address is issued to the main memory to transfer the data. At this time, the address update and the management of the number of data transfer words are all performed by the input / output device side.

【0007】単純な単一入出力バスの制御方式において
はこれらのCPU、メインメモリ、入出力装置のそれぞ
れのレジスタ、メモリなどに一連のアドレスを付けるこ
とが、前記入出力制御を簡単に行なう一般的な構成であ
る。よって最近の計算機システムにおいてはメインメモ
リに膨大な容量を必要とする傾向があり、アドレスを付
ける際に一定のビット数の中ではアドレスを無駄に使用
してしまう場合が生じてくる。
In a simple control system for a single input / output bus, a series of addresses are attached to these CPU, main memory, respective registers of the input / output device, memories, etc., so that the input / output control can be easily performed. It is a typical structure. Therefore, in recent computer systems, there is a tendency that a huge capacity is required for the main memory, and when an address is attached, the address may be unnecessarily used within a certain number of bits.

【0008】そこで、一連のアドレスの上に更に各入出
力装置に対して入出力装置番号を付け、これによって単
一入出力バスに接続された複数の装置の中の所望の装置
を指定選択することが行なわれる。
Therefore, an I / O device number is further added to each I / O device on the series of addresses, and thereby a desired device among a plurality of devices connected to a single I / O bus is designated and selected. Is done.

【0009】ここで、入出力装置のチャネル転送におい
て一般的なデータブロック転送、コマンドブロック転送
を考える。通常、ブロック転送においてはデータ転送に
おける転送先入出力装置番号が2つ必要である。つまり
ブロック転送では一連のデータ転送を指令するCPUか
らのコマンドを終了する時点で、再び引き続く別のコマ
ンドをDMAチャンネルが読み出してきてブロック転送
を続ける。
Now, consider general data block transfer and command block transfer in channel transfer of an input / output device. Normally, in block transfer, two transfer destination input / output device numbers in data transfer are required. That is, in the block transfer, when the command from the CPU for instructing a series of data transfer is completed, another subsequent command is read out again by the DMA channel and the block transfer is continued.

【0010】従って、ブロック転送の指定を受けたDM
Aチャネルはデータ転送先の入出力装置番号とコマンド
読み出しの為の転送先入出力装置番号を記憶しておき、
必要なデータの種類によって2つの装置番号を使い分け
る必要がある。
Therefore, the DM which has received the block transfer designation
The A channel stores the input / output device number of the data transfer destination and the transfer destination input / output device number for command reading,
It is necessary to properly use the two device numbers depending on the type of data required.

【0011】[0011]

【発明が解決しようとする課題】従来の計算機システム
では、入出力装置の制御を行なう際に、前述したDMA
チャネルにおける2つの転送先入出力装置番号を記憶
し、また使い分けるといった繁雑な手続きをDMAチャ
ネルに行なわせるという問題点がある。
In the conventional computer system, the above-mentioned DMA is used when the input / output device is controlled.
There is a problem that a complicated procedure such as storing two transfer destination input / output device numbers in the channel and selectively using them is performed in the DMA channel.

【0012】本発明の目的は、前記問題点を解決し、繁
雑な手続きを行わせる必要がないようにした入出力装置
を提供することにある。
An object of the present invention is to provide an input / output device which solves the above problems and eliminates the need for complicated procedures.

【0013】[0013]

【課題を解決するための手段】本発明の構成は、CP
U、メインメモリ、入出力装置など複数の装置が入出力
バスにそれぞれ入出力デバイスとして接続された入出力
制御装置において、前述の入出力バスに接続されたデバ
イス選択の為のアドレスバスと入出力バスに対し、駆動
されるデバイスを一意的に決める為の信号線と、駆動さ
れるデバイスが前述の信号線からの出力によって一意的
に選択されるように前述の信号線の出力状態を監視する
制御装置とを有し、DMA転送を行なう際に前述の信号
線の出力状態に応じて前述の駆動されるデバイスを選択
するようにしたことを特徴とする。
The structure of the present invention is a CP
In an input / output control device in which a plurality of devices such as U, main memory, and input / output device are connected to the input / output bus as input / output devices, address bus and input / output for device selection connected to the above-mentioned input / output bus For the bus, monitor the signal line for uniquely determining the device to be driven and the output state of the signal line so that the device to be driven is uniquely selected by the output from the signal line. A controller is provided, and the device to be driven is selected according to the output state of the signal line when performing the DMA transfer.

【0014】[0014]

【実施例】本発明の一実施例の入出力制御装置を、図1
に示す。
1 is a block diagram of an input / output control device according to an embodiment of the present invention.
Shown in.

【0015】図1において、本実施例では、メインメモ
リ106を含む単一入出力バス方式に、入出力バス制御
装置101と入出力装置102,103,104とを制
御する為の信号線105を追加したものである。
In FIG. 1, in this embodiment, a signal line 105 for controlling the input / output bus control device 101 and the input / output devices 102, 103, 104 is used in a single input / output bus system including a main memory 106. It was added.

【0016】図2においては、入出力バス制御装置10
1は、データの転送に先立って行なわれる入出力対象と
なるデバイスの決定にあたって、アドレスバス201に
のったアドレス、または転送先入出力装置番号をアドレ
スレジスタ202で受け、これをデコード回路203に
送り、ここでデコードされたアドレスが個別選択信号2
04として、入出力バスに接続された個々のデバイスに
1対1で送出する。
In FIG. 2, the input / output bus controller 10 is shown.
In determining the device to be input / output performed prior to the data transfer, 1 receives the address on the address bus 201 or the transfer destination input / output device number in the address register 202 and sends it to the decoding circuit 203. , The address decoded here is the individual selection signal 2
As 04, it is sent to each device connected to the input / output bus on a one-to-one basis.

【0017】DMA転送を行なう際に、計算機システム
内の入出力装置は前記の個別選択信号を用いることによ
って制御を行なう。
When performing the DMA transfer, the input / output device in the computer system is controlled by using the individual selection signal.

【0018】次に、本発明の他の実施例の入出力制御装
置を示す。本実施例は、前記一実施例の内容において、
入出力装置の代わりにCPUに個別選択信号線を接続す
る。つまり、CPUに対しても本方式において、入出力
バスに接続された1つのデバイスと見なし、個別選択信
号を受信できるように接続する。
Next, an input / output control device of another embodiment of the present invention will be shown. This embodiment is based on the content of the one embodiment described above.
An individual selection signal line is connected to the CPU instead of the input / output device. That is, in the present system, the CPU is also regarded as one device connected to the input / output bus, and is connected so that the individual selection signal can be received.

【0019】[0019]

【発明の効果】以上説明したように、本発明は、入出力
装置の制御を行なう際に、前述したDMA転送における
2つの転送先入出力装置番号を記憶するまたはこれを使
い分けるといった繁雑な手続きを、DMAチャネルに行
なわせる必要が無くなるという効果がある。
As described above, according to the present invention, when controlling the input / output device, the complicated procedure of storing or selectively using the two transfer destination input / output device numbers in the DMA transfer described above is performed. This has the effect of eliminating the need for the DMA channel.

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

【図1】本発明の一実施例の入出力制御装置の第1の部
分を示すブロック図である。
FIG. 1 is a block diagram showing a first portion of an input / output control device of an embodiment of the present invention.

【図2】図1の実施例の第2の部分を示すブロック図で
ある。
FIG. 2 is a block diagram showing a second part of the embodiment shown in FIG.

【図3】従来の入出力制御装置を示すブロック図であ
る。
FIG. 3 is a block diagram showing a conventional input / output control device.

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

101 入出力バス制御装置 102〜104,303,304 入出力装置 105,204 入出力デバイスへの個別選択信号線 106,302 メインメモリ 107,201,305 アドレスバス 202 アドレスレジスタ 203 デコード回路 301 CPU 101 input / output bus control device 102-104, 303, 304 input / output device 105, 204 individual selection signal line 106, 302 main memory 107, 201, 305 address bus 202 address register 203 decoding circuit 301 CPU

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置と、メインメモリと、複数
の入出力装置とが入出力バスにそれぞれ入出力デバイス
として接続された入出力制御装置において、前記入出力
バスに接続されたデバイス選択の為のアドレスバスと前
記入出力バスとに対し、駆動されるデバイスを一意的に
決める為の信号線と、前記駆動されるデバイスが前記信
号線からの出力によって一意的に選択されるように前記
信号線の出力状態を監視する制御装置とを有し、DMA
転送を行なう際に前記信号線の出力状態に応じて前記駆
動されるデバイスを選択するようにしたことを特徴とす
る入出力制御装置。
1. An input / output control device in which a central processing unit, a main memory, and a plurality of input / output devices are connected to the input / output bus as input / output devices, respectively. A signal line for uniquely determining a device to be driven for the address bus and the input / output bus, and the device to be driven is uniquely selected by an output from the signal line. A controller for monitoring the output state of the signal line,
An input / output control device, wherein the driven device is selected in accordance with an output state of the signal line when data is transferred.
JP1359092A 1992-01-29 1992-01-29 Input/output controller Withdrawn JPH05204830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1359092A JPH05204830A (en) 1992-01-29 1992-01-29 Input/output controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1359092A JPH05204830A (en) 1992-01-29 1992-01-29 Input/output controller

Publications (1)

Publication Number Publication Date
JPH05204830A true JPH05204830A (en) 1993-08-13

Family

ID=11837414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1359092A Withdrawn JPH05204830A (en) 1992-01-29 1992-01-29 Input/output controller

Country Status (1)

Country Link
JP (1) JPH05204830A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100405507B1 (en) * 2001-08-30 2003-11-14 주식회사 포스코 The circuit controling interface central control unit and input or output module in the programmable logic controller
KR100643815B1 (en) * 2004-05-10 2006-11-10 인텔 코오퍼레이션 I/o configuration messaging within a link-based computing system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100405507B1 (en) * 2001-08-30 2003-11-14 주식회사 포스코 The circuit controling interface central control unit and input or output module in the programmable logic controller
KR100643815B1 (en) * 2004-05-10 2006-11-10 인텔 코오퍼레이션 I/o configuration messaging within a link-based computing system

Similar Documents

Publication Publication Date Title
US5146572A (en) Multiple data format interface
JPH05204830A (en) Input/output controller
KR20070060854A (en) Multi-channel direct memory access controller
JPH11191900A (en) Audio data processing unit
JPH09204243A (en) Data transfer method
JPS6191740A (en) Memory access control system
JP2004213666A (en) Dma module and its operating method
JP3201439B2 (en) Direct memory access control circuit
JP2826780B2 (en) Data transfer method
JP2752834B2 (en) Data transfer device
JPH0736806A (en) Dma system
JPH0652101A (en) Multiport memory for data buffer
JP3331943B2 (en) Information processing device and input / output control device
JPH05274188A (en) Information processor
JPH052551A (en) Dma transfer control system
JPS629430A (en) Data buffer control system
JPH02226548A (en) Magnetic disk device
JPH04364556A (en) Data transfer method
JPH06348378A (en) Register unused bit processing circuit
JP2000132498A (en) Dma transfer controller
JPH02176821A (en) Disk controller
JPH06337837A (en) Data processor
JPH04242419A (en) Data storage system
JPH06161945A (en) Memory data transfer device
JPH0567025A (en) Peripheral controller

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990408