JPH03158954A - microcomputer system - Google Patents

microcomputer system

Info

Publication number
JPH03158954A
JPH03158954A JP29903489A JP29903489A JPH03158954A JP H03158954 A JPH03158954 A JP H03158954A JP 29903489 A JP29903489 A JP 29903489A JP 29903489 A JP29903489 A JP 29903489A JP H03158954 A JPH03158954 A JP H03158954A
Authority
JP
Japan
Prior art keywords
memory
board
address
transfer
converter
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
JP29903489A
Other languages
Japanese (ja)
Inventor
Toshiyuki Matsuzaki
松崎 敏之
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 Cable Ltd
Original Assignee
Hitachi Cable 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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP29903489A priority Critical patent/JPH03158954A/en
Publication of JPH03158954A publication Critical patent/JPH03158954A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To shorten time required for a DMA transfer between different boards by adding a command converter and an address converter to a system buffer of a computer board. CONSTITUTION:To a system buffer II 2B in a microcomputer board 10, a command converter 21 and an address converter 22 are added. Accordingly, at the time of executing a transfer from a memory 7 in the computer board 10 to a memory board 11 or in its reverse direction, a transfer destination address or a transfer origin address to the memory board 11 is generated by using the address converter 22, and by the command converter 21, data is written in the memory board 11 or the memory 7 in the computer board. In such a way, the time required for the DMA transfer between different boards can be reduced.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はマイクロコンピュータシステム、特にボード間
でDMA (ダイレクト・メモリ・アクセス)転送を行
うマイクロコンピュータシステムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer system, and particularly to a microcomputer system that performs DMA (direct memory access) transfer between boards.

[従来の技術] 第3図に、従来のボード間DMA転送を行うマイクロコ
ンピュータシステムの構成を示す。
[Prior Art] FIG. 3 shows the configuration of a microcomputer system that performs conventional inter-board DMA transfer.

このマイクロコンピュータシステムは、マイクロコンピ
ュータボード200.メモリボード210、コントロー
ラボード220.システムバス230より成る。このう
ちマイクロコンピュータボード200は、システムバス
アービタ201、システムバスのバッファ202.ロー
カルバスアービタ203.マイクロプロセッサ(MPU
)204.直接メモリアクセスコントローラ(DMAC
)205.ローカルバス206、メモリ207.I10
装置208を主な構成要素とする。
This microcomputer system includes a microcomputer board 200. Memory board 210, controller board 220. It consists of a system bus 230. Of these, the microcomputer board 200 includes a system bus arbiter 201, a system bus buffer 202. Local bus arbiter 203. Microprocessor (MPU)
)204. Direct Memory Access Controller (DMAC)
)205. Local bus 206, memory 207. I10
The main component is device 208.

ローカルバスアービタ203は、MPU204とDMA
C205の間のバス調停を行う。またシステムバスアー
ビタ201は、マイクロコンピュータボード200とコ
ントローラボード220の間のバス調停を行う。
The local bus arbiter 203 communicates with the MPU 204 and the DMA
Performs bus arbitration between C205. Further, the system bus arbiter 201 performs bus arbitration between the microcomputer board 200 and the controller board 220.

上記システムにおいて、ボード間におけるデータの転送
を行う場合、例えばメモリボード210からコンピュー
タボード内メモリ207ヘデータの転送を行う場合、次
の手順となる。
In the above system, when data is transferred between boards, for example, when data is transferred from the memory board 210 to the computer board memory 207, the following procedure is used.

(八)DMAC205が、メモリボード210よクシス
テムバス230.バツフア202.ローカルバス206
経由で、DMAC205内部のレジスタに1ワード(8
又は16ビツトが一般的)のデータD1を読み込む(第
4図(A))。
(8) The DMAC 205 connects the memory board 210 to the system bus 230. Batsuhua 202. local bus 206
1 word (8
(or 16 bits is common) data D1 is read (FIG. 4(A)).

(B)次に、DMAC205が、このDMAC205内
部のレジスタのデータを、ローカルバス206経由でメ
モリ207に書き込む(第4図(B))。
(B) Next, the DMAC 205 writes the data in the register inside the DMAC 205 to the memory 207 via the local bus 206 (FIG. 4(B)).

この動作をDMAC205内部のレジスタに指定された
アドレスの範囲について行なう。この繰返し動作のタイ
ムチャートを第4図に示す。
This operation is performed for the address range specified in the register inside the DMAC 205. A time chart of this repetitive operation is shown in FIG.

[発明が解決しようとする課題] しかし、前記した従来技術においては、異なるボード間
におけるダイレクト・メモリ・アクセス(DMA)転送
についての配慮がなされていない。
[Problems to be Solved by the Invention] However, in the above-described conventional technology, no consideration is given to direct memory access (DMA) transfer between different boards.

即ち、異なるメモリ間におけるDMA転送の際にも、直
接メモリアクセスコントローラDMACが一度転送元メ
モリよりデータを読み込み、次にDMACがこのデータ
を転送先メモリに書き込まなければならず、DMA転送
に要する時間が長いという問題点があった。
That is, even when performing DMA transfer between different memories, the direct memory access controller DMAC must read data from the transfer source memory once, and then the DMAC must write this data to the transfer destination memory, which reduces the time required for DMA transfer. The problem was that it was long.

本発明の目的は、前記した従来技術の問題点を解決し、
異なるボード間のDMA転送に要する時間が、短時間で
済むマイク17コンピユータシステムを提供することに
ある。
The purpose of the present invention is to solve the problems of the prior art described above,
To provide a microphone 17 computer system in which the time required for DMA transfer between different boards is short.

[課題を解決するための手段1 本発明のマイクロコンピュータシステムは、メモリボー
ド、コンピュータボードを含み、これらがシステムバス
により接続されるマイクロコンピュータシステムにおい
て、 コンピュータボードは、マイクロプロセッサMPU、メ
モリ、直接メモリアクセスコントローラDMAC,シス
テムバスバッファ■、システムバスバッファII、ロー
カルバスバッファにて構成され、 該MPUはシステムバスバッファ■を、DMACはシス
テムバスバッファIIを介して、それぞれメモリボード
をアクセスするバス構成であり、システムバスバッファ
IIは、データバッファの他に、DMACからの指令に
よりメモリヘの書込み続出し制御を行う機能を有するコ
マンドコンバータと、予め設定された初期アドレスから
開始してDMA転送毎にアドレスを変化させることが可
能な機能を有するアドレスコンバータとを含み、コンピ
ュータボード内メモリからメモリボードへの転送を行う
際に、MPUはDMACに対してコンピュータボード内
メモリから架空の入出力装置への転送となる指示を与え
、メモリボードへ前記アドレスコンバータを用いてのア
ドレスを発生させて前記コマンドコンバータによりコン
ピュータボード内メモリからのデータをメモリボードに
書き込み、 また、メモリボードからコンピュータボード内メモリヘ
の転送を行う際に、MPUはDMACに対して架空の入
出力装置からコンピュータボード内メモリヘの転送とな
る指示を与え、メモリボードへ前記アドレスコンバータ
を用いてのアドレスを発生させて前記コマンドコンバー
タによりメモリボードからのデータをコンピュータボー
ド内メモリに書き込む構成にしたものである。
[Means for Solving the Problems 1] A microcomputer system of the present invention includes a memory board and a computer board, and in a microcomputer system in which these are connected by a system bus, the computer board includes a microprocessor MPU, a memory, and a direct memory. The access controller is composed of an access controller DMAC, a system bus buffer ■, a system bus buffer II, and a local bus buffer. In addition to the data buffer, the System Bus Buffer II includes a command converter that has the function of controlling continuous writing to memory based on commands from the DMAC, and a command converter that has the function of controlling continuous writing to the memory based on commands from the DMAC, and a command converter that has the function of controlling continuous writing to the memory based on commands from the DMAC. When performing a transfer from the memory on the computer board to the memory board, the MPU has an address converter with a function that can be changed. generates an address to the memory board using the address converter, writes data from the memory on the computer board to the memory board using the command converter, and also transfers data from the memory board to the memory on the computer board. At this time, the MPU gives an instruction to the DMAC to transfer data from a fictitious input/output device to the memory on the computer board, generates an address to the memory board using the address converter, and transfers the data from the memory board using the command converter. The configuration is such that data is written to the memory inside the computer board.

[作用] マイクロコンピュータボードにおけるシステムバスバッ
ファ■には、コマンド・コンバータとアドレス・コンバ
ータを付加してあり、それによってコンピュータボード
内メモリからメモリボードへ又はその逆方向に転送を行
う際には、メモリボードへの転送先アドレス又は転送元
アドレスがアドレスコンバータを用いて発生され、コマ
ンドコンバータによりデータがメモリボードに又はコン
ピュータボード内メモリに書き込まれる。よって、異る
ボード間におけるDMA転送に際に要する時間を、大幅
に縮小させることができる。
[Function] The system bus buffer on the microcomputer board is equipped with a command converter and an address converter, so that when transferring data from the computer board's internal memory to the memory board or vice versa, the memory A destination or source address to the board is generated using an address converter, and a command converter writes data to the memory board or to memory within the computer board. Therefore, the time required for DMA transfer between different boards can be significantly reduced.

し実施例] 以下、本発明の一実施例を第1図を用いて説明する。Examples] An embodiment of the present invention will be described below with reference to FIG.

従来技術と同様、本マイクロコンピュータシステムの構
成要素は、マイクロコンピュータボード10、メモリボ
ード11.コントローラボード12、システムバス13
である。しかし、マイクロコンピュータボード10は、
システムバスアービタ1,2つのシステムバスバッファ
2A、2B〈システムバスバッファI、II)、ローカ
ルバスアービタ3.マイクロプロセッサ(MPU)4゜
直接メモリアクセスコントローラ(DMAC)5゜2つ
のローカルバス6A、6B(ローカルバスI、■)、メ
モリ7、およびI10装置8にて構成されている。
Similar to the prior art, the components of this microcomputer system include a microcomputer board 10, a memory board 11 . Controller board 12, system bus 13
It is. However, the microcomputer board 10
System bus arbiter 1, two system bus buffers 2A, 2B (system bus buffers I, II), local bus arbiter 3. It consists of a microprocessor (MPU) 4°, a direct memory access controller (DMAC) 5°, two local buses 6A and 6B (local buses I and ■), a memory 7, and an I10 device 8.

システムバスバッファ2B(システムバスバッファ■)
は、コマンドコンバータ21.アドレスコンバータ22
を含む。このコマンドコンバータ21、アドレスコンバ
ータ22は、メモリ間高速DMA転送を行なうため、次
の機能を持つ。
System bus buffer 2B (system bus buffer■)
is the command converter 21. Address converter 22
including. The command converter 21 and address converter 22 have the following functions in order to perform high-speed DMA transfer between memories.

即ち、コマンドコンバータ21は、DMAC5からのコ
マンドが[メモリとI10装置の間の転送」であり、且
つ、MPU4からのコマンドが「メモリ間高速DMA転
送」の状態の場合には、システムバス13に対して、D
MAC5がメモリ7に出力した信号(読み、書き)を反
転して出力する機能を有する。つまり、メモリ7に対し
て「読み込み」であればシステムバス13に対して「書
き込み」を、メモリ7に対して「書き込み」であればシ
ステムバス13に対して「読み込み」を出力する。
That is, when the command from the DMAC 5 is "transfer between memory and I10 device" and the command from the MPU 4 is "high-speed DMA transfer between memories," the command converter 21 transfers data to the system bus 13. On the other hand, D
It has a function of inverting and outputting the signal (reading, writing) outputted by the MAC 5 to the memory 7. That is, if the memory 7 is a "read", a "write" is output to the system bus 13, and if the memory 7 is a "write", a "read" is output to the system bus 13.

また、アドレスコンバータ22は次の機能を持つ。Further, the address converter 22 has the following functions.

(^)第1は、メモリボード11に対する初期アドレス
の設定機能である。即ち、メモリボード11からコンピ
ュータボード内メモリ7ヘデータの転送を行なう場合に
は、転送元(メモリボード11)の初期アドレスを設定
する。また、逆方向の場合、即ちコンピュータボード内
メモリ7からメモリボード11/\のデータ転送を行な
う場合には、転送先(メモリボード11)のアドレスを
設定する。これらが設定されるアドレスコンバータ72
2の内部レジスタを「初期アドレスレジスタ」と呼ぶ。
(^) The first is the function of setting an initial address for the memory board 11. That is, when data is transferred from the memory board 11 to the computer board memory 7, the initial address of the transfer source (memory board 11) is set. Further, in the case of the reverse direction, that is, when data is transferred from the computer board internal memory 7 to the memory board 11/\, the address of the transfer destination (memory board 11) is set. Address converter 72 where these are set
The internal register No. 2 is called the "initial address register."

(B)第2は、メモリボード11に対し初期アドレスを
出力する機能である。即ち、DMACからのコマンドが
「メモリとI10装置の間の転送」であり、且つ、[ボ
ード間高速DMA転送」の状態の場合には、「初期アド
レスレジスタ」に予め設定されていたメモリボード11
用の初期アドレスを用いて、上記(A)で述べたそれぞ
れの転送方向に応じ、それぞれ「転送元アドレス」又は
「転送先アドレス」としてメモリボード11に出力する
(B) The second function is to output an initial address to the memory board 11. That is, if the command from the DMAC is "transfer between memory and I10 device" and the state is "inter-board high-speed DMA transfer", the memory board 11 previously set in the "initial address register"
Using the initial address for each transfer, the initial address is output to the memory board 11 as a "transfer source address" or "transfer destination address" according to each transfer direction described in (A) above.

次に、メモリボード11からコンピュータボード内メモ
リ7ヘデータを高速DMA転送する例を示す。
Next, an example of high-speed DMA transfer of data from the memory board 11 to the computer board internal memory 7 will be shown.

 0 (^)MPU4はコマンドコンバータ21に、高速DM
Aを行なうことを指示する。
0 (^) MPU 4 sends high-speed DM to command converter 21
Instruct to do A.

(B)MPU4はアドレスコンバータ22に転送元であ
るメモリボード11の初期アドレス(転送元初期アドレ
ス)を指示する。
(B) The MPU 4 instructs the address converter 22 the initial address of the memory board 11 that is the transfer source (transfer source initial address).

(C)MPU4は、DMAC5に対し、転送先であるコ
ンピュータボード内メモリ7の初期アドレス(転送先ア
ドレス)、転送語数を指示すると共に、架空のI10装
置からコンピュータボード内メモリ7へのDMA転送で
あることを指示する。
(C) The MPU 4 instructs the DMAC 5 about the initial address (transfer destination address) of the memory 7 on the computer board, which is the transfer destination, and the number of words to be transferred, and also performs DMA transfer from the fictitious I10 device to the memory 7 on the computer board. instruct something.

(D)MPU4はDMAC5に対し、DMA開始の指示
を出力する。
(D) The MPU 4 outputs an instruction to start DMA to the DMAC 5.

(E)DMAC5は、ローカルバス6Bに「書き込み」
信号と「転送先アドレス」を出力する。この「書き込み
」信号は、第2図に(F)(E)で示すように、コマン
ドコンバータ21で「読み込み」信号に変換され、また
「転送先アドレス」はアドレスコンバータ22で「転送
元アドレス」に変換され、それぞれシステムバス13経
由でメモリボード11に出力される。これにより、メモ
リボード1 11にデ°−タD1を出力さぜる。
(E) DMAC5 “writes” to local bus 6B
Outputs the signal and "forwarding address". This "write" signal is converted into a "read" signal by the command converter 21, as shown in (F) and (E) in FIG. 2, and the "transfer destination address" is converted to the "transfer source address" by the address converter 22. and output to the memory board 11 via the system bus 13, respectively. This causes the data D1 to be output to the memory board 111.

(nこの時、DMAC5はメモリ7に対、シ「書き込み
J信号、[転送先アドレスJを出力しているため、メモ
リボード11の出力したデータD1は、第2図に(F)
(E)で示すように、システムバスバッファ2B経由で
コンピュータボード内メモリ7に書き込まれる。
(At this time, the DMAC 5 outputs the write J signal and the transfer destination address J to the memory 7, so the data D1 output from the memory board 11 is shown in FIG. 2 (F).
As shown in (E), the data is written to the computer board memory 7 via the system bus buffer 2B.

(G)上記(F)(E)(F)の動作を、転送語数だけ
繰り返す、尚、アドレスコンバータ22は、予め設定さ
れた開始アドレス(初期アドレス)から始めて、DMA
転送毎にアドレスを変化させる。
(G) The operations of (F), (E), and (F) above are repeated for the number of words to be transferred. Note that the address converter 22 starts from a preset start address (initial address), and
The address changes for each transfer.

かくして、DMAC自体の読み込み、書き込みを経ずし
て、メモリボード11がらコンピュータボード内メモリ
7へ高速DMA転送ができる。
In this way, high-speed DMA transfer can be performed from the memory board 11 to the computer board internal memory 7 without reading or writing from the DMAC itself.

[発明の効果] 以上述べたように、本発明によれは、異なるボード間に
おけるダイレクトメモリアクセス(DMA)転送の際、
従来性なっていたようにデータを、直接メモリアクセス
コントローラDMACに取り込む必要がなくなるなめ、
従来と比較して2倍の2 速度にて行うことが可能となる。
[Effects of the Invention] As described above, according to the present invention, during direct memory access (DMA) transfer between different boards,
This eliminates the need to directly import data into the memory access controller DMAC, as was the case in the past.
This makes it possible to operate at twice the speed compared to conventional methods.

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

第1図は本発明によるマイクロコンピュータシステムを
示す図、第2図は本発明によるボード間DMAのタイム
チャート図、第3図は従来技術によるマイクロコンピュ
ータシステムを示す図、第4図は従来技術によるボード
間DMAのタイムチャート図である。 図中、1はシステムバスアーとり、2Aはシステムバス
バッファI、2BはシステムバスバッファII、3はロ
ーカルアービタ、4はマイクロプロセッサMPU、5は
直接メモリアクセスコントローラDMAC16Aはロー
カルバスI、6BはローカルバスII、7はコンピュー
タボード内メモリ、8はI10装置、9はローカルバス
バッファ、10はマイクロコンピュータボード、11は
メモリボード、12はコントローラボード、13はシス
テムバス、21はコマンドコンバータ、22はアドレス
コンバータを示す。 3 (F) (F) 475−
FIG. 1 is a diagram showing a microcomputer system according to the present invention, FIG. 2 is a time chart diagram of inter-board DMA according to the present invention, FIG. 3 is a diagram showing a microcomputer system according to the prior art, and FIG. 4 is a diagram according to the prior art. FIG. 4 is a time chart diagram of inter-board DMA. In the figure, 1 is the system bus buffer, 2A is the system bus buffer I, 2B is the system bus buffer II, 3 is the local arbiter, 4 is the microprocessor MPU, 5 is the direct memory access controller DMAC16A is the local bus I, 6B is the local bus Bus II, 7 is the memory inside the computer board, 8 is the I10 device, 9 is the local bus buffer, 10 is the microcomputer board, 11 is the memory board, 12 is the controller board, 13 is the system bus, 21 is the command converter, 22 is the address Converter shown. 3 (F) (F) 475-

Claims (1)

【特許請求の範囲】 1、メモリボード、コンピュータボードを含み、これら
がシステムバスにより接続されるマイクロコンピュータ
システムにおいて、 コンピュータボードは、マイクロプロセッ サMPU、メモリ、直接メモリアクセスコントローラD
MAC、システムバスバッファ I 、システムバスバッ
ファII、ローカルバスバッファにて構成され、 MPUはシステムバスバッファ I を、DM ACはシステムバスバッファIIを介して、それぞれメモ
リボードをアクセスするバス構成であり、 システムバスバッファIIは、データバッフ ァの他に、DMACからの指令によりメモリへの書込み
読出し制御を行う機能を有するコマンドコンバータと、
予め設定された初期アドレスから開始してDMA転送毎
にアドレスを変化させることが可能な機能を有するアド
レスコンバータとを含み、 コンピュータボード内メモリからメモリボ ードへの転送を行う際に、MPUはDMACに対してコ
ンピュータボード内メモリから架空の入出力装置への転
送となる指示を与え、メモリボードへ前記アドレスコン
バータを用いてのアドレスを発生させて前記コマンドコ
ンバータによりコンピュータボード内メモリからのデー
タをメモリボードに書き込み、 また、メモリボードからコンピュータボー ド内メモリヘの転送を行う際に、MPUはDMACに対
して架空の入出力装置からコンピュータボード内メモリ
への転送となる指示を与え、メモリボードへ前記アドレ
スコンバータを用いてのアドレスを発生させて前記コマ
ンドコンバータによりメモリボードからのデータをコン
ピュータボード内メモリに書き込む構成にしたことを特
徴とするマイクロコンピュータシステム。
[Claims] 1. In a microcomputer system including a memory board and a computer board, which are connected by a system bus, the computer board includes a microprocessor MPU, a memory, and a direct memory access controller D.
It is composed of MAC, system bus buffer I, system bus buffer II, and local bus buffer, and has a bus configuration in which the MPU accesses the memory board through the system bus buffer I, and the DMA AC accesses the memory board through the system bus buffer II. In addition to the data buffer, the system bus buffer II includes a command converter that has the function of controlling reading and writing to memory based on commands from the DMAC.
It includes an address converter that has a function of starting from a preset initial address and changing the address for each DMA transfer, and when performing a transfer from the memory on the computer board to the memory board, the MPU An instruction is given to the computer board to transfer data from the computer board's internal memory to a fictitious input/output device, the memory board generates an address using the address converter, and the command converter transfers data from the computer board's internal memory to the memory board. Also, when performing a transfer from the memory board to the memory on the computer board, the MPU instructs the DMAC to transfer from a fictitious input/output device to the memory on the computer board, and then sends the address converter to the memory board. 1. A microcomputer system characterized in that the command converter generates an address using the command converter and writes data from the memory board to a memory within the computer board.
JP29903489A 1989-11-17 1989-11-17 microcomputer system Pending JPH03158954A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29903489A JPH03158954A (en) 1989-11-17 1989-11-17 microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29903489A JPH03158954A (en) 1989-11-17 1989-11-17 microcomputer system

Publications (1)

Publication Number Publication Date
JPH03158954A true JPH03158954A (en) 1991-07-08

Family

ID=17867358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29903489A Pending JPH03158954A (en) 1989-11-17 1989-11-17 microcomputer system

Country Status (1)

Country Link
JP (1) JPH03158954A (en)

Similar Documents

Publication Publication Date Title
US5426737A (en) Direct memory access for data transfer within an I/O device
JPH0546527A (en) Dual port memory circuit
JPH02207363A (en) Data transfer system, device controller, and memory controller
JPH01175056A (en) Program transfer system
JP2976443B2 (en) Information processing device that exchanges data via system bus
JPS6059462A (en) Pipeline access memory of bi-directional data bus
JP2884620B2 (en) Digital image processing device
JPS63292356A (en) Dma controller
JPH09259074A (en) Memory access circuit
JP2563807B2 (en) Direct memory access control circuit
JPS62249263A (en) Direct memory access controller
JPH03262056A (en) Cache burst transfer system
JPH04116750A (en) Dma memory transfer device
JPH03228163A (en) Data transfer equipment
JPS63304357A (en) Microcomputer system
JPH01250163A (en) Bus controller
JPH0594404A (en) Direct memory access controller
JPH0512183A (en) Data transfer system
JPH01282940A (en) Memory clear method
JPH1031646A (en) DMA control method
JPH02307149A (en) Direct memory access control method
JPH07262127A (en) Ic test equipment
JPH039453A (en) Data transfer controller
JPS62262170A (en) Data transfer system
JPH0381854A (en) Memory access system