JPS61131153A - Dma transfer control system - Google Patents

Dma transfer control system

Info

Publication number
JPS61131153A
JPS61131153A JP25300184A JP25300184A JPS61131153A JP S61131153 A JPS61131153 A JP S61131153A JP 25300184 A JP25300184 A JP 25300184A JP 25300184 A JP25300184 A JP 25300184A JP S61131153 A JPS61131153 A JP S61131153A
Authority
JP
Japan
Prior art keywords
dma
input
output devices
dma transfer
output
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
JP25300184A
Other languages
Japanese (ja)
Inventor
Takumi Tsubouchi
坪内 工
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
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP25300184A priority Critical patent/JPS61131153A/en
Publication of JPS61131153A publication Critical patent/JPS61131153A/en
Pending 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

Abstract

PURPOSE:To obtain a DMA transfer control system saving the hardware by allowing plural input/output devices to use in common a directly memory access (DMA) channel. CONSTITUTION:A DMA request signal is selected by a selector 7 depending o the state of an FF 6 set/reset by a microprocessor muCPU1 and either of them is given to a DMA controller 3. On the other hand, a DMA acknowledge signal DACK outputted from the controller 3 is not received by both input/output devices 4, 5 and gated by AND gates 8,9. Thus, when the muCPU1 sets an FF6, a DMA request signal DREQ1 of the device 4 is selected and the DMA acknowledge signal DACK1 is given only to the device 4, the the DMA transfer is applied only to the device 4. When the FF6 is reset conversely, the DMA transfer is applied only to the device 5.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は低価格化をねらった比較的小型のコンピュータ
システムに用いて好適なりMA転送制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an MA transfer control system suitable for use in a relatively small-sized computer system aimed at reducing costs.

C発明の技術的背景〕 近年、半導体技術の進歩によりマイクロプロセッサ及び
その周辺71ミリ−である周辺デバイス制御用のLSI
が安価に入手出来る&になった。これら既1OLsIコ
ンポーネントは外部論理回路を付加せず組合せ可能であ
り、マイクロプロセッサが持つソフトウェア命令を用い
て有機的に結合することにエリ高性能コンビエータシス
テムを構築することが出来る。上記周辺制御用LSIと
して、例えば並列入出力;ントは一う、直列入出力コン
トローラ、そしてDMA:!ントローラ等が存在する。
Technical Background of the Invention In recent years, advances in semiconductor technology have led to the development of LSIs for controlling microprocessors and their peripheral devices, which are 71 mm in diameter.
can now be obtained at low cost. These existing OLsI components can be combined without adding an external logic circuit, and a high-performance combinator system can be constructed by organically combining them using software instructions of a microprocessor. The peripheral control LSI mentioned above includes, for example, a parallel input/output controller, a serial input/output controller, and a DMA controller. There are controllers, etc.

DMAコントば−ラはプログラム及びデータを記憶する
メモリと周辺デバイスコントロール間の入出力データ転
送を制御するLSIであり、主な機能は、マイクロプロ
セッサの代りにメモリを直接アクセスするためのアドレ
スを出力すること及びマイクロプロセッサとのアドレス
競合を避けるためデータ転送の時分前制御1を行碌うこ
とにある。一般的I/cFi複数のチャネルが内麓され
、各チャネルに入出力デバイスのそれぞれが割付けられ
る。
A DMA controller is an LSI that controls input/output data transfer between memory that stores programs and data and peripheral device control, and its main function is to output addresses for direct access to memory instead of a microprocessor. Another object is to perform time advance control 1 of data transfer in order to avoid address conflict with the microprocessor. A typical I/cFi system includes multiple channels, and each channel is assigned a respective input/output device.

〔発明の目的〕[Purpose of the invention]

本発明は上記背景技術に基づき、複数の入出力デバイス
が1個のDMAチャネルを共有することKよりハードウ
ェアの節約をはかったDMA転送制御方式を提供するこ
とを目的とする。
The present invention is based on the above-mentioned background art and aims to provide a DMA transfer control method that saves hardware by allowing a plurality of input/output devices to share one DMA channel.

〔発明の概要〕[Summary of the invention]

本発明は、上記目的を実現するため、1個のDMAチャ
ネルに複数の入出力デバイスを割付け、この複数の入出
力デパイヌから発せられるDMA要求のうちゲートを介
して1個のみを選択し、ここで選択された入出力デバイ
スにのみDMA転送を行なわせる構成とした。このこと
により、同時動作を行なわない限りにおいて複数の入出
力デバイスに1個のDMAチャネルを共有させることが
出来、ハードウェア節約をはかることができる。
In order to achieve the above object, the present invention allocates a plurality of input/output devices to one DMA channel, selects only one of the DMA requests issued from the plurality of input/output devices through a gate, and The configuration is such that DMA transfer is performed only to the input/output device selected in . This allows a plurality of input/output devices to share one DMA channel as long as they do not operate simultaneously, resulting in hardware savings.

〔発明の実施例〕[Embodiments of the invention]

以下、図面を使用して本発明実施例につき詳細に説明す
る。第1図は本発明の実施例を示すブロック図である。
Hereinafter, embodiments of the present invention will be described in detail using the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention.

図において、1はマイクロプロセッサ(MCPU)であ
り、システムの中枢となる。2はメモリ(MIM)であ
り、DMA転送データを含め各種データが収納される。
In the figure, 1 is a microprocessor (MCPU), which is the core of the system. A memory (MIM) 2 stores various data including DMA transfer data.

3はDMAコントローラ(DMAC)であり、DMA転
送を行なう入出力デバイス(IO,、、)4゜5が接続
される。
Reference numeral 3 denotes a DMA controller (DMAC) to which input/output devices (IO, . . . ) 4.5 for performing DMA transfer are connected.

6はクリップ70ツブCF/F )である。7リツグ7
T:1ツブ61dマイクロプロセツサ1によりいずれの
入出力デバイス4.5にDMA転送を行なわせるべきか
のデータが設定される。この7リツプ70ツブ6の出力
はDMAコントローラ3から出力されるアクノリッジ信
号(DACK)   1と共にアンドゲート8ft介し
入出力デバイス4へ供給される。7リツプフロツプ6出
力は更にデータセレクタ(SEL)7へも供給される。
6 is a clip 70 tubes CF/F). 7ritsugu 7
T:1 block 61d Microprocessor 1 sets data indicating which input/output device 4.5 should perform DMA transfer. The output of this 7-rip 70-tube 6 is supplied to the input/output device 4 together with an acknowledge signal (DACK) 1 output from the DMA controller 3 via an AND gate 8ft. The output of the seven lip-flop 6 is further supplied to a data selector (SEL) 7.

データセレクタ7へは他に入出力デバイス4゜5からD
MAリクエスト信号(DREQ)が供給されており、上
述した7リツプ70ツブ6出力によりいずれか一方を有
効とし、DMAコントローラ3ヘリクエスト信号として
供給する形態となっている。9はアンドゲートである。
Other input/output devices 4.5 to D
An MA request signal (DREQ) is supplied, one of which is made valid by the above-mentioned 7-lip 70-tub 6 output, and is supplied to the DMA controller 3 as a request signal. 9 is an and gate.

アンドゲート9には、入出力デバイス4から出力される
DMAリクエスト信号(DREQ、)の反転出力及びD
MAコントローラ3から出力されるアクノリッジ信号(
DACK)が供給されており、ここで論理積のとられた
結果はアクノリッジ信号(DACKI )として入出力
デバイス5に供給される。
The AND gate 9 has an inverted output of the DMA request signal (DREQ, ) output from the input/output device 4 and a D
The acknowledge signal output from the MA controller 3 (
DACK) is supplied, and the result of the AND operation here is supplied to the input/output device 5 as an acknowledge signal (DACKI).

以下、本発明実施例の動作につき詳細に説明する。フリ
ップ70ツブ6は上述した様にマイクロプロセッサ1に
よりセット/リセット出来る禄になっている。DMAコ
ントローラ3のあるチャネルに割付けられた複数の入出
力デバイス4.5から発せられるDMAリ−クエヌト信
号(DREQ1/DREQt )は、上記7リツプフロ
ツプ6の状態により、どちらか一方のみがデータセレク
タで選択され、DMAコントローラ3に与えられる。一
方、DMAコントローラ3から出力されるDMAアクノ
リッジ信号(DACK)は同時に両方の入出力デバイス
4.5に受取られることのない様忙アンドゲート8,9
でゲートされている。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. The flip 70 knob 6 can be set/reset by the microprocessor 1 as described above. The DMA request signals (DREQ1/DREQt) issued from the plurality of input/output devices 4.5 assigned to a certain channel of the DMA controller 3 are selected by the data selector depending on the state of the above-mentioned 7 lip-flops 6. and is given to the DMA controller 3. On the other hand, the DMA acknowledge signal (DACK) output from the DMA controller 3 is not received by both input/output devices 4.5 at the same time by the AND gates 8 and 9.
is gated.

従って、マイクロプロセッサ1が7リツプフロツグ6を
セットしているときには入出力デバイス4のDMAリク
エスト信号(DREQ、)が選択され、入出力デバイス
4にのみDMAアクノリッジ信号(DACK、)が与え
られるため、入出力デバイス4のみDMA転送を行なう
ことが出来る。逆に、フリップ70ツブ6をリセットと
したときには入出力デバイス5のみがDMA転送可能で
ある。
Therefore, when the microprocessor 1 sets the 7-lip frog 6, the DMA request signal (DREQ, ) of the input/output device 4 is selected, and the DMA acknowledge signal (DACK, ) is given only to the input/output device 4, so the input/output device 4 is given a DMA acknowledge signal (DACK, ). Only the output device 4 can perform DMA transfer. Conversely, when the flip 70 knob 6 is reset, only the input/output device 5 is capable of DMA transfer.

この様に、入出力デバイス4,5Jd同時動作をしない
範囲において1個のDMAチャネルを共有することが出
来る。
In this way, one DMA channel can be shared as long as the input/output devices 4 and 5 do not operate simultaneously.

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

以上説明の如く本発明によれば、1個のDIVIAチャ
ネルを複数の入出力デバイスで共有することが出来、D
MAチャネルの節約がはかれるため、低価格化を目指す
コンピュータシヌテムに採用して得られる効果は大きい
As explained above, according to the present invention, one DIVIA channel can be shared by multiple input/output devices, and DIVIA channels can be shared by multiple input/output devices.
Since the MA channel can be saved, there is a great effect when adopted in a computer system aiming at lower cost.

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

第1図は本発明の実施例を示すブロック図である。 1・・・マイクロプロセッサ(MCPU)、2・・・メ
モリ(M E M )、3・・・DMAコントローラ(
DMAC)、4.5・・・入出力デバイス(110)、
6・・・クリップ70ツブCF/F)、7・・・データ
セレクタC8’BL)s at 9・・・アンドゲート
FIG. 1 is a block diagram showing an embodiment of the present invention. 1...Microprocessor (MCPU), 2...Memory (MEM), 3...DMA controller (
DMAC), 4.5... input/output device (110),
6... Clip 70 tube CF/F), 7... Data selector C8'BL) at 9... AND gate.

Claims (1)

【特許請求の範囲】[Claims] DMA転送を行なう複数の入出力デバイスがDMAの転
送制御を行なうDMAコントローラの1個のチャネルに
割付けられて成るコンピュータシステムにおいて、上記
複数の入出力デバイスから発せられるDMA要求のうち
1個のみを選択するゲート手段と、ここで選択された入
出力デバイスにのみDMA転送を行なわせる手段とを備
え、上記手段により同時動作を行なわない限りにおいて
複数の入出力デバイスに1個のDMAチャネルを共有さ
せることを特徴とするDMA転送制御方式。
In a computer system in which a plurality of input/output devices that perform DMA transfer are assigned to one channel of a DMA controller that controls DMA transfer, only one of the DMA requests issued from the plurality of input/output devices is selected. and means for causing only the input/output devices selected here to perform DMA transfer, and the above means allows a plurality of input/output devices to share one DMA channel unless simultaneous operations are performed. A DMA transfer control method characterized by:
JP25300184A 1984-11-30 1984-11-30 Dma transfer control system Pending JPS61131153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25300184A JPS61131153A (en) 1984-11-30 1984-11-30 Dma transfer control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25300184A JPS61131153A (en) 1984-11-30 1984-11-30 Dma transfer control system

Publications (1)

Publication Number Publication Date
JPS61131153A true JPS61131153A (en) 1986-06-18

Family

ID=17245105

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25300184A Pending JPS61131153A (en) 1984-11-30 1984-11-30 Dma transfer control system

Country Status (1)

Country Link
JP (1) JPS61131153A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63244158A (en) * 1987-03-27 1988-10-11 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン Computer system
CN113434441A (en) * 2021-06-24 2021-09-24 深圳市航顺芯片技术研发有限公司 DMA transmission method, device, controller and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63244158A (en) * 1987-03-27 1988-10-11 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン Computer system
JPH0467224B2 (en) * 1987-03-27 1992-10-27 Intaanashonaru Bijinesu Mashiinzu Corp
CN113434441A (en) * 2021-06-24 2021-09-24 深圳市航顺芯片技术研发有限公司 DMA transmission method, device, controller and readable storage medium

Similar Documents

Publication Publication Date Title
EP0972251B1 (en) A method and apparatus for providing concurrent acces by a plurality of agents to a shared memory
EP1163593B1 (en) Apparatus for communicating between multiple functional units in a computer environment
EP0155443B1 (en) Microocomputer data processing systems permitting bus control by peripheral processing devices
US5121487A (en) High speed bus with virtual memory data transfer capability using virtual address/data lines
KR920010951B1 (en) Data controller and its system
US6282144B1 (en) Multi-ported memory with asynchronous and synchronous protocol
JP2002163228A (en) External bus deciding technology for multi-core dsp device
JPS61131153A (en) Dma transfer control system
US6327636B1 (en) Ordering for pipelined read transfers
JPH03137756A (en) Information processor
JPH0358163A (en) Loosely coupled multiprocessor system
JP3038257B2 (en) Electronic computer
KR0145932B1 (en) Dma controller in high speed computer system
JPS5897758A (en) Controlling system of shared memory
JPS6041145A (en) Disc cache device
JPS6162961A (en) Input/ouput device
JPS6292054A (en) Dynamic access memory device
JPS61281344A (en) Access controlling method of two port memory
JPS63236153A (en) Storage device
JPH03138750A (en) Multiprocessor system
JPH0460257B2 (en)
JPH01248264A (en) System for controlling contention of system bus
JPS61143863A (en) Bus division control system
JPH01142962A (en) Data transfer control system
JPH04346150A (en) Data transfer processing system