JPS6346559A - Dma controller - Google Patents

Dma controller

Info

Publication number
JPS6346559A
JPS6346559A JP19082286A JP19082286A JPS6346559A JP S6346559 A JPS6346559 A JP S6346559A JP 19082286 A JP19082286 A JP 19082286A JP 19082286 A JP19082286 A JP 19082286A JP S6346559 A JPS6346559 A JP S6346559A
Authority
JP
Japan
Prior art keywords
bus
transfer
data
buses
memory
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
JP19082286A
Other languages
Japanese (ja)
Inventor
Norio Tajima
田嶋 則夫
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP19082286A priority Critical patent/JPS6346559A/en
Publication of JPS6346559A publication Critical patent/JPS6346559A/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

Landscapes

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

Abstract

PURPOSE:To perform the DMA transfer between buses with the highest performance and the maximum efficiency of each bus and regardless of the performance of each bus, by dividing the transfer of data between two buses into the bus/data transfer and the data memory/bus transfer respectively. CONSTITUTION:The bus connection control parts 1 and 3 and the driver receivers 4 and 6 are connected to buses A and B respectively. Then a data transfer control part 2 is added together with a data buffer memory 5. Both parts 1 and 3 perform the interface control between both buses A and B and produce various bus control signals for bus arbitration, addresses, etc. Then the transfer of data between both buses is divided into the transfer between the bus A and the memory 5 and transfer between the bus B and the memory 5. Therefore the arbitration jobs are possible independently of each other between buses A and B. In addition, the DMA transfer is attained between both buses with the highest performance and the maximum efficiency of each bus and regardless of the performance of each bus by increasing the data transfer timing speed up to a level at which the speed of the memory 5 can follow the bus of a higher bus.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はD M Aコントローラに関し、特にマルチC
PUにおける共通バスとローカルバスなどの2個のバス
間で” D M Aを行う場合のDMAコントローラに
関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a DMA controller, and particularly to a multi-C
The present invention relates to a DMA controller when performing DMA between two buses such as a common bus and a local bus in a PU.

〔従来の技術〕[Conventional technology]

マイクロプロセッサの周辺回路としてD M Aコント
ローラは不可欠の物であり、多くの回路が発表されてお
り、LSI化されているものも多数ある。
DMA controllers are indispensable as peripheral circuits for microprocessors, and many circuits have been published, and many have been implemented as LSIs.

第2図を見るに、従来の技術の一例はバスAとバスBの
間をバスアービトレーションによりそれぞれのバスを制
御するバス接続制御部8と、データのアクセスを制御す
るドライバ、レシーバ9とで結んでおり、CPUなどか
ら転送指令を受けてDMA転送命令をバス接続制御部8
1\出力するデータ移送制御部7を備えている。
Referring to FIG. 2, an example of the conventional technology connects bus A and bus B using a bus connection control unit 8 that controls each bus through bus arbitration, and a driver and receiver 9 that control data access. After receiving a transfer command from the CPU, etc., the bus connection control unit 8 transmits the DMA transfer command.
1\output data transfer control unit 7.

しかしながら、複数個のCPUのように、共通バスとロ
ーカルバスのように速度の異なる2つのバス間でDMA
転送を行おうとするようなとき、2つのバスのアクセス
権を同時に獲得し、両者のバスのタイミングを整合させ
てデータ転送させている。
However, when multiple CPUs use DMA between two buses with different speeds, such as a common bus and a local bus,
When data is to be transferred, access rights to two buses are obtained simultaneously, the timings of both buses are matched, and data is transferred.

バスのアクセス権を同時に獲得するためには。To obtain bus access at the same time.

2個のバスの転送速度が同一のときでも両方のバスが空
になる必要があり、〕一つのバスのアクセス獲得より時
間がかかり、先に獲得されたバスは後のバスが獲得され
るまでの待時間を要する。また、2つのバスの転送速度
に差があるとき、転送速度の速いバスは遅いバスに合わ
せる必要がありやはり待時間を必要とする。
Even if the transfer speeds of two buses are the same, both buses need to be empty, and it takes longer than acquiring access to one bus, and the bus that is acquired first will wait until the next bus is acquired. Waiting time is required. Furthermore, when there is a difference in the transfer speeds of two buses, the bus with the faster transfer speed needs to adjust to the bus with the slower transfer speed, which also requires waiting time.

これらはバスの使用効率と応答速度を低下させ、複数個
のCPUの共通のバスのように頻繁にバスアービトレー
ションが行われると、その性能低下が著しく使用に耐え
なくなる恐れがある。
These reduce bus usage efficiency and response speed, and if bus arbitration is performed frequently as in the case of a common bus for a plurality of CPUs, the performance may drop significantly and become unusable.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のDMAコントローラは、2個のバスのア
クセス権を同時に獲得し、2個のバスのタイミングを整
合させてデータを転送させているので、データを転送さ
せるための無駄な待時間が多く使用効率を低■ζさせる
という欠点がある。従って本発明の目的は、上記欠点を
解決したDMAコントローラを提供することにある。
The conventional DMA controller described above acquires access rights to two buses at the same time and synchronizes the timing of the two buses to transfer data, so there is a lot of wasted waiting time to transfer data. It has the disadvantage of reducing usage efficiency. SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a DMA controller that overcomes the above-mentioned drawbacks.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は2個のバスのため各々バス接続制御部綱ト発−
ルけ≠計癲し司葉叶汝イ昇た4r各;℃す←ス寸岬岐4
1聾癩←とドライバ・レシーバとを持ち、これらに共通
にデータ転送制御部とデータバ・ソファメモリとを設け
て、2個のバス間のデータ転送をバスとデータバッファ
メモリ間の転送2回に分けて行うように構成したもので
あり、これにより2つのバスのアービトレーションは、
お互いにもう一方のバスのアービトレーション動作と独
立して個別に行うことができ、又データ転送タイミング
は、データバッファメモリの速度を速い方のバスに追従
できるまで上げることにより、各バスでの最高速度でも
可能である。
Since the present invention has two buses, each bus connection control section has a connection control section.
Ruke≠Measurement and Tsukasa Kano you rose to 4r each;℃su←Susumakiki 4
1 has a deaf leprosy← and a driver/receiver, and a data transfer control unit and a data buffer sofa memory are provided in common to these, so that data transfer between the two buses is reduced to two transfers between the bus and the data buffer memory. It is configured to perform the arbitration separately, and as a result, the arbitration of the two buses is
Each bus can perform arbitration operations independently of the other bus, and the data transfer timing can be adjusted to the maximum speed of each bus by increasing the speed of the data buffer memory until it can follow the faster bus. But it is possible.

〔実施例〕〔Example〕

次に、本発明について図面を5照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の構成を示すブロック図であ
る0図においてバス接続制御部1とバス接続制御部3は
バスAとバスBとのインタフェース制御部でバスアービ
トレーションとアドレスなど各種バス制御信号の発生を
行う、データ転送制御部2は、CPU等からD M A
転送命令を受参りで、これをバスAとデータバ・ソファ
メモリ5及びバスBとデータバ・ソファメモリ5の各々
のデータ転送のシーケンスに分け、バス接続制御部1・
2へ命令を出す。ドライバ7・ルシーバ4・6は、バス
AあるいはバスBとデータバラフチメモリ5との接続を
行う。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. The data transfer control unit 2, which generates bus control signals, receives data from the CPU, etc.
Upon receiving the transfer command, the bus connection control unit 1 divides the data into data transfer sequences for the bus A and the data bus/sofa memory 5 and for the bus B and the data bus/sofa memory 5.
Issue an order to 2. The driver 7 and receivers 4 and 6 connect the bus A or bus B and the data variation memory 5.

第1図と従来の技術を示す第2図との比較をすると、第
1図の本発明の場合はバスAとバスBに各々バス接続制
御部1・3があり、これによりバスAとバスBのアクセ
スを独立に行うことができる。ずなわち、バスA又はバ
スBで見た場合では、データ転送に必要なアクセスは最
小で済むことになる。これが本発明の特徴である。
Comparing FIG. 1 and FIG. 2 showing the conventional technology, in the case of the present invention shown in FIG. B can be accessed independently. In other words, when viewed from bus A or bus B, the access required for data transfer is minimal. This is a feature of the present invention.

第3図(a>および(b)は両者のタイミングの違いを
表わしたものである。第3図(a>のシーケンスが本発
明の場き、第3図(b)のシーケンスが従来の技術によ
る場合である。これらの例ではバスBはバスAよりアク
セスが遅く、このうち第3図(b)のシーケンスではバ
スBのアービ一 トレーションがバスのアービトレーションより長くかか
った例である。参照符号12の斜線部はバスアービトレ
ーションの時間の差によるバスAのち時間であり、参照
符号13の斜線部はアクセスタイミングの差によるバス
Aの待ち時間である。
Figures 3 (a> and (b)) show the difference in timing between the two. The sequence in Figure 3 (a) is in accordance with the present invention, and the sequence in Figure 3 (b) is in the conventional technology. In these examples, access to bus B is slower than bus A, and in the sequence shown in FIG. 3(b), bus B arbitration took longer than bus arbitration.See The shaded area with reference numeral 12 is the time after bus A due to the difference in bus arbitration time, and the shaded area with reference numeral 13 is the waiting time of bus A due to the difference in access timing.

これら参照符号12および13で表わされる待ち時間は
、2個のバスが全く同じ動作をしないかぎり必らず発生
するものであり、各バス(図ではバスA)の転送効率を
悪くしている。本発明の場合、すなわち第3図(a>で
示されるシーケンスでは、この待ち時間は発生しない。
These waiting times denoted by reference numerals 12 and 13 inevitably occur unless the two buses perform exactly the same operation, and degrade the transfer efficiency of each bus (bus A in the figure). In the case of the present invention, that is, in the sequence shown in FIG. 3 (a>), this waiting time does not occur.

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

以上説明したように本発明は、2個のバス間のデータ転
送をバス・データメモリ間とデータメモリ・バス間の2
回に分割して行うように構成したことにより、2つのバ
ス間のDMA転送を各々のバスの性能に無関係に各バス
の最高性能・最大効率で実現できるという効果がある。
As explained above, the present invention transfers data between two buses, one between the bus and the data memory, and the other between the data memory and the bus.
By configuring the transfer to be performed in divided steps, the DMA transfer between two buses can be realized with the highest performance and efficiency of each bus, regardless of the performance of each bus.

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

第1図は本発明の一実施例の構成を示すプロッり図、第
2図は従来の技術によるDMA制御器の構成の一例を示
すプロ・・ツク図、第3図(a)・ (b)は両者の夕
・イミングを表わした図表である。 1・・・・・・バス接続制御部A、2・・・・・・デー
タ転送制御部、3・・・・・・バス接続制御部B、4・
・・・・・データバスドライバ7・ルシーバA、5・・
・・・・データバッファメモリ、6・・・・・・データ
バスドライバ/レシーバB、7・・・・・データ転送制
御部、8・・・・・・バス接続制御部、9・・・・・・
データバスドライバ/レシーバ、12・13・・・・・
・待ち時間。 $ 1 画
Fig. 1 is a plot diagram showing the configuration of an embodiment of the present invention, Fig. 2 is a plot diagram showing an example of the configuration of a DMA controller according to the conventional technology, and Figs. 3(a) and (b). ) is a chart showing the evening and timing of both. 1... Bus connection control unit A, 2... Data transfer control unit, 3... Bus connection control unit B, 4...
...Data bus driver 7, luciver A, 5...
...Data buffer memory, 6...Data bus driver/receiver B, 7...Data transfer control unit, 8...Bus connection control unit, 9...・・・
Data bus driver/receiver, 12/13...
・Waiting time. $1 picture

Claims (1)

【特許請求の範囲】[Claims] 2個のバスの間でデータのDMA転送を行うDMAコン
トローラにおいて、バスの制御を行うバス接続制御部と
データの入出力の制御を行うドライバ・レシーバとをお
のおののバスごとに備えいずれか一方のバスから転送さ
れたデータを書き込むと共に前記書き込まれたデータを
読み出して他の一方のバスに転送するデータバッファメ
モリを備えて成ることを特徴とするDMAコントローラ
In a DMA controller that performs DMA transfer of data between two buses, each bus is equipped with a bus connection control section that controls the bus and a driver/receiver that controls data input/output. A DMA controller comprising a data buffer memory that writes data transferred from a bus and reads the written data and transfers it to another bus.
JP19082286A 1986-08-13 1986-08-13 Dma controller Pending JPS6346559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19082286A JPS6346559A (en) 1986-08-13 1986-08-13 Dma controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19082286A JPS6346559A (en) 1986-08-13 1986-08-13 Dma controller

Publications (1)

Publication Number Publication Date
JPS6346559A true JPS6346559A (en) 1988-02-27

Family

ID=16264335

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19082286A Pending JPS6346559A (en) 1986-08-13 1986-08-13 Dma controller

Country Status (1)

Country Link
JP (1) JPS6346559A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0223451A (en) * 1988-07-13 1990-01-25 Fujitsu Ltd Dma transfer system
JPH02226454A (en) * 1989-01-13 1990-09-10 Internatl Business Mach Corp <Ibm> Computer system and transfer of data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55135929A (en) * 1979-04-10 1980-10-23 Matsushita Electric Ind Co Ltd Input/output control device
JPS6165351A (en) * 1984-09-06 1986-04-03 Yokogawa Hokushin Electric Corp Control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55135929A (en) * 1979-04-10 1980-10-23 Matsushita Electric Ind Co Ltd Input/output control device
JPS6165351A (en) * 1984-09-06 1986-04-03 Yokogawa Hokushin Electric Corp Control system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0223451A (en) * 1988-07-13 1990-01-25 Fujitsu Ltd Dma transfer system
JPH02226454A (en) * 1989-01-13 1990-09-10 Internatl Business Mach Corp <Ibm> Computer system and transfer of data

Similar Documents

Publication Publication Date Title
US8019951B2 (en) Memory controller including multiple system bus interfaces
JPH03137757A (en) Priority control system
JPS6346559A (en) Dma controller
JP2003150395A (en) Processor and program transfer method thereof
JPH09153009A (en) Arbitration method for hierarchical constitution bus
JPH0343804A (en) Sequence controller
JP3206910B2 (en) DMA transfer method
JP2687716B2 (en) Information processing device
JPH052557A (en) Data transfer device
JPS6160162A (en) Bus arbitration system
JP2632049B2 (en) Multiprocessor system
JPH07295949A (en) Multi-cpu processing system provided with two system buses
JPS6269348A (en) Data transfer device
JPH01318140A (en) Multiprocessor system
JP2001022710A (en) System with plural bus controllers
JPH06161947A (en) Computer system
JPH02211571A (en) Information processor
JPS62113257A (en) Data transfer circuit
JPH04175941A (en) Method and device for controlling common memory
JPS62184557A (en) Microprocessor bus interface circuit
JPH03164851A (en) Data processor
JPS59201153A (en) Host connection system for stand-alone type picture processing system
JPH096495A (en) Bus connection control system
JPS626359A (en) Bus control system
JPS63316153A (en) Synchronous bus controller