[go: up one dir, main page]

JPS63118965A - DMA word transfer method - Google Patents

DMA word transfer method

Info

Publication number
JPS63118965A
JPS63118965A JP26616586A JP26616586A JPS63118965A JP S63118965 A JPS63118965 A JP S63118965A JP 26616586 A JP26616586 A JP 26616586A JP 26616586 A JP26616586 A JP 26616586A JP S63118965 A JPS63118965 A JP S63118965A
Authority
JP
Japan
Prior art keywords
data
word
address
transfer
register
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
JP26616586A
Other languages
Japanese (ja)
Inventor
Ichiro Yamamoto
一郎 山本
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP26616586A priority Critical patent/JPS63118965A/en
Publication of JPS63118965A publication Critical patent/JPS63118965A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/28Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To realize transfer faster than conventional byte transfer, by performing DMA transfer at odd-th access in a word unit. CONSTITUTION:Word data in a memory system are stored once in plural byte registers 30A-30N. Then, plural multiplexers 40A-40N select and output byte data consisting of the word data of another memory system out of the byte register 30A-30N by the control of a multiplexer control circuit 50. In such way, the word data in a certain memory system can be converted and outputted at high speed to the word data in another memory system.

Description

【発明の詳細な説明】 〔概要〕 メモリ・システムの異なるシステム間のダイレクト・メ
モリ・アクセス(DMA)に於いて、複数組の8ビツト
構成のデータレジスタ、複数組のマルチプレクサ、及び
マルチプレクサ制御回路を設けることにより、奇数、偶
数番地アクセスのワード転送を可能とする。
[Detailed Description of the Invention] [Summary] In direct memory access (DMA) between different memory systems, multiple sets of 8-bit data registers, multiple sets of multiplexers, and multiplexer control circuits are used. By providing this, word transfer with access to odd and even addresses is possible.

〔産業上の利用分野〕[Industrial application field]

本発明はメモリ・システムの異なるシステム間のDMA
ワード転送に関するものである。
The present invention provides DMA between different systems of memory systems.
It concerns word transfer.

〔従来の技術〕[Conventional technology]

現在種々のマイクロプロセッサが使用されているが、各
マイクロプロセッサのメモリ構成はワード単位で考える
と二種類に分けられる。
Various microprocessors are currently in use, but the memory configuration of each microprocessor can be divided into two types when considered in word units.

第6図は従来のマイクロプロセッサのメモリ構成の説明
図である。尚以下全図を通じ同一記号は同一対象物を表
す。
FIG. 6 is an explanatory diagram of the memory configuration of a conventional microprocessor. The same symbols represent the same objects throughout all the figures below.

例えば其の一つは第6図(a)に示す様に68000系
メモリシステム等で使われているメモリ構成で、16バ
イト構成の1ワードの内、 上位パイ)(D8〜D15)は偶数番地、下位バイト(
DO−D7)は奇数番地を取っている。
For example, one of them is the memory configuration used in the 68000 series memory system, etc., as shown in Figure 6(a), in which the upper pie) (D8 to D15) of one word of 16 bytes are even-numbered addresses. , lower byte (
DO-D7) is at an odd address.

他の一つは第6図(b)に示す様に8086系メモリシ
ステム等で使われているメモリ構成で、16バイト構成
の1ワードの内、 上位パイ)(08〜D15)は奇数番地、下位パイ) 
(Do−07)は偶数番地を取っている。
The other one is the memory configuration used in the 8086 series memory system, etc., as shown in Figure 6(b), in which the upper part of one word (16 bytes) (08 to D15) is an odd address, lower pie)
(Do-07) has an even address.

最近−つの装置にメモリ構成の異なる二つのマイクロプ
ロセッサが使用される場合が出て来た。
Recently, there have been cases in which two microprocessors with different memory configurations are used in one device.

例えば音声処理装置等に於いて、ホスト用マイクロプロ
セッサには68000系を使用し、音声処理部のマイク
ロプロセッサ(サブ)には8086系を使用すると云う
ことが多く見られ、両プロセッサに接続されているメモ
リ間のDMA転送も頻繁に行われている。
For example, in audio processing equipment, it is often seen that a 68000 series microprocessor is used for the host microprocessor, and an 8086 series is used for the audio processing section microprocessor (sub). DMA transfer between memories is also frequently performed.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第7図は従来のデータ転送の説明図である。 FIG. 7 is an explanatory diagram of conventional data transfer.

従来のデータ転送方式では68000系メモリシステム
と8086系メモリシステムの間のDMAワード転送を
行う場合、第7図(a)に示す様に偶数番地から偶数番
地へワード転送する時はワード転送後、上位バイト(D
8〜D15)と下位バイト(Do〜D?)を入れ換えれ
ば良い。
In the conventional data transfer method, when performing DMA word transfer between a 68000-series memory system and an 8086-series memory system, when a word is transferred from an even address to an even address as shown in FIG. 7(a), after the word transfer, Upper byte (D
8 to D15) and the lower byte (Do to D?).

然し第7図(b)に示す様に奇数番地から奇数番地へ、
第7図(C)に示す様に偶数番地から奇数番地へ、更に
第7図(d)に示す様に奇数番地から偶数番地へのワー
ド転送は行えない。従って従来方式では偶数番地から偶
数番地へのワード転送以外はバイト転送に依る行われる
ためワード転送の倍以上の時間がかかると云う問題点が
あった。
However, as shown in Figure 7(b), from an odd number address to an odd number address,
Word transfer cannot be performed from an even address to an odd address as shown in FIG. 7(C), or from an odd address to an even address as shown in FIG. 7(d). Therefore, in the conventional method, transfers other than word transfer from an even address to an even address are performed by byte transfer, which has the problem that it takes more than twice as long as a word transfer.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は第1図の原理図に示す様に処理の単位ワー
ドデータが複数の格納アドレスに格納され、該ワードデ
ータを構成するデータの格納アドレスが夫々異なる一対
のメモリ間で、一方のメモリに格納されたワードデータ
を他方のメモリへ転送するDMA転送回路に於いて、転
送元のデータを格納する複数のバイトリジスタ30A〜
30Nと、転送先に出力すべきバイトリジスタ30A〜
30Nを選択する複数のマルチプレクサ40A〜40M
と、転送先のメモリ構成に対応する様に複数のマルチプ
レクサ40A〜40Mを制御するマルチプレクサ制御回
路(50)を設けることにより解決される。
The above problem is caused by the fact that, as shown in the principle diagram in Figure 1, a unit of processing word data is stored in multiple storage addresses, and one memory is In a DMA transfer circuit that transfers word data stored in a memory to another memory, a plurality of byte registers 30A to 30A that store data from the transfer source are used.
30N and byte register 30A to be output to the transfer destination
Multiple multiplexers to select 30N 40A~40M
This can be solved by providing a multiplexer control circuit (50) that controls a plurality of multiplexers 40A to 40M in accordance with the memory configuration of the transfer destination.

〔作用〕[Effect]

本発明によると成るメモリシステムのワードデータを複
数のバイトリジスタ30A〜30Nに一旦格納し、マル
チプレクサ制御回路50の制御により、複数のマルチプ
レクサ40A〜40Mはバイトリジスタ30A〜30N
の中から別のメモリシステムのワードデータを構成する
バイトデータを選択して出力するので、成るメモリシス
テムのワードデータを別のメモリシステムのワードデー
タに変換出力することが可能となる。
The word data of the memory system according to the present invention is temporarily stored in a plurality of byte registers 30A to 30N, and under the control of the multiplexer control circuit 50, the plurality of multiplexers 40A to 40M are stored in the byte registers 30A to 30N.
Since the byte data constituting the word data of another memory system is selected and output from among them, it becomes possible to convert and output the word data of the other memory system into the word data of another memory system.

〔実施例〕〔Example〕

第2図は本発明に依るDMAワード転送方式の一実施例
を示す図である。
FIG. 2 is a diagram showing an embodiment of the DMA word transfer method according to the present invention.

図中、1.3は夫々アドレスバッファ、2.4は夫々ア
ドレスレジスタ、5はカウンタ、6はシーケンスROM
、7はシーケンスレジスタ、8.9は夫々アドレスカウ
ンタ、10はバスコントロール、lla、llb、12
a、12bは夫々データバッファ、13.14は夫々マ
ルチプレクサ(MPX)、t5. 、15□、15i 
、t5.は夫々データレジスタ、16.17は夫々マル
チプレクサ(MPX)、18はDMA−END−IRQ
コントロール、19はアンドゲート、20はインバータ
、21.22.23.24は夫々ナントゲートである。
In the figure, 1.3 is an address buffer, 2.4 is an address register, 5 is a counter, and 6 is a sequence ROM.
, 7 is a sequence register, 8.9 is an address counter, 10 is a bus control, lla, llb, 12
a, 12b are data buffers, 13.14 are multiplexers (MPX), and t5. , 15□, 15i
, t5. are data registers, 16 and 17 are multiplexers (MPX), and 18 is DMA-END-IRQ.
19 is an AND gate, 20 is an inverter, and 21, 22, 23, and 24 are Nant gates, respectively.

尚第1図の原理図に於けるバイトリジスタ30A〜30
Nは第2図のデータバッファlla、llbに相当し、
マルチプレクサ40A〜40Mはマルチプレクサ13.
14.16.17に相当し、マルチプレクサ制御回路5
0はカウンタ5、シーケンスROM6、シーケンスレジ
スタ7、アドレスカウンタ8.9、バスコントロール1
0から構成される。
In addition, the bit resistors 30A to 30 in the principle diagram of Fig. 1
N corresponds to data buffers lla and llb in FIG.
Multiplexers 40A to 40M are multiplexers 13.
14.16.17, multiplexer control circuit 5
0 is counter 5, sequence ROM 6, sequence register 7, address counter 8.9, bus control 1
Consists of 0.

本発明に於いては4組の8ビツトのデータレジスタ15
. 、15□、152.154とシーケンスROM6を
設け、奇数アクセスに於いても、ソース側データを2ワ
一ド分リードすることにより、続けてワード転送を行う
ことが可能となる。
In the present invention, four sets of 8-bit data registers 15 are used.
.. , 15□, 152.154 and a sequence ROM 6 are provided, and even in odd number accesses, by reading two words of source side data, it is possible to perform word transfer successively.

第2図に於ける各部の機能に就いて説明する。The functions of each part in FIG. 2 will be explained.

アドレスバッファ1は68000系メモリシステムに接
続され、68000系メモリシステムのアドレスが入出
力する。
Address buffer 1 is connected to the 68000 series memory system, and addresses of the 68000 series memory system are input and output.

アドレスレジスタ2は68000系メモリシステムから
送られて来たアドレスを格納するレジスタである。
Address register 2 is a register that stores an address sent from the 68000 series memory system.

アドレスバッファ3は8086系メモリシステムに接続
され、8086系メモリシステムのアドレスが入出力す
る。
The address buffer 3 is connected to the 8086 series memory system, and addresses of the 8086 series memory system are input and output.

アドレスレジスタ4は8086系メモリシステムから送
られて来たアドレスを格納するレジスタである。
Address register 4 is a register that stores addresses sent from the 8086 series memory system.

カウンタ5はDMA転送ワード数を記憶し、1ワード転
送する毎にデクレメントするDMAレングスカウンタで
ある。
Counter 5 is a DMA length counter that stores the number of DMA transfer words and decrements every time one word is transferred.

シーケンスROM6とシーケンスレジスタ7はリード、
ライト、CHG等本回路の内部制御信号を生成するため
の回路である。
Sequence ROM6 and sequence register 7 are read,
This is a circuit for generating internal control signals of this circuit such as write and CHG.

アドレスカウンタ8は68000系メモリシステムのア
ドレスをインクレメントするためのカウンタである。
Address counter 8 is a counter for incrementing the address of the 68000 series memory system.

アドレスカウンタ9は8086系メモリシステムのアド
レスをインクレメントする為ためのカウンタである。
Address counter 9 is a counter for incrementing the address of the 8086 series memory system.

バスコントロール10は各種バッファを制御する信号を
作り出す制御回路である。
The bus control 10 is a control circuit that generates signals for controlling various buffers.

データバッフylla 、 llbは68000系メモ
リシステムに接続され、データが一時格納される。
Data buffers ylla and llb are connected to the 68000 series memory system and temporarily store data.

データバッファ12a 、 12bは8086系メモリ
システムに接続され、データが一時格納される。
The data buffers 12a and 12b are connected to an 8086-based memory system and temporarily store data.

マルチプレクサ13.14は夫々ソース側のデータを選
択するための選択回路である。
The multiplexers 13 and 14 are selection circuits for selecting data on the source side.

データレジスタ15. 、15□、151.154はデ
ータをラッチするためのレジスタである。
Data register 15. , 15□, 151.154 are registers for latching data.

マルチプレクサ16.17は出力すべきデータを選択す
る選択回路である。
Multiplexers 16 and 17 are selection circuits that select data to be output.

DMA −END・IRQコントロール回路18はDM
A完了後、割り込み信号を発生する回路である。
DMA-END/IRQ control circuit 18 is DM
This circuit generates an interrupt signal after completion of A.

第3図は本発明の説明図である。FIG. 3 is an explanatory diagram of the present invention.

68000系メモリシステムから8086系メモリシス
テムへDMA転送する時には第3図に示す様に4つの場
合が考えられる。
When performing DMA transfer from a 68000 series memory system to an 8086 series memory system, four cases can be considered as shown in FIG.

即ち、(al偶数番地から偶数番地へ、(bl奇数番地
から奇数番地へ、 (C1偶数番地から奇数番地へ、 +d)奇数番地から偶数番地へである。
That is, (al from an even number address to an even number address, (bl from an odd number address to an odd number address, (C1 from an even number address to an odd number address, +d) from an odd number address to an even number address.

本発明に於いては、68000系メモリシステムからの
データは一旦データバッファlla 、llbに格納さ
れた後、データレジスタ151〜154に格納され、ア
ドレスが奇数か偶数かにより、即ち、(a)、(bl、
(C1、(dlの白河れであるかにより、以下に述べる
手順を経て8086系のデータバッファ12a 、12
bへ送出される。
In the present invention, data from the 68000 series memory system is once stored in data buffers lla and llb, and then stored in data registers 151 to 154, depending on whether the address is an odd number or an even number, that is, (a), (bl,
(C1, (Depending on whether the dl is Shirakawa or not, the 8086 series data buffer 12a, 12
sent to b.

i4図は本発明の動作説明図である。Figure i4 is an explanatory diagram of the operation of the present invention.

(a)の場合は第4図(a)に示す様に上位バイトと下
位バイトを入れ換えれば良い。
In the case of (a), the upper byte and lower byte may be exchanged as shown in FIG. 4(a).

(b)の場合は第4図(b)に示す様に、第1ワードを
データレジスタ151.15□に入れ、第2ワードを 
・データレジスタ15s 、15.に入れ、第1ワード
をライトする時のみ、下位バイトをマスク(データレジ
スタ151.15.出力でデータレジスタ154をマス
ク)する。
In the case of (b), as shown in Figure 4 (b), put the first word into the data register 151.15□, and put the second word into the data register 151.15□.
・Data register 15s, 15. and mask the lower byte only when writing the first word (masking the data register 154 with data register 151.15. output).

次に第3ワードをデータレジスタ15..15□に入れ
、データレジスタ15□、15.を出力する。
Next, the third word is stored in data register 15. .. 15□, data register 15□, 15. Output.

次に第4ワードをデータレジスタ15..15.に入れ
、データレジスタ151.15.を出力する。
Next, the fourth word is stored in data register 15. .. 15. and data register 151.15. Output.

此の繰り返しで最後のワードをライトする時のみ上位を
マスクして出力する。
By repeating this process, only when writing the last word, the upper part is masked and output.

(C)の場合は第4図(C)に示す様に、第1ワードを
データレジスタ15I、152に入れ、第2ワードをデ
ータレジスタ153.15.に入れ、データレジスタ1
5□、153の出力でデータレジスタ153をマスりす
る。
In the case of (C), as shown in FIG. 4(C), the first word is placed in the data registers 15I, 152, and the second word is placed in the data registers 153, 15. and data register 1
The data register 153 is masked by the output of 5□ and 153.

次にデータレジスタ15..15.を出力する。Next, data register 15. .. 15. Output.

第3ワードをデータレジスタ151 、15□に入れ、
データレジスタ152.15iを出力、データレジスタ
15..151を出力する。
Put the third word into the data register 151, 15□,
Output data register 152.15i, data register 15. .. Outputs 151.

最後のワードをライトする時のみ上位をマスクして出力
する。
Only when writing the last word, mask and output the upper part.

(d)の場合は第4図(d)に示す様に第1ワードをデ
ータレジスタ15..15□に入れ、第2ワードをデー
タレジスタ1’53.154に入れ、データレジスタ1
5、.154を出力し、第3ワードをレジスタ15゜、
15zに入れ、データレジスタ15z 、IF)+を出
力し、第4ワードをデータレジスタ15t 、154に
入れ、データレジスタ15..154を出力する。
In the case of (d), the first word is stored in the data register 15. as shown in FIG. 4(d). .. 15□, put the second word into data register 1'53.154, and put the second word into data register 1'53.154.
5. 154 and the third word to register 15°,
15z, output the data register 15z, IF)+, put the fourth word into the data register 15t, 154, and output the data register 15z. .. Outputs 154.

以上説明した動作手順は全てシーケンスROM6に格納
されており、シーケンスROM6とシーケンスレジスタ
7が発生するリード、ライト、CHG等の内部制御信号
により実施される。
All of the operating procedures described above are stored in the sequence ROM 6, and are executed by internal control signals such as read, write, CHG, etc. generated by the sequence ROM 6 and the sequence register 7.

即ち、DMA起動指令が本回路に出されると、シーケン
スROM6が此の指令を受信する。同時にアドレスバッ
ファ1に68000系のアドレスが、アドレスバッファ
3に8086系のアドレスが、カウンタ5にDMA転送
ワード数が夫々入力される。
That is, when a DMA activation command is issued to this circuit, the sequence ROM 6 receives this command. At the same time, a 68000 series address is input to the address buffer 1, an 8086 series address is input to the address buffer 3, and the number of DMA transfer words is input to the counter 5.

シーケンスROM6が発生する内部信号によりバスコン
トロール10が動作し、アドレスバッファ1に格納され
ている68000系のアドレスをアドレスレジスタ2へ
、アドレスバッファ3に格納されている8086系のア
ドレスをアドレスレジスタ4へ夫々移し、シーケンスR
OM6に伝えられる。
The bus control 10 operates according to an internal signal generated by the sequence ROM 6, and transfers the 68000 series address stored in the address buffer 1 to the address register 2, and the 8086 series address stored in the address buffer 3 to the address register 4. Transfer each, sequence R
This will be communicated to OM6.

シーケンスROM6が発生するリード信号により、68
000系のデータバッファlla 、 llb 、又は
8086系のデータバッファ12a 、12bに格納さ
れていたデータがマルチプレクサ13.14により選択
されてデータレジスタ15+ 115z 115i 、
154へ入る。
68 by the read signal generated by sequence ROM6.
The data stored in the 000 series data buffers lla, llb or the 8086 series data buffers 12a, 12b is selected by the multiplexer 13.14, and the data is stored in the data registers 15+115z115i,
Enter 154.

又同様にライト信号によりデータレジスタ15゜、15
g 、15? 、154に格納されていたデータがマル
チプレクサ16.17により選択されて68000系の
データバッファlla 、 llb 、又は8086系
のデータバッファ12a 、 12bへ出力される。
Similarly, the data registers 15° and 15° are set by the write signal.
g, 15? , 154 is selected by the multiplexer 16.17 and output to the 68000 series data buffers lla, llb or the 8086 series data buffers 12a, 12b.

同様にCHG信号はデータレジスタ15..15□とデ
ータレジスタ153 、15.を入れ換える信号である
Similarly, the CHG signal is transmitted to data register 15. .. 15□ and data register 153, 15. This is a signal to replace the

此れ等の内部制御信号は内部クロックCLKと共に各種
ゲート回路(ナントゲート21.22.23.24、ア
ンドゲート19)を介してデータレジスタ、データバッ
ファ、アドレスバッファ等に印加されて上述した動作を
行い、所定ワード数の転送を終わるとDMA−END・
IRQコントロール10は割り込み信号IRQを出力す
る。
These internal control signals are applied to the data register, data buffer, address buffer, etc. through various gate circuits (Nant gates 21, 22, 23, 24, AND gate 19) together with the internal clock CLK to perform the above-mentioned operations. When the specified number of words have been transferred, the DMA-END
IRQ control 10 outputs an interrupt signal IRQ.

第5図は本発明に依る奇数番地から奇数番地へのデータ
転送のフローチャートである。
FIG. 5 is a flowchart of data transfer from an odd address to an odd address according to the present invention.

(bl奇数番地から奇数番地へのデータ転送に就いては
前述したが、第5図のフローチャートに就いて更に詳細
に説明する。
(The data transfer from an odd-numbered address to an odd-numbered address has been described above, but it will be explained in more detail with reference to the flowchart of FIG. 5.

最初に“■奇数番地を一つ前の偶数番地とした後第1ワ
ードのDO〜D7をデータバッファllaからリードし
てデータレジスタ15+へ、第1ワードのD8〜D15
をデータバッファllbからリードしてデータレジスタ
15□へ入力する。尚此の時、マルチプレクサ13.1
4が選択動作を行う。
First, after setting the odd address to the previous even address, read the first word DO~D7 from the data buffer lla and transfer it to the data register 15+.
is read from data buffer llb and input to data register 15□. At this time, multiplexer 13.1
4 performs a selection operation.

■第2ワードのDo−D7をデータバッファllaから
リードしてデータレジスタ153へ、第2ワードのD8
〜D15をデータバッファllbからリードしてデータ
レジスタ154へ入力する。尚此の時、マルチプレクサ
13.14が選択動作を行う。
■ Read the second word Do-D7 from the data buffer lla and transfer it to the data register 153;
~D15 is read from data buffer llb and input to data register 154. At this time, multiplexers 13 and 14 perform selection operations.

■データレジスタ15+ 1154に格納されているデ
ータを取り出し、データバッファ12a 、12bにラ
イトする。第1ワードをライトする時、データレジスタ
154をマスクし、カウンタ5の値を−1する。尚此の
時、マルチプレクサ16.17が選択動作を行う。
(2) Take out the data stored in the data register 15+ 1154 and write it to the data buffers 12a and 12b. When writing the first word, the data register 154 is masked and the value of the counter 5 is decremented by 1. At this time, multiplexers 16 and 17 perform selection operations.

■カウンタ5  (DMAレングスカウンタ)がOであ
るか否かを調べ、若し0であればENDとなり、若し0
でなければ、■へ移る。
■ Check whether counter 5 (DMA length counter) is O or not. If it is 0, it is END, and if it is 0
If not, move on to ■.

0次の1ワード(第3ワード)のDO〜D7をデータバ
ッファllaからリードしてデータレジスタ15+へ、
第1ワードのD8〜D15をデータバッファllbから
リードしてデータレジスタ15□へ入力する。
Read the 0th order 1 word (3rd word) DO~D7 from the data buffer lla and transfer it to the data register 15+.
The first word D8 to D15 is read from the data buffer llb and input to the data register 15□.

■カウンタ5がOであるか否かを調べ、若し0であれば
@へ移り、若しOでなければ、■へ移る。
(2) Check whether the counter 5 is O or not. If it is 0, move to @; if not, move to (2).

■データレジスタ15z 、153を取り出し、データ
バッファ12a 、 12bにライトする。此の時、デ
ータレジスタ153をマスクし、ENDとなる。
(2) Take out data registers 15z and 153 and write to data buffers 12a and 12b. At this time, the data register 153 is masked and END occurs.

■データレジスタ15□、15.を取り出し、データバ
ッファ12a 、 12bにライトする。
■Data register 15□, 15. is taken out and written to the data buffers 12a and 12b.

0次の1ワードのDo−D7をデータバッファ11aか
らリードしてデータレジスタ153へ、第1ワードのD
8〜D15をデータバッファllbからリードしてデー
タレジスタ15.へ入力する。
The 0th order 1 word Do-D7 is read from the data buffer 11a and is transferred to the data register 153.
8 to D15 are read from data buffer llb and data register 15.8 to D15 are read from data buffer llb. Enter.

■カウンタ5がOであるか否かを調べ、若しOであれば
■へ移り、若しOでなければ、[相]へ移る。
(2) Check whether the counter 5 is O or not. If it is O, move to (2), and if not O, move to [phase].

■データレジスタ15..154を取り出し、データバ
ッファ12a 、12bにライトする。此の時、データ
レジスタ15+をマスクし、ENDとなる。
■Data register 15. .. 154 and writes it to the data buffers 12a and 12b. At this time, the data register 15+ is masked and END occurs.

[相]データレジスタ15..15.を取り出し、デー
タバッファ12a 、 12bにライトし、■へ戻る。
[Phase] Data register 15. .. 15. is taken out, written to the data buffers 12a and 12b, and the process returns to (2).

此の様な動作を繰り返してデータ転送を行う。Data transfer is performed by repeating these operations.

尚8086系メモリシステムから68000系メモリシ
ステムへDMA転送する場合も同様に実施することが可
能である。
Note that DMA transfer from an 8086 series memory system to a 68000 series memory system can be performed in the same manner.

又本説明は16バイトのメモリシステム間を例に取って
行ったが32バイトのメモリシステム間の場合も全く同
様に実施することが可能である。
Furthermore, although this explanation has been made using a case between 16-byte memory systems as an example, it is possible to carry out the same procedure between 32-byte memory systems.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば、奇数アクセス
に於けるDMA転送がワード単位で行うことが出来、従
来のバイト転送よりも高速度で転送が可能となると云う
大きい効果がある。
As described in detail above, according to the present invention, DMA transfer in odd number access can be performed in units of words, and there is a great effect that transfer can be performed at a higher speed than conventional byte transfer.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理図である。 第2図は本発明に依るDMAワード転送方式の一実施例
を示す図である。 第3図は本発明の説明図である。 第4図は本発明の動作説明図である。   ′第5図は
本発明に依る奇数番地から奇数番地へのデータ転送のフ
ローチャートである。 第6図は従来のマイクロプロセッサのメモリ構成の説明
図である。 第7図は従来のデータ転送の説明図である。 図中、1.3は夫々アドレスバッファ、2.4は夫々ア
ドレスレジスタ、5はカウンタ、6はシーケンスROM
、7はシーケンスレジスタ、8.9は夫々アドレスカウ
ンタ、10はバスコントロール、lla、llb、12
a、12bは夫々データバッファ、13.14は夫々マ
ルチプレクサ(MPX)、15、.15□、153.1
54は夫々データレジスタ、工6.17は夫々マルチプ
レクサ(MPX)、18はDMA−END−IRQコン
トロール、19はアンドゲート、20はインバータ、2
1.22.23.24は夫々ナントゲート、30A〜3
0Nは夫々バイトレジスタ、40A〜40Mは夫々マル
チプレクサ、50はマルチプレクサ制御回路である。 1yBooO+、          δo a 6+
。 (a)              (6)すし来のマ
イクロアロ也110メモソオ達成図第  61図 qχ末術−!転送n言免四図 (リ レネミ≧資5 日月・7動・。 第・ (d、) (′F 匈し0月 図 4 図
FIG. 1 is a diagram showing the principle of the present invention. FIG. 2 is a diagram showing an embodiment of the DMA word transfer method according to the present invention. FIG. 3 is an explanatory diagram of the present invention. FIG. 4 is an explanatory diagram of the operation of the present invention. 'FIG. 5 is a flowchart of data transfer from an odd numbered address to an odd numbered address according to the present invention. FIG. 6 is an explanatory diagram of the memory configuration of a conventional microprocessor. FIG. 7 is an explanatory diagram of conventional data transfer. In the figure, 1.3 is an address buffer, 2.4 is an address register, 5 is a counter, and 6 is a sequence ROM.
, 7 is a sequence register, 8.9 is an address counter, 10 is a bus control, lla, llb, 12
a, 12b are data buffers, 13.14 are multiplexers (MPX), 15, . 15□, 153.1
54 is a data register, 6.17 is a multiplexer (MPX), 18 is a DMA-END-IRQ control, 19 is an AND gate, 20 is an inverter, 2
1.22.23.24 respectively Nantes Gate, 30A~3
0N is a byte register, 40A to 40M are multiplexers, and 50 is a multiplexer control circuit. 1yBooO+, δo a 6+
. (a) (6) Sushikira's Micro Araya 110 Memo Soo Achievement Diagram Figure 61 qχ End Technique -! Transfer n words and excuses 4 diagrams (Rerenemi ≧ Shi 5 Sun/Month/7th motion.. No. ・ (d,) ('F 匈し 0月 Figure 4

Claims (1)

【特許請求の範囲】 処理の単位ワードデータが複数の格納アドレスに格納さ
れ、該ワードデータを構成するデータの格納アドレスが
夫々異なる一対のメモリ間で、一方のメモリに格納され
たワードデータを他方のメモリへ転送するDMA転送回
路に於いて、転送元のデータを格納する複数のバイトレ
ジスタ(30A〜30N)と、 転送先に出力すべき該バイトレジスタ(30A〜30N
)を選択する、複数のマルチプレクサ(40A〜40M
)と、 該転送先のメモリ構成に対応する様に該複数のマルチプ
レクサ(40A〜40M)を制御するマルチプレクサ制
御回路(50)とから構成されることを特徴とするDM
Aワード転送方式。
[Claims] Between a pair of memories in which unit of processing word data is stored in a plurality of storage addresses, and the storage addresses of the data constituting the word data are different, the word data stored in one memory is transferred to the other memory. In the DMA transfer circuit that transfers to the memory of
), multiple multiplexers (40A to 40M
), and a multiplexer control circuit (50) that controls the plurality of multiplexers (40A to 40M) in accordance with the memory configuration of the transfer destination.
A word transfer method.
JP26616586A 1986-11-07 1986-11-07 DMA word transfer method Pending JPS63118965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26616586A JPS63118965A (en) 1986-11-07 1986-11-07 DMA word transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26616586A JPS63118965A (en) 1986-11-07 1986-11-07 DMA word transfer method

Publications (1)

Publication Number Publication Date
JPS63118965A true JPS63118965A (en) 1988-05-23

Family

ID=17427178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26616586A Pending JPS63118965A (en) 1986-11-07 1986-11-07 DMA word transfer method

Country Status (1)

Country Link
JP (1) JPS63118965A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02187849A (en) * 1988-11-17 1990-07-24 Internatl Business Mach Corp <Ibm> Bus interface apparatus
KR20000038686A (en) * 1998-12-08 2000-07-05 구자홍 Direct memory access controller

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61235959A (en) * 1985-04-11 1986-10-21 Fujitsu Ltd Data transmission system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61235959A (en) * 1985-04-11 1986-10-21 Fujitsu Ltd Data transmission system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02187849A (en) * 1988-11-17 1990-07-24 Internatl Business Mach Corp <Ibm> Bus interface apparatus
KR20000038686A (en) * 1998-12-08 2000-07-05 구자홍 Direct memory access controller

Similar Documents

Publication Publication Date Title
JPS618785A (en) Storage device access control method
JPH0248747A (en) Microprocessor
JPH05274864A (en) Semiconductor storage device used exclusively for image
EP1314099B1 (en) Method and apparatus for connecting a massively parallel processor array to a memory array in a bit serial manner
JPS5837883A (en) Memory addressing unit
JP2549601B2 (en) Register control circuit
EP0057096A2 (en) Information processing unit
JPS63118965A (en) DMA word transfer method
JPS6334795A (en) Semiconductor storage device
US6483753B1 (en) Endianess independent memory interface
JPS6285343A (en) Memory reading-out circuit
JP3480963B2 (en) DMA transfer system
EP0264740A2 (en) Time partitioned bus arrangement
JP2953169B2 (en) Data processing device
JPS61150055A (en) Dma data transfer system
SU1709385A1 (en) Video signal generator
JPH0368045A (en) Main memory control system
JPH0464988A (en) Fifo memory
JPS60243696A (en) Expansion data generator
JPH0477948A (en) Memory access control method and information processing device using the same
JPH0376557B2 (en)
JPS61226792A (en) Memory data control circuit
JPS6393037A (en) Computer
JPS6175444A (en) Register file integrated circuit
JPH0236443A (en) System for controlling expansion storage