JPH0429104B2 - - Google Patents
Info
- Publication number
- JPH0429104B2 JPH0429104B2 JP10796282A JP10796282A JPH0429104B2 JP H0429104 B2 JPH0429104 B2 JP H0429104B2 JP 10796282 A JP10796282 A JP 10796282A JP 10796282 A JP10796282 A JP 10796282A JP H0429104 B2 JPH0429104 B2 JP H0429104B2
- Authority
- JP
- Japan
- Prior art keywords
- channel device
- access request
- circuit
- clock
- access
- 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.)
- Expired
Links
- 238000000034 method Methods 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 11
- GNWBLLYJQXKPIP-ZOGIJGBBSA-N (1s,3as,3bs,5ar,9ar,9bs,11as)-n,n-diethyl-6,9a,11a-trimethyl-7-oxo-2,3,3a,3b,4,5,5a,8,9,9b,10,11-dodecahydro-1h-indeno[5,4-f]quinoline-1-carboxamide Chemical compound CN([C@@H]1CC2)C(=O)CC[C@]1(C)[C@@H]1[C@@H]2[C@@H]2CC[C@H](C(=O)N(CC)CC)[C@@]2(C)CC1 GNWBLLYJQXKPIP-ZOGIJGBBSA-N 0.000 description 8
- 102100040862 Dual specificity protein kinase CLK1 Human genes 0.000 description 7
- 101000749294 Homo sapiens Dual specificity protein kinase CLK1 Proteins 0.000 description 6
- 101150043088 DMA1 gene Proteins 0.000 description 5
- 230000004044 response Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000004904 shortening Methods 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)
Description
【発明の詳細な説明】
(1) 発明の技術分野
本発明はDMA(Direct Memory Access)制
御方式に係り、特に共通バスに複数のDMA要求
レべルを設けて高いレべルのDMA要求線に高速
データ転送を必要とするチヤネル装置を接続する
ようにしたものである。[Detailed Description of the Invention] (1) Technical Field of the Invention The present invention relates to a DMA (Direct Memory Access) control system, and in particular provides a plurality of DMA request levels on a common bus to control high-level DMA request lines. It is designed to connect channel devices that require high-speed data transfer to the network.
(2) 従来技術と問題点
第1図に示すように主記憶装置MMに対してチ
ヤネル装置CH−1,CH−1…がアクセス要求
が存在する場合、中央処理装置CPUを経由せず
にチヤネル装置CH−0,CH−1…が直接この
主記憶装置MMにアクセス可能とするためにダイ
レクト・メモリ・アクセス制御装置DMAを設け
てこのダイレクト・メモリ・アクセス制御装置
DMAにより選択されたチヤネル装置が共通バス
C−BUSの支配権を獲得することによりそのチ
ヤネル装置が主記憶装置MMを直接アクセスでき
るように構成されるDMA制御方式が使用されて
いる。(2) Prior art and problems As shown in Figure 1, when channel devices CH-1, CH-1, etc. have an access request to the main memory device MM, the channel devices can access the main memory device MM without going through the central processing unit CPU. In order to enable devices CH-0, CH-1, etc. to directly access this main memory device MM, a direct memory access control device DMA is provided.
A DMA control method is used in which a channel device selected by DMA gains control of the common bus C-BUS, thereby allowing the channel device to directly access the main memory device MM.
この場合、各チヤネル装置CH−0,CH−1
…とダイレクト・メモリ・アクセス制御装置
DMAは第2図に示すように接続されている。す
なわち、チヤネル装置CH−0にはインバータ
INV−0,アンド回路A−0,JKフリツプフロ
ツプJK−0,オア回路OR−0が設けられ、チヤ
ネル装置CH−1にも同様に構成されている。そ
してJKフリツプフロツプの各J端子にはその属
するチヤネル装置からの主記憶装置MMに対する
アクセス要求RQ信号が伝達されるとともに各JK
フリツプフロツプのQ出力がオア回路の入力さ
れ、該オア回路の他方には前段のチヤネル装置か
ら伝達されたアクセス要求が入力される。例えば
チヤネル装置CH−1のオア回路OR−1にはそ
のチヤネル装置CH−1から発生された主記憶装
置MMに対するアクセス要求RQ1及びチヤネル
装置CH−0のオア回路OR−0を経由して伝達
されたアクセス要求が伝達されることになる。そ
してこのようなアクセス要求はダイレクト・メモ
リ・アクセス制御装置DMAに伝達されたとき、
このDMAはそのときにチヤネル装置に対してメ
モリ・アクセス許可信号DMAAを出力していな
ければ共通の信号線にこのメモリ・アクセス許可
信号DMAAを送出する。これにより、前段から
のアクセス要求RQが伝達されずかつ自己からア
クセス要求RQを発生しているチヤネル装置に対
して共通バスC−BUSの支配権が与えられ、そ
のチヤネル装置が主記憶装置MMをダイレクトア
クセスすることができる。 In this case, each channel device CH-0, CH-1
…and direct memory access controller
The DMAs are connected as shown in FIG. In other words, channel device CH-0 has an inverter.
INV-0, AND circuit A-0, JK flip-flop JK-0, and OR circuit OR-0 are provided, and the channel device CH-1 is similarly configured. Then, an access request RQ signal to the main memory device MM from the channel device to which it belongs is transmitted to each J terminal of the JK flip-flop, and each JK
The Q output of the flip-flop is input to an OR circuit, and the other side of the OR circuit receives an access request transmitted from the previous channel device. For example, an access request RQ1 for the main memory device MM generated from the channel device CH-1 is transmitted to the OR circuit OR-1 of the channel device CH-1 via the OR circuit OR-0 of the channel device CH-0. The requested access request will be transmitted. When such an access request is transmitted to the direct memory access controller DMA,
If this DMA does not output a memory access permission signal DMAA to the channel device at that time, it sends this memory access permission signal DMAA to the common signal line. As a result, control of the common bus C-BUS is given to the channel device that has not received the access request RQ from the previous stage and is generating the access request RQ from itself, and that channel device can access the main memory device MM. Can be accessed directly.
例えば第2図において、チヤネル装置CH−0
のオア回路OR−0よりアクセス要求RQが出力
されず、チヤネル装置CH−1の内部よりアクセ
ス要求RQ1が発生されてそのJKフリツプフロツ
プJK−1のJ端子にこのアクセス要求RQ1が印
加されるとき、JK−1はQ端子より「1」を出
力し、オア回路OR−1を経由してこれがDMA
に印加される。このときDMAは他にアクセス許
可を行つていないので、アクセス許可信号
DMAAを出力する。チヤネル装置CH−1のアン
ド回路A−1にはJK−1のQ端子出力「1」と
インバータINV−1の出力「1」が印加されて
いるので、このDMAAの出力によりアンド回路
A−1は「1」を出力し、これにもとづきチヤネ
ル装置CH−1は共通バスC−BUSの支配権を獲
得するので主記憶装置MMをダイレクトアクセス
することができる。しかしチヤネル装置CH−0
では、JK−0のQ端子出力が「0」のため、こ
のDMAAが出力されてもアンド回路A−1は
「0」を出力したままであり、共通バスの支配権
を得ることができない。このようにして前段のチ
ヤネル装置からRQが伝達されず、しかも自己の
チヤネル装置からRQが発生しているチヤネル装
置に対して前記支配権が付与されることになる。 For example, in Figure 2, channel device CH-0
When the access request RQ is not output from the OR circuit OR-0 and the access request RQ1 is generated from inside the channel device CH-1 and is applied to the J terminal of the JK flip-flop JK-1, JK-1 outputs "1" from the Q terminal, and this is sent to DMA via OR circuit OR-1.
is applied to At this time, since the DMA has not granted access to anyone else, the access permission signal
Output DMAA. Since the Q terminal output "1" of JK-1 and the output "1" of the inverter INV-1 are applied to the AND circuit A-1 of the channel device CH-1, the AND circuit A-1 is applied by the output of this DMAA. outputs "1", and based on this, the channel device CH-1 acquires control of the common bus C-BUS, so that it can directly access the main memory device MM. But channel device CH-0
In this case, since the Q terminal output of JK-0 is "0", even if this DMAA is output, the AND circuit A-1 continues to output "0", and control of the common bus cannot be obtained. In this way, the control right is granted to a channel device to which no RQ is transmitted from the preceding channel device, and which generates an RQ from its own channel device.
この状態のタイムチヤートを第3図で示す。 A time chart in this state is shown in FIG.
いま第3図ので示すアクセス要求RQがチヤ
ネル装置CH−1より発生すると、次のクロツク
CLKの立下りでDMAに対するアクセス要求
DMARQがに示すようにJK−1より出力され
る。DMAのリクエスト端子DMARQに伝達され
る。DMAではこのとき他のチヤネル装置がバス
支配権を獲得していないことを確認して、で示
すアクセス許可信号DMAAを応答出力する。同
時にこれによりチヤネル装置CH−1は、バス上
のデータ転送が行われていないことを確認して、
主記憶装置MMに対して例えばに示す如く、デ
ータD1を転送する。そしてデータ転送を終了す
ると次のアクセス要求を上げることになる。 Now, when the access request RQ shown in Figure 3 is generated from channel device CH-1, the next clock
Access request to DMA on falling CLK
DMARQ is output from JK-1 as shown in . It is transmitted to the DMA request terminal DMARQ. At this time, the DMA confirms that no other channel device has acquired bus control, and outputs an access permission signal DMAA as a response. At the same time, channel device CH-1 confirms that no data transfer is taking place on the bus, and
Data D1 is transferred to the main memory device MM as shown in, for example. When the data transfer is completed, the next access request is issued.
したがつてこのタイムチヤートより明らかな如
く、チヤネル内部からのアクセス要求RQが発生
してからそのチヤネル装置がバス支配権を獲得す
るまでの時間TWとデータ転送時間TDの和がデー
タ転送サイクルTSとなる。ところが前記TWは、
TW≦2TCつまり略2倍のTC程度必要とし、その
結果データ転送サイクルTSは、TCを1μsecとし
TDを1μs〜2μs程度とすればTS=3μs〜4μs位、平
均してTS=3.2μs程度必要となる。 Therefore, as is clear from this time chart, the sum of the time T W from when an access request RQ is generated from inside the channel until the channel device acquires bus control and the data transfer time T D is the data transfer cycle. It becomes T.S. However, the above T W is
T W ≦2T C , that is, approximately twice T C is required, and as a result, the data transfer cycle T S is 1 μsec .
If T D is about 1 μs to 2 μs, T S =3 μs to 4 μs, and on average, T S = about 3.2 μs is required.
しかるに高速データ転送を必要とする磁気デイ
スク装置ではTS=1.4μs〜2.4μsに定められてお
り、このためにはTcを200ns程度の非常に高速の
ものを使用しなければならない。 However, in a magnetic disk device that requires high-speed data transfer, T S is set at 1.4 μs to 2.4 μs, and for this purpose, a very high-speed Tc of about 200 ns must be used.
ところでこのTcを高速化して短かいサイクル
のものを使用すれば、Tcの立上つているときに
DMARが検知されてこれに対するDMAAを応答
判定のための時間が必要のため、オア回路による
DMARQのゲート遅れがあるので、チヤネル装
置の接続台数を多くすることはできず、Tcを高
速クロツク化したときチヤネル装置の接続台数が
制限されるという欠点が存在する。 By the way, if you speed up this Tc and use a short cycle one, when Tc is rising,
Since DMAR is detected and it takes time to determine the response of DMAA to this, the OR circuit is used.
Due to the gate delay of DMARQ, it is not possible to increase the number of connected channel devices, and when Tc is made into a high-speed clock, there is a drawback that the number of connected channel devices is limited.
そのため、従来ではチヤネル装置の接続数が大
きく、しかも高速データ転送を必要とされるシス
テムでは、第4図に示す如きローカルバースト方
式を使用して複雑な制御を行つていた。 Therefore, conventionally, in systems where a large number of channel devices are connected and which requires high-speed data transfer, complicated control has been performed using a local burst method as shown in FIG.
すなわち、ローカールバースト方式では、第4
図に示すビジイ信号Busyを制御信号として使用
し、データD0,D1…を特定ワード連続的に送出
するものである。 In other words, in the local burst method, the fourth
The busy signal Busy shown in the figure is used as a control signal to continuously send data D0, D1, etc. in specific words.
第4図において、チヤネル装置からアクセス要
求RQがに示す如く発生したとき、クロツク
MCLKの立下りで共通バス上のDMA要求
DMARQが出力される。DMAは他の装置がすで
にバス支配権を獲得していないことを確認して
で示す許可応答DMAAを出力する。チヤネル装
置はその前段のチヤネル装置からアクセス要求
RQが出力されていないことを確認してMCLKの
立下りにおいてバス支配権を獲得する。同時にバ
ス上のデータ転送状態を示すのビジイ信号
Busyが「1」でないことを確認してBusy「1」
を出力し、で示すように、データ転送を行う。
このとき1ワード目のデータ転送後、Busy「1」
の下で2ワード目のデータ転送を行う例について
説明しているが、データ転送ワード数については
特に規定されていない。このようにローカルバー
スト転送が終了すると、内部のDMA転送条件が
揃つたことを確認してチヤネル装置はで示すよ
うに次のDMARQをセツトすることになる。 In Figure 4, when an access request RQ is generated from the channel device as shown in
DMA request on common bus on falling edge of MCLK
DMARQ is output. The DMA confirms that no other device has already acquired control of the bus and outputs the permission response DMAA indicated by . A channel device requests access from the previous channel device.
Confirm that RQ is not output and acquire bus control on the falling edge of MCLK. At the same time, a busy signal indicates the data transfer status on the bus.
Confirm that Busy is not “1” and set Busy to “1”
Outputs and performs data transfer as shown in .
At this time, after the first word data transfer, Busy “1”
An example in which the second word of data is transferred is described below, but the number of data transfer words is not particularly defined. When the local burst transfer is completed in this way, the channel device confirms that the internal DMA transfer conditions have been met and sets the next DMARQ as shown in .
このようなローカルバースト方式ではビジイ信
号Busy用の制御信号が必要であり、しかもあら
かじめ転送データのワード数をカウントし、特定
ワード数になつた時のDMA要求を発生するとい
う制御が必要となるため、全体構成が複雑化する
という欠点がある。 This local burst method requires a control signal for the busy signal, and also requires control to count the number of words of transferred data in advance and generate a DMA request when a specific number of words is reached. , the disadvantage is that the overall configuration becomes complicated.
(3) 発明の目的
本発明はこのような欠点を改善するために高速
データ転送を必要とするチヤネル装置と通常の速
度のデータ転送でよりチヤネル装置とに
DMARQを複数に分け、高速データ転送を必要
とするDMARQ側に優先を与えるようにした
DMA制御方式を提供するものである。(3) Purpose of the Invention In order to improve the above-mentioned drawbacks, the present invention provides a channel device that requires high-speed data transfer and a channel device that can transfer data at a normal speed.
DMARQ is divided into multiple parts and priority is given to the DMARQ side that requires high-speed data transfer.
It provides a DMA control method.
(4) 発明の構成
このような目的を遂行するために本発明の
DMA制御方式では記憶装置と、該記憶装置に対
するアクセス要求を制御するダイレクト・メモ
リ・アクセス制御手段と、該ダイレクト・メモ
リ・アクセス制御手段に接続された複数のアクセ
ス要求手段を有しアクセス要求手段からアクセス
要求が発生したときそのアクセス要求に対して応
答を前記ダイレクト・メモリ・アクセス制御手段
が行うようにしたダイレクト・メモリ・アクセス
制御方式において、ダイレクト・メモリ・アクセ
ス制御手段に対するアクセス要求手段を複数のグ
ループに分けると共に、該ダイレクト・メモリ・
アクセス制御手段には、周波数の高い第一のクロ
ツクと、第一の周波数より低い周波数である第二
のクロツクを発生するクロツク発生源を設け、該
グループの内の一方のグループに第一のクロツク
を他方のグループに第二のクロツクを供給するよ
うにし、且つ、該他方のグループより第一のグル
ープのアクセス要求に対する処理の優先順位を高
くして制御することを特徴とする。(4) Structure of the invention In order to accomplish this purpose, the present invention has been developed.
The DMA control method includes a storage device, a direct memory access control means for controlling access requests to the storage device, and a plurality of access request means connected to the direct memory access control means. In the direct memory access control method, the direct memory access control means responds to the access request when the access request occurs, and the direct memory access control means includes a plurality of access request means for the direct memory access control means. In addition to dividing into groups, the direct memory
The access control means is provided with a clock generation source that generates a first clock having a high frequency and a second clock having a frequency lower than the first frequency, and the access control means is provided with a clock generation source that generates a first clock having a high frequency and a second clock having a frequency lower than the first frequency. The second clock is supplied to the other group, and the processing priority for the access request of the first group is set higher than that of the other group.
(5) 発明の実施例 本発明の概略を第5図により簡単に説明する。(5) Examples of the invention The outline of the present invention will be briefly explained with reference to FIG.
本発明においてはチヤネル装置を高速サイクル
のクロツクCLK0で制御されるグループG0と通
常のサイクルのクロツクCLK1で制御されるグ
ループG1に分ける。高速サイクルのクロツク
CLK0で制御されるチヤネル装置2…はその接
続台数が制限されるが、普通のクロツクCLK1
で制御できるものをグループG1に分離している
ので、グループG0で接続されるチヤネル数は必
然的に少なくてよいので問題はない。そして
DMA1ではグループG0からのダイレクト・ア
クセス要求DMAR0とグループG1からのダイレ
クト・アクセス要求DMAR1とが競合したときグ
ループG0からのDMAR0に優先権を与えるよう
にこれをハイレべルのDMA要求線に接続するよ
うに構成する。かくして、磁気デイスク装置の如
き高速クロツクCLK0で制御することが必要な
チヤネル装置をグループG0側に接続し、通常の
クロツクCLK1で制御される磁気テープ装置や
回線制御装置等に対するものについてはこれらを
グループG1側に接続することができる。 In the present invention, the channel devices are divided into a group G0 controlled by a fast cycle clock CLK0 and a group G1 controlled by a normal cycle clock CLK1. Fast cycle clock
Channel device 2, which is controlled by CLK0, has a limited number of connections, but the normal clock CLK1
Since those that can be controlled are separated into group G1, the number of channels connected in group G0 can necessarily be small, so there is no problem. and
DMA1 is connected to the high-level DMA request line so that when direct access request DMAR0 from group G0 conflicts with direct access request DMAR1 from group G1, priority is given to DMAR0 from group G0. Configure it as follows. In this way, channel devices that need to be controlled by high-speed clock CLK0, such as magnetic disk devices, are connected to group G0, and devices for magnetic tape devices, line control devices, etc. that are controlled by normal clock CLK1 are connected to group G0. Can be connected to the G1 side.
本発明の一実施例を第5図〜第9図にもとづき
説明する。 An embodiment of the present invention will be described based on FIGS. 5 to 9.
第5図は本発明の一実施例構成図、第6図はそ
の動作説明図、第7図はDMA内における優先回
路部、第8図は第7図におけるリセツト信号P1
の発生状態説明図、第9図はリセツト信号P1の
発生回路である。 FIG. 5 is a configuration diagram of an embodiment of the present invention, FIG. 6 is an explanatory diagram of its operation, FIG. 7 is a priority circuit section in the DMA, and FIG. 8 is a reset signal P 1 in FIG. 7.
FIG. 9 is a diagram illustrating the generation state of the reset signal P1 .
図中、1は本発明において使用されるダイレク
ト・メモリ・アクセス制御装置DMA、2は高速
のクロツクCLK0で制御されるチヤネル装置、
3は通常のクロツクCLK1で制御されるチヤネ
ル装置、10,11はアンド回路、12はインバ
ータ、13はオア回路、14〜16はフリツプフ
ロツプ、17〜19はカウンタ、20はインバー
タ、21がアンド回路である。 In the figure, 1 is a direct memory access control device DMA used in the present invention, 2 is a channel device controlled by a high-speed clock CLK0,
3 is a channel device controlled by a normal clock CLK1, 10 and 11 are AND circuits, 12 is an inverter, 13 is an OR circuit, 14 to 16 are flip-flops, 17 to 19 are counters, 20 is an inverter, and 21 is an AND circuit. be.
DMA1は高速クロツクCLKOで制御されるチ
ヤネル装置2…で構成さるグループG0と普通の
クロツクCLK1で制御されるチヤネル装置3…
で構成されるグループG1が接続される。 DMA1 consists of a group G0 consisting of a channel device 2 controlled by a high-speed clock CLKO, and a channel device 3 controlled by a normal clock CLK1.
Group G1 consisting of is connected.
グループG0には接続数に制限があるものの複
数台のチヤネル装置が第2図の如き状態で接続さ
れており、各チヤネル装置は同一構成のため、チ
ヤネル装置2が代表として図示されている。この
チヤネル装置2はオア回路2−0,JKフリツプ
フロツプ2−1,アンド回路2−2,インバータ
2−3等が設けられており、JKフリツプフロツ
プ2−1のJ端子にはチヤネル装置2より発生さ
れるアクセス要求RQ−0が印加される。このチ
ヤネル装置2の動作は第2図のチヤネル装置CH
−0,CH−1と同様である。 Group G0 has a limited number of connections, but a plurality of channel devices are connected as shown in FIG. 2, and since each channel device has the same configuration, channel device 2 is shown as a representative. This channel device 2 is provided with an OR circuit 2-0, a JK flip-flop 2-1, an AND circuit 2-2, an inverter 2-3, and the like. An access request RQ-0 is applied. The operation of this channel device 2 is shown in Figure 2.
-0, Same as CH-1.
グループG1には複数台のチヤネル装置が、こ
れまた第2図の如き状態で接続されており、各チ
ヤネル装置は同一構成のためチヤネル装置3が代
表的に図示されている。このチヤネル装置3も、
オア回路3−0,JKフリツプフロツプ3−1,
アンド回路3−2,インバータ3−3等が設けら
れておりJKフリツプフロツプ3−1のJ端子に
はチヤネル装置3より発生されるアクセス要求
RQ−1が印加される。このチヤネル装置3の動
作も第2図のチヤネル装置CH−0,CH−1と
同様である。 A plurality of channel devices are connected to group G1 in a state as shown in FIG. 2, and since each channel device has the same configuration, channel device 3 is shown as a representative. This channel device 3 also
OR circuit 3-0, JK flip-flop 3-1,
An AND circuit 3-2, an inverter 3-3, etc. are provided, and the J terminal of the JK flip-flop 3-1 receives an access request generated from the channel device 3.
RQ-1 is applied. The operation of this channel device 3 is also similar to the channel devices CH-0 and CH-1 shown in FIG.
次に本発明の動作を第6図にもとづき説明す
る。第5図におけるグループG0を制御する高速
クロツクのCLK0とグループG1を制御する通
常のクロツクCLK1は第6図に示す如き状態で
発生されている。 Next, the operation of the present invention will be explained based on FIG. The high-speed clock CLK0 that controls group G0 in FIG. 5 and the normal clock CLK1 that controls group G1 are generated in the state shown in FIG.
いまチヤネル装置2から、に示すように、タ
イミングT1にてアクセス要求RQ−0が発生すれ
ば、DMA1は他にバス支配権を与えるアクセス
許可信号DMAA0,DMAA1を出力していないこ
とを確認してDMAA0を出力する。これによりチ
ヤネル装置2はデータD0−1をデータ転送する。
なおこのチヤネル装置2からのアクセス要求処理
中のタイミングT2にてに示す如く、チヤネル
装置3よりアクセス要求RQ1が発生しこれが
DMA1に伝達されても、後述する第7図に示す
優先回路部によりこのアクセス要求RQ−1は受
付けられない。そしてで示す如く、タイミング
T3にてチヤネル装置2からアクセス要求RQ−0
が発生すれば、これに対するアクセス許可信号
DMAA0が出力され、これにもとづきデータ転送
D0−2が遂行できる。そしてこのデータ転送D0
−2が終了してグループG0からのアクセス要求
がなければ、DMA1は前記タイミングT2よりア
クセス要求が行われているチヤネル装置に対して
アクセス許可信号DMAA1を出力し、これにより
データ転送D1−1が遂行されることになる。 Now, if access request RQ-0 is generated from channel device 2 at timing T1 as shown in , DMA1 confirms that it is not outputting access permission signals DMAA0 and DMAA1 that give bus control to others. and outputs DMAA0. As a result, the channel device 2 transfers the data D0-1.
Furthermore, as shown at timing T2 during processing of the access request from the channel device 2, an access request RQ1 is generated from the channel device 3.
Even if the access request RQ-1 is transmitted to the DMA 1, the priority circuit shown in FIG. 7, which will be described later, does not accept the access request RQ-1. And as shown in the timing
Access request RQ-0 from channel device 2 at T3
occurs, the permission signal for this
DMAA0 is output and data transfer based on this
D0-2 can be performed. And this data transfer D0
-2 ends and there is no access request from group G0, DMA1 outputs an access permission signal DMAA1 to the channel device for which the access request has been made from the timing T2 , thereby data transfer D1-1 will be carried out.
次にDMA1内に設けられている優先回路部を
第7図により説明する。 Next, the priority circuit section provided in the DMA 1 will be explained with reference to FIG.
この優先回路部はアンド回路10,11、イン
バータ12,オア回路13、フリツプフロツプ1
4〜16、カウンタ17,18等により構成され
ている、初期状態ではフリツプフロツプ16の
出力「1」がアンド回路10,11に印加されて
いる。このときグループG0よりアクセス要求
RQ−0がDMA1に伝達されるとアンド回路1
0は「1」を出力しフリツプフロツプ14は
「1」を出力し、カウンタ17を動作させるとと
もにアクセス許可信号DMAA0を発生する、図示
省略したアクセス許可判定部にこのフリツプフロ
ツプ14の出力「1」を伝達する。このRQ−0
が伝達されているときインバータ12は「0」を
出力し、アンド回路11をオフにするので、グル
ープG1よりRQ−1が伝達されてもアンド回路
11は「0」を出力したままであり、フリツプフ
ロツプ15は「1」を出力しない。また前記アン
ド回路10が「1」を出力すると、オア回路13
は「1」を出力してフリツプフロツプ16の出
力を「0」とし、アンド回路10,11をオフに
する。このようにしてRQ0が伝達されたとき、
RQ−1が伝達されてもRQ−0が優先されるこ
とになる。 This priority circuit section includes AND circuits 10 and 11, an inverter 12, an OR circuit 13, and a flip-flop 1.
In the initial state, the output "1" of the flip-flop 16 is applied to the AND circuits 10 and 11. At this time, group G0 requests access.
When RQ-0 is transmitted to DMA1, AND circuit 1
0 outputs "1", the flip-flop 14 outputs "1", and transmits the output "1" of the flip-flop 14 to an access permission determination section (not shown) which operates the counter 17 and generates the access permission signal DMAA0. do. This RQ-0
is being transmitted, the inverter 12 outputs "0" and turns off the AND circuit 11, so even if RQ-1 is transmitted from group G1, the AND circuit 11 continues to output "0". Flip-flop 15 does not output "1". Further, when the AND circuit 10 outputs "1", the OR circuit 13
outputs "1", sets the output of flip-flop 16 to "0", and turns off AND circuits 10 and 11. When RQ0 is transmitted in this way,
Even if RQ-1 is transmitted, priority will be given to RQ-0.
そしてデータ転送に際して出力される、第8図
に示すアドレスとサービスイン信号SViが出力さ
れたとき、第9図に示すカウンタ19、インバー
タ20及びアンド回路21により構成されるリセ
ツト信号発生回路によりリセツト信号P1が発生
され、フリツプフロツプ16のリセツト指示にこ
のP1が印加される。これによりフリツプフロツ
プ16の出力は再び「1」になり、次のアクセ
ス要求を受入れることができる。 When the address and service-in signal SVi shown in FIG. 8 are output during data transfer, a reset signal is generated by a reset signal generation circuit composed of a counter 19, an inverter 20, and an AND circuit 21 shown in FIG. P1 is generated and applied to the flip-flop 16 reset instruction. As a result, the output of the flip-flop 16 becomes "1" again, and the next access request can be accepted.
勿論、第7図においてグループG0よりアクセ
ス要求RQ−0が伝達されないとき、グループG
1よりアクセス要求RQ−1が伝達されれば、フ
リツプフロツプ15は「1」を出力し、これによ
る制御が行われることになる。なお第7図におけ
るカウンタ17,18は、ぞれぞれRQ−0、
RQ−1に応じてフリツプフロツプ14,15の
出力を一定時間持続させるためのものである。 Of course, in FIG. 7, when access request RQ-0 is not transmitted from group G0, group G
If the access request RQ-1 is transmitted from the flip-flop 15, the flip-flop 15 outputs "1" and control is performed accordingly. Note that counters 17 and 18 in FIG. 7 are RQ-0 and RQ-0, respectively.
This is for sustaining the outputs of the flip-flops 14 and 15 for a certain period of time in accordance with RQ-1.
(6) 発明の効果
本発明によれば、磁気デイスク装置に対するよ
うな高速クロツク制御を必要とする装置と、磁気
テープ装置や回線制御装置のように通常のクロツ
ク制御で制御できるものとを別の系統にしてそれ
ぞれ別にアクセス要求を発生するように構成する
とともに、DMAにおいては高速クロツクで制御
されるものを高いレベルのアクセス要求として処
理するように構成したもので、高速データ転送を
行う装置に対するDMA要求からDMA許可まで
の時間すなわちアービトレーシヨン時間を短くす
るのみならず、高速データ転送側に優先順を高く
して制御してあるためデータ転送機能を高めるこ
とができる。しかも通常のクロツク制御に対して
も対処することができる。(6) Effects of the Invention According to the present invention, devices that require high-speed clock control, such as magnetic disk devices, and devices that can be controlled by normal clock control, such as magnetic tape devices and line control devices, can be separated. It is structured so that access requests are generated separately for each system, and the DMA is structured so that requests controlled by a high-speed clock are processed as high-level access requests. In addition to shortening the time from request to DMA grant, that is, arbitration time, it is possible to improve data transfer functionality because the high-speed data transfer side is controlled with high priority. Moreover, it can also be used for normal clock control.
第1図はDMA制御方式の説明図、第2図は従
来のDMA制御方式の構成図、第3図はその動作
説明図、第4図はローカル・バーストの動作説明
図、第5図は本発明の一実施例構成図、第6図は
その動作説明図、第7図はDMA内における優先
回路部、第8図は第7図のリセツト信号P1の発
生状態説明図、第9図はこのリセツト信号P1の
発生回路である。
図中、1はダイレクト・メモリ・アクセス制御
装置、2は高速のクロツクで制御されるチヤネル
装置、3は通常のクロツクで制御されるチヤネル
装置、2−0,3−0はオア回路、2−1,3−
1はJKフリツプフロツプ、2−2,3−2はア
ンド回路、2−3,3−3はインバータ、10,
11はアンド回路、12はインバータ、13はオ
ア回路、14〜16はフリツプフロツプ、17〜
19はカウンタ、20はインバータ、21はアン
ド回路である。
Fig. 1 is an explanatory diagram of the DMA control method, Fig. 2 is a block diagram of the conventional DMA control method, Fig. 3 is an explanatory diagram of its operation, Fig. 4 is an explanatory diagram of local burst operation, and Fig. 5 is a diagram of the main FIG. 6 is an explanatory diagram of its operation; FIG. 7 is a diagram illustrating the priority circuit section in the DMA; FIG. 8 is an explanatory diagram of the generation state of the reset signal P1 in FIG. 7; This is a generating circuit for the reset signal P1. In the figure, 1 is a direct memory access control device, 2 is a channel device controlled by a high-speed clock, 3 is a channel device controlled by a normal clock, 2-0 and 3-0 are OR circuits, and 2- 1,3-
1 is a JK flip-flop, 2-2, 3-2 are AND circuits, 2-3, 3-3 are inverters, 10,
11 is an AND circuit, 12 is an inverter, 13 is an OR circuit, 14-16 are flip-flops, 17-
19 is a counter, 20 is an inverter, and 21 is an AND circuit.
Claims (1)
求を制御するダイレクト・メモリ・アクセス制御
手段と、該ダイレクト・メモリ・アクセス制御手
段に接続された複数のアクセス要求手段を有しア
クセス要求手段からアクセス要求が発生したとき
そのアクセス要求に対して応答を前記ダイレク
ト・メモリ・アクセス制御手段が行うようにした
ダイレクト・メモリ・アクセス制御方式におい
て、ダイレクト・メモリ・アクセス制御手段に対
するアクセス要求手段を複数のグループに分ける
と共に、 該ダイレクト・メモリ・アクセス制御手段に
は、周波数の高い第一のクロツクと、第一の周波
数より低い周波数である第二のクロツクを発生す
るクロツク発生源を設け、 該グループの内の一方のグループに第一のクロ
ツクを他方のグループに第二のクロツクを供給す
るようにし、且つ、該他方のグループより第一の
グループのアクセス要求に対する処理の優先順位
を高くして制御することを特徴とするダイレク
ト・メモリ・アクセス制御方式。[Scope of Claims] 1. A storage device comprising a storage device, a direct memory access control means for controlling access requests to the storage device, and a plurality of access request means connected to the direct memory access control means. In the direct memory access control method, the direct memory access control means responds to the access request when the request means generates the access request, the access request means for the direct memory access control means. is divided into a plurality of groups, and the direct memory access control means is provided with a clock generation source that generates a first clock having a high frequency and a second clock having a lower frequency than the first frequency, A first clock is supplied to one of the groups and a second clock is supplied to the other group, and the processing priority for the access request of the first group is higher than that of the other group. A direct memory access control method that is characterized by a direct memory access control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10796282A JPS58223833A (en) | 1982-06-23 | 1982-06-23 | Direct memory access control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10796282A JPS58223833A (en) | 1982-06-23 | 1982-06-23 | Direct memory access control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS58223833A JPS58223833A (en) | 1983-12-26 |
JPH0429104B2 true JPH0429104B2 (en) | 1992-05-18 |
Family
ID=14472474
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10796282A Granted JPS58223833A (en) | 1982-06-23 | 1982-06-23 | Direct memory access control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58223833A (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6250946A (en) * | 1985-08-30 | 1987-03-05 | Hitachi Ltd | Dma control system |
US4901234A (en) * | 1987-03-27 | 1990-02-13 | International Business Machines Corporation | Computer system having programmable DMA control |
JPS6454562A (en) * | 1987-08-26 | 1989-03-02 | Fujitsu Ltd | Data transfer control system |
US5142672A (en) * | 1987-12-15 | 1992-08-25 | Advanced Micro Devices, Inc. | Data transfer controller incorporating direct memory access channels and address mapped input/output windows |
US6701397B1 (en) | 2000-03-21 | 2004-03-02 | International Business Machines Corporation | Pre-arbitration request limiter for an integrated multi-master bus system |
-
1982
- 1982-06-23 JP JP10796282A patent/JPS58223833A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS58223833A (en) | 1983-12-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5195185A (en) | Dynamic bus arbitration with concurrent same bus granting every cycle | |
US4523274A (en) | Data processing system with processors having different processing speeds sharing a common bus | |
US5140680A (en) | Method and apparatus for self-timed digital data transfer and bus arbitration | |
US5237696A (en) | Method and apparatus for self-timed digital data transfer and bus arbitration | |
US4368514A (en) | Multi-processor system | |
US6532525B1 (en) | Method and apparatus for accessing memory | |
JPS6073774A (en) | Interface circuit | |
JPH0316659B2 (en) | ||
US6532507B1 (en) | Digital signal processor and method for prioritized access by multiple core processors to shared device | |
JPH0429104B2 (en) | ||
US5548797A (en) | Digital clock pulse positioning circuit for delaying a signal input by a fist time duration and a second time duration to provide a positioned clock signal | |
US5539916A (en) | DMA control for continuing transfer to input/output device in a cycle steal mode | |
US5898847A (en) | Bus arbitration method and appparatus for use in a multiprocessor system | |
JP3240863B2 (en) | Arbitration circuit | |
JP3820831B2 (en) | Memory control method and apparatus | |
JP2574345B2 (en) | Bus arbitration equipment | |
JP2848082B2 (en) | DMA bus arbitration | |
JPS62226260A (en) | Asynchronous data bus interface | |
JPS6217263B2 (en) | ||
JPH0521253B2 (en) | ||
JPS6172350A (en) | Data transfer control method | |
JPS61264463A (en) | Bus controlling system | |
JPH023851A (en) | Direct memory access device | |
JPS622351B2 (en) | ||
JPH0821014B2 (en) | Multiple input/output data transfer device |