JPH01229355A - Dma controller - Google Patents

Dma controller

Info

Publication number
JPH01229355A
JPH01229355A JP63055898A JP5589888A JPH01229355A JP H01229355 A JPH01229355 A JP H01229355A JP 63055898 A JP63055898 A JP 63055898A JP 5589888 A JP5589888 A JP 5589888A JP H01229355 A JPH01229355 A JP H01229355A
Authority
JP
Japan
Prior art keywords
bus
buffer
message
signal
control
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.)
Granted
Application number
JP63055898A
Other languages
Japanese (ja)
Other versions
JP2504511B2 (en
Inventor
Akihiro Yoshitake
吉竹 昭博
Hideyuki Iino
飯野 秀之
Hidenori Hida
飛田 秀憲
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
Fujitsu Microcomputer Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Microcomputer Systems 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, Fujitsu Microcomputer Systems Ltd filed Critical Fujitsu Ltd
Priority to JP5589888A priority Critical patent/JP2504511B2/en
Priority to EP89102869A priority patent/EP0330110B1/en
Priority to KR1019890002249A priority patent/KR910010137B1/en
Publication of JPH01229355A publication Critical patent/JPH01229355A/en
Application granted granted Critical
Publication of JP2504511B2 publication Critical patent/JP2504511B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To dispense with the addition of an external circuit, and to curtail hardware by providing a message buffer, an access controlling means and an informing means in a DMA controller, and connecting them to plural buses, and performing message communication between bus masters. CONSTITUTION:A peripheral controller 27 is provided with the message buffer 27a, the access controlling means 27b and the informing means 27c. The buffer 27a stores messages respectively from the plural bus masters 26a, 26b. Besides, the access controlling means 27b can make the single bus master access the message buffer 27a according to access requests respectively from plural bus masters 26a, 26b. The informing means 27c informs the bus master 26b of the destination of the message to be transmitted that the message from one of the bus masters was stored in the buffer 27a. Accordingly, by only connecting this controller 27 to plural buses 25a, 25b, the message communication between the bus masters 26a, 26b can be performed.

Description

【発明の詳細な説明】 (概要) 複数バス構成のシステムで各バスのバスマスタ間のメツ
ピーシ通信をbなうDMAコントローラに関し、 システム設Kl旧のハード・シェア点数が減少すること
を目的とし、 複数のバス夫々にバスマスタを接続したシステムで該複
数のバス夫々に接続されて設けられる周辺コントローラ
であって、該複数のバスマスタ人々からのメツセージを
格納するメツセージバラノアと、該複数のバスマスタ人
々からの要求に応じて単一のバスマスタに該メツピーシ
バッファをアクセスせしめるアクセス制御手段と、該メ
ッセ−ジバッファにメツセージが格納されたことを該メ
ツセージの送り先であるバスマスタに通知する通知手段
とを有し、該複数のバスマスタ間のメツセージ通信を行
なうよう構成する。
[Detailed Description of the Invention] (Summary) This invention relates to a DMA controller that performs multi-bus communication between bus masters of each bus in a system with a multiple bus configuration, and is aimed at reducing the number of hardware shares in the old system design. A peripheral controller connected to each of the plurality of buses in a system in which a bus master is connected to each of the plurality of buses, a message baranoa for storing messages from the plurality of bus masters, and a message baranoa for storing messages from the plurality of bus masters. It has access control means for causing a single bus master to access the message buffer in response to a request, and notification means for notifying the bus master to which the message is to be sent that a message has been stored in the message buffer. , is configured to perform message communication between the plurality of bus masters.

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

本発明tよりMA−]ント[1−ラに関し、複数バス構
成のシステムで各バスのバスマスタ間のメツセージ通信
を行なうDMAコントローラに関する。
The present invention relates to a DMA controller that performs message communication between bus masters of each bus in a system having a plurality of buses.

複数バス構成のシステムでは複数のバス夫々にバスマス
タを設置プ各バスを管理するシステムがある。この場合
、システム仝体の動作を調整する等のために、各バスマ
スタ間でのメツセージ通信が必要である。
In a system having a plurality of buses, there is a system in which a bus master is installed in each of the plurality of buses to manage each bus. In this case, message communication is required between each bus master in order to coordinate the operations of the system entities.

(従来の技術) 従来、第7図(A>に示す如くバス10.20夫々にバ
スマスタ11.21及び周辺コントローラ(即ちDMA
コントローラ>12.22が夫々接続されたシステムで
は、先入れ先出し回路(FIFO)15.16をバス1
0.20間に説け、バスマスタ11.21夫々よりのメ
ッージをFIFO15,16夫々に格納し、これをバス
マスタ21.11夫々が読み出すことによりメツセージ
通信を行なっている。
(Prior Art) Conventionally, as shown in FIG.
In systems where controllers > 12.22 are connected, a first-in first-out circuit (FIFO) 15.16 is connected to bus 1.
0.20, messages from bus masters 11 and 21 are stored in FIFOs 15 and 16, respectively, and each bus master 21 and 11 reads the messages to perform message communication.

また、同図(B)に示す如くFIFO15゜16の代り
にデュアルポート)でΔM17を設け、バスマスタ11
.21夫々でこのγユアルボートRAM17をアクセス
してメツセージ通信をbなう。
In addition, as shown in the same figure (B), ΔM17 is provided with a dual port instead of FIFO 15 and 16, and the bus master 11
.. 21 accesses this γ user boat RAM 17 to perform message communication.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来のシステムではFIFO15,16又はデュア
ルポートRAM17夫々にメツセージが書き込まれたこ
とをバスマスタ11.21夫々に通知する外部回路を付
加しなければならf1システムのバードウ17点数が増
加しシステム設glが複雑になるという問題があった。
In the conventional system described above, an external circuit must be added to notify the bus masters 11 and 21 that a message has been written to the FIFOs 15 and 16 or the dual port RAM 17, respectively. The problem was that it was complicated.

本発明は上記の点に鑑みなされたもので、システム設8
1簡のハードウェア点数が減少するDMAコントローラ
を提供することを目的とする。
The present invention has been made in view of the above points, and the present invention has been made in view of the above points.
An object of the present invention is to provide a DMA controller in which the number of hardware points per unit is reduced.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明のDMAコントローラの原理ブロック図
を示す。
FIG. 1 shows a principle block diagram of a DMA controller according to the present invention.

同図中、P2aバス25a、25b大々にはバスマスタ
26a、26b夫々が接続されており、また複数のバス
25a、25b夫々に周辺コントローラ27が接続され
ている。
In the figure, bus masters 26a and 26b are connected to the P2a buses 25a and 25b, respectively, and a peripheral controller 27 is connected to each of the plurality of buses 25a and 25b.

周辺コントローラ27内にはメッセージバッファ27a
、アクセス制御手段27b、通知手段27 Ch<設け
られている。
There is a message buffer 27a in the peripheral controller 27.
, access control means 27b, and notification means 27 Ch< are provided.

メツセージバッフ727aは複数のバスマスタ26a、
26b夫々からのメツレージを格納する。
The message buffer 727a is connected to a plurality of bus masters 26a,
26b respectively.

また、アクビス制御手段27bは複数のバスマスタ26
a、26b夫々からの7クピス要求に応じて単一のバス
マスタに該メツセージバッファ27aをアクセスせしめ
る。
Further, the AKBIS control means 27b controls a plurality of bus masters 26.
A single bus master is made to access the message buffer 27a in response to a 7 cupis request from each of the message buffers 27a and 26b.

通知手段27cはメツセージバッファ27aにいずれか
のバスマスタ(例えば26a)からのメツセージが格納
されたことを該メツセージの送り先であるバスマスタ2
6bに通知する。
The notification means 27c notifies the bus master 2, which is the destination of the message, that a message from one of the bus masters (for example, 26a) has been stored in the message buffer 27a.
Notify 6b.

〔作用〕[Effect]

本発明にJ3いては、DMAコントローラ27内にメッ
セージバッファ27aの伯、アクセス制御1段27b及
び通知手段270が設けられており、この周辺コントロ
ーラ27を複数のバス25 F3 。
In J3 of the present invention, a message buffer 27a, a first access control stage 27b, and a notification means 270 are provided in the DMA controller 27, and this peripheral controller 27 is connected to a plurality of buses 25F3.

25bに接続するだけでバスマスタ26a、26b間の
メツセージ通信を行なうことができ、外部回路を付加す
る必要がない。これによってハードウェア点数の増−加
がなル)。
Message communication between the bus masters 26a and 26b can be carried out simply by connecting to the bus master 25b, and there is no need to add an external circuit. This does not result in an increase in the number of hardware points).

〔実施例〕〔Example〕

第2図は本発明のDMA−1ント[1−ラを適用した2
バスシステムの一実施例のシステム構成図を示す。
Figure 2 shows the DMA-1 to which the present invention is applied.
1 shows a system configuration diagram of an embodiment of a bus system.

同図中、バス30はアドレスバス30a、データバス3
0b1コント[1−ルバス30Gより構成されており、
バス30にはバスマスタとしてのCPU31、I10イ
ンターフェース32、メ七933夫々が接続されている
。同様にバス40iまアドレスバス40a、データバス
4Qb、 コントロールバス40cより構成されており
、バス40にはバスマスタどしてのCPU41、I10
インターフェース42、メEす43夫々が接続されてい
る。
In the figure, the bus 30 is an address bus 30a, a data bus 3
0b1 control [1 - Consists of 30G bus,
Connected to the bus 30 are a CPU 31 as a bus master, an I10 interface 32, and a mecha 933, respectively. Similarly, the bus 40i is composed of an address bus 40a, a data bus 4Qb, and a control bus 40c.
An interface 42 and a mailbox 43 are connected to each other.

DMAコント【]−ラ50は直接コントローラバス30
c、40cと接続され、また双方向バッファ51a、5
1b夫々を介してアドレスバス30a。
DMA controller []-ra 50 is directly connected to controller bus 30
c, 40c, and bidirectional buffers 51a, 5
1b respectively via an address bus 30a.

40a夫々と接続され、同様に双方向バッファ52a、
52b大々を介してデータバス30b。
40a, and similarly bidirectional buffers 52a,
52b via data bus 30b.

40b夫々と接続されでいる。40b.

バッファ52a、52bは、端子ENにDMAコントロ
ーラ50よりバッファのオン/オフを切換えるコントロ
ール信号DI3EN1.0BEN2人々を供給され、端
子T / Rに信号の方向を切換えるコントロール信号
DIN1.DIN2を供給されている。これによって、
データバス30bとDMAコントローラ50のデータ入
出力端子との問、又はデータバス40bとDMAコント
ローラ50の入出力端子との間、又はデータバス30b
The buffers 52a and 52b are supplied with a control signal DI3EN1.0BEN2 for switching on/off of the buffer from the DMA controller 50 at a terminal EN, and a control signal DIN1.0BEN2 for switching the direction of the signal at a terminal T/R. Supplied with DIN2. by this,
Between the data bus 30b and the data input/output terminal of the DMA controller 50, or between the data bus 40b and the input/output terminal of the DMA controller 50, or the data bus 30b
.

40b間を接続することができる。40b can be connected.

バッファ51a、51b人々し上記のバッファ52a、
52bとまったく同一の構成で、端子ENにDMAコン
トローラ50よりAン/A)を切換える]ントロール信
号ABEN1.ABEN2を供給され、端子T/Rに信
号の方向を切換えるコントロール信号ΔIN1.AlN
2を供給されている。
Buffers 51a, 51b and the above buffer 52a,
52b, the DMA controller 50 switches the control signal ABEN1 to the terminal EN. A control signal ΔIN1.ABEN2 is supplied to the terminal T/R to switch the direction of the signal. AlN
2 is supplied.

第3図はDMAコントローラ50の一実施例のブロック
図を示す。
FIG. 3 shows a block diagram of one embodiment of the DMA controller 50.

同図中、転送要求制御部70はI10インターフェース
32.42、メtす33.34夫々からコントロールバ
ス30c、40cを経て端子71に入来する転送要求信
号REQO−REQ3が供給される。転送要求制御部7
oは周部に複数の転送要求があっても予め決定された優
先順fQに従って甲−の転送要求信号を選択して中央処
理部72及び動作決定部73に報告する。動作決定部7
3はこの報告に対して応答を行なう。
In the figure, the transfer request control unit 70 is supplied with transfer request signals REQO-REQ3 which enter the terminal 71 via the control buses 30c and 40c from the I10 interfaces 32.42 and 33.34, respectively. Transfer request control unit 7
Even if there are a plurality of transfer requests in the surrounding area, O selects the transfer request signal of A- according to a predetermined priority order fQ and reports it to the central processing unit 72 and the operation determining unit 73. Operation determining section 7
3 responds to this report.

第1図のアクセス制御1lII手段27bであるスレー
ブ制御部74はCPU31.41夫々よりコント[1−
ルバス30c、40cを経て端子75.76に入来する
チップセレクト信gC31,cs2及び割込み要求応答
信号IACK1.1ACK2夫々を供給される。チップ
セレクト信号はCI) U 31.41夫々が後述する
レジスタ77又はコミュニケーションレジスタ91をア
クセス(スレーブアクセス)するための信号であり、割
込み要求応答信号はDMATlントローラ50h<CP
U31゜41夫々に対する割込み要求を行なったときC
PU31.41夫々がスレーブアクセスを行な・うため
に応答する信号である。スレーブ制御部74は同時にこ
れらの信号があっても予め決定された優先順序に従って
甲−の信号を選択して動作決定部73に報告する。
The slave control section 74, which is the access control means 27b in FIG.
Chip select signals gC31, cs2 and interrupt request response signals IACK1, ACK2, which enter terminals 75, 76 via busses 30c, 40c, are supplied respectively. The chip select signal is a signal for each of CI) U 31 and 41 to access (slave access) the register 77 or communication register 91, which will be described later, and the interrupt request response signal is a signal for the DMAT controller 50h<CP.
When an interrupt request is made to each of U31 and 41, C
This is a signal to which each of the PUs 31 and 41 responds in order to perform slave access. Even if there are these signals at the same time, the slave control section 74 selects the first signal according to a predetermined priority order and reports it to the operation determining section 73.

動作決定部73はこの報告に対してスレーブアクセスが
可能かどうかの応答をスレーブ制御部74に(:′lな
うとともに、スレーブ制御部74がらの報告を中央処理
部72に伝え、更にバス30゜40のいずれからのスレ
ーブアクセスであるかのバス属tf号をコミュニケーシ
ョンレジスタ91に供給する。なお、動作決定部73か
らスレーブアクセスが可能であるとの応答を得たスレー
ブ制御部74はリード要求信号又はライト要求信号を発
生して中央処理部72及びコミュニケーションレジスタ
91に供給する。
In response to this report, the operation determining unit 73 sends a response to the slave control unit 74 as to whether slave access is possible (:'l), and also transmits the report from the slave control unit 74 to the central processing unit 72, and also sends a response to the bus 30. The slave control unit 74, which receives a response from the operation determining unit 73 indicating that slave access is possible, sends the bus attribute tf number indicating which slave access is from from 40 to the communication register 91. A signal or a write request signal is generated and supplied to the central processing unit 72 and the communication register 91.

中火処理部72はDMAコントローラ50仝休の動作状
態を管即しており、この動性状態及び動作要求は動作決
定部73に報告される。中央処理部72に内蔵されたレ
ジスタ77には転送のソースアドレス、ディスティネイ
ションアドレス、ブロック@等が格納される。
The medium heat processing section 72 supervises the operating state of the DMA controller 50, and reports this dynamic state and operation request to the operation determining section 73. A register 77 built into the central processing unit 72 stores the source address, destination address, block @, etc. of the transfer.

動作決定部73は中央処理部72よりバス権の要求があ
るとバス権制御部80に指示を出1゜これによってバス
制御部80は端子81よりCPU31.41夫々にバス
権要求信号ト+REQ1.トIREQ2を供給する。こ
れに対してCPU31゜41夫々が出力するバス権要求
応答信号HACK1.11八〇に2夫々が端子82より
入来し、バス権制御部80は信号HACK1.1lAc
K2夫々の入来を動作決定部73に報告し、この報告は
中央処理部72まで伝えられる。
When the operation determining section 73 receives a bus request from the central processing section 72, it issues an instruction to the bus control section 801. Accordingly, the bus control section 80 sends a bus request signal T+REQ1. IREQ2. In response to this, bus right request response signals HACK1.1180 and HACK2, which are output by the CPUs 31 and 41, respectively, are input from the terminal 82, and the bus right control unit 80 outputs the signal HACK1.1lAc.
The arrival of each K2 is reported to the operation determining section 73, and this report is transmitted to the central processing section 72.

端子制御部83は端子84にコント[1−ルバス30c
、40c夫々より入来するデータの書き込み/読み出し
の完了を承りデータコンプリート信号DC1,2を供給
され、これを動作決定部73に報告すると共に、a)作
決定部73よりの指示で端子 84からデータコンプリ
ート信号DCを出力する。また、同様にして端子85よ
り供給されるリード/ライト信号R/W1.R/W2夫
々を動作決定部73に報告すると共に、動作決定部73
の指示により信号アドレスストローブ信号ΔS1.AS
2、データストローブ信用DS1.DS2及びリード/
ライト信号R/W1.R/W2人々を端P85より出力
する。更に、動作決定部73の指示により端子86から
バッファ51a〜52b夫々にコントロール信号AlN
1.AlN2、ABENI、ABEN2、DINl、D
IN2、DBENl、DBFN2を供給し、かつ端子9
4からデータ転送アクノリッジ信号ACKO〜−3を出
力する。
The terminal control unit 83 controls the terminal 84 to control [1-le bus 30c.
, 40c are supplied with data complete signals DC1 and DC2 upon completion of writing/reading of incoming data, and this is reported to the operation determining section 73. Outputs data complete signal DC. Similarly, read/write signals R/W1. Each R/W2 is reported to the operation determining unit 73, and the operation determining unit 73
The signal address strobe signal ΔS1. A.S.
2. Data strobe trust DS1. DS2 and lead/
Write signal R/W1. Output R/W2 people from end P85. Further, according to the instruction from the operation determining section 73, a control signal AlN is sent from the terminal 86 to each of the buffers 51a to 52b.
1. AlN2, ABENI, ABEN2, DINl, D
IN2, DBENl, DBFN2 and terminal 9
4 outputs data transfer acknowledge signals ACKO to -3.

入出力制御部87は動作決定部73の指示によってバッ
ファ51a、51bから端子88に入来づるアドレスを
内部アドレスを介して中央処理部72のレジスタ77及
びコミュニケーションレジスタ91に供給すると共に、
中央処理部72からのアドレスを端子88からバッファ
51a、51b人々に供給する。また、バッファ52a
、52bから端子89に入来するデータを内部データバ
スを介してレジスタ77及びコミュニケーションレジス
タ91に供給し、レジスタ77又は二1ミにケーション
レジスタ91からのデータを端子89からバッフ52a
、52bに供給する。また、人出力制御部87に内蔵さ
れたデータホールディングレジスタ90にはデュアル転
送時の転送データが格納される。
The input/output control section 87 supplies the address coming into the terminal 88 from the buffers 51a and 51b to the register 77 and the communication register 91 of the central processing section 72 via the internal address according to the instruction from the operation determining section 73.
The address from the central processing unit 72 is supplied from a terminal 88 to the buffers 51a, 51b. In addition, the buffer 52a
, 52b to the register 77 and the communication register 91 via the internal data bus, and the data from the communication register 91 to the register 77 or 21mi is supplied from the terminal 89 to the buffer 52a.
, 52b. Further, a data holding register 90 built in the human output control section 87 stores transfer data during dual transfer.

コミュニケーションレジスタ91は第4図に示す構成で
ある。デコーダ101には内部アドレスバス102より
アドレスが供給され、また端子103a、103bを介
してスレーブ制御部74よりのリード要求信号、ライト
要求信号が供給され、また端子104を介して動作決定
部73よりのバス属性信号が供給される。r−コダ10
1はこれらをデコードして第1図のメツセージバッファ
27aであるメツセージバッファ105と、通知手段2
7cであるステータスバッファ及び割込み発1回路10
6との夫々にリードイネーブル信号、ライトイネーブル
信号を供給する。
The communication register 91 has the configuration shown in FIG. The decoder 101 is supplied with addresses from an internal address bus 102, read request signals and write request signals from the slave control unit 74 through terminals 103a and 103b, and is also supplied from the operation determining unit 73 through terminals 104. bus attribute signals are supplied. r-koda 10
1 decodes these into a message buffer 105, which is the message buffer 27a in FIG. 1, and a notification means 2.
7c status buffer and interrupt generation circuit 10
A read enable signal and a write enable signal are supplied to 6 and 6, respectively.

メツセージバッフF105は内部データバス107に接
続されており、上記ライトイネーブル信号、リードイネ
ーブル信号に応じてCPU31又は41からのメッセー
ジを占き込み、かつ読み出す。
The message buffer F105 is connected to the internal data bus 107, and reads and reads messages from the CPU 31 or 41 according to the write enable signal and read enable signal.

ステータスバッファ及び割込み発生回路106は内部デ
ータバス107と接続されており、第5図に示す構成で
ある。同図中、L CCRバッファ110はCPU31
からコントロールビットLIEN、LICL、5INT
及び4ピツトのステータスL P S b<占き込まれ
、5CCRバツフア111はCPU41からコント[1
−ルビツl−8IEN。
The status buffer and interrupt generation circuit 106 is connected to an internal data bus 107, and has the configuration shown in FIG. In the figure, the L CCR buffer 110 is connected to the CPU 31.
Control bits LIEN, LICL, 5INT from
and the status of 4 pits L P S b< is predicted, and the 5 CCR buffer 111 receives control
-Rubitsu l-8IEN.

5ICL、LINT及び4ビツトのステータスSPSが
末き込まれる。上記の:]コント1−ルビットLIEN
、5IENは割込みイネーブルであり、LIN1’、5
INTは割り込み要求であり、LICL、5ICLは割
込み要求をクリアする割込みクリアである。
5ICL, LINT and 4-bit status SPS are stored. Above:] CONTROL 1 - LUBIT LIEN
, 5IEN is interrupt enable, LIN1', 5
INT is an interrupt request, and LICL and 5ICL are interrupt clears that clear the interrupt request.

L CS Rバッファ112はCPU31から読み出さ
れ、5C3Rバツフ?113はCP U 41から読み
出される。LC3Rバッフ112のコントロールビット
S I EN、ステータス81)S夫々は5CCRバツ
フア111の対応づる内容がセットされ、またコントロ
ールビットLISTは5OCRバツフア111のコント
ロールビットL I N Tでヒツトされ、LCCRバ
ッファ110のコント[1−ルビットLICLでクリア
され、更に割込みステータスビット5ISTは5C8R
バツフア113の対応づる内容がセットされる。5C3
Rバツフア113については逆にLCCRバッフ711
0及び5CCRバツフ1111の内容より同様の設定が
なされる。
The LCSR buffer 112 is read from the CPU 31, and the 5C3R buffer? 113 is read out from the CPU 41. The control bit S I EN and status 81 ) of the LC3R buffer 112 are set to the corresponding contents of the 5 CCR buffer 111 , and the control bit LIST is hit by the control bit L I N T of the 5 OCR buffer 111 . The control [1-ru bit is cleared by LICL, and the interrupt status bit 5IST is cleared by 5C8R.
The corresponding contents of buffer 113 are set. 5C3
Conversely, for R buffer 113, LCCR buffer 711
Similar settings are made based on the contents of the 0 and 5 CCR buffers 1111.

アンド回路114はL CCRバッファ110のコント
ロールビットL、 I E NとLC3Rバッファ11
2の割込みステータスビットLISTとからCPU31
に対する割込み要求信号を生成し、アンド回路115は
5CCRバツフア111のコント[l−ルビットLIE
Nと5C8Rバツフア113の割込みステータスビット
5ISTとからCPU41に対する割込み要求信号を−
1成し、これらの割込み要求信号は第4図の端子107
から第3図に示す割込み制御部92に供給される。
The AND circuit 114 connects the control bits L and IEN of the L CCR buffer 110 and the LC3R buffer 11.
2 interrupt status bit LIST and CPU31
AND circuit 115 generates an interrupt request signal for 5CCR buffer 111 control [l-ru bit LIE
An interrupt request signal to the CPU 41 is sent from the interrupt status bit 5IST of the 5C8R buffer 113 and the
1, and these interrupt request signals are sent to terminal 107 in FIG.
The signal is then supplied to the interrupt control section 92 shown in FIG.

また、LCVRバッフ111G、5CVRバツフア11
7人々にはCPU31.41夫々に対する割込みベクタ
が格納されており、この刈込みべ。
In addition, LCVR buffer 111G, 5CVR buffer 11
7. Interrupt vectors for each of the CPUs 31 and 41 are stored, and this pruning is necessary.

フタはCPU31,41夫々に読み出される。The lid is read out by each of the CPUs 31 and 41.

第3図に戻って説明するに、割込み制御部92は中央処
理部72から供給されるデータ転送用の割込み要求信号
とコミュニケーションレジスタ91から供給される]ミ
ュニケーション用の割込み要求信号とを供給され、CP
U31に対する割込み要求13号及びCPU41に対す
る割込み要求信号を生成して端子93から出力する。
Returning to FIG. 3, the interrupt control unit 92 is supplied with an interrupt request signal for data transfer supplied from the central processing unit 72 and an interrupt request signal for communication supplied from the communication register 91, C.P.
Interrupt request number 13 for U31 and interrupt request signal for CPU 41 are generated and output from terminal 93.

ごこて、例えばCPU31がメツセージバッファ105
にメツセージをセットし、かつLOCRバッフン110
の割込み要求のコントロールビット5INTをセットし
てCPU41に対して割込み要求を行なう。このときC
PU41が5OCRバツフア111の割込みイネーブル
コントロールビット5IENをヒツトしていればアンド
回路115より割込み要求信号が出力され、割込制罪部
92を介してCPIJ41にυ1込み要求が通知される
For example, the CPU 31 is connected to the message buffer 105.
Set the message to , and LOCR buffer 110
An interrupt request is made to the CPU 41 by setting the interrupt request control bit 5INT. At this time C
If the PU 41 hits the interrupt enable control bit 5IEN of the 5OCR buffer 111, the AND circuit 115 outputs an interrupt request signal, and the CPIJ 41 is notified of the υ1 interrupt request via the interrupt control unit 92.

CPU41は割込み要求を受は付けると割込み要求応答
信MIACK2を7サートしく貞にする)、割込みアク
ノリッジサイクルを実りする。このどき5CVRバツフ
ア117の割込みベクタがCpu4iに供給される。
When the CPU 41 accepts the interrupt request, the CPU 41 asserts the interrupt request response signal MIACK2 (7 times) and executes an interrupt acknowledge cycle. At this time, the interrupt vector of the 5CVR buffer 117 is supplied to the CPU 4i.

これによってCPtJ41は5C3Rバツフア113の
内容を読み取ってCP U 31からの1切込みがあっ
たことを知り、かつステータスLPSの内容でCPU3
1がメツセージの受信を要求していることを知る。これ
によりCPU41はメッセージバッファ105を;売み
取り、このメツセージを受信する。
As a result, the CPtJ41 reads the contents of the 5C3R buffer 113, learns that there has been one incision from the CPU 31, and reads the contents of the status LPS.
1 is requesting to receive a message. As a result, the CPU 41 sells the message buffer 105 and receives this message.

この後CPU41は5OCRバツフア111のv1込み
クリアの」ント[J−ルビット5fCLをヒツトしてL
C3Rバッファ112及び5C8Rバツフ?113の割
込みステータスビット5ISTをクリアさけ、通常の処
理に移行する。
After this, the CPU 41 clears the 5OCR buffer 111, including v1, by hitting the
C3R buffer 112 and 5C8R buffer? 113 interrupt status bit 5IST is cleared, and the process proceeds to normal processing.

上記の一連のり1作によりCPU31からCPU41へ
のメツセージ通信が行なわれる。
Message communication from the CPU 31 to the CPU 41 is performed by the above series of glue operations.

更に、CPU31.41夫々からDMAコントローラ5
0のレジスタ77又はコミュニケーションレジスタ91
をアクセスするスレーブ動作時の各種信号について説明
する。
Furthermore, the DMA controller 5 is connected from each of the CPUs 31 and 41.
0 register 77 or communication register 91
Various signals during slave operation to access the data will be explained.

DMAコント[]−ラ50には第6図(△)に示すクロ
ックCLKが供給されている。リード時には、CPU3
1から同図(J)に示すトルベルのチップセレクト信号
C81を供給されてDMAコント[l−ラ50はスレー
ブモードとなり、サイクル1−81で同図(B)、(C
)に示すコントロール信舅ΔBEN1.AlN1をトル
ベルとしてCPU31からの同図(F)に示すアドレス
を取り込む。また同図(G)に示すトルベルのリード/
ライト信QR/W1によってサイクルTsaでI′L1
1図(D)に示すコント[1−ル信用013 E N 
1をトルベルと16(イエ号DINIは同図(E)の如
くトルベル)。これによって]ミュニクーシーlンレジ
スタ91から読み出された同図(H)に示すデータが出
力され、更に同図(1)に示すデータコンプリート信号
DC1が出力される。
The DMA controller 50 is supplied with a clock CLK shown in FIG. 6 (Δ). When reading, CPU3
1 to 81, the DMA controller 50 enters the slave mode by being supplied with the Trubel chip select signal C81 shown in FIG.
) is the control signal ΔBEN1. The address shown in FIG. 3(F) from the CPU 31 is taken in using AlN1 as a torque bell. In addition, the lead of Trubel shown in the same figure (G) /
I'L1 in cycle Tsa by write signal QR/W1
The control shown in Figure 1 (D) [1-Le trust 013 E N
1 is Trubel and 16 (Ie DINI is Trubel as shown in the same figure (E)). As a result, the data shown in (H) in the figure read out from the miniature scene register 91 is output, and furthermore, the data complete signal DC1 shown in (1) in the figure is output.

ライト簡には同図(K)〜(S)に示ず如く、トルベル
のり一ド/ライト信gR/Wlによってコントロール信
号DBEN1.DIN1夫々がトルベルとなり、レジス
タ77又はコミュニケーションレジスタ91のCPU3
1より供給されたアドレスにCPU31より供給された
データが書き込まれる。
During the write process, as shown in (K) to (S) of the same figure, the control signal DBEN1. Each DIN1 becomes a trubel, and CPU3 of register 77 or communication register 91
Data supplied from the CPU 31 is written to the address supplied from 1.

このようにDMAコントローラ50にはメッセ−ジバッ
ファ105の他に、アクセス制御手段27bであるスレ
ーブ制御部74及び通知手段27cであるステータスバ
ッファ及び割込み発生回路106が設けられているため
、l)MAコントローラ50だ番ノで外部回路を付加す
ることなくCPU31.41間のメツセージ通信を行な
うことができ、ハードウェア点数が少なくシステム設計
が容易となる。
In this way, in addition to the message buffer 105, the DMA controller 50 is provided with the slave control section 74, which is the access control means 27b, and the status buffer and interrupt generation circuit 106, which is the notification means 27c. Message communication between the CPUs 31 and 41 can be carried out with the number 50 without adding an external circuit, and the number of hardware points is small, making system design easy.

(発明の効果) 上述の如く、本発明のDMAコントローラによれば、外
部回路を付加する必要がなくハードウェア点数が少なく
て済み、システム設81が容易となり、実用上きわめて
有用である。
(Effects of the Invention) As described above, according to the DMA controller of the present invention, there is no need to add an external circuit, the number of hardware is reduced, and the system installation 81 is facilitated, making it extremely useful in practice.

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

第1図は本発明のDMAコントローラの原理ブロック図
、 第2図は本発明のDMAコントローラを用いたシステム
の一実施例の構成図、 第3図は第2図のDMAコントローラのブロック図、 第4図はコミユニケージ:1ンレジスタのブロック図、 第5図はステータスバッファ及び割込み発生回路の構成
図、 第6図は第2図のシステムのスレーブ動作時の信号波形
図、 第7図番よ従来システムの各個の構成図である。 図において、 25a、25b、30.40はバス、 26a、26bはバスマスタ、 27は周辺コントローラ、 27a、105はメツセージ通信ノ7.27bはアクセ
ス&1Iil1手段、 27、cは通知手段、 31.41はcpu。 32.42はI10インターフェース、33.43はメ
モリ、 50はDMAコントローラ、 51 a、51 b、52a、52bはバッファ、70
は転送要求制御部、 72は中央処理部、 73は動作決定部、 74はスレ−1制m+部、 77はレジスタ、 soババス1ixJtlt部、 83は端子制御部、 87は人出力制御部、 91Gユ]ミユニケーシヨンレジスタ、92は割込み制
御部、 106はステータスバッフ1及び割込み発生回路を示す
。 特許出願人 富 士 通 株式会社 同   富士通マイコンシステムズ株式会拐代  理 
 人  弁理士  伊  東  忠  彦本発明のDλ
惺コントー−ラの原理ブロック図第1図 第2図のコントローラのブロック図 第3図 コミュニケ=7ヨンレノスタのブロック図第4図 ステータスバッファ及び割込み発生回路のブロック図第
5図 (A) (B) 従来ンステムの各側の構成図
FIG. 1 is a principle block diagram of the DMA controller of the present invention; FIG. 2 is a block diagram of an embodiment of a system using the DMA controller of the present invention; FIG. 3 is a block diagram of the DMA controller of FIG. 2; Figure 4 is a block diagram of the 1-in register, Figure 5 is a configuration diagram of the status buffer and interrupt generation circuit, Figure 6 is a signal waveform diagram during slave operation of the system in Figure 2, and Figure 7 is the conventional system. It is a block diagram of each part of a system. In the figure, 25a, 25b, 30.40 are buses, 26a, 26b are bus masters, 27 is a peripheral controller, 27a, 105 are message communication means 7.27b are access &1Iil1 means, 27, c are notification means, 31.41 are cpu. 32.42 is an I10 interface, 33.43 is a memory, 50 is a DMA controller, 51 a, 51 b, 52a, 52b are buffers, 70
is a transfer request control unit, 72 is a central processing unit, 73 is an operation determination unit, 74 is a slave-1 control m+ unit, 77 is a register, sobabus 1ixJtlt unit, 83 is a terminal control unit, 87 is a human output control unit, 91G 92 is an interrupt control unit, and 106 is a status buffer 1 and an interrupt generation circuit. Patent applicant Fujitsu Ltd. Fujitsu Microcomputer Systems Ltd. Agent
Person Patent Attorney Tadahiko Ito Dλ of the present invention
Principle block diagram of the controller Figure 1 Figure 2 Block diagram of the controller Figure 3 Block diagram of the Communiqué = 7 John Renostar Figure 4 Block diagram of the status buffer and interrupt generation circuit Figure 5 (A) (B) Configuration diagram of each side of conventional system

Claims (1)

【特許請求の範囲】 複数のバス(25a、25b)夫々にバスマスタ(26
a、26b)を接続したシステムで該複数のバス(25
a、25b)夫々に接続されて設けられる周辺コントロ
ーラ(27)であつて、該複数のバスマスタ(26a、
26b)夫々からのメッセージを格納するメッセージバ
ッファ(27a)と、 該複数のバスマスタ(26a、26b)夫々からの要求
に応じて単一のバスマスタに該メッセージバッファ(2
7a)をアクセスせしめるアクセス制御手段(27b)
と、 該メッセージバッファ(27a)にメッセージが格納さ
れたことを該メッセージの送り先であるバスマスタに通
知する通知手段(27c)とを有し、 該複数のバスマスタ(26a、26b)間のメッセージ
通信を行なうことを特徴とするDMAコントローラ。
[Claims] A bus master (26) is provided for each of the plurality of buses (25a, 25b).
a, 26b), the plurality of buses (25
a, 25b) is a peripheral controller (27) connected to each of the plurality of bus masters (26a, 25b).
26b) a message buffer (27a) for storing messages from each of the plurality of bus masters (26a, 26b);
Access control means (27b) for accessing 7a)
and notification means (27c) for notifying a bus master to which the message is sent that a message has been stored in the message buffer (27a), and controlling message communication between the plurality of bus masters (26a, 26b). A DMA controller characterized by:
JP5589888A 1988-02-25 1988-03-09 DMA controller Expired - Lifetime JP2504511B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP5589888A JP2504511B2 (en) 1988-03-09 1988-03-09 DMA controller
EP89102869A EP0330110B1 (en) 1988-02-25 1989-02-21 Direct memory access controller
KR1019890002249A KR910010137B1 (en) 1988-02-25 1989-02-25 Direct memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5589888A JP2504511B2 (en) 1988-03-09 1988-03-09 DMA controller

Publications (2)

Publication Number Publication Date
JPH01229355A true JPH01229355A (en) 1989-09-13
JP2504511B2 JP2504511B2 (en) 1996-06-05

Family

ID=13011935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5589888A Expired - Lifetime JP2504511B2 (en) 1988-02-25 1988-03-09 DMA controller

Country Status (1)

Country Link
JP (1) JP2504511B2 (en)

Also Published As

Publication number Publication date
JP2504511B2 (en) 1996-06-05

Similar Documents

Publication Publication Date Title
EP1318457B1 (en) Bus bridge with a burst transfer mode bus and a single transfer mode bus
EP0658852B1 (en) Computer system with derived local bus
US5426737A (en) Direct memory access for data transfer within an I/O device
JP2504512B2 (en) DMA controller
US6766386B2 (en) Method and interface for improved efficiency in performing bus-to-bus read data transfers
US5043935A (en) Data transfer system for rearranging data units using intermediate temporary registers
JPH01229355A (en) Dma controller
JP2000029826A (en) Three-port fifo data buffer having multilevel caching
US5640570A (en) Information handling system for transmitting contents of line register from asynchronous controller to shadow register in another asynchronous controller determined by shadow register address buffer
JPH02130662A (en) Information processing system
EP0330110B1 (en) Direct memory access controller
JP3201439B2 (en) Direct memory access control circuit
JP2638505B2 (en) Bus interface device
JPH06250965A (en) Input/output controller
JPH0981500A (en) Virtual dma transfer method
JP2820054B2 (en) Bus interface device
JP2563807B2 (en) Direct memory access control circuit
KR920010971B1 (en) Input and output processor using data buffer ram
JPH05128279A (en) One-chip microcomputer
JPH0380354A (en) Parallel interface
JPH0561812A (en) Information processing system
JPH05204830A (en) Input/output controller
JPH0375881A (en) Picture data processing system
JPH02307149A (en) Direct memory access control system
JPH01229353A (en) Dma controller