JPS63214860A - Dma device - Google Patents

Dma device

Info

Publication number
JPS63214860A
JPS63214860A JP4676187A JP4676187A JPS63214860A JP S63214860 A JPS63214860 A JP S63214860A JP 4676187 A JP4676187 A JP 4676187A JP 4676187 A JP4676187 A JP 4676187A JP S63214860 A JPS63214860 A JP S63214860A
Authority
JP
Japan
Prior art keywords
dma
signal
bus
controller
request
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
JP4676187A
Other languages
Japanese (ja)
Inventor
Hideo Kato
日出夫 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP4676187A priority Critical patent/JPS63214860A/en
Publication of JPS63214860A publication Critical patent/JPS63214860A/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 avoid the deterioration in the performance of the entire controller by adopting the constitution such that a DMA operating period of a DMA (direct memory access) controller is to be changed. CONSTITUTION:When a signal DMAREQ representing a DMA request is made active by a bus adaptor (not shown), a clock signal CLK is inputted to a down- counter 53 via an AND gate 55 and counted down. As result, when the count of the counter 53 reaches 0, sine a signal OUTZ reaches an H level, the DMAREQ is sent to a DMA controller 47 via an AND gate 56 to attain the DMA operation. Then the operating period of the DMAC 47 is changed by changing properly the data set to the counter 53 in response to the processing state of the microprocessor itself to avoid the reduction in the performance of the entire controller.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、高速システムバスに接続されたマイクロプ
ロセッサ内蔵の制御装置に設けられ、DMA (ダイレ
クト◆メモリ・アクセス)コントローラを備えたDMA
装置に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) This invention is provided in a control device with a built-in microprocessor connected to a high-speed system bus, and has a DMA (direct memory access) controller. Equipped with DMA
Regarding equipment.

(従来の技術) 近年、比較的小規模な計算機システムにおいても、^性
能な中央演算処理装置(以下、CPUと称する)の下に
複数のマイクロプロセッサを持ち、これを有機的に結合
することtパフォーマンスの向上を図っているものが多
い。この種のシステムの一例を第4図に示す。同図にお
いて、11は高速CPU、12は磁気ディスク制御装置
、13はフロッピーディスクυ11111装置、14は
通信回線制m装置、15は主記憶装置、16は入出力1
1JIII装置である。
(Prior art) In recent years, even relatively small-scale computer systems have a plurality of microprocessors under a high-performance central processing unit (hereinafter referred to as CPU), and it is becoming increasingly difficult to organically combine these microprocessors. Many are aimed at improving performance. An example of this type of system is shown in FIG. In the figure, 11 is a high-speed CPU, 12 is a magnetic disk controller, 13 is a floppy disk υ11111 device, 14 is a communication line controller, 15 is a main storage device, and 16 is an input/output unit.
1JIII device.

これら各装置は、システムバス17に接続されている。Each of these devices is connected to a system bus 17.

このシステムバス11は、その計算機システムの性能に
影響を及ぼすため、各装置の要求に応じて高速にデータ
転送が行なえる構成(例えば32ビツト或は64ビツト
のパラレル転送が可能な構成)となっている。
Since this system bus 11 affects the performance of the computer system, it has a configuration that allows high-speed data transfer according to the requests of each device (for example, a configuration that allows 32-bit or 64-bit parallel transfer). ing.

さて、システムバス11に接続される上記各制御装置は
、一般に、マイクロプロセッサの内部バスを用いてDM
A転送を行なうDMAコントローラを備えている。上記
マイクロプロセッサは8ビツト或は16ビツト構成であ
るのが一般的であり、その処理速度は高速CP LJ 
11と比較して低速である。そのため、成る制御装置が
同装置の管理下にあるデバイスをl1iIlシていると
きに、システムバス17からデータ転送要求があると、
制御装置内のマイクロプロセッサの負荷が増大し、デバ
イスの制御がおろそかになってしまう問題があった。こ
の問題について、通信回線tllJIm装置14を例に
とり、第5図のブロック図を参照して説明する。
Now, each of the above control devices connected to the system bus 11 generally uses the internal bus of the microprocessor to perform DM control.
It is equipped with a DMA controller that performs A transfer. The microprocessor mentioned above generally has an 8-bit or 16-bit configuration, and its processing speed is high-speed CP LJ.
It is slow compared to 11. Therefore, if a data transfer request is received from the system bus 17 while a control device is controlling a device under its control,
There is a problem in that the load on the microprocessor in the control device increases, resulting in poor device control. This problem will be explained using the communication line tllJIm device 14 as an example, with reference to the block diagram of FIG.

第5図において、2)は通信回線制御装置14全体の制
御を司るマイクロプロセッサ(以下、μPと称する)で
ある。今、μP2)が内部バス22を介して回線制御部
23−1〜23−4に対しマルチ処理で送受信サービス
を行なっているものとする。例えば、回線制御部23−
1は、システムバス17に接続されている主起II装置
15から回線L1へ転送するためのデータをローカルメ
モリ24に読込むために、システムバス17と内部バス
22とを接続するバスアダプタ25にその旨の情報を設
定し、DMA装ff1f26を構成するDMAコントロ
ーラ(以下、DMACと称する)27を起動する。同時
に他の回線制御部23−2〜23−4は、回線12〜L
4からのデータの受信制御を行なう。゛さて、DMAC
27が起動されると、システムバス17が高速であるこ
とから、DMAC27が動作するためのバス使用要求が
μP2)に対して頻繁に発生する。この場合、μP2)
は、回線制御部23−2〜23−4に対して十分なサー
ビスができなくなる問題があった。そこで従来は、この
種の問題を解決するために、DMAC27の1回の起動
におけるデータ転送量を制限したり、システムバス11
とのデータ送受信時には回線l1III部23−1〜2
3−4へのサービスをしないようにする必要があった。
In FIG. 5, 2) is a microprocessor (hereinafter referred to as μP) that controls the entire communication line control device 14. It is now assumed that μP2) is performing multi-processing transmission/reception services to the line control units 23-1 to 23-4 via the internal bus 22. For example, the line control unit 23-
1 sends a message to the bus adapter 25 connecting the system bus 17 and the internal bus 22 in order to read data to be transferred from the host II device 15 connected to the system bus 17 to the line L1 into the local memory 24. information is set, and the DMA controller (hereinafter referred to as DMAC) 27 that constitutes the DMA device ff1f26 is activated. At the same time, the other line control units 23-2 to 23-4 control the lines 12 to L.
Controls reception of data from 4.゛Now then, DMAC
27 is activated, since the system bus 17 is high speed, requests to use the bus for the operation of the DMAC 27 are frequently generated for the μP 2). In this case, μP2)
However, there was a problem that sufficient service could not be provided to the line control units 23-2 to 23-4. Conventionally, in order to solve this type of problem, the amount of data transferred per activation of the DMAC 27 was limited, and the system bus 11
When sending and receiving data with the line l1III section 23-1~2
It was necessary to avoid serving 3-4.

しかし、この方式では、回線aim部23−1〜23−
4の効率低下を招<aimがあった。この種の問題は、
入出力制御装置1116など、回WAIIIIg装置以
外の制御装置の場合でも同様であった。
However, in this method, the line aim sections 23-1 to 23-
There was a problem that caused a decrease in the efficiency of 4. This kind of problem is
The same applies to control devices other than the WAIIIg device, such as the input/output control device 1116.

(発明が解決しようとする問題点) 上記したように従来は、高速システムバスとのデータ転
送が必要となる場合には、DMAコントローラ(DMA
C>から同コントローラを備えた制御装置の中心を成す
マイクロプロセッサ(μP)へのバス使用要求が頻発す
るため、このマイクロプロセッサの負荷が増大し、制御
装置全体の性能が低下する問題があった。
(Problems to be Solved by the Invention) As mentioned above, conventionally, when data transfer with a high-speed system bus is required, a DMA controller (DMA
Since bus usage requests frequently occur from C> to the microprocessor (μP) that forms the core of the control device equipped with the controller, the load on this microprocessor increases and the performance of the entire control device decreases. .

この発明は上記事情に鑑みてなされたものでその目的は
、DMA動作周期が可変でき、もって高速システムバス
に接続される制御装置の性能低下が防止できるDMA装
置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a DMA device that can vary the DMA operation cycle and thereby prevent performance deterioration of a control device connected to a high-speed system bus.

[発明の構成] (問題点を解決するための手段と作用)この発明によれ
ば、高速システムバスに接続されたマイクロプロセッサ
(μP)内蔵の制御装置に設けられるDMA装置が提供
される。このDMA装置には、任意の時間データが設定
されるレジスタ手段と、外部からのDMA要求により起
動され、レジスタ手段に設定されている時間データの示
す値だけカウントするカウント手段と、グー1−回路と
が設けられる。このゲート回路は、外部から与えられて
いるDMA要求の[)MAコントローラ(DMAC)へ
の入力を、カウント手段のカウント終了によって許可す
る。上記の構成によれば、DMAコントローラのDMA
動作周期をレジスタ手段に設定される時間データによっ
て可変することができる。
[Structure of the Invention] (Means and Effects for Solving Problems) According to the present invention, a DMA device is provided in a control device with a built-in microprocessor (μP) connected to a high-speed system bus. This DMA device includes a register means in which arbitrary time data is set, a count means that is activated by an external DMA request and counts only the value indicated by the time data set in the register means, and a 1-circuit. and is provided. This gate circuit allows input of an externally applied DMA request to the MA controller (DMAC) when the counting means finishes counting. According to the above configuration, the DMA controller
The operating cycle can be varied by time data set in the register means.

(実施例) 以下、この発明の一実施例を、通信回線制御装置に設け
られたDMA装置を例にとって図面を参照して説明する
。なお、第4図および第5図と同一部分には同一符号を
付して詳細な説明を省略する。
(Embodiment) An embodiment of the present invention will be described below with reference to the drawings, taking a DMA device provided in a communication line control device as an example. Note that the same parts as in FIGS. 4 and 5 are denoted by the same reference numerals, and detailed description thereof will be omitted.

第1図はDMA装置のブロック構成を示し、第2図は第
1図のDMA装置を備えた通信回Ill制御装置のブロ
ック構成を示す。第2図において、34は第4図および
第5図に示す通信回線制御装置14に相当する通信回線
制御装置である。この通信回線制御装置34は、第4図
に示すシステムバス17に通信回線制御装置14に代え
て接続されているものとする。通信回線制a装@34は
、間装[34全体を制御する(第5図に示すμP2)相
当の)μP(マイクロプロセッサ)を備えている。この
μP41のバス(内部バス)42には、第5図に示す通
信回線料m+装W114における内部バス22と同様に
、回線制御部23−1〜23−4、ローカルメモリ24
およびバスアダプタ25が接続されている。また内部バ
ス42には、この発明に直接関係するDMA装置46が
接続されている。DMA装置46は、第5図に示すDM
AC(DMAコントローラ)27に相当するDMAC4
γの他に、DMAC47のDMA動作周期を可変するた
めの動作周期可変回路48を備えている。この実施例に
おいて、DMAC47は独立の集積回路素子であるが、
同素子に動作周期可変回路48を内蔵させることも可能
である。
FIG. 1 shows a block configuration of a DMA device, and FIG. 2 shows a block configuration of a communication circuit Ill control device equipped with the DMA device of FIG. In FIG. 2, 34 is a communication line control device corresponding to the communication line control device 14 shown in FIGS. 4 and 5. In FIG. It is assumed that this communication line control device 34 is connected to the system bus 17 shown in FIG. 4 instead of the communication line control device 14. The communication line system a unit @34 includes a μP (microprocessor) which controls the entire unit 34 (corresponding to μP2 shown in FIG. 5). The bus (internal bus) 42 of this μP 41 includes line control units 23-1 to 23-4, a local memory 24,
and a bus adapter 25 are connected. Also connected to the internal bus 42 is a DMA device 46 that is directly related to the present invention. The DMA device 46 is a DMA device shown in FIG.
DMAC4 equivalent to AC (DMA controller) 27
In addition to γ, an operation cycle variable circuit 48 for varying the DMA operation cycle of the DMAC 47 is provided. In this embodiment, DMAC 47 is a separate integrated circuit element;
It is also possible to incorporate the variable operation cycle circuit 48 into the same element.

DMA装置46の動作周期可変回路48は、第1図に示
すように、内部バス42に接続され任意の時間データを
保持するためのレジスタ51と、DMAC47からのバ
ス使用要求信号BLISREQに対する応答信号BLJ
SACKの立上がりに応じて1パルスを発生する単安定
マルチバイブレータ(以下、モノマルチと称する)52
と、このモノマルチ52の出力信号に応じてレジスタ5
1の保持データをロードし、後述するアンドゲート55
からの出力信号をクロック信号としてダウンカウント動
作を行なうダウンカウンタ53とを備えている。動作周
期可変回路48は更に、ダウンカウンタ53の出力端子
OZから出力され同カウンタ53のカウント値が0(零
)である期間中“H”レベル< H+ahレベル)とな
る出力零信号0UTZのレベルを反転するインバータ(
1) 54と、このインバータ54の出力信号および第
2図のバスアダプタ25からのDMA!l求償号DMA
REQに応じて一定周期のパルス列から成るクロック信
号CLKの出力を13 IIするアンドゲート(AND
)55と、上記信号DMAREQのDMAC47への出
力を上記出力零信号0UTZに応じて制御するアンドゲ
ート(AND)56とを備えている。
As shown in FIG. 1, the operation cycle variable circuit 48 of the DMA device 46 includes a register 51 connected to the internal bus 42 and for holding data for an arbitrary time, and a response signal BLJ to the bus use request signal BLISREQ from the DMAC 47.
Monostable multivibrator (hereinafter referred to as monomulti) 52 that generates one pulse in response to the rise of SACK
and register 5 according to the output signal of this monomulti 52.
Load the retained data of 1 and use the AND gate 55, which will be described later.
The down counter 53 performs a down-count operation using the output signal from the clock signal as a clock signal. The variable operation cycle circuit 48 further controls the level of the output zero signal 0UTZ, which is output from the output terminal OZ of the down counter 53 and becomes "H" level < H+ah level during the period when the count value of the down counter 53 is 0 (zero). Inverting inverter (
1) DMA from the inverter 54 and the output signal of the inverter 54 and the bus adapter 25 in FIG. lReimbursement DMA
An AND gate (AND
) 55, and an AND gate (AND) 56 for controlling the output of the signal DMAREQ to the DMAC 47 in accordance with the output zero signal 0UTZ.

次に、第1図および第2図の構成の動作を第3図のタイ
ミングチャートを適宜参照して説明する。
Next, the operation of the configurations shown in FIGS. 1 and 2 will be explained with reference to the timing chart shown in FIG. 3 as appropriate.

今、動作周期可変回路48のダウンカウンタ53に0以
外の時間データがロードされている状態で、バスアダプ
タ25がシステムバス17とのデータ転送要求のために
(更に具体的に述べるならば、システムバス17とのデ
ータ転送に伴うバスアダプタ25゜ローカルメモリ24
間のデータ転送のために)、DMA要求を示す信号DM
AREQを”H”レベル(アクティブ)にしたものとす
る。ダウンカウンタ53の内容が0でない場合、その出
力端子ozから出力される出力零信号0LJTZは“し
”レベルとなっている。この信号0tJTZはインバー
タ54によってレベル反転されてアンドゲート55に供
給されると共に、そのままアンドゲート56に供給され
る。アンドゲート56は、信号0LJTZが“し“レベ
ル(L owレベル)の場合にオフし、信号DMARE
QがDMAC47に伝達されるのを禁止する。一方アン
ドゲート55は、信号0LJTZが“L”レベルにあり
(即ちインバータ54の出力信号がH”レベルにあり)
、且つ信号 DMAREQが“H”レベルにある期間だけオンする。
Now, while the down counter 53 of the variable operation cycle circuit 48 is loaded with time data other than 0, the bus adapter 25 requests data transfer with the system bus 17 (to be more specific, the system Bus adapter 25° local memory 24 for data transfer with bus 17
DM, a signal indicating a DMA request (for data transfer between
Assume that AREQ is set to "H" level (active). When the content of the down counter 53 is not 0, the output zero signal 0LJTZ output from its output terminal oz is at the "high" level. This signal 0tJTZ is inverted in level by an inverter 54 and supplied to an AND gate 55, and is also supplied as is to an AND gate 56. The AND gate 56 is turned off when the signal 0LJTZ is at the "low" level, and the signal DMARE is turned off.
Q is prohibited from being transmitted to the DMAC 47. On the other hand, in the AND gate 55, the signal 0LJTZ is at the "L" level (that is, the output signal of the inverter 54 is at the H" level).
, and is turned on only while the signal DMAREQ is at the "H" level.

これによりアンドゲート55に供給されているクロック
信号CLKは、第3図に示すように同ゲート55からそ
のまま出力され、ダウンカウンタ53に供給される。ダ
ウンカウンタ53は、アンドゲート55がオン状態にあ
る期間中に同ゲート55から出力されるクロック信号C
LKによってダウンカウント動作を行なう。
As a result, the clock signal CLK supplied to the AND gate 55 is outputted from the same gate 55 as is, as shown in FIG. 3, and supplied to the down counter 53. The down counter 53 receives a clock signal C output from the AND gate 55 while the AND gate 55 is in the on state.
A down count operation is performed by LK.

やがてダウンカウンタ53のカウント値が0になると、
第3図に示すように出力零信号0UTZは“H”レベル
に遷移する。信号0tJTZが″H″レベルになると、
インバータ54の出力信号が“L”レベルとなることか
ら、アンドゲート55はオフし、クロツタ信号CLKが
ダウンカウンタ53に出力されるのが禁止される。これ
によりダウンカウンタ53のカウント動作は停止する。
Eventually, when the count value of the down counter 53 becomes 0,
As shown in FIG. 3, the output zero signal 0UTZ transitions to the "H" level. When the signal 0tJTZ goes to "H" level,
Since the output signal of the inverter 54 becomes "L" level, the AND gate 55 is turned off and output of the clock signal CLK to the down counter 53 is prohibited. As a result, the counting operation of the down counter 53 is stopped.

また信号0LJTZがH”レベルになると、アンドゲー
ト56はオンし、バスアダプタ25から出されていた信
号DMAREQをそのままDMAC47に伝達する。
Further, when the signal 0LJTZ goes to H" level, the AND gate 56 turns on and transmits the signal DMAREQ outputted from the bus adapter 25 as it is to the DMAC 47.

これによりDMAC47は起動され、内部バス42の使
用要求(解放要求)のためにバス使用要求信号BLIS
REQを“L”レベル(アクティブ)にする。即ち、こ
の実施例によれば、バスアダプタ25から信号DMAR
EQが出されても、ダウンカウンタ53が同カウンタ5
3にロードされていた時間データの示す値くりOツク信
号CLKのパルス数)だけカウントするまでは、DMA
C47の起動が持たされる。
As a result, the DMAC 47 is activated, and the bus use request signal BLIS is issued to request the use (release request) of the internal bus 42.
Set REQ to “L” level (active). That is, according to this embodiment, the signal DMAR is transmitted from the bus adapter 25.
Even if EQ is issued, the down counter 53 is
Until the number of pulses of the discount signal CLK indicated by the time data loaded in
C47 activation is maintained.

DMAC47から出力されるバス使用要求信号BLIS
REQは、内部バス42(内のコントロールバスの1ラ
イン)を介してμP41に伝達される。
Bus use request signal BLIS output from DMAC47
REQ is transmitted to the μP 41 via the internal bus 42 (one line of the internal control bus).

μP41は、信号BLISREQが“L”レベルになっ
たことを検出すると、内部バス42の解放要求を判断し
、解放可能であれば信@BUSREQに対する承認応答
として第3図に示すように応答信号BUSACKを“L
ルベル(アクティブ)にして内部バス42を解放する。
When the μP 41 detects that the signal BLISREQ has gone to the "L" level, it determines a request to release the internal bus 42, and if it is possible to release the internal bus 42, it sends a response signal BUSACK as an acknowledgment response to the signal @BUSREQ as shown in FIG. “L”
(active) to release the internal bus 42.

この信号B、USACKは、内部バス42(内のコント
ロールバスの1ライン)を介してDMAC47、および
動作周期可変回路48内のモノマルチ52に伝達される
The signal B and USACK are transmitted to the DMAC 47 and the monomulti 52 in the variable operation cycle circuit 48 via the internal bus 42 (one line of the control bus therein).

DMAC47は、信号BUSACKが“L ITレベル
になると、バスアダプタ25とローカルメモリ24との
間のデータ転送(DMA転送)を内部バス42を用いて
実行する。DMAC47は、一連のデータ転送動作が終
了すると、第3図に示すようにバス使用要求信号BUS
REQを“Hルベルに戻し、内部バス42の使用権をμ
P41に戻す。μP41は、信号BUSREQが゛H″
レベルになったことを検出すると、第3図に示すように
応答信号BUSACKを“H″レベル戻す。信号BIJ
SACKが“l−1”レベルに変化すると、モノマルチ
52から第3図に示すように1パルスが出力される。こ
のモノマルチ52からのパルス信号は、ダウンカウンタ
53のロード端子しに導かれ、これによりレジスタ51
にセットされていた時間データがダウンカウンタ53に
ロードされる。以降、上記と同様の動作が繰返される。
When the signal BUSACK reaches the "LIT" level, the DMAC 47 executes data transfer (DMA transfer) between the bus adapter 25 and the local memory 24 using the internal bus 42. Then, as shown in FIG. 3, the bus use request signal BUS
REQ is returned to "H level" and the right to use the internal bus 42 is set to μ.
Return to P41. In μP41, the signal BUSREQ is “H”
When detecting the level, the response signal BUSACK is returned to the "H" level as shown in FIG. signal BIJ
When SACK changes to the "l-1" level, one pulse is output from the monomulti 52 as shown in FIG. The pulse signal from this monomulti 52 is guided to the load terminal of the down counter 53, and thereby the register 51
The time data set in is loaded into the down counter 53. Thereafter, the same operation as above is repeated.

この繰返しにおいて、μP41は自身の処理状態に応じ
てレジスタ51の設定データを適宜変更する。こうする
ことにより、DMAC47の動作周期がμP41の処理
状態(即ち負荷の程度)に応じて可変されるようになる
ので、例えば第4図に示す主記憶装置15のデータを回
線IQIl1部23−1を介して回線L1へ転送するた
めにDMAC47によるDMA転送動作が必要となる場
合にも、回II制御部23−2〜23−4などに対する
サービスが低下することが防止できる。なお、第3図の
タイミングチャートにおいて斜線で示されている時間帯
の動作については、従来のDMA動作の場合と同様であ
り、且つ本発明に直接関係しないため、説明を省略する
In this repetition, the μP 41 appropriately changes the setting data in the register 51 according to its own processing state. By doing this, the operating cycle of the DMAC 47 can be varied according to the processing state (i.e., the degree of load) of the μP 41, so that, for example, the data in the main storage device 15 shown in FIG. Even if a DMA transfer operation by the DMAC 47 is required for transfer to the line L1 via the line L1, it is possible to prevent service to the line II control units 23-2 to 23-4 from deteriorating. Note that the operations in the time periods indicated by diagonal lines in the timing chart of FIG. 3 are the same as those in the conventional DMA operation, and are not directly related to the present invention, so a description thereof will be omitted.

以上は、通信回線11J II @ W 34に設けら
れたDMA装置46について説明したが、この゛発明は
、システムバス17に接続され且つDMA装置を有する
tiII1ml装置であれば、入出力制御装置など他の
制御装置でも同様に適用できる。また、複数のDMA装
置を備えた制御装置にも応用できる。
The above has described the DMA device 46 provided in the communication line 11J II @ W 34, but this invention can be applied to other devices such as input/output control devices as long as the tiII 1ml device is connected to the system bus 17 and has a DMA device. It can be similarly applied to other control devices. Furthermore, the present invention can be applied to a control device equipped with a plurality of DMA devices.

[発明の効果コ 以上詳述したようにこの発明によれば、マイクロプロセ
ッサ内蔵の制tm装置において高速システムバスとのデ
ータ転送のために必要となるDMA動作の周期が可変で
きるので、DMAコントローラ(DMAC)からのバス
使用要求が多発してマイクロプロセッサの負荷が著しく
増大することが防止でき、制御l装置の性能を十分に発
揮できる。
[Effects of the Invention] As detailed above, according to the present invention, the cycle of the DMA operation required for data transfer with a high-speed system bus in a control device with a built-in microprocessor can be varied. It is possible to prevent a significant increase in the load on the microprocessor due to frequent bus use requests from the DMAC (DMAC), and the performance of the control device can be fully demonstrated.

【図面の簡単な説明】 第1図はこの発明の一実施例に係るDMA装置のブロッ
ク構成図、第2図は第1図のDMA装置を備えた通信回
線制御装置を示すブロック構成図、第3図は動作を説明
するためのタイミングチャート、第4図は計算機システ
ムの基本構成を示すブロック図、第5図は従来の通信回
線制御装置のブロック図である。 11・・・CPU、15・・・主記憶装置、11・・・
システムバス、25・・・バスアダプタ、41・・・μ
P(マイクロプロセッサ)、42・・・内部バス、46
・・・DMA装置、41・・・DMAC(DMAコント
ローラ)、48・・・動作周期可変回路、51・・・レ
ジスタ、53・・・ダウンカウンタ、55、56・・・
アンドゲート。 出願人代理人 弁理士 鈴 江 武 彦第1図 第2図 第3図 第5図
[BRIEF DESCRIPTION OF THE DRAWINGS] FIG. 1 is a block configuration diagram of a DMA device according to an embodiment of the present invention, FIG. 2 is a block configuration diagram showing a communication line control device equipped with the DMA device of FIG. 1, and FIG. 3 is a timing chart for explaining the operation, FIG. 4 is a block diagram showing the basic configuration of the computer system, and FIG. 5 is a block diagram of a conventional communication line control device. 11... CPU, 15... Main storage device, 11...
System bus, 25...Bus adapter, 41...μ
P (microprocessor), 42...internal bus, 46
DMA device, 41 DMAC (DMA controller), 48 variable operation cycle circuit, 51 register, 53 down counter, 55, 56...
And gate. Applicant's Representative Patent Attorney Takehiko Suzue Figure 1 Figure 2 Figure 3 Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)高速システムバスに接続されたマイクロプロセッ
サ内蔵の制御装置に設けられるDMA装置であって、D
MA要求が入力されることにより上記マイクロプロセッ
サにバス使用要求を発し同使用要求が受付けられること
によりDMA動作を行なうDMAコントローラを備えた
DMA装置において、 任意の時間データが設定されるレジスタ 手段と、上記DMA要求が外部から与えられることによ
り起動され上記レジスタ手段に設定されている上記時間
データの示す値だけカウントするカウント手段と、この
カウント手段のカウント終了に応じ、上記外部から与え
られているDMA要求の上記DMAコントローラへの入
力を許可するゲート回路とを具備することを特徴とする
DMA装置。
(1) A DMA device installed in a control device with a built-in microprocessor connected to a high-speed system bus,
In a DMA device equipped with a DMA controller that issues a bus usage request to the microprocessor when an MA request is input and performs a DMA operation when the usage request is accepted, register means for setting arbitrary time data; a counting means that is activated when the DMA request is applied from the outside and counts only the value indicated by the time data set in the register means; A DMA device comprising: a gate circuit that permits input of a request to the DMA controller.
(2)上記レジスタ手段への上記時間データの設定が、
上記マイクロプロセッサによって行なわれることを特徴
とする特許請求の範囲第1項記載のDMA装置。
(2) Setting the above time data to the above register means,
2. The DMA device according to claim 1, wherein said DMA device is operated by said microprocessor.
JP4676187A 1987-03-03 1987-03-03 Dma device Pending JPS63214860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4676187A JPS63214860A (en) 1987-03-03 1987-03-03 Dma device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4676187A JPS63214860A (en) 1987-03-03 1987-03-03 Dma device

Publications (1)

Publication Number Publication Date
JPS63214860A true JPS63214860A (en) 1988-09-07

Family

ID=12756317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4676187A Pending JPS63214860A (en) 1987-03-03 1987-03-03 Dma device

Country Status (1)

Country Link
JP (1) JPS63214860A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000298638A (en) * 1999-04-14 2000-10-24 Oki Data Corp Dma transfer device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000298638A (en) * 1999-04-14 2000-10-24 Oki Data Corp Dma transfer device

Similar Documents

Publication Publication Date Title
KR100271336B1 (en) A system and method for increasing functionality on the peripheral component interconnect bus
US7752374B2 (en) Method and apparatus for host messaging unit for peripheral component interconnect busmaster devices
JP2822986B2 (en) Single chip microcomputer with DMA
EP0321628A1 (en) Shared memory interface for a data processing system
TWI742422B (en) Aggregated in-band interrupt
US20130046933A1 (en) Storing data in any of a plurality of buffers in a memory controller
US5857082A (en) Method and apparatus for quickly transferring data from a first bus to a second bus
US6026460A (en) Method and apparatus for sequencing system bus grants and disabling a posting buffer in a bus bridge to improve bus efficiency
JP2002073527A (en) Dma controller
JPS63214860A (en) Dma device
WO1993012486A1 (en) Direct memory access interface for buses of different width
JPH04323755A (en) Dma device
JP3491588B2 (en) External bus controller
JP2560476B2 (en) Communication control device
JP2800764B2 (en) Data transfer control method
JP3266184B2 (en) I / O control method and device
JPS63292356A (en) Dma controller
JP2556290B2 (en) Bus arbitration device
JPH06119288A (en) Dma control system
JPS6041157A (en) Bus contention control system
JPH05113947A (en) Dma control system
JPH03131950A (en) Direct memory access controller
JPH0195350A (en) System for controlling data transferring
JPS62145345A (en) Control system for direct memory access interval
JPS63149723A (en) Interface for magnetic card reader