JPS6314264A - Dma processing system - Google Patents
Dma processing systemInfo
- Publication number
- JPS6314264A JPS6314264A JP15759086A JP15759086A JPS6314264A JP S6314264 A JPS6314264 A JP S6314264A JP 15759086 A JP15759086 A JP 15759086A JP 15759086 A JP15759086 A JP 15759086A JP S6314264 A JPS6314264 A JP S6314264A
- Authority
- JP
- Japan
- Prior art keywords
- bus
- dma
- time
- timer
- 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
Links
- 238000003672 processing method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
- G06F13/30—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal with priority control
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
【発明の詳細な説明】
A、産業上の利用分野
本発明は、コンピュータシステムにおけるDMA処理方
式に関する。DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to a DMA processing method in a computer system.
B8発明の概要
本発明は、システムバスに複数のDMAデバイスが結合
されるコンピュータシステムにおいて、各DMAデバイ
スのバス使用要求信号をプログラマブルタイマで制限す
ることによシ、各DMAデバイスのバスアクセスが1つ
に占有されることなくバス負荷の最適化を可能にしたも
のである。B8 Summary of the Invention The present invention provides a computer system in which a plurality of DMA devices are coupled to a system bus, by limiting the bus use request signal of each DMA device using a programmable timer, thereby reducing the number of bus accesses of each DMA device to one. This makes it possible to optimize the bus load without the bus being occupied by the bus.
C9従米の技術
′a数のDMAデバイスを備えるコンピュータシステム
は、第5図に示すようにな9、システムバス1にCPU
2 、メモリ3.n個のDMAデバイス41〜4nが結
合され、さらに各デバイスからのバス使用要求に対する
優先処理を行うバスアービタ5が結合される。C9 technology A computer system equipped with a number of DMA devices has a CPU 9 connected to the system bus 1 as shown in FIG.
2. Memory 3. n DMA devices 41 to 4n are coupled, and further coupled is a bus arbiter 5 that performs priority processing on bus use requests from each device.
このような構成において、各DMAデバイス41〜4r
、は第6図に示すタイムチャートによってバス使用権が
与えられる。D ki AデバイスからのDM A処理
要求信号BRLがバス1上に送られると、この信号BR
Lを受けるバスアービタ5はバスが使用できる状懇であ
れば使用許可信号BGLをバス1上に乗せる。この信号
BGLをバス使用要求を出したDMAデバイスが受は取
ると、該デバイスは他のデバイスによるバス使用を禁止
する信号BUSYLの信号を出し、この後アドレスAD
R8及びコントロールC0NTR0Lの信号を出してメ
モリ3との直接のデータ交換を行う。In such a configuration, each DMA device 41 to 4r
, are given the right to use the bus according to the time chart shown in FIG. When the DMA processing request signal BRL from the D ki A device is sent onto bus 1, this signal BR
The bus arbiter 5 that receives the bus arbiter 5 puts a use permission signal BGL on the bus 1 if the bus is usable. When the DMA device that issued the bus use request receives this signal BGL, the device issues a signal BUSYL that prohibits other devices from using the bus.
Direct data exchange with the memory 3 is performed by issuing signals R8 and control C0NTR0L.
ここで、各DMAデバイス41〜4nからのバス使用要
求に対する優先処理は、第7図に示すように、DMAデ
バイスには41ヲ代表して示すように、信号BGLライ
ンがデエイジーチェーン構成にされ、バスアービタ5に
物理的に近いデバイスから順に優先権が与えられる。同
図において、DMAデバイス4工が信号BRLをバスに
出力すると共に該信号BRLは遅延回路DELを介して
ゲートGのゲートを閉じ、バスアービタ5側からの信号
BGLを該ゲートGで抑止し、次段のデバイス42側へ
の信号BGL出力が出されない。従って、複数のDMA
デバイスから信号BRLが出力されるも、信号BGLを
出力するデバイスのうちバスアービタ5に最も近いデバ
イスが信号BGLを受は取υ、後段のデバイスには信号
BGLを与えない。Here, as shown in FIG. 7, the priority processing for bus use requests from each DMA device 41 to 4n is performed by arranging a signal BGL line in a daisy chain configuration as shown in FIG. , priority is given to devices in order of physical proximity to the bus arbiter 5. In the figure, the DMA device 4 outputs the signal BRL to the bus, and the signal BRL passes through the delay circuit DEL to close the gate G, and the signal BGL from the bus arbiter 5 side is suppressed by the gate G. The signal BGL output to the device 42 side of the stage is not output. Therefore, multiple DMAs
Although the signal BRL is output from the device, the device closest to the bus arbiter 5 among the devices outputting the signal BGL receives the signal BGL, and does not provide the signal BGL to subsequent devices.
D0発明が解決しようとする問題点
従来のDMA処理方式は、デエイジーチェーンによる優
先処理のため、DMAデバイスのうちの優先度の低いも
のはバス使用権がいつまでも与えられないことがあり、
システムの最適化を難しくする。D0 Problems to be Solved by the Invention In the conventional DMA processing method, priority processing is performed using a daisy chain, so a DMA device with a low priority may not be granted the right to use the bus forever.
Makes system optimization difficult.
着た、DMA要求が集中して発生するときにはシステム
のメインであるCPUも信号BUSYLによってバス使
用ができず、CPUの処理が停止した状態になる問題が
あった。When a large number of DMA requests are received, the main CPU of the system is also unable to use the bus due to the BUSYL signal, causing the CPU to stop processing.
E1問題点を解決するための手段と作用本発明は上記問
題点に鑑みてなされたもので、コンピュータシステムの
システムバスに複数のDMAデバイスを結合し、各DM
Aデバイスに優先権を持たせてDMA処理全可能にする
システムにおいて、前記各DMAデバイスにはプログラ
マブルタイマを設け、夫々のDMA要求のバスへの出力
全前記プログラマブルタイマの設定時間で制限するよう
にし、デバイス内のDMA要求をタイマ設定時間で制限
することで一部の上位DMAデバイスがバスを占有する
ことを制限し、またCPU側でのバス使用時間も確保す
る。Means and operation for solving the E1 problem The present invention has been made in view of the above problem, and it connects a plurality of DMA devices to the system bus of a computer system, and connects each DMA device to the system bus of a computer system.
In a system that allows all DMA processing by giving priority to device A, each DMA device is provided with a programmable timer, and the output of each DMA request to the bus is limited by the time set in the programmable timer. By limiting the DMA requests within the device by the timer setting time, it is possible to restrict some upper-level DMA devices from occupying the bus, and also secure the bus usage time on the CPU side.
F、実施例
第1図は本発明の一実施例を示す要部回路図である。シ
ステム構成は、第5図に示すものにされ、そのうちのD
MAデバイス41〜4nはDMA処理回路として夫々第
1図に示す回路手段を備える。F. Embodiment FIG. 1 is a main circuit diagram showing an embodiment of the present invention. The system configuration is shown in Figure 5, of which D
The MA devices 41 to 4n each include circuit means shown in FIG. 1 as a DMA processing circuit.
第1図において、DMAデバイス4にはプログラマブル
タイマTを備え、システムバス1のクロック信号BCL
Kを計数して所定のオンタイム、オフタイムになる出力
C0UTを得る。このタイマTの時間設定はCPUから
データ/コントロールバス11を通してプログラム値と
して与えられ、またアドレスバス12を通して当該DM
AデバイスのアドレスデータがアドレスデコーダDEC
に与えられることで当該タイマTの指定がなされる。In FIG. 1, the DMA device 4 is equipped with a programmable timer T, and the clock signal BCL of the system bus 1 is
K is counted to obtain an output C0UT that has a predetermined on-time and off-time. The time setting of this timer T is given as a program value from the CPU through the data/control bus 11, and is given to the corresponding DM through the address bus 12.
The address data of the A device is sent to the address decoder DEC.
The timer T is specified by being given to the timer T.
このプログラマブルタイマTの動作は、第2図に示すよ
うになり、CPUからのDMAデバイスのアドレスとオ
ン・オフタイム設定になるセットを行い、クロックBC
LKの人力に対してオン・オフタイム設定内容に応じて
出力C0UTI 、 C0UT2等の周期的オン・オフ
出力を得る。The operation of this programmable timer T is as shown in Fig. 2. It sets the address and on/off time of the DMA device from the CPU, and sets the clock BC.
Periodic on/off outputs such as outputs C0UTI and C0UT2 are obtained according to the on/off time setting contents for the LK human power.
次に、プログラマブルタイマTの出力は当該DMAデバ
イス4にのバス使用要求信号BRLに対する制限をゲー
トG1で行う。ゲートG1の出力は微分回路DIFでオ
ンタイムタイミング信号にされてフリップフロップFF
のセット人力にされる。フリップフロップFFのセット
状態はその司出力からバッファゲートG2を通してバス
アービタへのバス使用要求信号BRを発生する。これに
対するバスアービタからの許可信号BGIとフリップフ
ロップFFのセット出力を遅延回路DELで遅延した信
号との論理積をゲートG5に得、このゲートG5の出力
で下位のDMAデバイスへの優先権を確保する。Next, the output of the programmable timer T limits the bus use request signal BRL to the DMA device 4 at the gate G1. The output of the gate G1 is converted into an on-time timing signal by the differentiating circuit DIF and sent to the flip-flop FF.
The set is made by human power. The set state of flip-flop FF generates a bus use request signal BR from its output through buffer gate G2 to the bus arbiter. In response to this, the logical product of the permission signal BGI from the bus arbiter and the signal obtained by delaying the set output of the flip-flop FF by the delay circuit DEL is obtained at the gate G5, and the output of this gate G5 secures priority to the lower DMA device. .
また、信号BGIとフリップフロップFFの互出力とか
らゲートG11によって当該デバイス4にへのバス使用
許可信号IBGLを得ると共にフリップフロップFFを
リセットする。Further, from the signal BGI and the mutual output of the flip-flop FF, the gate G11 obtains a bus use permission signal IBGL for the device 4 and resets the flip-flop FF.
こうした各部の動作波形は第3図に示すタイムチャート
になシ、信号BRLに対してプログラマブルタイマTの
出力になる信号すが有効になるまでバスへのBR信号出
力が待機され、バスアービタからの信号BGIに対して
バス使用要求信号BRを出しているときにはゲート05
によって下位デバイスへの信号BGOを送出しないし、
要求していないときには信号BGOを送出して下位に対
する要求を可能にする。The operating waveforms of these parts are shown in the time chart shown in Figure 3. In response to signal BRL, the BR signal output to the bus is waited until the signal that becomes the output of programmable timer T becomes valid, and the signal from the bus arbiter is When the bus use request signal BR is issued to BGI, gate 05
does not send the signal BGO to the lower device by
When not making a request, it sends out a signal BGO to enable a request to be made to a lower level.
従って、複数のDMAデバイスからのバスアクセス要求
は夫々内蔵するプログラマブルカウンタTの設定内容に
よって制限され、第4図にDMAデバイス41 r 4
2 + 45に示すように有効とするオンタイムをシス
テム立上げ時にCPUによって設定することにより、シ
ステムバスにとってDMAの要求が競合することが無く
なるし、バスアービタに最も近いDMAデバイスがバス
を長時間占有することも無くなる。またCPU 2によ
るバス使用時間も確保した設定が可能になる。Therefore, bus access requests from a plurality of DMA devices are limited by the settings of the respective built-in programmable counters T, and as shown in FIG.
By setting the valid on-time by the CPU at the time of system startup as shown in 2+45, there will be no competing DMA requests for the system bus, and the DMA device closest to the bus arbiter will not occupy the bus for a long time. There will be nothing to do. Furthermore, it is possible to set a time period in which the CPU 2 uses the bus.
G0発明の効果
以上のとオ)、本発明によれば、DMAデバイスのバス
使用要求を内蔵するプログラマブルタイマによって制限
するようにしたため、上位DMAデバイスによるバス占
有を無くし下位デバイスにもバス使用が長時間制限され
ることなく、またCPUがDMA処理によって時期する
ことが少なくなる。しかもプログラマブルタイマの時間
設定をCPUfljで行うことにより、システムの対象
ニ応じて各DMAデバイスのバスアクセス可能性を適宜
最適化した変更が容易になる。According to the present invention, bus usage requests of DMA devices are limited by a built-in programmable timer, thereby eliminating bus occupancy by higher-level DMA devices and reducing bus usage for lower-level devices as well. There is no time limit and the CPU is less likely to be wasted due to DMA processing. Moreover, by setting the time of the programmable timer using the CPUflj, it becomes easy to make changes to optimize the bus accessability of each DMA device depending on the target of the system.
第1図は本発明の一実施例を示す要部回路図、第2図は
第1図におけるプログラマブルタイマの出力波形図、第
3図は第1図における各部タイムチャート、第4図は第
1図におけるDMAデバイスのバス使用状態図、第5図
はシステム構成図、第6図はDMA処理のタイムチャー
ト、第7図はDMAデバイスのデエイジーチェーン構成
図である。
1・・・システムバス、41+ 42 + 4に、 4
n−D M Aデバイス、5・・・バスアービタ、T・
・・プログラマブルタイマ、DEC・・・アドレスレコ
ーダ、DIF・・・微分回路、FF・・・フリップフロ
ップ、DEL・・・遅延回路。
第2図
ブログフマ刀し・別マ〇七力〉臣1涙Σ第3図
突勇萱t1の夕1ムチャートFig. 1 is a circuit diagram of a main part showing an embodiment of the present invention, Fig. 2 is an output waveform diagram of the programmable timer in Fig. 1, Fig. 3 is a time chart of each part in Fig. 1, and Fig. 4 is a diagram of the output waveform of the programmable timer in Fig. 1. 5 is a system configuration diagram, FIG. 6 is a time chart of DMA processing, and FIG. 7 is a daisy chain configuration diagram of the DMA devices. 1... System bus, 41 + 42 + 4, 4
n-DMA device, 5... bus arbiter, T.
...Programmable timer, DEC...Address recorder, DIF...Differential circuit, FF...Flip-flop, DEL...Delay circuit. Figure 2 Blog Fuma Sword and Bessuma 〇Shichiryoku〉Omi 1 Tears Σ Figure 3 Tsuyuugaya t1 Evening 1 Mu Chart
Claims (1)
バイスを結合し、各DMAデバイスに優先権を持たせて
DMA処理を可能にするシステムにおいて、前記各DM
Aデバイスにはプログラマブルタイマを設け、夫々のD
MA要求のパスへの出力を前記プログラマブルタイマの
設定時間で制限するようにしたことを特徴とするDMA
処理方式。In a system in which a plurality of DMA devices are coupled to a system bus of a computer system and each DMA device is given priority to enable DMA processing,
A programmable timer is installed in the A device, and each D
A DMA characterized in that output of an MA request to a path is limited by a set time of the programmable timer.
Processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15759086A JPS6314264A (en) | 1986-07-04 | 1986-07-04 | Dma processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP15759086A JPS6314264A (en) | 1986-07-04 | 1986-07-04 | Dma processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6314264A true JPS6314264A (en) | 1988-01-21 |
Family
ID=15653032
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP15759086A Pending JPS6314264A (en) | 1986-07-04 | 1986-07-04 | Dma processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6314264A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5194900A (en) * | 1990-10-22 | 1993-03-16 | Sharp Kabushiki Kaisha | Developer cartridge having easily removable sealing material |
-
1986
- 1986-07-04 JP JP15759086A patent/JPS6314264A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5194900A (en) * | 1990-10-22 | 1993-03-16 | Sharp Kabushiki Kaisha | Developer cartridge having easily removable sealing material |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7032046B2 (en) | Resource management device for managing access from bus masters to shared resources | |
US7350004B2 (en) | Resource management device | |
US5555413A (en) | Computer system and method with integrated level and edge interrupt requests at the same interrupt priority | |
JP2559906B2 (en) | Arbitration system and method | |
US6505265B1 (en) | Bus arbitration system with changing arbitration rules | |
US8412870B2 (en) | Optimized arbiter using multi-level arbitration | |
US20120042105A1 (en) | Bus arbitration apparatus | |
US20060155903A1 (en) | Resource management device | |
JP2010282405A (en) | Data processing system | |
US5287486A (en) | DMA controller using a programmable timer, a transfer counter and an or logic gate to control data transfer interrupts | |
JPH06231074A (en) | Multiple access system for system bus | |
US20110276727A1 (en) | Quantum burst arbiter and memory controller | |
US10210114B2 (en) | Interrupt-driven I/O arbiter for a microcomputer system | |
JP4666143B2 (en) | Data transfer processing device | |
JPS6314264A (en) | Dma processing system | |
US5539916A (en) | DMA control for continuing transfer to input/output device in a cycle steal mode | |
JP4309508B2 (en) | DMA controller | |
JP2008059047A (en) | Information processing system and control method therefor | |
JP3240863B2 (en) | Arbitration circuit | |
JP2574345B2 (en) | Bus arbitration equipment | |
US20110055446A1 (en) | Semiconductor integrated circuit device | |
JPH0560625B2 (en) | ||
JPH09311812A (en) | Microcomputer | |
JP4642398B2 (en) | Shared bus arbitration system | |
JPH05204832A (en) | Dma bus arbitration system |