[go: up one dir, main page]

JPH0728744A - Direct memory access controller - Google Patents

Direct memory access controller

Info

Publication number
JPH0728744A
JPH0728744A JP17326293A JP17326293A JPH0728744A JP H0728744 A JPH0728744 A JP H0728744A JP 17326293 A JP17326293 A JP 17326293A JP 17326293 A JP17326293 A JP 17326293A JP H0728744 A JPH0728744 A JP H0728744A
Authority
JP
Japan
Prior art keywords
circuit
transfer
data
bus
dma
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
JP17326293A
Other languages
Japanese (ja)
Inventor
Yoshiro Eto
義郎 江藤
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.)
TEC CORP
Original Assignee
TEC 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 TEC CORP filed Critical TEC CORP
Priority to JP17326293A priority Critical patent/JPH0728744A/en
Publication of JPH0728744A publication Critical patent/JPH0728744A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To improve the fast processing performance and the economical properties of DMA transfer. CONSTITUTION:A DMA controller consists of a transferer circuit 19 which outputs data, a transfer circuit 20 which inputs data, a dynamic RAM 18 which stores data, a DMA circuit 12 which writes the data received from the circuit 19 into the RAM 18 and also read the data out of the RAM 18 to send them to the circuit 20, a DMA transfer bus 15 which transfers data at a high speed, a CPU 11 which transfers data via a CPU operation bus 14 and also controls the DMA access operation via the bus 15 and an arbitrating circuit 13 which divides by time the bus 15 into plural time slots when the data are transferred at a high speed via the bus 15, operates the corresponding circuit in each time slot, and also prepares for operation of the circuit to operate in the next time slot.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ダイレクト・メモリ・
アクセス転送バスを制御してデータの高速転送制御を行
うダイレクト・メモリ・アクセス制御装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a direct memory
The present invention relates to a direct memory access control device that controls an access transfer bus to control high-speed data transfer.

【0002】[0002]

【従来の技術】従来、ダイレクト・メモリ・アクセス
(以下、DMAと称する。)回路を使用してDMA転送
動作を行うものとしては、図8に示すものが知られてい
る。
2. Description of the Related Art Conventionally, what is shown in FIG. 8 is known as a device for performing a DMA transfer operation using a direct memory access (hereinafter referred to as DMA) circuit.

【0003】これはマイクロプロセッサ(以下、CPU
と称する。)1にCPU動作バス2を介してメモリ3及
び周辺LSI4を接続し、またDMA回路5にDMA転
送バス6を介してダイナミックメモリ7、転送元回路8
及び転送先回路9を接続し、かつCPU1とDMA転送
バス6との間にDMA制御用CPU10を接続してCP
U動作バス2とDMA転送バス6を分離したものが知ら
れている。
This is a microprocessor (hereinafter, CPU)
Called. ) 1 is connected to the memory 3 and the peripheral LSI 4 via the CPU operation bus 2, and the DMA circuit 5 is connected to the dynamic memory 7 and the transfer source circuit 8 via the DMA transfer bus 6.
And the transfer destination circuit 9 are connected, and the DMA control CPU 10 is connected between the CPU 1 and the DMA transfer bus 6.
It is known that the U operation bus 2 and the DMA transfer bus 6 are separated.

【0004】この装置においてはCPU1は、常時CP
U動作バス2を使用してデータ処理を行う。
In this apparatus, the CPU 1 is always CP
Data processing is performed using the U operation bus 2.

【0005】またDMA転送は、DMA制御用CPU1
0とDMA回路5との間で信号BUSREQ、BUSACKのやり取
りを行い、DMA回路5がダイナミックメモリ7、転送
元回路8及び転送先回路9を制御し、DMA転送バス6
を使用してDMA転送を行う。
The DMA transfer is performed by the DMA control CPU 1
0 and the DMA circuit 5 exchange signals BUSREQ and BUSACK, the DMA circuit 5 controls the dynamic memory 7, the transfer source circuit 8 and the transfer destination circuit 9, and the DMA transfer bus 6
To perform a DMA transfer.

【0006】さらにCPU1がDMA回路5を制御する
ためのDMA制御が発生すると、DMA制御用CPU1
0はDMA回路5がDMA転送を行っていない期間を使
用してDMA転送バス6を使用してDMA回路5を制御
する。
Further, when the DMA control for controlling the DMA circuit 5 by the CPU 1 occurs, the CPU 1 for DMA control
0 controls the DMA circuit 5 using the DMA transfer bus 6 during the period when the DMA circuit 5 is not performing the DMA transfer.

【0007】[0007]

【発明が解決しようとする課題】この装置ではDMA転
送制御を行っている最中もCPU1はCPU動作バス2
を使用してデータ処理ができるため高速処理が実現でき
る効果はあるが、メインのCPU1とは別にDMA制御
用のCPU10を使用することになり、このCPU10
にDMA転送制御のための新たなソフトウエアを組込む
必要があり、装置全体が高価となり経済性が悪かった。
In this device, the CPU 1 operates on the CPU operating bus 2 even during the DMA transfer control.
Although there is an effect that high-speed processing can be realized because data processing can be performed by using, the CPU 10 for DMA control is used separately from the main CPU 1, and this CPU 10
Since it is necessary to incorporate new software for controlling DMA transfer, the entire apparatus becomes expensive and the economy is poor.

【0008】そこで本発明は、DMA転送のより高速処
理が実現できるとともに経済性を向上できるダイレクト
・メモリ・アクセス制御装置を提供する。
Therefore, the present invention provides a direct memory access control device capable of realizing higher speed processing of DMA transfer and improving economical efficiency.

【0009】[0009]

【課題を解決するための手段】請求項1対応の発明は、
データ出力要求信号を出力し、データ出力を行う転送元
回路と、データ入力要求信号を出力し、データ入力を行
う転送先回路と、データの格納を行うメモリと、このメ
モリをアクセス制御し、転送元回路からのデータをメモ
リに書込むと共にメモリのデータを転送先回路に読出す
制御を行うダイレクト・メモリ・アクセス回路と、これ
らの回路を接続し、データを高速転送するダイレクト・
メモリ・アクセス転送バスと、マイクロプロセッサ動作
バスを使用してデータ転送を行うとともにダイレクト・
メモリ・アクセス転送バスを使用してダイレクト・メモ
リ・アクセス動作を制御するマイクロプロセッサと、ダ
イレクト・メモリ・アクセス転送バスとマイクロプロセ
ッサ動作バスとの間に介在し、ダイレクト・メモリ・ア
クセス転送バスを使用してのデータ高速転送時、そのダ
イレクト・メモリ・アクセス転送バスを複数のタイムス
ロットに時分割し、各タイムスロットで対応する回路の
動作を行わせると共に次のタイムスロットで動作すべき
回路の動作準備を行わせる調停回路を設けたものであ
る。
The invention according to claim 1 is
A transfer source circuit that outputs a data output request signal and outputs data, a transfer destination circuit that outputs a data input request signal and inputs data, a memory that stores data, and access control and transfer of this memory A direct memory access circuit that controls the writing of data from the original circuit to the memory and reading of the memory data to the transfer destination circuit, and a direct memory access circuit that connects these circuits and transfers the data at high speed
Data is transferred using the memory access transfer bus and microprocessor operation bus, and direct
Uses the direct memory access transfer bus by interposing between the microprocessor that controls direct memory access operations using the memory access transfer bus and the direct memory access transfer bus and the microprocessor operation bus During high-speed data transfer, the direct memory access transfer bus is time-divided into multiple time slots, and the operation of the corresponding circuit is performed in each time slot and the operation of the circuit that should operate in the next time slot. It is provided with an arbitration circuit for making preparations.

【0010】[0010]

【作用】このような構成の発明においては、マイクロプ
ロセッサからダイレクト・メモリ・アクセス転送バスの
アクセスがあると、調停回路はダイレクト・メモリ・ア
クセス回路を起動させる。これによりダイレクト・メモ
リ・アクセス回路は、メモリをアクセス制御し、転送元
回路からのデータをダイレクト・メモリ・アクセス転送
バスを使用してメモリに書込むと共にメモリのデータを
ダイレクト・メモリ・アクセス転送バスを使用して転送
先回路に読出す制御を行う。このとき調停回路は、ダイ
レクト・メモリ・アクセス転送バスを複数のタイムスロ
ットに時分割し、例えばあるタイムスロットでダイレク
ト・メモリ・アクセス回路を動作させるとともに転送元
回路の動作準備を行わせる。また次のタイムスロットで
転送元回路を動作させるとともに転送先回路の動作準備
を行わせる。
In the invention having such a structure, when the microprocessor accesses the direct memory access transfer bus, the arbitration circuit activates the direct memory access circuit. As a result, the direct memory access circuit controls access to the memory, writes the data from the transfer source circuit to the memory using the direct memory access transfer bus, and writes the data in the memory to the direct memory access transfer bus. Is used to control reading to the transfer destination circuit. At this time, the arbitration circuit time-divides the direct memory access transfer bus into a plurality of time slots and, for example, operates the direct memory access circuit in a certain time slot and prepares the transfer source circuit for operation. In the next time slot, the transfer source circuit is operated and the transfer destination circuit is prepared for operation.

【0011】[0011]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1に示すようにCPU11、DMA回路
12及び調停回路13を設け、前記CPU11にCPU
動作バス14を接続し、前記DMA回路12にDMA転
送バス15を接続している。
A CPU 11, a DMA circuit 12 and an arbitration circuit 13 are provided as shown in FIG.
The operation bus 14 is connected, and the DMA transfer bus 15 is connected to the DMA circuit 12.

【0013】前記調停回路13はCPU動作バス14と
DMA転送バス15の両方に接続している。
The arbitration circuit 13 is connected to both the CPU operation bus 14 and the DMA transfer bus 15.

【0014】前記CPU11にはCPU動作バス14を
介してメモリ16、周辺LSI17が接続し、前記DM
A回路12にはDMA転送バス15を介してダイナミッ
クRAM18、転送元回路19及び転送先回路20が接
続している。
A memory 16 and a peripheral LSI 17 are connected to the CPU 11 via a CPU operation bus 14, and the DM
A dynamic RAM 18, a transfer source circuit 19, and a transfer destination circuit 20 are connected to the A circuit 12 via a DMA transfer bus 15.

【0015】前記調停回路13は図2に示すように、ア
ドレスデコーダ21、バッファ22,23,24、CP
Uアクセス検出回路25、クロック発生器26、カウン
タ27、リフレッシュ要求検出回路28、リフレッシュ
回路29、1対のDRQ検出回路30,31及びDRA
M制御変換回路32を設け、前記CPU11からのアド
レスバスを前記アドレスデコーダ21及びバッファ22
に接続し、またデータバスをバッファ23に接続してい
る。さらに前記CPU11からの制御信号MRD、MWR 、I
ORD、IOWRを前記バッファ22に入力している。
As shown in FIG. 2, the arbitration circuit 13 includes an address decoder 21, buffers 22, 23, 24 and a CP.
U access detection circuit 25, clock generator 26, counter 27, refresh request detection circuit 28, refresh circuit 29, pair of DRQ detection circuits 30, 31 and DRA
An M control conversion circuit 32 is provided to connect the address bus from the CPU 11 to the address decoder 21 and the buffer 22.
, And the data bus to the buffer 23. Further, the control signals MRD, MWR, I from the CPU 11 are
ORD and IOWR are input to the buffer 22.

【0016】前記クロック発生器26からのクロックを
カウンタ27に供給し、そのカウンタ27で制御信号MO
EN/M1CHK、M1EN/M2CHK、M2EN/M3CHK、M3EN/M0CHKを作っ
て出力すると共にリフレッシュのための一定周期の制御
信号REFCLKを作って前記リフレッシュ要求検出回路28
に出力している。
The clock from the clock generator 26 is supplied to a counter 27, and the counter 27 controls the control signal MO.
The EN / M1CHK, M1EN / M2CHK, M2EN / M3CHK, and M3EN / M0CHK are generated and output, and at the same time, a control signal REFCLK having a constant cycle for refresh is generated to generate the refresh request detection circuit 28.
Is output to.

【0017】前記アドレスデコーダ21は各回路12,
19,20,32を選択動作させるためのチップセレク
ト信号を作成して前記バッファ24に出力すると共に前
記CPU11に信号WAITを出力している。この信号WAIT
はまた前記CPUアクセス検出回路25にも出力してい
る。
The address decoder 21 includes circuits 12,
A chip select signal for selectively operating 19, 20, 32 is created and output to the buffer 24 and a signal WAIT is output to the CPU 11. This signal WAIT
Is also output to the CPU access detection circuit 25.

【0018】前記各バッファ22,23,24はカウン
タ27からの制御信号MOENにより格納した信号及びデー
タを取り込む。前記CPUアクセス検出回路25はカウ
ンタ27からの制御信号 M0CHKによりアドレスデコーダ
21からの信号WAITを検出し一定時間経過後に信号WAIT
CLR を前記アドレスデコーダ21に出力してCPU11
にDMAバスアクセスが終了したことを知らせる。
The buffers 22, 23 and 24 fetch the stored signals and data according to the control signal MOEN from the counter 27. The CPU access detection circuit 25 detects the signal WAIT from the address decoder 21 according to the control signal M0CHK from the counter 27, and waits for a certain period of time to wait for the signal WAIT.
CLR is output to the address decoder 21 to output to the CPU 11
Is notified that the DMA bus access is completed.

【0019】前記カウンタ27からの制御信号 M1CHKを
前記DRQ検出回路30に供給すると共に制御信号 M2C
HKを前記DRQ検出回路31に供給している。前記DR
Q検出回路30は制御信号 M1CHKの入力により前記転送
元回路19からのデータ出力要求信号DRQOUTを検出し、
検出すると M1CHKシーケンスの終了前にDMA回路12
に信号DRQ0を供給し、また前記DRQ検出回路31は制
御信号 M2CHKの入力により前記転送先回路20からのデ
ータ入力要求信号DRQIN を検出し、検出するとM2CHKシ
ーケンスの終了前にDMA回路12に信号DRQ1を供給し
ている。
The control signal M1CHK from the counter 27 is supplied to the DRQ detection circuit 30 and the control signal M2C is supplied.
HK is supplied to the DRQ detection circuit 31. DR
The Q detection circuit 30 detects the data output request signal DRQOUT from the transfer source circuit 19 by inputting the control signal M1CHK,
If detected, the DMA circuit 12 is executed before the M1CHK sequence is completed.
To the DMA circuit 12 before the end of the M2CHK sequence when the data input request signal DRQIN from the transfer destination circuit 20 is detected by the control signal M2CHK. Is being supplied.

【0020】前記DMA回路12は、信号DRQ0を検出す
ると信号BREQを出力しDMA転送バス15の使用要求を
行う。この信号DRQ0はDMA回路12に直接信号BACKと
して入力し、これによりDMA回路12は直ちにDMA
転送バス15の使用権を得るようになっている。
When the DMA circuit 12 detects the signal DRQ0, it outputs a signal BREQ and requests the use of the DMA transfer bus 15. This signal DRQ0 is directly input to the DMA circuit 12 as the signal BACK, so that the DMA circuit 12 immediately receives the DMA signal.
The right to use the transfer bus 15 is obtained.

【0021】前記DMA回路12は、ダイナミックRA
M18のアドレス、信号 IRD、 MWR、ACK0を出力し前記
転送元回路19からRAM18にDMA転送を行う。
The DMA circuit 12 has a dynamic RA.
The address of M18, signals IRD, MWR, and ACK0 are output, and DMA transfer is performed from the transfer source circuit 19 to the RAM 18.

【0022】前記転送元回路19は、信号RDを入力する
とDMA転送バス15にデータを出力し信号DRQOUTの出
力を終了する。
When the signal RD is input, the transfer source circuit 19 outputs data to the DMA transfer bus 15 and ends the output of the signal DRQOUT.

【0023】前記DMA回路12は、信号DRQ1を検出す
ると信号BREQを出力しDMA転送バス15の使用要求を
行う。この信号DRQ0はDMA回路12に直接信号BACKと
して入力し、これによりDMA回路12は直ちにDMA
転送バス15の使用権を得るようになっている。
When the DMA circuit 12 detects the signal DRQ1, it outputs a signal BREQ and requests the use of the DMA transfer bus 15. This signal DRQ0 is directly input to the DMA circuit 12 as the signal BACK, so that the DMA circuit 12 immediately receives the DMA signal.
The right to use the transfer bus 15 is obtained.

【0024】前記DMA回路12は、ダイナミックRA
M18のアドレス、信号 MRD、 IWR、ACK1を出力し前記
RAM18から転送先回路20にDMA転送を行う。
The DMA circuit 12 has a dynamic RA.
The address of M18, signals MRD, IWR, and ACK1 are output, and DMA transfer is performed from the RAM 18 to the transfer destination circuit 20.

【0025】前記転送先回路20は、信号WRを入力する
とDMA転送バス15のデータを取り込み信号DRQIN の
出力を終了する。
When the signal WR is input, the transfer destination circuit 20 takes in the data of the DMA transfer bus 15 and ends the output of the signal DRQIN.

【0026】前記リフレッシュ要求検出回路28はカウ
ンタ27からの制御信号REFCLKを検出し、その信号をカ
ウンタ27からの制御信号 M3CHKのタイミングで検出す
ると制御信号REFREQを前記リフレッシュ回路29に出力
する。
The refresh request detection circuit 28 detects the control signal REFCLK from the counter 27, and outputs the control signal REFREQ to the refresh circuit 29 when the signal is detected at the timing of the control signal M3CHK from the counter 27.

【0027】前記リフレッシュ回路29は制御信号REFR
EQをカウンタ27からの制御信号M3ENのタイミングで検
出するとDMA転送バス15にリフレッシュ用アドレス
等を出力し前記DRAM制御変換回路32を介して前記
ダイナミックRAM18のリフレッシュを行う。そして
リフレッシュが終了すると信号 REFREQCLRを出力し前記
リフレッシュ要求検出回路28をクリアする。
The refresh circuit 29 controls the control signal REFR.
When the EQ is detected at the timing of the control signal M3EN from the counter 27, a refresh address or the like is output to the DMA transfer bus 15 to refresh the dynamic RAM 18 via the DRAM control conversion circuit 32. When the refresh is completed, the signal REFREQCLR is output to clear the refresh request detection circuit 28.

【0028】このような構成の実施例においては、カウ
ンタ27から制御信号MOEN/M1CHK、M1EN/M2CHK、M2EN/M
3CHK、M3EN/M0CHKが図3に示すタイミングで出力する
と、制御信号MOEN/M1CHKが出力する期間、すなわちタイ
ムスロットT1 とT5 ではCPU11によるDMAバス
アクセスと次のタイムスロックの動作準備である転送元
回路19からのDMA転送要求検出を行う。
In the embodiment having such a structure, the control signals MOEN / M1CHK, M1EN / M2CHK and M2EN / M are supplied from the counter 27.
When 3CHK and M3EN / M0CHK are output at the timings shown in FIG. 3, the transfer source circuit that prepares the DMA bus access by the CPU 11 and the next time-slock operation in the period in which the control signal MOEN / M1CHK is output, that is, in the time slots T1 and T5 The DMA transfer request from 19 is detected.

【0029】また、制御信号M1EN/M2CHKが出力する期
間、すなわちタイムスロットT2 とT6 では転送元回路
19からのデータのDMA転送動作と次のタイムスロッ
クの動作準備である転送先回路20からのDMA転送要
求検出を行う。
In the period in which the control signals M1EN / M2CHK are output, that is, in the time slots T2 and T6, the DMA transfer operation of the data from the transfer source circuit 19 and the DMA from the transfer destination circuit 20 which is the next time lock operation preparation are performed. Detects transfer request.

【0030】また、制御信号M2EN/M3CHKが出力する期
間、すなわちタイムスロットT3 では転送先回路20へ
のデータのDMA転送動作と次のタイムスロックの動作
準備であるリフレッシュ要求検出回路28によるリフレ
ッシュ要求の検出を行う。
In the period when the control signals M2EN / M3CHK are output, that is, in the time slot T3, the refresh request detection circuit 28 for the DMA transfer operation of the data to the transfer destination circuit 20 and the next time lock operation prepares the refresh request. Detect.

【0031】さらに、制御信号M3EN/M0CHKが出力する期
間、すなわちタイムスロットT4 ではリフレッシュ回路
29によるダイナミックRAM18のリフレッシュ動作
と次のタイムスロックの動作準備であるCPUアクセス
検出回路25によるCPU11のDMAバスアクセス検
出を行う。
Further, during the period when the control signal M3EN / M0CHK is output, that is, in the time slot T4, the refresh operation of the dynamic RAM 18 by the refresh circuit 29 and the DMA bus access of the CPU 11 by the CPU access detection circuit 25 for the preparation for the operation of the next time lock are performed. Detect.

【0032】すなわち、CPU11がDMAバスアクセ
スを行おうとアドレスを出力すると、アドレスデコーダ
21から各回路のチップセレクト信号と信号WAITが出力
する。そして信号WAITによりCPU11はアドレス、制
御信号MRD 、MWR 、IORD、IOWR等を出力したまま待機状
態となる。そして制御信号 M0CHKがCPUアクセス検出
回路25に入力すると、CPUアクセス検出回路25は
信号WAITを検出する。
That is, when the CPU 11 outputs an address for DMA bus access, the address decoder 21 outputs a chip select signal and a signal WAIT for each circuit. Then, the signal WAIT causes the CPU 11 to enter the standby state while outputting the address, the control signals MRD, MWR, IORD, IOWR and the like. When the control signal M0CHK is input to the CPU access detection circuit 25, the CPU access detection circuit 25 detects the signal WAIT.

【0033】次のタイムスロットで制御信号M0ENが各バ
ッファ22,23,24に入力すると、バッファ22は
制御信号MRD 、MWR 、IORD、IOWRを出力し、バッファ2
3はデータを出力し、バッファ24はチップセレクト信
号を出力する。
When the control signal M0EN is input to each of the buffers 22, 23 and 24 in the next time slot, the buffer 22 outputs the control signals MRD, MWR, IORD and IOWR, and the buffer 2
3 outputs data, and the buffer 24 outputs a chip select signal.

【0034】こうしてCPU11によるDMA回路1
2、転送元回路19、転送先回路20及びダイナミック
RAM18のアクセスが可能となり、DMAバスアクセ
スを実行する。
Thus, the DMA circuit 1 by the CPU 11
2. The transfer source circuit 19, the transfer destination circuit 20, and the dynamic RAM 18 can be accessed, and the DMA bus access is executed.

【0035】また、CPUアクセス検出回路25は信号
WAITを検出して一定時間後に信号WAITCLR を出力しCP
U11にDMAバスアクセスが終了することを知らせ
る。すなわち信号WAITCLR によりアドレスデコーダ21
からの信号WAITが無くなりCPU11はDMAバスアク
セスが終了したことを確認してアドレス、各制御信号等
の出力を終了する。こうしてCPU11によるDMAバ
スアクセスが終了する。
Further, the CPU access detection circuit 25 outputs a signal
WAIT is detected and WAITCLR is output after a certain period of time
Notify U11 that the DMA bus access is complete. That is, the address decoder 21 is activated by the signal WAITCLR.
The CPU 11 confirms that the DMA bus access has ended and the output of the address, each control signal and the like ends. Thus, the DMA bus access by the CPU 11 is completed.

【0036】以上の制御をタイミング図で示せば図4に
示すようになる。
The timing chart of the above control is shown in FIG.

【0037】また、転送元回路19からデータ出力要求
信号DRQOUTが出力しているタイミングで制御信号 M1CHK
がDRQ検出回路30に入力すると、DRQ検出回路3
0は信号DRQOUTを検出し、DMA回路12に信号DRQ0を
出力する。これによりDMA回路12は信号BREQを出力
し、それを直ちに信号BACKとして入力しDMA転送バス
15の使用権を得る。こうしてDMA回路12はダイナ
ミックRAM18のアドレス、信号 IRD、 MWR、ACK0を
出力して転送元回路19からRAM18にデータの高速
転送を行う。
The control signal M1CHK is generated at the timing when the data output request signal DRQOUT is output from the transfer source circuit 19.
Is input to the DRQ detection circuit 30, the DRQ detection circuit 3
0 detects the signal DRQOUT and outputs the signal DRQ0 to the DMA circuit 12. As a result, the DMA circuit 12 outputs the signal BREQ and immediately inputs it as the signal BACK to obtain the right to use the DMA transfer bus 15. In this way, the DMA circuit 12 outputs the address of the dynamic RAM 18, the signals IRD, MWR, and ACK0 to perform high-speed data transfer from the transfer source circuit 19 to the RAM 18.

【0038】以上の制御をタイミング図で示せば図5に
示すようになる。
The timing chart of the above control is shown in FIG.

【0039】また、転送先回路20からデータ入力要求
信号 DRQINが出力しているタイミングで制御信号 M2CHK
がDRQ検出回路31に入力すると、DRQ検出回路3
1は信号 DRQINを検出し、DMA回路12に信号DRQ1を
出力する。これによりDMA回路12は信号BREQを出力
し、それを直ちに信号BACKとして入力しDMA転送バス
15の使用権を得る。こうしてDMA回路12はダイナ
ミックRAM18のアドレス、信号 MRD、 IWR、ACK1を
出力してRAM18から転送先回路20にデータの高速
転送を行う。
The control signal M2CHK is output at the timing when the data input request signal DRQIN is output from the transfer destination circuit 20.
Is input to the DRQ detection circuit 31, the DRQ detection circuit 3
1 detects the signal DRQIN and outputs the signal DRQ1 to the DMA circuit 12. As a result, the DMA circuit 12 outputs the signal BREQ and immediately inputs it as the signal BACK to obtain the right to use the DMA transfer bus 15. In this way, the DMA circuit 12 outputs the address of the dynamic RAM 18, the signals MRD, IWR, and ACK1 to perform high-speed data transfer from the RAM 18 to the transfer destination circuit 20.

【0040】以上の制御をタイミング図で示せば図6に
示すようになる。
FIG. 6 is a timing chart showing the above control.

【0041】また、カウンタ27から制御信号REFCLK及
び M3CHKがリフレッシュ要求検出回路28に入力し検出
回路28が制御信号REFCLKを検出すると、リフレッシュ
回路29に制御信号REFREQを出力する。
When the control signals REFCLK and M3CHK are input from the counter 27 to the refresh request detection circuit 28 and the detection circuit 28 detects the control signal REFCLK, the control signal REFREQ is output to the refresh circuit 29.

【0042】リフレッシュ回路29は制御信号REFREQを
カウンタ27からの制御信号M3ENで検出すると、DMA
転送バス15にリフレッシュ用アドレス等を出力しダイ
ナミックRAM18のリフレッシュを行う。そしてリフ
レッシュが終了するとリフレッシュ回路29はリフレッ
シュ要求検出回路28に制御信号 REFREQCLRを出力して
リフレッシュ要求検出回路28をクリアする。
When the refresh circuit 29 detects the control signal REFREQ with the control signal M3EN from the counter 27, the DMA circuit DMA
A refresh address or the like is output to the transfer bus 15 to refresh the dynamic RAM 18. When the refresh is completed, the refresh circuit 29 outputs the control signal REFREQCLR to the refresh request detection circuit 28 to clear the refresh request detection circuit 28.

【0043】以上の制御をタイミング図で示せば図7に
示すようになる。
FIG. 7 is a timing diagram showing the above control.

【0044】このように各タイムスロットに対応する回
路の動作と次のタイムスロットで動作すべき回路の動作
準備が順次時分割で行われ、データのDMA転送がより
高速処理される。
In this way, the operation of the circuit corresponding to each time slot and the operation preparation of the circuit to be operated in the next time slot are sequentially performed in time division, and the DMA transfer of data is processed at a higher speed.

【0045】また、調停回路13はアドレスデコーダ、
バッファ,検出回路等ハードウエアにより構成できるの
で、論理回路で組み立てることができ、従来のようにC
PUを使用してソフトウエアにより処理するものに比べ
て安価に構成できて経済性を向上でき、またデータ転送
速度の向上も図れる。
Further, the arbitration circuit 13 is an address decoder,
Since it can be configured with hardware such as a buffer and a detection circuit, it can be assembled with a logic circuit.
It can be constructed at a lower cost than that which is processed by software using a PU, so that the economical efficiency can be improved and the data transfer rate can be improved.

【0046】[0046]

【発明の効果】以上、本発明によれば、DMA転送バス
を時分割制御し、DMA転送にかかわる回路に対して動
作と次の動作準備をハードウエアにより同時に行うこと
により、DMA転送のより高速処理が実現できるととも
に経済性を向上できる。
As described above, according to the present invention, the DMA transfer bus is time-division controlled, and the operation and the next operation preparation for the circuits involved in the DMA transfer are simultaneously performed by the hardware. The processing can be realized and the economical efficiency can be improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】同実施例の調停回路の構成を示す図。FIG. 2 is a diagram showing a configuration of an arbitration circuit according to the same embodiment.

【図3】同実施例における各タイムスロットのタイミン
グと制御を説明するための図。
FIG. 3 is a diagram for explaining timing and control of each time slot in the embodiment.

【図4】同実施例におけるCPUのDMAバスアクセス
検出とDMAバスアクセスのタイミングを示すタイミン
グ図。
FIG. 4 is a timing chart showing the timing of the detection of the DMA bus access and the access of the DMA bus of the CPU in the embodiment.

【図5】同実施例における転送元回路からのDMA転送
要求検出とDMA転送のタイミングを示すタイミング
図。
FIG. 5 is a timing chart showing the timing of detecting a DMA transfer request from the transfer source circuit and the timing of DMA transfer in the embodiment.

【図6】同実施例における転送先回路からのDMA転送
要求検出と転送先回路へのDMA転送のタイミングを示
すタイミング図。
FIG. 6 is a timing chart showing the timing of detection of a DMA transfer request from the transfer destination circuit and DMA transfer to the transfer destination circuit in the embodiment.

【図7】同実施例におけるリフレッシュ要求検出とリフ
レッシュ動作のタイミングを示すタイミング図。
FIG. 7 is a timing chart showing the timing of refresh request detection and refresh operation in the embodiment.

【図8】従来例を示すブロック図。FIG. 8 is a block diagram showing a conventional example.

【符号の説明】 11…CPU(マイクロプロセッサ) 12…DMA(ダイレクト・メモリ・アクセス)回路 13…調停回路 14…CPU動作バス 15…DMA転送バス 16…ダイナミックRAM 19…転送元回路 20…転送先回路[Explanation of Codes] 11 ... CPU (microprocessor) 12 ... DMA (direct memory access) circuit 13 ... Arbitration circuit 14 ... CPU operation bus 15 ... DMA transfer bus 16 ... Dynamic RAM 19 ... Transfer source circuit 20 ... Transfer destination circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 データ出力要求信号を出力し、データ出
力を行う転送元回路と、データ入力要求信号を出力し、
データ入力を行う転送先回路と、データの格納を行うメ
モリと、このメモリをアクセス制御し、前記転送元回路
からのデータを前記メモリに書込むと共に前記メモリの
データを前記転送先回路に読出す制御を行うダイレクト
・メモリ・アクセス回路と、これらの回路を接続し、デ
ータを高速転送するダイレクト・メモリ・アクセス転送
バスと、マイクロプロセッサ動作バスを使用してデータ
転送を行うとともに前記ダイレクト・メモリ・アクセス
転送バスを使用してダイレクト・メモリ・アクセス動作
を制御するマイクロプロセッサと、前記ダイレクト・メ
モリ・アクセス転送バスとマイクロプロセッサ動作バス
との間に介在し、前記ダイレクト・メモリ・アクセス転
送バスを使用してのデータ高速転送時、そのダイレクト
・メモリ・アクセス転送バスを複数のタイムスロットに
時分割し、各タイムスロットで対応する回路の動作を行
わせると共に次のタイムスロットで動作すべき回路の動
作準備を行わせる調停回路を設けたことを特徴とするダ
イレクト・メモリ・アクセス制御装置。
1. A transfer source circuit that outputs a data output request signal and outputs data, and a data input request signal
A transfer destination circuit for inputting data, a memory for storing data, and access control for this memory, write data from the transfer source circuit to the memory, and read data in the memory to the transfer destination circuit. A direct memory access circuit for controlling, a direct memory access transfer bus for connecting these circuits to transfer data at high speed, and a microprocessor operation bus for data transfer and the direct memory access circuit. A microprocessor for controlling a direct memory access operation using an access transfer bus, and using the direct memory access transfer bus interposed between the direct memory access transfer bus and the microprocessor operation bus Direct memory access during high-speed data transfer The transfer bus is time-divided into a plurality of time slots, and an arbitration circuit is provided for making the corresponding circuit operate in each time slot and preparing the operation of the circuit to be operated in the next time slot. Direct memory access control device.
JP17326293A 1993-07-13 1993-07-13 Direct memory access controller Pending JPH0728744A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17326293A JPH0728744A (en) 1993-07-13 1993-07-13 Direct memory access controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17326293A JPH0728744A (en) 1993-07-13 1993-07-13 Direct memory access controller

Publications (1)

Publication Number Publication Date
JPH0728744A true JPH0728744A (en) 1995-01-31

Family

ID=15957193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17326293A Pending JPH0728744A (en) 1993-07-13 1993-07-13 Direct memory access controller

Country Status (1)

Country Link
JP (1) JPH0728744A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774513B2 (en) 2005-03-25 2010-08-10 Fujitsu Limited DMA circuit and computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774513B2 (en) 2005-03-25 2010-08-10 Fujitsu Limited DMA circuit and computer system

Similar Documents

Publication Publication Date Title
US5751976A (en) Bus system for use with information processing apparatus
US7802045B2 (en) Bus system for use with information processing apparatus
US5857114A (en) DMA system for re-arbitrating memory access priority during DMA transmission when an additional request is received
JPH02227766A (en) Data transfer apparatus for digital computer
CA2060820C (en) Direct memory access for data transfer within an i/o device
JP2001282704A (en) Data processing apparatus, data processing method, and data processing system
JPH0728744A (en) Direct memory access controller
EP0184320B1 (en) Improved performance memory bus architecture
JP2004348745A (en) Bus system and method for arbitrating a high-bandwidth system bus
JP3098550B2 (en) Bus control method
JPS5999522A (en) Input and output control system
JP2625288B2 (en) Buffer memory access system
JPH06325570A (en) Dynamic memory refresh circuit
JPS63278168A (en) bus controller
JPS60151894A (en) Refresh circuit of dynamic ram
EP0284094A2 (en) Tandem priority resolver
JPH07160625A (en) Data transfer device
JPH0612313A (en) Memory device
JPH04102955A (en) Interruption controller
JP2002288114A (en) Bus interface
JPH0573473A (en) Industrial computer system
JPH03189755A (en) Inter-memory transfer device
JPH04262435A (en) Memory control system
JPH05100994A (en) Dma transfer operation confirming system
JPH09231169A (en) Common bus arbitration circuit