JPH05298239A - Direct memory access control circuit - Google Patents

Direct memory access control circuit

Info

Publication number
JPH05298239A
JPH05298239A JP9836092A JP9836092A JPH05298239A JP H05298239 A JPH05298239 A JP H05298239A JP 9836092 A JP9836092 A JP 9836092A JP 9836092 A JP9836092 A JP 9836092A JP H05298239 A JPH05298239 A JP H05298239A
Authority
JP
Japan
Prior art keywords
signal
dma
control circuit
transfer
level
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
JP9836092A
Other languages
Japanese (ja)
Inventor
Nobuo Ikeshoji
伸夫 池庄司
Tamotsu Ito
保 伊藤
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.)
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Advanced Digital Inc
Original Assignee
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Video and Information System Inc
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 Hitachi Image Information Systems Inc, Hitachi Ltd, Hitachi Video and Information System Inc filed Critical Hitachi Image Information Systems Inc
Priority to JP9836092A priority Critical patent/JPH05298239A/en
Publication of JPH05298239A publication Critical patent/JPH05298239A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable DMA transfer between the systems having DMA transfer control functions in a simple constitution. CONSTITUTION:When a DMA control circuit 103 activates a /DREQ signal, a host system 101 or a subsystem 102 activates a /DACK signal. When the /DACK signal is activated, the circuit 103 inactivates a READY signal. Then, the circuit 103 activates the READY signal and the system 101 or 102 inactivates the /DACK signal. This process is defined as one cycle and repeated to carry out the DMA transfer.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、システム間にてダイレ
クト・メモリー・アクセス(以下、DMAという)転送
を行わせ得るDMA制御回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA control circuit capable of performing direct memory access (hereinafter referred to as DMA) transfer between systems.

【0002】[0002]

【従来の技術】従来の、システムと外部周辺装置との間
のDMA転送について、図2を用いて説明する。
2. Description of the Related Art A conventional DMA transfer between a system and an external peripheral device will be described with reference to FIG.

【0003】図2に示すシステムは、DMA転送を制御
する機能、すなわち、DMAコントローラ(以下、DM
ACという。)202を有している。以下、DMA転送
する際の動作について説明する。
The system shown in FIG. 2 has a function of controlling a DMA transfer, that is, a DMA controller (hereinafter, DM).
It is called AC. ) 202. The operation for DMA transfer will be described below.

【0004】まず、システム内のCPU201が、シス
テム内のDMAC202に、アドレスバス203,デー
タバス204,制御バス205を介して、処理内容を指
示する。次に、DMAC202は、CPU201から指
示された処理内容にしたがって、アドレスバス203,
制御バス205を制御し、システム内のシステムメモリ
206とシステムの外にある外部周辺装置207との間
でDMA転送をデータバス204を介して行う。
First, the CPU 201 in the system instructs the DMAC 202 in the system via the address bus 203, the data bus 204, and the control bus 205 about the processing content. Next, the DMAC 202 follows the address bus 203, according to the processing content instructed by the CPU 201.
The control bus 205 is controlled to perform DMA transfer between the system memory 206 inside the system and the external peripheral device 207 outside the system via the data bus 204.

【0005】すなわち、DMAC202は、制御バス2
05を介して、外部周辺装置207からのDMA要求信
号(以下、DREQ信号という。)208に対して、D
MA受付信号(以下、/DACK信号という。)209
と、外部周辺装置207からの読み出しを制御する信号
(以下、/IORD信号という。)210もしくは外部
周辺装置207への書き込みを制御する信号(以下、/
IOWR信号という。)211を出力する。この時のタ
イミング調整は、READY信号212を用いて行う。
That is, the DMAC 202 has the control bus 2
In response to a DMA request signal (hereinafter referred to as a DREQ signal) 208 from the external peripheral device 207, the D
MA acceptance signal (hereinafter referred to as / DACK signal) 209
And a signal that controls reading from the external peripheral device 207 (hereinafter referred to as / IORD signal) 210 or a signal that controls writing to the external peripheral device 207 (hereinafter referred to as /
It is called IOWR signal. ) 211 is output. The timing adjustment at this time is performed using the READY signal 212.

【0006】システムメモリ206に対しては、アドレ
スバス203を介してメモリアドレスを指定し、制御バ
ス205を介して、システムメモリ206からの読み出
しを制御する信号(以下、/MERD信号という。)2
13もしくはシステムメモリ206への書き込みを制御
する信号(以下、/MEWR信号という。)214を出
力する。
For the system memory 206, a signal for designating a memory address via the address bus 203 and controlling reading from the system memory 206 via the control bus 205 (hereinafter referred to as "/ MERD signal") 2
13 or a signal (hereinafter, referred to as / MEWR signal) 214 for controlling writing to the system memory 206 is output.

【0007】一方、従来の、外部周辺装置と外部周辺装
置との間のDMA転送については、例えば、特開平2−
280257号公報において記載されている。
On the other hand, the conventional DMA transfer between external peripheral devices is described in, for example, Japanese Unexamined Patent Application Publication No.
No. 280257.

【0008】[0008]

【発明が解決しようとする課題】しかし、上記した従来
技術においては、図2に示す構成にしろ、特開平2−2
80257号公報に記載の構成にしろ、システムとシス
テムとの間のDMA転送について、何ら考慮されていな
かった。
However, in the above-mentioned prior art, the structure shown in FIG.
Even with the configuration described in Japanese Patent No. 80257, no consideration has been given to DMA transfer between systems.

【0009】すなわち、図2に示す構成を利用して、シ
ステムと外部周辺装置との間でなく、システムとシステ
ムとの間でのDMA転送を行おうとした場合、規格化さ
れたデータ転送のプロトコル、例えば、SCSI(Smal
l Computer System Interface:ANSI X3.131-1986規格)
等を使用する必要があり、そのため、複雑な専用インタ
ーフェイス・ハードウェア及び専用のインターフェイス
・プロトコル・ソフトウェアを用意する必要があった。
That is, when the DMA transfer is attempted between the system and the system rather than between the system and the external peripheral device by using the configuration shown in FIG. 2, a standardized data transfer protocol is used. , For example, SCSI (Smal
l Computer System Interface: ANSI X3.131-1986 standard)
It was necessary to prepare complicated dedicated interface hardware and dedicated interface protocol software.

【0010】また、特開平2−280257号公報の記
載の構成では、外部周辺装置と外部周辺装置との間のD
MA転送を、DMA転送を制御する機能を有するシステ
ムで実現させるだけであり、システムとシステムとの間
のDMA転送を実現するには至っていなかった。
Further, in the configuration described in Japanese Patent Laid-Open No. 2-280257, D between the external peripheral device and the external peripheral device is set.
The MA transfer is only realized by the system having the function of controlling the DMA transfer, and the DMA transfer between the systems has not been realized yet.

【0011】本発明の目的は、簡単な構成にて、システ
ムとシステムとの間でDMA転送を行わせることができ
るDMA制御回路を提供することにある。
An object of the present invention is to provide a DMA control circuit capable of performing DMA transfer between systems with a simple structure.

【0012】[0012]

【課題を解決するための手段】本発明は、上記目的を達
成するため、DMA転送を制御する機能を有する第1の
システム(以下、ホストシステムという。)と、DMA
転送を制御する機能を有する第2のシステム(以下、サ
ブシステムという。)との間に、DMA制御回路を介在
させたものである。
In order to achieve the above object, the present invention provides a first system (hereinafter referred to as a host system) having a function of controlling DMA transfer, and a DMA.
A DMA control circuit is interposed between a second system (hereinafter referred to as a subsystem) having a function of controlling transfer.

【0013】DMA制御回路は、第1の構成として、/
DACK信号の前端エッジを検出する検出回路と、ホス
トシステムのDMACとサブシステムのDMACとが両
方ともDMA転送可能状態になったことを検出する検出
回路と、から成るようにした。
The DMA control circuit has, as a first configuration, /
The detection circuit detects the front edge of the DACK signal, and the detection circuit detects that both the DMAC of the host system and the DMAC of the subsystem are in the DMA transfer enable state.

【0014】また、DMA制御回路は、第2の構成とし
て、DMA開始信号またはサブシステムのDMA受付信
号に応じて、ホストシステムに対するDMA要求信号を
アクティブ状態にする第1のDMA要求手段と、ホスト
システムが出力するデータを記憶してサブシステムへ記
憶したデータを出力する記憶手段と、サブシステム対す
るDMA要求信号をアクティブ状態にする第2のDMA
要求手段と、から成るようにした。
The DMA control circuit has, as a second configuration, first DMA request means for activating a DMA request signal for the host system in response to a DMA start signal or a DMA acceptance signal of the subsystem, and a host. Storage means for storing data output from the system and outputting the stored data to the subsystem, and second DMA for activating a DMA request signal for the subsystem
It consists of request means.

【0015】[0015]

【作用】DMA制御回路により、二つのシステム(ホス
トシステム,サブシステム)が、それぞれ独立に周辺装
置に対してDMA転送を実行している事と等価な動作を
する。
The DMA control circuit performs an operation equivalent to that two systems (host system and subsystem) independently execute DMA transfer to the peripheral device.

【0016】DMA制御回路の第1の構成においては、
/DACK信号が入力されると、/DACK信号の前端
エッジを検出する検出回路により、READY信号を生
成する。この結果、READY信号は、レディ状態から
ノットレディ状態へ変化する。ホストシステムのDMA
Cと、サブシステムのDMACとが、両方ともDMA転
送可能状態になったことを検出する検出回路の出力信号
により、READY信号がノットレディ状態からレディ
状態へと変化する。READY信号が、レディ状態にな
るのを待って、/DACK信号が非アクティブ状態にな
る。以上の経過でDMA転送の1サイクルが終了する。
In the first configuration of the DMA control circuit,
When the / DACK signal is input, the READY signal is generated by the detection circuit that detects the leading edge of the / DACK signal. As a result, the READY signal changes from the ready state to the not ready state. Host system DMA
The READY signal changes from the not ready state to the ready state by the output signal of the detection circuit that detects that both C and the subsystem DMAC are in the DMA transfer enable state. The / DACK signal becomes inactive after waiting for the READY signal to become ready. With the above process, one cycle of DMA transfer is completed.

【0017】DMA制御回路の第2の構成においては、
ホストシステムがDMA開始信号をアクティブにする
と、第1のDMA要求手段はホストシステムに対するD
MA要求信号をアクティブにするので、ホストシステム
は転送データを出力する。記憶手段がこのデータを記憶
し、第2のDMA要求手段がサブシステムに対するDM
A開始信号をアクティブにする。サブシステムは記憶手
段の出力するデータを読み込むと、DMA受付信号をア
クティブにする。第1のDMA要求手段はサブシステム
のDMA受付信号に応じて、ホストシステムに対するD
MA要求信号をアクティブにするので、次々にDMA転
送を行うことができる。
In the second configuration of the DMA control circuit,
When the host system activates the DMA start signal, the first DMA request means sends D to the host system.
Since the MA request signal is activated, the host system outputs the transfer data. The storage means stores this data and the second DMA request means DMs to the subsystem.
A Start signal is activated. When the subsystem reads the data output by the storage means, it activates the DMA acceptance signal. The first DMA request means sends D to the host system in response to the DMA acceptance signal from the subsystem.
Since the MA request signal is activated, DMA transfer can be performed one after another.

【0018】[0018]

【実施例】以下、本発明の実施例を図面を用いて説明す
る。図1は本発明の一実施例を示すハードウェアブロッ
ク図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a hardware block diagram showing an embodiment of the present invention.

【0019】DMA制御回路103は、ホストシステム
101とサブシステム102との間に介在している。な
お、いずれのシステムも、DMA転送を制御する機能、
すなわち、DMACを有している。
The DMA control circuit 103 is interposed between the host system 101 and the subsystem 102. It should be noted that both systems have a function for controlling DMA transfer,
That is, it has a DMAC.

【0020】DMA制御回路103は、ホストシステム
101から/H_DACK信号104,/H_IORD
信号105,/H_IOWR信号106を、サブシステ
ム102から/S_DACK信号107,/S_IOR
D信号108,/S_IOWR信号109をそれぞれ入
力すると共に、ホストシステム101へH_DREQ信
号110,H_READY信号111を、サブシステム
102へS_DREQ信号112,S_READY信号
113をそれぞれ出力する。また、データは、ホストシ
ステム101のデータバスであるH_DATAバス11
4及びサブシステム102のデータバスであるS_DA
TAバス115を介して、転送される。
The DMA control circuit 103 receives the / H_DACK signals 104, / H_IORD from the host system 101.
Signal 105, / H_IOWR signal 106 from subsystem 102 / S_DACK signal 107, / S_IOR
The D signal 108 and / S_IOWR signal 109 are input, and the H_DREQ signal 110 and H_READY signal 111 are output to the host system 101, and the S_DREQ signal 112 and S_READY signal 113 are output to the subsystem 102, respectively. Further, the data is the H_DATA bus 11 which is the data bus of the host system 101.
4 and subsystem 102 data bus S_DA
It is transferred via the TA bus 115.

【0021】ここで、本実施例における主要信号の機能
について説明する。/H_DREQ信号110はDMA
転送の開始要求信号であり、アクティブ状態(Lレベ
ル)になるとホストシステム101はDMA転送動作を
開始する。
The function of the main signal in this embodiment will be described. / H_DREQ signal 110 is DMA
This is a transfer start request signal, and when it becomes the active state (L level), the host system 101 starts the DMA transfer operation.

【0022】/H_DACK信号104は/H_DRE
Q信号110の受付信号であり、/H_DREQ信号1
10がアクティブ状態(Lレベル)になるとアクティブ
状態になり、1データの転送が終わるまでアクティブ状
態を保つ。
The / H_DACK signal 104 is / H_DRE
It is a reception signal of the Q signal 110, and / H_DREQ signal 1
When 10 becomes the active state (L level), it becomes the active state and remains active until the transfer of one data is completed.

【0023】H_READY信号111はホストシステ
ム101のCPUを待機状態にさせる信号であり、ホス
トシステム101のCPUはH_READY信号111
が非アクティブ状態(Lレベル)にある間、待機状態と
なる。
The H_READY signal 111 is a signal for putting the CPU of the host system 101 into a standby state, and the CPU of the host system 101 sends the H_READY signal 111.
Is in the inactive state (L level), the standby state is set.

【0024】/S_DREQ信号112はDMA転送の
開始要求信号であり、アクティブ状態(Lレベル)にな
るとサブシステム102はDMA転送動作を開始する。
The / S_DREQ signal 112 is a DMA transfer start request signal, and the subsystem 102 starts the DMA transfer operation when it enters the active state (L level).

【0025】/S_DACK信号107は/S_DRE
Q信号112の受付信号であり、/S_DREQ信号1
12がアクティブ状態(Lレベル)になるとアクティブ
状態になり、1データの転送が終わるまでアクティブ状
態を保つ。
The / S_DACK signal 107 is / S_DRE
It is a reception signal of the Q signal 112, and / S_DREQ signal 1
When 12 becomes the active state (L level), it becomes the active state and remains active until the transfer of one data is completed.

【0026】S_READY信号113はサブシステム
102のCPUを待機状態にさせる信号であり、サブシ
ステム102のCPUはS_READY信号113が非
アクティブ状態(Lレベル)にある間、待機状態とな
る。
The S_READY signal 113 is a signal for putting the CPU of the subsystem 102 in a standby state, and the CPU of the subsystem 102 is in a standby state while the S_READY signal 113 is in the inactive state (L level).

【0027】本実施例におけるDMA転送の制御手順
は、DMA制御回路103からの、DMA要求信号であ
る/DREQ信号がアクティブ状態(Lレベル)になる
と、DMA転送要求を受け付けたことを示す/DACK
信号がアクティブ状態(Lレベル)になる。そして、/
DACK信号がアクティブ状態(Lレベル)になると、
READY信号が非アクティブ状態(Lレベル)とな
り、その後、READY信号がアクティブ状態(Hレベ
ル)になると、/DACK信号が非アクティブ状態(H
レベル)になる。すなわち、/DREQ信号がアクティ
ブ状態(Lレベル)になると、/DACK信号が非アク
ティブ状態(Hレベル)からアクティブ状態(Lレベ
ル)になり、その後、再び非アクティブ状態(Hレベ
ル)となる。この経過を1サイクルとして、繰り返しに
よりDMA転送が実行される。
The DMA transfer control procedure in this embodiment is such that when the / DREQ signal, which is the DMA request signal from the DMA control circuit 103, becomes active (L level), it indicates that the DMA transfer request has been accepted / DACK.
The signal becomes active (L level). And /
When the DACK signal becomes active (L level),
When the READY signal becomes inactive (L level) and then the READY signal becomes active (H level), the / DACK signal becomes inactive (H level).
Level). That is, when the / DREQ signal becomes the active state (L level), the / DACK signal changes from the inactive state (H level) to the active state (L level), and then becomes the inactive state (H level) again. With this process as one cycle, the DMA transfer is repeatedly executed.

【0028】図3は図1のDMA制御回路103の具体
的回路例を示すブロック図である。図3の回路動作につ
いて、図4のタイミングチャートを用いて説明する。
FIG. 3 is a block diagram showing a concrete circuit example of the DMA control circuit 103 of FIG. The circuit operation of FIG. 3 will be described with reference to the timing chart of FIG.

【0029】図3のDMA制御回路103では、/DA
CK信号の前端エッジを検出する検出回路として、Dラ
ッチ回路を用いている。
In the DMA control circuit 103 of FIG. 3, / DA
A D latch circuit is used as a detection circuit for detecting the front edge of the CK signal.

【0030】/RESET信号303がLレベルとなる
リセット時に、AND回路304の出力信号、すなわち
Dラッチ回路301及びDラッチ回路302のプリセッ
ト端子信号である/PR信号312がLレベルとなっ
て、Dラッチ回路301及びDラッチ回路302の初期
状態では、各々のQ端子出力(図3では、H_READ
Y信号111及びS_READY信号113そのもので
ある。)がHレベルに設定されている(図4イ)。な
お、/RESET信号303は、図1では図示しなかっ
たが、ホストシステム101及びサブシステム102か
らそれぞれDMA制御回路103に/RESET信号が
入力されており、それらを基にして図3では図示してい
ないワイヤードORによって生成される。
At the time of resetting the / RESET signal 303 to the L level, the output signal of the AND circuit 304, that is, the / PR signal 312, which is the preset terminal signal of the D latch circuit 301 and the D latch circuit 302, becomes the L level and D In the initial state of the latch circuit 301 and the D latch circuit 302, each Q terminal output (H_READ in FIG. 3) is output.
The Y signal 111 and the S_READY signal 113 themselves. ) Is set to the H level (FIG. 4A). Although the / RESET signal 303 is not shown in FIG. 1, the / RESET signal is input to the DMA control circuit 103 from the host system 101 and the subsystem 102, respectively, and is shown in FIG. 3 based on them. Not generated by wired OR.

【0031】その後、ホストシステム101内のDMA
CがCPUから所定の命令を受けると、DMA転送要求
を受け付けたことを示す/H_DACK信号104がL
レベルとなる(図4ロ)。すなわち、図1ではDMA制
御回路103からホストシステム101にDMA転送要
求信号である/H_DREQ信号110が送られるとし
て説明したが、図3では、この/H_DREQ信号11
0が送られる代わりに、ホストシステム101内のDM
ACが、ソフトウェアDMAリクエスト機能を利用し
て、CPUから所定の命令を受けることにより、自動的
に/H_DACK信号104をLレベルにする。この点
については、サブシステム102においても同様であ
る。
Thereafter, the DMA in the host system 101
When C receives a predetermined command from the CPU, the / H_DACK signal 104 indicating that the DMA transfer request is accepted is L
Level (Fig. 4B). That is, the / H_DREQ signal 110 which is the DMA transfer request signal is sent from the DMA control circuit 103 to the host system 101 in FIG. 1, but in FIG. 3, the / H_DREQ signal 11 is sent.
DM in the host system 101 instead of sending 0
The AC automatically sets the / H_DACK signal 104 to the L level by receiving a predetermined command from the CPU using the software DMA request function. This also applies to the subsystem 102.

【0032】/H_DACK信号104がLレベルとな
ると、反転回路305により反転したH_DACK信号
306がHレベルとなる(図4ハ)。Dラッチ回路30
1は、CLK端子に入力されたH_DACK信号306
の立上りエッジ(図4ハ)(すなわち、/H_DACK
信号104の前端エッジである立下がりエッジ(図4
ロ))で、D端子の信号レベル(Lレベル固定)をラッ
チし、Q端子出力であるH_READY信号111をL
レベルにする(図4ニ)。
When the / H_DACK signal 104 becomes L level, the H_DACK signal 306 inverted by the inverting circuit 305 becomes H level (FIG. 4C). D latch circuit 30
1 is the H_DACK signal 306 input to the CLK terminal
Rising edge (Fig. 4C) (that is, / H_DACK
The falling edge, which is the leading edge of the signal 104 (see FIG.
B)), the signal level of the D terminal (fixed to L level) is latched, and the H_READY signal 111 output from the Q terminal is set to L.
Set to level (Fig. 4D).

【0033】また、データバスバッファ310は、G端
子に入力された/H_DACK信号104がLレベルの
ときバスゲートを開き、ホストシステム101のデータ
バス(H_DATAバス114)と結合する。なお、バ
ス方向は、DIR端子に入力される/H_IORD信号
105によって制御される。
Further, the data bus buffer 310 opens the bus gate when the / H_DACK signal 104 input to the G terminal is at L level, and is connected to the data bus (H_DATA bus 114) of the host system 101. The bus direction is controlled by the / H_IORD signal 105 input to the DIR terminal.

【0034】一方、サブシステム102内のDMACが
CPUから所定の命令を受けると、DMA転送要求を受
け付けたことを示す/S_DACK信号107がLレベ
ルとなり(図4ホ)、反転回路307により反転したS
_DACK信号308がHレベルとなる(図4ヘ)。D
ラッチ回路302は、CLK端子に入力されたS_DA
CK信号308の立上りエッジ(図4ヘ)(すなわち、
/S_DACK信号107の前端エッジである立下がり
エッジ(図4ホ))で、D端子の信号レベル(Lレベル
固定)をラッチし、Q端子出力であるS_READY信
号113をLレベルにする(図4ト)。
On the other hand, when the DMAC in the subsystem 102 receives a predetermined command from the CPU, the / S_DACK signal 107, which indicates that the DMA transfer request has been accepted, goes to L level (FIG. 4E) and is inverted by the inversion circuit 307. S
The _DACK signal 308 goes high (FIG. 4). D
The latch circuit 302 uses the S_DA input to the CLK terminal.
Rising edge of CK signal 308 (FIG. 4) (ie,
The signal level (fixed to L level) of the D terminal is latched at the falling edge (FIG. 4E) which is the front edge of the / S_DACK signal 107, and the S_READY signal 113 output from the Q terminal is set to L level (FIG. 4). G).

【0035】また、データバスバッファ311は、G端
子に入力された/S_DACK信号107がLレベルの
ときバスゲートを開き、サブシステム102のデータバ
ス(S_DATAバス115)と結合する。なお、バス
方向は、DIR端子に入力される/S_IORD信号1
08によって制御される。
Further, the data bus buffer 311 opens the bus gate when the / S_DACK signal 107 input to the G terminal is at L level, and is connected to the data bus (S_DATA bus 115) of the subsystem 102. The bus direction is / S_IORD signal 1 input to the DIR terminal.
Controlled by 08.

【0036】また、DMA転送するデータは、転送元の
システムが/DACK信号をLレベルにしたとき、転送
元のシステムよりDATAバスに出力され、その後、転
送元のシステムのREADY信号がLレベルとなって、
転送元のシステムのCPUが待機状態となることによ
り、出力されたデータはそのままDATAバス上に保持
される。一方、転送先のシステムでも、転送先のシステ
ムのREADY信号がLレベルとなることによりCPU
が待機状態となる。
Data to be DMA-transferred is output from the transfer source system to the DATA bus when the transfer source system sets the / DACK signal to the L level, and then the READY signal of the transfer source system is set to the L level. Become,
The output data is held on the DATA bus as it is because the CPU of the transfer source system is in the standby state. On the other hand, even in the transfer destination system, when the READY signal of the transfer destination system becomes L level, the CPU
Is in a standby state.

【0037】OR回路309は、ホストシステム101
のDMACとサブシステム102のDMACとが、両方
ともDMA転送可能状態になったことを検出する検出回
路であり、ホストシステム101のH_READY信号
111とサブシステム102のS_READY信号11
3とが、両方共非アクティブ状態(Lレベル)の時に、
OR回路309の出力信号はLレベルとなる。この結
果、AND回路304を介して、Dラッチ回路301及
びDラッチ回路302のプリセット端子信号である/P
R信号312がLレベルとなり(図4チ)、各々のQ端
子出力であるH_READY信号111及びS_REA
DY信号113をアクティブ状態(Hレベル)にする
(図4リ)。
The OR circuit 309 is used for the host system 101.
Of the host system 101 and the S_READY signal 11 of the subsystem 102 are detection circuits that detect that both the DMAC of the subsystem 102 and the DMAC of the subsystem 102 are in the DMA transfer enable state.
When 3 and 3 are both inactive (L level),
The output signal of the OR circuit 309 becomes L level. As a result, / P which is a preset terminal signal of the D latch circuit 301 and the D latch circuit 302 is passed through the AND circuit 304.
The R signal 312 becomes L level (FIG. 4C), and the H_READY signal 111 and S_REA which are the outputs of the respective Q terminals.
The DY signal 113 is set to the active state (H level) (FIG. 4).

【0038】H_READY信号111及びS_REA
DY信号113がそれぞれアクティブ状態(Hレベル)
になると(図4リ)、ホストシステム101およびサブ
システム102のCPUはそれぞれ待機状態を解かれ、
再び動作を開始する。この結果、転送先のシステムで
は、DATAバス上に保持されているデータを取り込む
ことになる。
H_READY signal 111 and S_REA
DY signal 113 is in active state (H level)
(FIG. 4), the CPUs of the host system 101 and the subsystem 102 are released from the standby state,
Start operation again. As a result, the system at the transfer destination takes in the data held on the DATA bus.

【0039】その後、サブシステム102からの/S_
DACK信号107が非アクティブ状態(Hレベル)と
なり(図4ヌ)、ホストシステム101からの/H_D
ACK信号104が非アクティブ状態(Hレベル)とな
った(図4ル)ときに、DMA転送の1サイクルが終了
する。
Then, / S_ from subsystem 102
The DACK signal 107 becomes inactive (H level) (FIG. 4), and / H_D from the host system 101.
When the ACK signal 104 becomes inactive (H level) (FIG. 4), one cycle of DMA transfer is completed.

【0040】なお、図3では、システム内のDMACが
ソフトウェアDMAリクエスト機能を利用して、CPU
から所定の命令を受けることにより、自動的に/DAC
K信号をLレベルにしているが、DMA制御回路103
内で/DREQ信号を生成して、システムに送るように
しても良い。また、/RESET信号303は、ホスト
システム101からの/RESET信号とサブシステム
102からの/RESET信号とを基にして、ワイヤー
ドORにより生成しているが、DMA制御回路103内
で生成しても良い。
In FIG. 3, the DMAC in the system uses the software DMA request function to
Automatically by receiving a predetermined command from / DAC
Although the K signal is at the L level, the DMA control circuit 103
The / DREQ signal may be generated in-house and sent to the system. Further, the / RESET signal 303 is generated by the wired OR based on the / RESET signal from the host system 101 and the / RESET signal from the subsystem 102, but even if generated in the DMA control circuit 103. good.

【0041】次に、図5は図1のDMA制御回路103
の他の具体的回路例を示すブロック図である。図5の回
路動作について、図6のタイミングチャートを用いて説
明する。
Next, FIG. 5 shows the DMA control circuit 103 of FIG.
It is a block diagram which shows the other specific example of a circuit. The circuit operation of FIG. 5 will be described with reference to the timing chart of FIG.

【0042】図5のDMA制御回路103でも、/DA
CK信号の前端エッジを検出する検出回路として、Dラ
ッチ回路を用いている。
Even in the DMA control circuit 103 of FIG. 5, / DA
A D latch circuit is used as a detection circuit for detecting the front edge of the CK signal.

【0043】/RESET信号303がLレベルとなる
リセット時に、AND回路502の出力信号、すなわち
Dラッチ回路501のプリセット端子信号である/PR
信号503がLレベルとなって、Dラッチ回路501の
初期状態では、Q端子出力504がHレベルに、/Q端
子出力(図5では、H_DREQ信号110そのもので
ある。)がLレベルに設定されている(図6イ)。な
お、/RESET信号303は、図1では図示しなかっ
たが、ホストシステム101及びサブシステム102か
らそれぞれDMA制御回路103に/RESET信号が
入力されており、それらを基にして図5では図示してい
ないワイヤードORによって生成される。
At the time of resetting the / RESET signal 303 to the L level, the output signal of the AND circuit 502, that is, / PR which is the preset terminal signal of the D latch circuit 501.
When the signal 503 becomes L level and the D latch circuit 501 is in the initial state, the Q terminal output 504 is set to H level and the / Q terminal output (in FIG. 5, the H_DREQ signal 110 itself) is set to L level. (Fig. 6A). Although the / RESET signal 303 is not shown in FIG. 1, the / RESET signal is input to the DMA control circuit 103 from the host system 101 and the subsystem 102, respectively, and is shown in FIG. 5 based on these signals. Not generated by wired OR.

【0044】その後、サブシステム102内のDMAC
がCPUから所定の命令を受けると、DMA転送要求を
受け付けたことを示す/S_DACK信号107がLレ
ベルとなる(図6ロ)。すなわち、図1ではDMA制御
回路103からサブシステム102にDMA転送要求信
号である/S_DREQ信号112が送られるとして説
明したが、図5では、この/S_DREQ信号112が
送られる代わりに、サブシステム102内のDMAC
が、ソフトウェアDMAリクエスト機能を利用して、C
PUから所定の命令を受けることにより、自動的に/S
_DACK信号107をLレベルにする。なお、図5で
は、常に、サブシステム102からの/S_DACK信
号107が、ホストシステム101からの/H_DAC
K信号104より先にLレベルとなる。
Thereafter, the DMAC in the subsystem 102 is
Receives a predetermined command from the CPU, the / S_DACK signal 107 indicating that the DMA transfer request has been accepted goes low (FIG. 6B). That is, in FIG. 1, it is described that the DMA control circuit 103 sends the DMA transfer request signal / S_DREQ signal 112 to the subsystem 102. However, in FIG. 5, instead of sending the / S_DREQ signal 112, the subsystem 102 is sent. DMAC in
Using the software DMA request function,
Automatically / S by receiving a predetermined command from PU
The _DACK signal 107 is set to L level. Note that in FIG. 5, the / S_DACK signal 107 from the subsystem 102 is always / H_DAC from the host system 101.
It goes to L level before the K signal 104.

【0045】/S_DACK信号107がLレベルとな
ると、反転回路506により反転したS_DACK信号
507がHレベルとなる(図6ハ)。Dラッチ回路50
1は、CLK端子に入力されたS_DACK信号507
の立上りエッジ(図6ハ)(すなわち、/S_DACK
信号107の前端エッジである立下がりエッジ(図6
ロ))で、D端子の信号レベル(Lレベル固定)をラッ
チし、Q端子出力504をLレベルに、/Q端子出力で
あるH_DREQ信号110をHレベルにする(図6
ニ)。Q端子出力504がLレベルになると、AND回
路505の出力であるS_READY信号113がLレ
ベルになる(図6ホ)。
When the / S_DACK signal 107 becomes L level, the S_DACK signal 507 inverted by the inverting circuit 506 becomes H level (FIG. 6C). D latch circuit 50
1 is the S_DACK signal 507 input to the CLK terminal
Rising edge (Fig. 6C) (that is, / S_DACK
The falling edge that is the leading edge of the signal 107 (see FIG.
(B)), the signal level of the D terminal (fixed to the L level) is latched, the Q terminal output 504 is set to the L level, and the H_DREQ signal 110 that is the / Q terminal output is set to the H level (FIG.
D). When the Q terminal output 504 becomes L level, the S_READY signal 113 which is the output of the AND circuit 505 becomes L level (FIG. 6E).

【0046】その後、/H_DACK信号104がLレ
ベルになる(図6ヘ)と、AND回路502を介して、
Dラッチ回路501のプリセット端子信号である/PR
信号503をLレベルとなり(図6ト)、Q端子出力5
04をHレベルに、/Q端子出力であるH_DREQ信
号110をLレベルに設定する(図6チ)。
After that, when the / H_DACK signal 104 becomes L level (see FIG. 6), the AND circuit 502 causes
/ PR which is a preset terminal signal of the D latch circuit 501
Signal 503 goes to L level (Fig. 6), Q terminal output 5
04 is set to the H level, and the H_DREQ signal 110, which is the / Q terminal output, is set to the L level (FIG. 6C).

【0047】その後、/H_DACK信号104がHレ
ベルになる(図6リ)と、S_READY信号113
が、DMA転送可能状態であるHレベルになる(図6
ヌ)。図5では、H_READY信号111は常にHレ
ベルであるので、ホストシステム101とサブシステム
102の両方がDMA転送可能状態を知るには、S_R
EADY信号113のみを検出するだけで良い(ホスト
システム101のDMA転送可能状態は、/H_DAC
K信号104により、S_READY信号113に反映
させている。)。
After that, when the / H_DACK signal 104 becomes H level (FIG. 6), the S_READY signal 113
Becomes the H level, which is the DMA transfer enable state (see FIG. 6).
Nu). In FIG. 5, since the H_READY signal 111 is always at the H level, S_R can be used by both the host system 101 and the subsystem 102 to know the DMA transfer enable state.
Only the EADY signal 113 needs to be detected (the DMA transfer enable state of the host system 101 is / H_DAC
The K signal 104 reflects the S_READY signal 113. ).

【0048】また、データバスバッファ310,311
は、各々のG端子に入力された/H_DACK信号10
4,/S_DACK信号107がLレベルのときバスゲ
ートを開き、システムのデータバス(H_DATAバス
114,S_DATAバス115)と結合する。なお、
バス方向は、各々のDIR端子に入力される/H_IO
RD信号105,/S_IORD信号108によって制
御される。
The data bus buffers 310 and 311 are also provided.
Is the / H_DACK signal 10 input to each G terminal.
4, when the / S_DACK signal 107 is at L level, the bus gate is opened and connected to the system data bus (H_DATA bus 114, S_DATA bus 115). In addition,
The bus direction is input to each DIR terminal / H_IO
It is controlled by the RD signal 105 and the / S_IORD signal 108.

【0049】そこで、ホストシステム101からサブシ
ステム102へDMA転送をする場合、転送先のサブシ
ステム102では、S_READY信号113が非アク
ティブ状態(Lレベル)となることによりCPUが待機
状態となり、その後、転送元のホストシステム101
は、/H_DACK信号107がLレベルの間に、DM
A転送するデータをH_DATAバス114に出力す
る。そして、S_READY信号113がアクティブ状
態(Hレベル)になると、サブシステム102のCPU
は待機状態を解かれ、再び動作を開始し、S_DATA
バス115上のデータを取り込むことになる。
Therefore, when performing DMA transfer from the host system 101 to the subsystem 102, in the transfer destination subsystem 102, the S_READY signal 113 is in the inactive state (L level), and the CPU is in the standby state. Transfer source host system 101
DM while the / H_DACK signal 107 is at the L level.
The data to be transferred A is output to the H_DATA bus 114. Then, when the S_READY signal 113 becomes active (H level), the CPU of the subsystem 102
Is released from the standby state, starts operation again, and S_DATA
The data on the bus 115 will be fetched.

【0050】逆に、サブシステム102からホストシス
テム101へDMA転送をする場合、サブシステム10
2は、/S_DACK信号107をLレベルにしたと
き、DMA転送するデータをS_DATAバス115に
出力し、その後、S_READY信号113がLレベル
となって、サブシステム102のCPUが待機状態とな
ることにより、出力されたデータはそのままDATAバ
ス上に保持される。その後、転送元のホストシステム1
01は、/H_DACK信号107がLレベルの間に、
H_DATAバス114上のデータを取り込むことにな
る。
On the contrary, when performing DMA transfer from the subsystem 102 to the host system 101, the subsystem 10
2 outputs the data to be DMA-transferred to the S_DATA bus 115 when the / S_DACK signal 107 is set to the L level, and then the S_READY signal 113 is set to the L level and the CPU of the subsystem 102 enters the standby state. The output data is retained on the DATA bus as it is. After that, the transfer source host system 1
01, while / H_DACK signal 107 is at L level,
The data on the H_DATA bus 114 will be fetched.

【0051】また、/H_DACK信号104がHレベ
ルになる(図6リ)と、H_DREQ信号110がHレ
ベルとなり、その後、サブシステム102からの/S_
DACK信号107が非アクティブ状態(Hレベル)と
なった(図6ル)ときに、DMA転送の1サイクルが終
了する。
When the / H_DACK signal 104 becomes H level (FIG. 6), the H_DREQ signal 110 becomes H level, and then / S_ from the subsystem 102.
When the DACK signal 107 becomes inactive (H level) (FIG. 6), one cycle of DMA transfer is completed.

【0052】なお、図5では、サブシステム102内の
DMACがソフトウェアDMAリクエスト機能を利用し
て、CPUから所定の命令を受けることにより、自動的
に/S_DACK信号107をLレベルにしているが、
DMA制御回路103内で/S_DREQ信号を生成し
て、サブシステム102に送るようにしても良い。ま
た、/RESET信号303は、ホストシステム101
からの/RESET信号とサブシステム102からの/
RESET信号とを基にして、ワイヤードORにより生
成しているが、DMA制御回路103内で生成しても良
い。
In FIG. 5, the / S_DACK signal 107 is automatically set to the L level when the DMAC in the subsystem 102 uses the software DMA request function to receive a predetermined command from the CPU.
The / S_DREQ signal may be generated in the DMA control circuit 103 and sent to the subsystem 102. Also, the / RESET signal 303 indicates that the host system 101
From the / RESET signal and from the subsystem 102
Although it is generated by the wired OR based on the RESET signal, it may be generated in the DMA control circuit 103.

【0053】以上説明した図3及び図5では、/IOW
R信号については、特に利用していないが、バスバッフ
ァの方向切り替え,/DACK信号と論理積を取りDM
A転送可能状態の検出信号などに利用してもよい。
In FIG. 3 and FIG. 5 explained above, / IOW
The R signal is not used in particular, but the direction of the bus buffer is switched, the logical product is obtained with the / DACK signal and DM
It may be used as a detection signal of the A transferable state.

【0054】また、以上説明した図3及び図5におい
て、DMA転送を設定するのに必要なDMA転送モード
(シングル,ディマンド,ブロック),データ量(バイ
ト数,ワード数),システムメモリのスタートアドレス
等については、RS232C等の汎用通信手段により、
システム相互間で、あらかじめ通信済みであることを前
提としている。
In FIGS. 3 and 5 described above, the DMA transfer mode (single, demand, block), the amount of data (the number of bytes and the number of words) necessary for setting the DMA transfer, the start address of the system memory For etc., by general-purpose communication means such as RS232C,
It is assumed that the systems have already communicated with each other.

【0055】図7は本発明の他の実施例を示すハードウ
ェアブロック図である。DMA制御回路803は、ホス
トシステム801とサブシステム802との間に介在し
ている。なお、いずれのシステムも、DMA転送を制御
する機能、すなわち、DMACを有している。
FIG. 7 is a hardware block diagram showing another embodiment of the present invention. The DMA control circuit 803 is interposed between the host system 801 and the subsystem 802. Both systems have a function of controlling DMA transfer, that is, a DMAC.

【0056】本実施例における各信号の機能について説
明する。/H_DREQ信号810はDMA転送の開始
要求信号であり、アクティブ状態(Lレベル)になると
ホストシステム801はDMA転送動作を開始する。
The function of each signal in this embodiment will be described. The / H_DREQ signal 810 is a DMA transfer start request signal, and when in the active state (L level), the host system 801 starts the DMA transfer operation.

【0057】/H_DACK信号811は/H_DRE
Q信号810の受付信号であり、/H_DREQ信号8
10がアクティブ状態になるとアクティブ状態になり、
1データの転送が終わるまでアクティブ状態を保つ。
/ H_DACK signal 811 is / H_DRE
It is a reception signal of the Q signal 810, and the / H_DREQ signal 8
When 10 becomes active, it becomes active,
It remains active until one data transfer is completed.

【0058】/H_IOW信号812は、ホストシステ
ム801がH_DATAバス814にデータを出力する
ときにアクティブ状態(Lレベル)になる信号で、ホス
トシステム801は遅くとも/H_IOW信号812の
立ち上がり時点までにH_DATAバス814上のデー
タを有効にする。
The / H_IOW signal 812 is a signal which becomes an active state (L level) when the host system 801 outputs data to the H_DATA bus 814. Validate the data on 814.

【0059】/H_IOR信号813は、ホストシステ
ム801がH_DATAバス814のデータを入力する
ときにアクティブ状態(Lレベル)になる信号で、ホス
トシステム801は/H_IOR信号813の立ち上が
りでH_DATAバス814上のデータを取り込む。
The / H_IOR signal 813 is a signal which becomes an active state (L level) when the host system 801 inputs the data of the H_DATA bus 814. Capture data.

【0060】DIR信号815はデータ転送方向を表す
信号で、Hレベルのときホストシステム801からサブ
システム802への転送を表し、Lレベルのときサブシ
ステム802からホストシステム801への転送を表
す。
The DIR signal 815 is a signal indicating the data transfer direction. When the DIR signal 815 is at the H level, it indicates transfer from the host system 801 to the subsystem 802, and when it is at the L level, it indicates transfer from the subsystem 802 to the host system 801.

【0061】START信号816はDMA制御回路8
03の動作開始要求信号(負パルス)であり、DMA制
御回路803はSTART信号816の立ち上がりでD
MA転送制御を開始する。
The START signal 816 is the DMA control circuit 8
03 operation start request signal (negative pulse), and the DMA control circuit 803 outputs D at the rising edge of the START signal 816.
Start MA transfer control.

【0062】/RESET信号817はホストシステム
801がDMA制御回路803をリセットするための信
号で、アクティブ状態(Lレベル)になるとDMA制御
回路803はリセットされる。
The / RESET signal 817 is a signal for the host system 801 to reset the DMA control circuit 803. When the active state (L level) is entered, the DMA control circuit 803 is reset.

【0063】/S_DREQ信号818はDMA転送の
開始要求信号であり、アクティブ状態(Lレベル)にな
るとサブシステム802はDMA転送動作を開始する。
The / S_DREQ signal 818 is a DMA transfer start request signal, and when in the active state (L level), the subsystem 802 starts the DMA transfer operation.

【0064】/S_DACK信号819は/S_DRE
Q信号818の受付信号であり、/S_DREQ信号8
18がアクティブ状態(Lレベル)になるとアクティブ
状態になり、1データの転送が終わるまでアクティブ状
態を保つ。
/ S_DACK signal 819 is / S_DRE
It is a reception signal of the Q signal 818, and the / S_DREQ signal 8
When 18 is in the active state (L level), the active state is maintained until the transfer of one data is completed.

【0065】/S_IOW信号820は、サブシステム
802がS_DATAバス822にデータを出力すると
きにアクティブ状態(Lレベル)になる信号で、サブシ
ステム802は遅くとも/S_IOW信号820の立ち
上がり時点までにS_DATAバス822上のデータを
有効にする。
The / S_IOW signal 820 is a signal which becomes an active state (L level) when the subsystem 802 outputs data to the S_DATA bus 822. The subsystem 802 is at least delayed by the rising edge of the / S_IOW signal 820. Validate the data on 822.

【0066】/S_IOR信号821は、サブシステム
802がS_DATAバス822のデータを入力すると
きにアクティブ状態(Lレベル)にする信号で、サブシ
ステム802は/S_IOR信号821の立ち上がりで
S_DATAバス822上のデータを取り込む。
The / S_IOR signal 821 is a signal that is brought into an active state (L level) when the subsystem 802 inputs the data of the S_DATA bus 822, and the subsystem 802 is on the S_DATA bus 822 at the rising edge of the / S_IOR signal 821. Capture data.

【0067】図8は図7のDMA制御回路803の具体
的回路例を示すブロック図である。データセレクタ93
0,931,932,933及び934は、S端子入力
がHレベルのときA端子と同じレベルをY端子に出力
し、S端子入力がLレベルのときB端子と同じレベルを
Y端子に出力する。
FIG. 8 is a block diagram showing a concrete circuit example of the DMA control circuit 803 of FIG. Data selector 93
0, 931, 932, 933 and 934 output the same level as the A terminal to the Y terminal when the S terminal input is at the H level, and the same level as the B terminal when the S terminal input is at the L level to the Y terminal. ..

【0068】ホストシステム801は転送方向に従って
DIR信号815を切り換えて、データセレクタ93
0,931,932,933及び934の各々のS端子
入力のレベルを制御することで、DMA制御回路803
のデータ転送方向を切り換える。
The host system 801 switches the DIR signal 815 according to the transfer direction, and the data selector 93
The DMA control circuit 803 controls the level of the S terminal input of each of 0, 931, 932, 933, and 934.
Switch the data transfer direction of.

【0069】まず、転送方向がホストシステム801か
らサブシステム802への場合について説明する。
First, the case where the transfer direction is from the host system 801 to the subsystem 802 will be described.

【0070】ホストシステム801は、DMA転送開始
に先立ちDIR信号815をHレベルにする。従って、
このとき、 (1)データセレクタ930,931,932,933及
び934のA端子はY端子へ接続されたのと等価にな
る。 (2)3入力負論理AND回路920のc端子入力は反転
回路910によりLレベル固定となる。 (3)3入力負論理AND回路921のc端子入力がHレ
ベル固定なので3ステートDラッチ回路909のG端子
入力はHレベルとなり、D端子出力は常にハイインピー
ダンス状態なので3ステートDラッチ回路909は、省
略することができる。
The host system 801 sets the DIR signal 815 to H level before starting the DMA transfer. Therefore,
At this time, (1) the A terminals of the data selectors 930, 931, 932, 933 and 934 are equivalent to being connected to the Y terminals. (2) The 3-terminal negative logic AND circuit 920 has the c terminal input fixed to the L level by the inverting circuit 910. (3) Since the c terminal input of the 3-input negative logic AND circuit 921 is fixed at the H level, the G terminal input of the 3-state D latch circuit 909 is at the H level, and the D terminal output is always in the high impedance state. , Can be omitted.

【0071】以上のことより、図8の回路は図9に示す
回路と等価になる。なお、図9において図8と同一の機
能を表す手段には同一の記号を付した。
From the above, the circuit of FIG. 8 is equivalent to the circuit shown in FIG. Note that, in FIG. 9, the same symbols are given to the means representing the same functions as in FIG.

【0072】次に、図10のタイミングチャートを用い
て図9の回路の動作について説明する。/RESET信
号817がLレベルのとき、負論理OR回路902と9
06の出力は共にLレベルになり、Dラッチ回路903
と904はリセットされ、/H_DREQ信号810と
/S_DREQ信号818は非アクティブ状態(Hレベ
ル)になる(図10イ)。
Next, the operation of the circuit of FIG. 9 will be described with reference to the timing chart of FIG. When the / RESET signal 817 is at the L level, the negative logic OR circuits 902 and 9
Both the outputs of 06 become the L level, and the D latch circuit 903
And 904 are reset, and the / H_DREQ signal 810 and the / S_DREQ signal 818 become inactive (H level) (FIG. 10A).

【0073】DMA転送制御はホストシステム801が
発生するSTART信号816の負パルスの立ち上がり
から開始される。START信号816の負パルスは、
負論理OR回路901を通じてDラッチ回路903のC
LK端子に供給される。Dラッチ回路903はCLK端
子入力の立ち上がりでD端子入力(Hレベル固定)をラ
ッチし、その反転出力を/Q端子から出力する。従っ
て、/H_DREQ信号810はアクティブ状態(Lレ
ベル)となる(図10ロ)。
The DMA transfer control is started from the rising edge of the negative pulse of the START signal 816 generated by the host system 801. The negative pulse of the START signal 816 is
C of the D latch circuit 903 through the negative logic OR circuit 901
It is supplied to the LK terminal. The D latch circuit 903 latches the D terminal input (fixed to H level) at the rising edge of the CLK terminal input, and outputs its inverted output from the / Q terminal. Therefore, the / H_DREQ signal 810 becomes active (L level) (FIG. 10B).

【0074】ホストシステム801は/H_DREQ信
号810がアクティブ状態になると、DMA転送要求を
受けたことを示す/H_DACK信号811をアクティ
ブ状態(Lレベル)にする。
When the / H_DREQ signal 810 becomes active, the host system 801 brings the / H_DACK signal 811 indicating that the DMA transfer request has been received into the active state (L level).

【0075】/H_DACK信号811がLレベルにな
ると、負論理OR回路902を通じてDラッチ回路90
3のCLK端子入力がLレベルになる。すると、/H_
DREQ信号810は非アクティブ状態(Hレベル)と
なる(図10ハ)。
When the / H_DACK signal 811 becomes L level, the D latch circuit 90 is passed through the negative logic OR circuit 902.
The CLK terminal input of 3 becomes L level. Then, / H_
The DREQ signal 810 becomes inactive (H level) (FIG. 10C).

【0076】ホストシステム801は/H_IOW信号
812をLレベルにした後、DMA転送するデータをH
_DATAバス814に出力する。即ち、H_DATA
バス814のレベルが確定する(図10ニ)。3ステー
トDラッチ回路908は/H_IOW信号812の立ち
上がりで、H_DATAバス814上のデータをラッチ
する(図10ホ)。
The host system 801 sets the / H_IOW signal 812 to the L level and then sets the data to be DMA transferred to the H level.
Output to the _DATA bus 814. That is, H_DATA
The level of the bus 814 is determined (FIG. 10D). The 3-state D latch circuit 908 latches the data on the H_DATA bus 814 at the rising edge of the / H_IOW signal 812 (FIG. 10E).

【0077】Dラッチ回路904は/H_IOW信号8
12の立ち上がりでD端子入力(Hレベル固定)をラッ
チして、その反転出力を/Q端子から出力する。従っ
て、/S_DREQ信号818はアクティブ状態(Lレ
ベル)となる(図10ヘ)。
The D latch circuit 904 outputs the / H_IOW signal 8
At the rising edge of 12, the D terminal input (H level fixed) is latched and its inverted output is output from the / Q terminal. Therefore, the / S_DREQ signal 818 is in the active state (L level) (FIG. 10).

【0078】サブシステム802は/S_DREQ信号
818がアクティブ状態になると、DMA転送要求を受
けたことを示す/S_DACK信号819をアクティブ
状態(Lレベル)にした後、/S_IOR信号821を
Lレベルにする。/S_DACK信号819がLレベル
になると、負論理OR回路906を通して、Dラッチ回
路904のCLR端子入力がLレベルになるので、/S
_DREQ信号818は非アクティブ状態(Hレベル)
になる。3入力負論理AND回路920は/S_DAC
K信号819と/S_IOR信号821共にLレベルな
ので、Lレベルを出力する。
When the / S_DREQ signal 818 goes into the active state, the subsystem 802 brings the / S_DACK signal 819, which indicates that the DMA transfer request has been received, into the active state (L level), and then sets the / S_IOR signal 821 to L level. .. When the / S_DACK signal 819 becomes L level, the CLR terminal input of the D latch circuit 904 becomes L level through the negative logic OR circuit 906.
_DREQ signal 818 is inactive (H level)
become. The 3-input negative logic AND circuit 920 is / S_DAC
Since both the K signal 819 and the / S_IOR signal 821 are L level, the L level is output.

【0079】3ステートDラッチ回路908は、G端子
入力(ゲート信号)がHレベルの間はQ端子出力をハイ
インピーダンス状態に保っているが、G端子入力がLレ
ベルになるので、ラッチしてあるデータをQ端子からS
_DATAバス822に出力する(図10チ)。
The 3-state D latch circuit 908 keeps the Q terminal output in a high impedance state while the G terminal input (gate signal) is at the H level, but since the G terminal input becomes at the L level, it is latched. Sending certain data from the Q terminal
Output to the _DATA bus 822 (FIG. 10C).

【0080】サブシステム802は/S_IOR信号8
21を立ち上げてS_DATAバス822上のデータを
受け取った後、/S_DACK信号819をHレベルに
する。3ステートラッチ回路908はG端子入力がHレ
ベルになるので、Q端子出力をハイインピーダンス状態
に戻す(図10リ)。
Subsystem 802 uses the / S_IOR signal 8
21 is started and the data on the S_DATA bus 822 is received, and then the / S_DACK signal 819 is set to the H level. Since the G terminal input of the 3-state latch circuit 908 becomes H level, the Q terminal output is returned to the high impedance state (FIG. 10).

【0081】Dラッチ回路903は/S_DACK信号
819がHレベルになると、負論理OR回路901を通
じてCLK端子入力がHレベルになるので、/H_DR
EQ信号810をアクティブ状態(Lレベル)にする
(図10ヌ)。
When the / S_DACK signal 819 becomes H level, the D latch circuit 903 makes the CLK terminal input becomes H level through the negative logic OR circuit 901.
The EQ signal 810 is set to the active state (L level) (FIG. 10N).

【0082】DMA転送制御の開始時にはSTART信
号816の立ち下がりで/H_DREQ信号810をア
クティブ状態にしたが、以降のデータ転送には、STA
RT信号816は必要ない。サブシステム802の/S
_DACK信号819が立ち上がると、/H_DREQ
信号810はアクティブ状態になり、以上説明してきた
動作(図10ハからヌ)を繰り返すことで、次々にDM
A転送を行う。
At the start of the DMA transfer control, the / H_DREQ signal 810 was activated at the falling edge of the START signal 816.
RT signal 816 is not required. Subsystem 802 / S
When the _DACK signal 819 rises, / H_DREQ
The signal 810 becomes the active state, and by repeating the operation described above (from FIG.
A transfer is performed.

【0083】なお、転送データ量は予め、ホストシステ
ム801とサブシステム802とで記載してない他の通
信手段により決められており、ホストシステム801
は、DMAC内部の転送データ量検出手段等により、全
データの転送終了を検出する。
The amount of transfer data is determined in advance by other communication means not described in the host system 801 and the subsystem 802, and the host system 801
Detects the end of transfer of all data by means of transfer data amount detecting means inside the DMAC.

【0084】図9の回路では、最後のデータ転送後で
も、/H_DREQ信号810がアクティブになってし
まうが(図10ル)、ホストシステム801内のDMA
Cの転送データ設定機能を使って、予め転送データ量を
設定しておくことで、/H_DREQ信号810がアク
ティブ状態になっても、ホストシステム801内のDM
ACは/H_DREQ信号810を受け付けないので、
余分なデータの転送を行うことはない。
In the circuit of FIG. 9, the / H_DREQ signal 810 becomes active even after the last data transfer (FIG. 10), but the DMA in the host system 801 is
By setting the transfer data amount in advance by using the transfer data setting function of C, even if the / H_DREQ signal 810 becomes active, DM in the host system 801
Since AC does not accept the / H_DREQ signal 810,
No extra data is transferred.

【0085】また、ホストシステム801は全データの
転送終了後に/RESET信号817をアクティブ状態
(Lレベル)にすることで、/H_DREQ信号810
を非アクティブ状態にすることができる(図10ヲ)。
Further, the host system 801 sets the / RESET signal 817 to the active state (L level) after the completion of the transfer of all data, so that the / H_DREQ signal 810
Can be deactivated (FIG. 10).

【0086】次に、転送方向がサブシステム802から
ホストシステム801への場合に付いて説明する。ホス
トシステム801は、DMA転送開始に先立ちDIR信
号815をLレベルにする。従って、このとき、 (1)データセレクタ930,931,932,933及
び934のB端子はY端子へ接続されたのと等価にな
る。 (2)3入力負論理AND回路921のc端子入力はLレ
ベル固定とみなせる。 (3)3入力負論理AND回路920のc端子入力がHレ
ベルなので3ステートDラッチ回路908のG端子入力
はHレベルとなり、D端子出力は常にハイインピーダン
ス状態なので3ステートDラッチ回路908は、省略す
ることができる。
Next, a case where the transfer direction is from the subsystem 802 to the host system 801 will be described. The host system 801 sets the DIR signal 815 to the L level before starting the DMA transfer. Therefore, at this time, (1) the B terminals of the data selectors 930, 931, 932, 933 and 934 are equivalent to being connected to the Y terminal. (2) The 3-terminal negative logic AND circuit 921 can be regarded as having a fixed L-level input to the c terminal. (3) Since the c terminal input of the 3-input negative logic AND circuit 920 is at the H level, the G terminal input of the 3-state D latch circuit 908 is at the H level, and the D terminal output is always in the high impedance state. It can be omitted.

【0087】以上のことにより、図8の回路は図11に
示す回路と等価になる。なお、図11において図8と同
一の機能を表す手段には同一の記号を付した。
From the above, the circuit of FIG. 8 becomes equivalent to the circuit shown in FIG. Note that, in FIG. 11, the same symbols are given to the means representing the same functions as in FIG.

【0088】図11と図9を較べると、/S_DACK
信号819と/H_DACK信号811、/S_DRE
Q信号818と/H_DREQ信号810、/S_IO
W信号820と/H_IOW信号812、/S_IOR
信号821と/H_IOR信号813、S_DATAバ
ス822とH_DATAバス814というように、サブ
システム802とホストシステム801の信号名称が入
れ替わっている以外、両者は同じ回路である。従って、
この場合は、前述した場合と逆に、サブシステム802
からホストシステム801へのデータ転送を行なうこと
ができる。転送手順は、図9の場合と同様なので省略す
る。
Comparing FIG. 11 and FIG. 9, / S_DACK
Signal 819 and / H_DACK signal 811, / S_DRE
Q signal 818 and / H_DREQ signal 810, / S_IO
W signal 820 and / H_IOW signal 812, / S_IOR
Signal 821 and / H_IOR signal 813, S_DATA bus 822 and H_DATA bus 814 are the same circuit except that the signal names of subsystem 802 and host system 801 are interchanged. Therefore,
In this case, contrary to the case described above, the subsystem 802
Data can be transferred from the host to the host system 801. The transfer procedure is the same as in the case of FIG.

【0089】ところで、前述した従来におけるシステム
と外部周辺装置との間のDMA転送においては、転送先
の外部周辺装置におけるDMA転送処理が終わるまでR
EADY信号により待たされるので、転送元のシステム
におけるCPUはアドレスバスとデータバスを使うこと
ができず、そのため、処理が中断してしまう場合があっ
た。
By the way, in the above-described conventional DMA transfer between the system and the external peripheral device, R is used until the DMA transfer process in the transfer destination external peripheral device is completed.
Since the CPU waits due to the EADY signal, the CPU in the transfer source system cannot use the address bus and the data bus, which may interrupt the processing.

【0090】しかし、本実施例におけるDMA転送にお
いては、DMA制御装置803が、転送元のシステムか
らのデータをラッチするので、たとえ、転送先のシステ
ムにおけるDMA処理が終わっていなくても、転送元の
システムをREADY信号等により待たせる必要はな
い。従って、転送先のシステムがデータを受け取り、D
MA転送の開始要求信号(/H_DREQ信号または/
S_DREQ信号)がアクティブ状態になるまで、転送
元のシステムにおけるCPUはアドレスバスとデータバ
スを使うことができる。よって、本実施例におけるDM
A転送では、転送先のシステムの転送処理時間が遅い場
合の待ち時間にも、転送元のシステムにおけるCPUは
他の処理を行うことができるので、効率的なCPUの運
用が行える。
However, in the DMA transfer in this embodiment, the DMA controller 803 latches the data from the transfer source system, so that even if the DMA processing in the transfer destination system is not completed, It is not necessary to make the system of (1) wait by READY signal or the like. Therefore, the destination system receives the data and
MA transfer start request signal (/ H_DREQ signal or /
The CPU in the transfer source system can use the address bus and the data bus until the S_DREQ signal) becomes active. Therefore, DM in this embodiment
In the A transfer, the CPU in the transfer source system can perform other processing even during the waiting time when the transfer processing time of the transfer destination system is slow, so that efficient CPU operation can be performed.

【0091】本実施例においては、START信号81
6と/RESET信号817は共にホストシステム80
1から発生しているが、サブシステム802や他システ
ムが発生しても、データ転送の動作には影響しないの
で、正常にDMA転送が行える。また、論理回路によ
り、ホストシステム801とサブシステム802と他シ
ステムのうちのどれからでも、START信号816や
/RESET信号817を発生できるようにしても良
い。
In this embodiment, the START signal 81
6 and / RESET signal 817 are both host system 80
However, even if the subsystem 802 or another system occurs, it does not affect the data transfer operation, so that the DMA transfer can be performed normally. Further, the logic circuit may be capable of generating the START signal 816 and / RESET signal 817 from any of the host system 801, the subsystem 802, and other systems.

【0092】また、図8において、H_DATAバス8
14とS_DATAバス822は説明を簡略化するため
に各々1ビットで記述したが、2ビット以上(通常の8
ビット,16ビット,32ビットバス等)になっても同
様の手順でDMA転送が行われることは明かである。
Further, in FIG. 8, the H_DATA bus 8
14 and S_DATA bus 822 are described as 1 bit each for simplification of description, but 2 bits or more (normal 8
It is clear that the DMA transfer is carried out in the same procedure even if it becomes a bit, 16-bit, 32-bit bus, etc.).

【0093】[0093]

【発明の効果】本発明によれば、簡単な構成にて、シス
テムとシステムとの間でDMA転送を行わせることがで
きる。また、各システムにおいては、相手方のシステム
を単なる外部周辺装置とみなしてDMA転送制御できる
ので、転送ソフトウェアが容易である。
According to the present invention, DMA transfer can be performed between systems with a simple configuration. Further, in each system, since the other party's system can be regarded as a mere external peripheral device and DMA transfer control can be performed, transfer software is easy.

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

【図1】本発明の一実施例を示すハードウェアブロック
図である。
FIG. 1 is a hardware block diagram showing an embodiment of the present invention.

【図2】従来のシステムと外部周辺装置との間のDMA
転送を説明するためのブロック図である。
FIG. 2 is a DMA between a conventional system and an external peripheral device.
It is a block diagram for explaining transfer.

【図3】図1のDMA制御回路103の具体的回路例を
示すブロック図である。
3 is a block diagram showing a specific circuit example of a DMA control circuit 103 in FIG.

【図4】図3における要部信号のタイミングを示すタイ
ミングチャートである。
FIG. 4 is a timing chart showing the timing of main signals in FIG.

【図5】図1のDMA制御回路103の他の具体的回路
例を示すブロック図である。
5 is a block diagram showing another specific circuit example of the DMA control circuit 103 of FIG.

【図6】図5における要部信号のタイミングを示すタイ
ミングチャートである。
FIG. 6 is a timing chart showing the timing of main signals in FIG.

【図7】本発明の他の実施例を示すハードウェアブロッ
ク図である。
FIG. 7 is a hardware block diagram showing another embodiment of the present invention.

【図8】図7のDMA制御回路803の具体的回路例を
示すブロック図である。
8 is a block diagram showing a specific circuit example of a DMA control circuit 803 in FIG.

【図9】転送方向がホストシステムからサブシステムへ
の場合についての図8の等価回路を示すブロック図であ
る。
9 is a block diagram showing the equivalent circuit of FIG. 8 in the case where the transfer direction is from the host system to the subsystem.

【図10】図9における要部信号のタイミングを示すタ
イミングチャートである。
FIG. 10 is a timing chart showing the timing of main signals in FIG.

【図11】転送方向がサブシステムからホストシステム
への場合についての図8の等価回路を示すブロック図で
ある。
11 is a block diagram showing the equivalent circuit of FIG. 8 in the case where the transfer direction is from the subsystem to the host system.

【符号の説明】[Explanation of symbols]

101…ホストシステム、102…サブシステム、10
3…DMA制御回路、201…CPU、202…DMA
C、206…システムメモリ、207…周辺装置、30
1,302,501…Dラッチ回路、304,502,
505…AND回路、309…OR回路、305,30
7,506…反転回路、310,311…データバスバ
ッファ、801…ホストシステム、802…サブシステ
ム、803…DMA制御回路、901,902,906
…負論理OR回路、903,904…Dラッチ回路、9
08,909…3ステートDラッチ回路、910…反転
回路、920,921…3入力負論理AND回路、93
0,931,932,933,934…データセレク
タ。
101 ... Host system, 102 ... Subsystem, 10
3 ... DMA control circuit, 201 ... CPU, 202 ... DMA
C, 206 ... System memory, 207 ... Peripheral device, 30
1, 302, 501 ... D latch circuit, 304, 502,
505 ... AND circuit, 309 ... OR circuit, 305, 30
7, 506 ... Inversion circuit, 310, 311 ... Data bus buffer, 801, ... Host system, 802 ... Subsystem, 803 ... DMA control circuit, 901, 902, 906
... Negative logic OR circuit, 903,904 ... D latch circuit, 9
08,909 ... 3-state D latch circuit, 910 ... Inversion circuit, 920, 921 ... 3-input negative logic AND circuit, 93
0,931,932,933,934 ... Data selector.

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 ダイレクト・メモリー・アクセス(以
下、DMAという)転送を制御する機能をそれぞれ有す
る第1のシステムと第2のシステムとの間に配され、該
第1のシステムとの間及び第2のシステムとの間でそれ
ぞれやり取りされるDMA転送用信号のタイミングを制
御して、該第1のシステムと第2のシステムとの間でD
MA転送を行わせるようにしたことを特徴とするDMA
制御回路。
1. A first system and a second system, each of which has a function of controlling a direct memory access (hereinafter, referred to as DMA) transfer, are arranged between the first system and the second system, and between the first system and the second system. The timing of the DMA transfer signal exchanged with each of the two systems is controlled so that D is transmitted between the first system and the second system.
DMA characterized in that MA transfer is performed
Control circuit.
【請求項2】 請求項1に記載のDMA制御回路におい
て、前記DMA転送用信号のうち、前記第1及び第2の
システムから入力される、DMA転送要求を受け付けた
ことを示すDMA受付信号の前端エッジを検出する第1
の検出手段と、前記DMA転送用信号のうち、所定の信
号から、前記第1及び第2のシステムのいずれもがDM
A転送可能状態になったことを検出する第2の検出手段
と、を具備することを特徴とするDMA制御回路。
2. The DMA control circuit according to claim 1, wherein, of the DMA transfer signals, a DMA reception signal input from the first and second systems and indicating that a DMA transfer request has been received. First to detect the leading edge
Of the DMA transfer signal and a predetermined signal from the DMA transfer signal, both the first and second systems are DM
A DMA control circuit, comprising: a second detection unit that detects that the A transfer enabled state is set.
【請求項3】 請求項2に記載のDMA制御回路におい
て、前記第1の検出手段は、Dラッチ回路から成ること
を特徴とするDMA制御回路。
3. The DMA control circuit according to claim 2, wherein the first detecting means is a D latch circuit.
【請求項4】 請求項2または3に記載のDMA制御回
路において、前記第2の検出手段は、オア回路から成
り、前記所定の信号として、前記第1及び/または第2
のシステムに出力されるレディ信号を入力することを特
徴とするDMA制御回路。
4. The DMA control circuit according to claim 2 or 3, wherein the second detection means is an OR circuit, and the predetermined signal is the first and / or second signal.
A DMA control circuit for inputting a ready signal output to the above system.
【請求項5】 請求項2,3または4に記載のDMA制
御回路において、前記DMA転送用信号のうち、前記第
1及び/または第2のシステムへ出力されるレディ信号
を用いて、前記第1のシステムと第2のシステムとの間
の同期をとるようにしたことを特徴とするDMA制御回
路。
5. The DMA control circuit according to claim 2, 3 or 4, wherein the ready signal output to the first and / or the second system is used among the signals for DMA transfer. A DMA control circuit characterized in that the first system and the second system are synchronized with each other.
【請求項6】 請求項1に記載のDMA制御回路におい
て、前記DMA転送用信号のうち、前記第1のシステム
に出力される、DMA転送を要求するためのDMA要求
信号(以下、/H_DREQ信号という)をアクティブ
状態にする第1のDMA要求手段と、前記第1のシステ
ムから入力されるデータを記憶し、記憶した該データを
前記第2のシステムに出力する第1の記憶手段と、前記
第2のシステムに出力される、DMA転送を要求するた
めのDMA要求信号(以下、/S_DREQ信号とい
う)をアクティブ状態にする第2のDMA要求手段と、
を具備することを特徴とするDMA制御回路。
6. The DMA control circuit according to claim 1, wherein among the signals for DMA transfer, a DMA request signal (hereinafter, / H_DREQ signal) output to the first system for requesting DMA transfer. A first DMA requesting means for activating the above), first storing means for storing the data inputted from the first system, and outputting the stored data to the second system, Second DMA request means for activating a DMA request signal (hereinafter referred to as / S_DREQ signal) for requesting DMA transfer, which is output to the second system;
A DMA control circuit comprising:
【請求項7】 請求項6に記載のDMA制御回路におい
て、前記第2のシステムから入力されるデータを記憶
し、記憶した該データを前記第1のシステムに出力する
第2の記憶手段を設けたことを特徴とするDMA制御回
路。
7. The DMA control circuit according to claim 6, further comprising second storage means for storing data input from the second system and outputting the stored data to the first system. A DMA control circuit characterized by the above.
【請求項8】 請求項6または7に記載のDMA制御回
路において、前記第1のDMA要求手段は、前記DMA
転送用信号のうち、前記第1または第2のシステムから
入力されるDMA開始信号(以下、START信号とい
う)または前記第2のシステムから入力されるDMA受
付信号(以下、/S_DACK信号という)に応じて、
前記/H_DREQ信号をアクティブ状態にし、前記第
2のDMA要求手段は、前記第1のシステムから入力さ
れるDMA受付信号(以下、/H_DACK信号とい
う)に応じて、前記/S_DREQ信号をアクティブ状
態にすることを特徴とするDMA制御回路。
8. The DMA control circuit according to claim 6, wherein the first DMA request means is the DMA.
Of the transfer signals, the DMA start signal (hereinafter referred to as START signal) input from the first or second system or the DMA acceptance signal (hereinafter referred to as / S_DACK signal) input from the second system Depending on,
The / H_DREQ signal is activated, and the second DMA request means activates the / S_DREQ signal in response to a DMA acceptance signal (hereinafter referred to as / H_DACK signal) input from the first system. A DMA control circuit comprising:
【請求項9】 請求項8に記載のDMA制御回路におい
て、前記第2のシステムから第1のシステムへDMA転
送を行わせる場合、前記第1のDMA要求手段は、前記
DMA転送用信号のうち、前記START信号またはH
_DACK信号に応じて、前記/S_DREQ信号をア
クティブ状態にし、前記第2のDMA要求手段は、前記
/S_DACK信号に応じて、前記/H_DREQ信号
をアクティブ状態にすることを特徴とするDMA制御回
路。
9. The DMA control circuit according to claim 8, wherein when the DMA transfer is performed from the second system to the first system, the first DMA requesting means selects one of the DMA transfer signals. , The START signal or H
A DMA control circuit characterized in that the / S_DREQ signal is activated in response to the _DACK signal, and the second DMA requesting means activates the / H_DREQ signal in response to the / S_DACK signal.
【請求項10】 請求項6または7に記載のDMA制御
回路において、前記第1のDMA要求手段は、前記DM
A転送用信号のうち、前記第1または第2のシステムか
ら入力されるリセット信号(以下、/RESET信号と
いう)に応じて、前記/H_DREQ信号を非アクティ
ブ状態にし、前記第2のDMA要求手段は、前記/RE
SET信号に応じて、前記/S_DREQ信号を非アク
ティブ状態にすることを特徴とするDMA制御回路。
10. The DMA control circuit according to claim 6, wherein the first DMA request unit is the DM.
Of the A transfer signals, the / H_DREQ signal is made inactive in response to a reset signal (hereinafter referred to as / RESET signal) input from the first or second system, and the second DMA requesting means is provided. Is the / RE
A DMA control circuit characterized in that the / S_DREQ signal is made inactive in response to a SET signal.
【請求項11】 請求項6または7に記載のDMA制御
回路において、前記第1の記憶手段は、前記DMA転送
用信号のうち、前記第1のシステムから入力される書き
込み信号に応じて、前記第1のシステムから入力される
前記データを記憶し、前記第2のシステムから入力され
る読み出し信号に応じて、記憶した前記データを前記第
2のシステムに出力することを特徴とするDMA制御回
路。
11. The DMA control circuit according to claim 6, wherein the first storage unit is responsive to a write signal input from the first system among the DMA transfer signals. A DMA control circuit which stores the data input from the first system and outputs the stored data to the second system in response to a read signal input from the second system. ..
【請求項12】 請求項7に記載のDMA制御回路にお
いて、前記第2の記憶手段は、前記DMA転送用信号の
うち、前記第2のシステムから入力される書き込み信号
に応じて、前記第2のシステムから入力される前記デー
タを記憶し、前記第1のシステムから入力される読み出
し信号に応じて、記憶した前記データを前記第1のシス
テムに出力することを特徴とするDMA制御回路。
12. The DMA control circuit according to claim 7, wherein the second storage unit is configured to perform the second storage in response to a write signal input from the second system among the DMA transfer signals. The DMA control circuit, which stores the data input from the system, and outputs the stored data to the first system according to a read signal input from the first system.
【請求項13】 請求項7に記載のDMA制御回路にお
いて、前記第1のシステムから第2のシステムへDMA
転送を行わせる場合には、前記第2の記憶手段はその出
力をハイインピーダンス状態に保ち、前記第2のシステ
ムから第1のシステムへDMA転送を行わせる場合に
は、前記第1の記憶手段はその出力をハイインピーダン
ス状態に保つことを特徴とするDMA制御回路。
13. The DMA control circuit according to claim 7, wherein the DMA is transferred from the first system to the second system.
The second storage means keeps its output in a high-impedance state when the transfer is performed, and the first storage means when the DMA transfer is performed from the second system to the first system. Is a DMA control circuit which maintains its output in a high impedance state.
【請求項14】 請求項6または7に記載のDMA制御
回路において、前記第1及び/または第2のシステム
が、前記START信号を発生するSTART信号発生
手段を有することを特徴とするDMA制御回路。
14. The DMA control circuit according to claim 6 or 7, wherein the first and / or second system has a START signal generating means for generating the START signal. ..
【請求項15】 請求項7に記載のDMA制御回路にお
いて、前記第1及び/または第2のシステムが、前記D
MA転送用信号のうち、前記第1のシステムから第2の
システムへDMA転送を行わせる場合と前記第2のシス
テムから第1のシステムへDMA転送を行わせる場合と
を区別する信号(以下、DIR信号という)を発生させ
るDIR信号発生手段を有することを特徴とするDMA
制御回路。
15. The DMA control circuit according to claim 7, wherein the first and / or second system is the D
Of the MA transfer signals, a signal that distinguishes between the case where the DMA transfer is performed from the first system to the second system and the case where the DMA transfer is performed from the second system to the first system (hereinafter, A DMA having a DIR signal generating means for generating a DIR signal)
Control circuit.
【請求項16】 請求項15に記載のDMA制御回路に
おいて、前記DMA転送用信号のうち、前記第1のシス
テムから前記START信号,DIR信号及びリセット
信号(以下、/RESET信号という)が入力される場
合、前記第1のシステムは、内蔵するDMAコントロー
ラに対するDMA転送データ量のセットと前記DIR信
号のレベルの確定とを終了した後に、前記START信
号を発生してDMA転送を開始し、全データ転送終了後
に前記/RESET信号をアクティブにすることを特徴
とするDMA制御回路。
16. The DMA control circuit according to claim 15, wherein among the signals for DMA transfer, the START signal, the DIR signal, and the reset signal (hereinafter, referred to as / RESET signal) are input from the first system. In this case, the first system generates the START signal to start the DMA transfer after finishing the setting of the DMA transfer data amount to the built-in DMA controller and the determination of the level of the DIR signal, and A DMA control circuit characterized in that the / RESET signal is activated after the transfer is completed.
JP9836092A 1992-04-18 1992-04-18 Direct memory access control circuit Pending JPH05298239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9836092A JPH05298239A (en) 1992-04-18 1992-04-18 Direct memory access control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9836092A JPH05298239A (en) 1992-04-18 1992-04-18 Direct memory access control circuit

Publications (1)

Publication Number Publication Date
JPH05298239A true JPH05298239A (en) 1993-11-12

Family

ID=14217720

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9836092A Pending JPH05298239A (en) 1992-04-18 1992-04-18 Direct memory access control circuit

Country Status (1)

Country Link
JP (1) JPH05298239A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013535735A (en) * 2010-07-29 2013-09-12 サムスン エレクトロニクス カンパニー リミテッド Direct memory access device for multi-core system and operation method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013535735A (en) * 2010-07-29 2013-09-12 サムスン エレクトロニクス カンパニー リミテッド Direct memory access device for multi-core system and operation method thereof

Similar Documents

Publication Publication Date Title
JP2757055B2 (en) Data transfer method for digital computer
JPH02227765A (en) Data transfer apparatus for digital computer
US5426737A (en) Direct memory access for data transfer within an I/O device
JPH05298239A (en) Direct memory access control circuit
TWI703446B (en) Interface adapter circuit
JP4860811B2 (en) Microcomputer
JPH0512185A (en) Address predicting and verifying circuit for reading burst cycle data
KR0170742B1 (en) Data transfer method using mbus
KR100259585B1 (en) Dma controller
JPH10198524A (en) Hard disk controller
JPH05265773A (en) Information processor
JP2667285B2 (en) Interrupt control device
JPH11328102A (en) Bus control system and bus control method
JPH05120204A (en) Dma control circuit
JP3028998B2 (en) DMA transfer circuit
JPH07319841A (en) Serial control device
JPH05120201A (en) Data processor
JPH05334234A (en) High speed dma transferring device
JPS59170933A (en) Input data control device of printer
JPH0628301A (en) Direct memory access circuit
JPH01145753A (en) Direct memory access controller
JPH04284530A (en) Printing device
JPH07319799A (en) Microprocessor device
JPH06250971A (en) I/o device
JPH05257883A (en) Data processor