JPH1011386A - Memory data transfer device and transfer method thereof - Google Patents
Memory data transfer device and transfer method thereofInfo
- Publication number
- JPH1011386A JPH1011386A JP16556096A JP16556096A JPH1011386A JP H1011386 A JPH1011386 A JP H1011386A JP 16556096 A JP16556096 A JP 16556096A JP 16556096 A JP16556096 A JP 16556096A JP H1011386 A JPH1011386 A JP H1011386A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- address
- access controller
- transfer
- 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
Links
Landscapes
- Bus Control (AREA)
Abstract
(57)【要約】
【課題】ダイレクトメモリアクセスコントローラにより
メモリ2及びメモリ3の間でデータ転送を実行するダイ
レクトメモリアクセス転送方式と呼ばれる方式で、従来
の連続的なアドレスブロックのデータ転送だけでなく、
不連続なアドレスのデータ転送を実現させる。
【解決手段】アドレスバス8とデータバス7の間にゲー
ト回路9と、ダイレクトメモリアクセスコントローラ4
とメモリ3の間に、ダイレクトメモリアクセスコントロ
ーラ4からのアドレスを取り込み、そのアドレスに相対
するデータをメモリ3のアドレスとして接続でき、中央
処理装置1からはデータがデータとして接続されるよう
な変換メモリ5を追加し、ゲートを制御する。
(57) [Summary] A method called a direct memory access transfer method in which data is transferred between a memory 2 and a memory 3 by a direct memory access controller. ,
Implement data transfer at discontinuous addresses. A gate circuit (9) is provided between an address bus (8) and a data bus (7) and a direct memory access controller (4).
Between the memory and the memory 3, an address from the direct memory access controller 4 can be fetched, data corresponding to the address can be connected as an address of the memory 3, and a conversion memory in which data is connected as data from the central processing unit 1. Add 5 to control the gate.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ダイレクトメモリ
アクセス転送方式と呼ばれる方式を採用している装置全
般に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates generally to an apparatus employing a system called a direct memory access transfer system.
【0002】[0002]
【従来の技術】図2に示すような、従来のダイレクトメ
モリアクセス転送方式と呼ばれる方式での装置の構成
は、通常時データの転送,加工を実行している中央処理
装置1,データの保存をする為のメモリ2及びメモリ
3,そのメモリ2及びメモリ3の間でデータ転送を実施
する際に中央処理装置1の代わりにデータ転送を実行さ
せるダイレクトメモリアクセスコントローラ4,データ
の通り道としてのデータバス7,そのデータバス7上の
データの送り先(アドレス)を示す為のアドレスバス8
より構成された装置となっていた。2. Description of the Related Art As shown in FIG. 2, a conventional system using a system called a direct memory access transfer system has a central processing unit 1 which executes normal data transfer and processing, and saves data. Memory 2 and memory 3 for performing a data transfer between the memory 2 and the memory 3, a direct memory access controller 4 for executing data transfer instead of the central processing unit 1, and a data bus as a path of data 7, an address bus 8 for indicating a destination (address) of data on the data bus 7
It was a device composed of:
【0003】この構成で、メモリ2及びメモリ3の間で
データ転送を実施する際には図3に示すように、メモリ
2の転送先頭アドレスi,メモリ3の転送先頭アドレス
j、及び転送データ数nという情報だけでメモリ2とメ
モリ3間のデータ転送を実行させるダイレクトメモリア
クセスコントローラ4は、連続したアドレスのデータ転
送しか出来なかった。In this configuration, when data is transferred between the memory 2 and the memory 3, as shown in FIG. 3, the transfer start address i of the memory 2, the transfer start address j of the memory 3, and the transfer data number The direct memory access controller 4 that executes data transfer between the memory 2 and the memory 3 only with the information of n can perform only data transfer of continuous addresses.
【0004】したがって、不連続なアドレスのデータ転
送を実施する際には、ダイレクトメモリアクセスコント
ローラ4を使用せずに中央処理装置1自身がデータの転
送を実行しなければならず、中央処理装置1の負担を軽
減させるというダイレクトメモリアクセスコントローラ
4のメリットが活かせなかった。Therefore, when data transfer at discontinuous addresses is performed, the central processing unit 1 itself must execute data transfer without using the direct memory access controller 4, and the central processing unit 1 However, the advantage of the direct memory access controller 4 in reducing the burden on the user cannot be utilized.
【0005】[0005]
【発明が解決しようとする課題】このように、従来のダ
イレクトメモリアクセス転送方式と呼ばれる方式ではダ
イレクトメモリアクセスコントローラ4の制約により、
連続したアドレスのデータ転送しか出来なかった。As described above, in the conventional method called the direct memory access transfer method, due to the restriction of the direct memory access controller 4,
Only data transfer of continuous addresses could be performed.
【0006】そこで本発明では、中央処理装置1を介さ
ずに、ダイレクトメモリアクセスコントローラ4が不連
続なアドレスのデータ転送を実行出来るようにする。Therefore, the present invention enables the direct memory access controller 4 to execute data transfer at discontinuous addresses without the intervention of the central processing unit 1.
【0007】[0007]
【課題を解決するための手段】図1のように、図2の構
成に、アドレスバス8とデータバス7の間にゲート回路
9とそのゲート回路9の入り/切りを制御する制御回路
6を設け、ダイレクトメモリアクセスコントローラ4と
メモリ3の間に、ダイレクトメモリアクセスコントロー
ラ4からのアドレスをアドレスとして取り込み、そのア
ドレスに相対するデータをメモリ3のアドレスとして接
続でき、且つ中央処理装置1からはデータがデータとし
て接続されるような変換メモリ5を設けた構成とする。As shown in FIG. 1, a gate circuit 9 and a control circuit 6 for controlling ON / OFF of the gate circuit 9 are provided between an address bus 8 and a data bus 7 in the configuration of FIG. An address from the direct memory access controller 4 is fetched as an address between the direct memory access controller 4 and the memory 3, data corresponding to the address can be connected as an address of the memory 3, and data is transmitted from the central processing unit 1. Is provided with a conversion memory 5 which is connected as data.
【0008】予め中央処理装置1よりメモリ2のアドレ
スに相対するメモリ3のアドレスをデータとして変換メ
モリ5に保存させておくことにより、変換メモリ5のデ
ータがメモリ3のアドレスとなり、メモリ3に対して不
連続なアドレスのデータ転送が可能となる。When the address of the memory 3 corresponding to the address of the memory 2 is stored in the conversion memory 5 as data by the central processing unit 1 in advance, the data of the conversion memory 5 becomes the address of the memory 3. Thus, data transfer at discontinuous addresses is possible.
【0009】[0009]
【発明の実施の形態】本発明の1実施例を図3に示す。FIG. 3 shows an embodiment of the present invention.
【0010】本実施例の示す装置は、通常時データの転
送,加工を実行している中央処理装置1,データの保存
をする為のメモリ2及びメモリ3,そのメモリ2及びメ
モリ3の間でデータ転送を実施する際に中央処理装置1
の代わりにデータ転送を実行させるダイレクトメモリア
クセスコントローラ4,ダイレクトメモリアクセスコン
トローラ4からのアドレスをアドレスとして取り込み、
そのアドレスに相対するデータをメモリ3のアドレスと
して接続でき、且つ、中央処理装置1からはデータがデ
ータとして接続されるような変換メモリ5,前述の各デ
バイス間でアドレスバス8とデータバス7の接続を切換
えるためのゲート1 9a,ゲート29b,ゲート3
9c,そのゲート1〜3 9a〜cの入り/切りを制御
する為の制御回路6より構成され、各デバイス間のアド
レスとデータの接続は、アドレスバス8として、中央処
理装置1のアドレス端子,メモリ2のアドレス端子,メ
モリ3のアドレス端子,ゲート1 9a,ゲート2 9
b,制御回路6が接続され、データバス7としては、中
央処理装置1のデータ端子,メモリ2のデータ端子,メ
モリ3のデータ端子,ゲート3 9cが接続されてい
る。またゲート19aのもう片方は、ダイレクトメモリ
アクセスコントローラ4のアドレス端子及び変換メモリ
のアドレス端子に、ゲート2 9bのもう片方とゲート
3 9cのもう片方は変換メモリ5のデータ端子に接続
し、制御回路6からゲート1〜39a〜cの入り/切り
を切り換えるための制御線がゲート1〜3 9a〜cに
接続されている。The apparatus shown in this embodiment comprises a central processing unit 1 which normally executes data transfer and processing, a memory 2 and a memory 3 for storing data, and a memory 3 between the memory 2 and the memory 3. When performing data transfer, the central processing unit 1
, The addresses from the direct memory access controller 4 and the direct memory access controller 4 for executing data transfer are taken in as addresses.
Data corresponding to the address can be connected as an address of the memory 3, and the conversion memory 5 from which data is connected as data from the central processing unit 1, an address bus 8 and a data bus 7 between the above-described devices. Gate 19a, gate 29b, gate 3 for switching connection
9c, its gates 1 to 3 are constituted by a control circuit 6 for controlling the on / off of the gates 9a to 9c. The connection of addresses and data between the devices is provided by an address bus 8 as an address terminal of the central processing unit 1, Address terminal of memory 2, address terminal of memory 3, gate 19a, gate 29
b, the control circuit 6 is connected, and the data bus 7 is connected to the data terminal of the central processing unit 1, the data terminal of the memory 2, the data terminal of the memory 3, and the gate 39c. The other end of the gate 19a is connected to the address terminal of the direct memory access controller 4 and the address terminal of the conversion memory, and the other end of the gate 29b and the other end of the gate 39c are connected to the data terminal of the conversion memory 5. A control line for switching on / off of the gates 1 to 39a to c from 6 is connected to the gates 1 to 39a to c.
【0011】この装置で、各デバイス間のアドレスとデ
ータの接続を切換るゲート1〜39a〜cの入り/切り
の論理を表1に示す様な制御回路6とすることにより、
予め中央処理装置1が変換メモリ5に対してメモリ2と
の相対アドレスをメモリ3のアドレスデータとして書き
込むことで、ダイレクトメモリアクセスコントローラ4
から出されたメモリ3へのアドレスは、変換メモリ5の
アドレスとして取り込まれ、そのアドレスに対応した変
換メモリ5内のデータがメモリ3のアドレスとして接続
される為、ダイレクトメモリアクセスコントローラ4か
ら出されたデータはメモリ3に対して不連続なアドレス
として、データとアドレスが衝突すること無くデータ転
送を実現できる。In this apparatus, the control circuit 6 as shown in Table 1 shows the on / off logic of the gates 1 to 39a to c for switching the connection of the address and data between the devices.
The central processing unit 1 previously writes a relative address with respect to the memory 2 into the conversion memory 5 as address data of the memory 3 so that the direct memory access controller 4
Is output to the memory 3 as an address of the conversion memory 5 and data in the conversion memory 5 corresponding to the address is connected as an address of the memory 3. The transferred data can be transferred to the memory 3 as a discontinuous address without data and address collision.
【0012】[0012]
【表1】 [Table 1]
【0013】尚、図3の下側に本構成により並び換え
(4ワード)を実施したときの各メモリの内容を示して
おく。The lower part of FIG. 3 shows the contents of each memory when rearrangement (4 words) is performed according to this configuration.
【0014】[0014]
【発明の効果】本発明によれば、変換メモリ5とゲート
回路9を設けたことにより、従来の連続的なアドレスブ
ロックのデータ転送だけでなく、不連続的なアドレスの
データ転送を実現できる。According to the present invention, by providing the conversion memory 5 and the gate circuit 9, not only conventional data transfer of a continuous address block but also data transfer of a discontinuous address can be realized.
【図面の簡単な説明】[Brief description of the drawings]
【図1】本発明の基本例を表すブロック図。FIG. 1 is a block diagram showing a basic example of the present invention.
【図2】従来技術のブロック図。FIG. 2 is a block diagram of a conventional technique.
【図3】本発明の1実施例を表すブロック図。FIG. 3 is a block diagram showing one embodiment of the present invention.
1…中央処理装置、2,3…メモリ、4…ダイレクトメ
モリアクセスコントローラ、5…変換メモリ、6…制御
回路、7…データバス、8…アドレスバス、9…ゲート
回路。DESCRIPTION OF SYMBOLS 1 ... Central processing unit, 2,3 ... Memory, 4 ... Direct memory access controller, 5 ... Conversion memory, 6 ... Control circuit, 7 ... Data bus, 8 ... Address bus, 9 ... Gate circuit.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 片岡 利晴 茨城県日立市幸町三丁目2番1号 日立エ ンジニアリング株式会社内 (72)発明者 杉山 武志 茨城県日立市幸町三丁目2番1号 日立エ ンジニアリング株式会社内 (72)発明者 大曽根 正 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Toshiharu Kataoka 3-2-1 Sachimachi, Hitachi City, Ibaraki Prefecture Within Hitachi Engineering Co., Ltd. (72) Inventor Takeshi Sugiyama 3-2-2 Sachimachi, Hitachi City, Ibaraki Prefecture 1 Hitachi Engineering Co., Ltd. (72) Inventor Tadashi Osone 5-2-1 Omika-cho, Hitachi City, Ibaraki Pref. Hitachi, Ltd. Omika Plant
Claims (3)
処理装置と、データの保存をする第一メモリ及び第二メ
モリと、前記第一メモリと前記第二メモリ間のデータ転
送を実行させるダイレクトメモリアクセスコントローラ
と、中央処理装置,前記第一メモリ,前記第二メモリ,
前記ダイレクトメモリアクセスコントローラの間でデー
タの通り道としてのデータバスと、データの送り先を示
すアドレスバスより構成されるメモリデータ転送装置に
おいて、前記データバス及びアドレスバスと前記第一メ
モリ,前記第二メモリ,前記ダイレクトメモリアクセス
コントローラの間にゲート回路と、前記ゲート回路の入
り/切りを制御する回路を設け、前記ダイレクトメモリ
アクセスコントローラと前記第二メモリの間に変換メモ
リを設けたことを特徴とするメモリデータ転送装置。1. A central processing unit for executing transfer and processing of memory data, a first memory and a second memory for storing data, and a direct memory for executing data transfer between the first memory and the second memory. A memory access controller, a central processing unit, the first memory, the second memory,
A memory data transfer device comprising a data bus as a data path between the direct memory access controllers and an address bus indicating a destination of data, wherein the data bus and the address bus, the first memory, and the second memory A gate circuit and a circuit for controlling the on / off of the gate circuit are provided between the direct memory access controller, and a conversion memory is provided between the direct memory access controller and the second memory. Memory data transfer device.
より第一メモリのアドレスに相対する第二メモリの連続
したアドレスを任意の順序に変換したアドレスとして前
記変換メモリに保存し、前記変換メモリのデータを前記
第二メモリのアドレスとして使用するメモリデータの転
送方法。2. The conversion memory according to claim 1, wherein a continuous address of the second memory corresponding to the address of the first memory from the central processing unit is converted in an arbitrary order and stored in the conversion memory in advance. A memory data transfer method using the data of (1) as an address of the second memory.
第二メモリ間のデータ転送の際、前記第二メモリの転送
アドレスを直接指定する代わりに、前記変換メモリを指
定するようにゲート回路を切り換え制御するメモリデー
タの転送方法。3. The gate circuit according to claim 1, wherein, when data is transferred between said first memory and said second memory, said conversion memory is specified instead of directly specifying a transfer address of said second memory. Method of transferring memory data that controls switching of
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16556096A JPH1011386A (en) | 1996-06-26 | 1996-06-26 | Memory data transfer device and transfer method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16556096A JPH1011386A (en) | 1996-06-26 | 1996-06-26 | Memory data transfer device and transfer method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1011386A true JPH1011386A (en) | 1998-01-16 |
Family
ID=15814689
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16556096A Pending JPH1011386A (en) | 1996-06-26 | 1996-06-26 | Memory data transfer device and transfer method thereof |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1011386A (en) |
-
1996
- 1996-06-26 JP JP16556096A patent/JPH1011386A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS622747A (en) | Reception control system | |
| JPH064469A (en) | I / O device control method | |
| JPS6027055A (en) | Input and output channel control system | |
| JP3214557B2 (en) | I/O control device and DMA transfer control method | |
| JP2000298641A (en) | Information processor, its data transferring method and storage medium with data transfer control program stored therein | |
| JPS6129069Y2 (en) | ||
| JPS6279557A (en) | Direct memory accessing system | |
| JPS61216002A (en) | Process controller | |
| JPH0359756U (en) | ||
| JPS58108547U (en) | data transfer device | |
| JPH02307149A (en) | Direct memory access control method | |
| JPH0315777B2 (en) | ||
| JPH01243160A (en) | Data transfer control system | |
| JPH0350245U (en) | ||
| JPH0962506A (en) | Pipeline arithmetic unit | |
| JPH05205076A (en) | State change information collecting system | |
| JPH06131292A (en) | Data transfer method | |
| JPH10124116A (en) | Control device trend data collection method | |
| JPS54131820A (en) | Program switching system for data entry device | |
| JPH0689107A (en) | Display controller | |
| JPS58115677A (en) | Dma data transfer system for transfer in the same memory | |
| JPS61183767A (en) | Buffer memory controlling system | |
| JPH05244167A (en) | Information addtional insertion device | |
| JPH0514290B2 (en) | ||
| JPS62245464A (en) | Dma controller for electronic computer system |