JPH0362248A - Memory controller - Google Patents

Memory controller

Info

Publication number
JPH0362248A
JPH0362248A JP19838489A JP19838489A JPH0362248A JP H0362248 A JPH0362248 A JP H0362248A JP 19838489 A JP19838489 A JP 19838489A JP 19838489 A JP19838489 A JP 19838489A JP H0362248 A JPH0362248 A JP H0362248A
Authority
JP
Japan
Prior art keywords
bits
bit
address
data
dma
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP19838489A
Other languages
Japanese (ja)
Inventor
Yasuhiro Toyoda
康裕 豊田
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.)
Toshiba Corp
Toshiba Computer Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Computer Engineering Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Computer Engineering Corp filed Critical Toshiba Corp
Priority to JP19838489A priority Critical patent/JPH0362248A/en
Publication of JPH0362248A publication Critical patent/JPH0362248A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PURPOSE:To easily attain the DMA transfer to the 32-bit and 16-bit external memories by providing a transceiver between a DMA controller and the external memories to control higher and lower 16 bits out of 32 bits as well as 32 bits. CONSTITUTION:The external memories 2A and 2B have the data widths of 32 buts and 16 bits respectively. The transceivers 3A - 3C transfer data between a DMA device and both memories 2A and 2B by an enable signal. The transceivers 3A, 3B and 3C perform the control the data of 32 bits, the data of lower 16 bits, and the data of higher 16 bits respectively. Thus the DMA transfer is attained between an external memory 2 of 32 bits or 16 bits and a DMA device.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は高速データ転送を行うDMA転送制御を用い
たメモリ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to a memory control device using DMA transfer control for high-speed data transfer.

(従来の技術) 主記憶とファイル等外部記憶間でCPUを介入させるこ
となく高速データ転送する手段としてD M A (D
irect Mesory Access)が知られて
いる。
(Prior art) DMA (D
Direct Memory Access) is known.

DMA制御装置を備えるメモリシステムにおいては、D
MA制御装置が有するデータビット幅と同じデータビッ
ト幅を持つ単一構成の外部メモリを用いる事が多い。こ
のようなメモリシステムにおいてはDMA制御装置によ
るDMA転送中、1回のメモリアクセスで扱えるデータ
量(ビット数)は、DMA制御装置及び外部メモリのデ
ータバスのビット幅に依存している。例えば、データビ
ット幅32ビットのD ki A制御装置を用いると必
然的に外部メモリもデータビット幅32ビットの構成を
とり、1回のアクセスで扱うデータ量も32ビットに制
限される。
In a memory system equipped with a DMA controller, D
A single external memory having the same data bit width as that of the MA controller is often used. In such a memory system, the amount of data (number of bits) that can be handled in one memory access during DMA transfer by the DMA control device depends on the bit width of the data bus of the DMA control device and the external memory. For example, if a D ki A control device with a data bit width of 32 bits is used, the external memory will necessarily also have a data bit width of 32 bits, and the amount of data handled in one access will be limited to 32 bits.

(発明が解決しようとする課題) 従来方式に従えば、DMA制御装置のデータビット幅に
より外部メモリのデータビット幅が決まってしまい、異
なったデータビット幅でのDMA転送を実行する場合、
外部メモリも含めた周辺回路の構成に制限が生じる等の
問題があった。
(Problems to be Solved by the Invention) According to the conventional method, the data bit width of the external memory is determined by the data bit width of the DMA control device, and when performing DMA transfer with a different data bit width,
There were problems such as restrictions on the configuration of peripheral circuits including external memory.

この発明は上記事情に鑑みてなされたものであり、例え
ば32ビットのDMAで32ビット。
This invention was made in view of the above circumstances, and for example, 32 bits in 32 bit DMA.

16ビットの両方の外部メモリに対してDMA転送を行
なえるメモリ制御装置を提供することを目的とする。
An object of the present invention is to provide a memory control device that can perform DMA transfer to both 16-bit external memories.

[発明の構成] (課題を解決するための手段) 本発明は、nビットデータ幅、20ビットデ一タ幅でそ
れぞれ構成される外部メモリが、CPUとは20ビット
転送能力を持つDMA制御装置を介して接続されて成る
情報処理装置において、DMA制御装置から連続的に生
成されるアドレスのうち、上位アドレスをデコードする
ことにより外部メモリを選択する信号を生成するアドレ
スデコーダと、上記アドレスのうちの下位ビットにより
制御され、DMA制御装置と2nビットデ一タ幅で構成
される外部メモリとの間でデータ転送を行うトランシー
バと、nビットデータ幅で構成される外部メモリに対し
、2nビットデータの上位、下位それぞれを転送するト
ランシーバと、nビットデータのアドレスと2nビット
データのアドレスを切替え、順次更新する上記DMA制
御装置内のアドレスカウンタとを具備することを特徴と
する。
[Structure of the Invention] (Means for Solving the Problems) The present invention provides an external memory configured with an n-bit data width and a 20-bit data width, and a DMA control device with a 20-bit transfer capability, which is different from the CPU. In the information processing device connected via the DMA control device, an address decoder generates a signal for selecting an external memory by decoding the upper address among the addresses continuously generated from the DMA control device; A transceiver that is controlled by the lower bits and transfers data between the DMA control device and an external memory configured with a data width of 2n bits, and an external memory configured with a data width of n bits, , a transceiver that transfers each lower order, and an address counter within the DMA control device that switches and sequentially updates an address for n-bit data and an address for 2n-bit data.

(作 用) 本発明は上述したように、32ビットおよび16ビット
構成の外部メモリに対し、DMA制御装置の下位アドレ
ス(A1:ワードアドレス。
(Function) As described above, the present invention applies the lower address (A1: word address) of the DMA control device to external memories of 32-bit and 16-bit configurations.

A2:ロングワードアドレス)により制御される、32
ビットメモリへのデータ転送を行なう32ビットトラン
シーバと、16ビットメモリへの32ビットデータの上
位16ビットの転送を行なうトランシーバと、その下位
16ビットの転送を行なうトランシーバと、DMA内部
でワードアドレス計算とロングワードアドレス計算とを
切り換えてアドレスの順次カウントアツプが可能なアド
レスカウンタとで構成されている。DMA制御装置と外
部メモリの間に32ビット及び、32ビット上位、下位
それぞれの16ビットを制御するトランシーバを設け、
それらをアドレスの値で制御することにより簡単に、3
2ビットメモリへのDMA転送が可能となる。このこと
により、柔軟なシステム構築を実現できる。
A2: Controlled by longword address), 32
A 32-bit transceiver that transfers data to bit memory, a transceiver that transfers the upper 16 bits of 32-bit data to 16-bit memory, a transceiver that transfers the lower 16 bits, and word address calculation inside the DMA. It consists of an address counter that can sequentially count up addresses by switching between longword address calculation and. A transceiver for controlling 32 bits and 16 bits each of the upper and lower 32 bits is provided between the DMA control device and the external memory,
By controlling them with address values, 3
DMA transfer to 2-bit memory becomes possible. This allows for flexible system construction.

(実施例) 以下、図面を使用して本発明実施例について詳細に説明
する。第1図は本発明の実施例を示すブロック図である
。図において、符号1はDMA制御装置であり、図示せ
ぬCPUの制御を受けることなく独立してDMA転送の
制御を行なう。符号2は外部メモリであり、そのビット
構造により2Aと2′Bに区分される。2Aは32ビッ
トのバス幅を持ち、2Bは16ビットのバス幅を持つ。
(Example) Hereinafter, an example of the present invention will be described in detail using the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, reference numeral 1 denotes a DMA control device, which independently controls DMA transfer without being controlled by a CPU (not shown). Reference numeral 2 denotes an external memory, which is divided into 2A and 2'B depending on its bit structure. 2A has a bus width of 32 bits, and 2B has a bus width of 16 bits.

符号3はトランシーバであり、3Aは32ビット。Code 3 is a transceiver, and 3A is 32 bits.

3Bはデータの下位16ビット、3Gは上位16ビット
のデータを制御する。符号4はアドレスカウンタであり
、4Aはロングワード(32ビット)アドレスを、4B
はワード(16ビット)アドレスを制御する。符号5は
アドレスデコーダであり、上位アドレスをデコードする
ことにより、外部メモリ2A、2Bを選択するための信
号(チップセレクト、C8)を生成する。符号6はゲー
ト回路であり、アドレスAによって16ビットメモリの
上位ワード、下位ワードの判別をし、それに応じてトラ
ンシーバ3B、3Cを制御する信号を出力する。
3B controls the lower 16 bits of data, and 3G controls the upper 16 bits of data. The code 4 is an address counter, 4A is a long word (32 bits) address, and 4B is an address counter.
controls word (16 bit) addresses. Reference numeral 5 denotes an address decoder, which generates a signal (chip select, C8) for selecting the external memories 2A and 2B by decoding the upper address. Reference numeral 6 denotes a gate circuit, which determines whether the upper word or lower word of the 16-bit memory is based on the address A, and outputs a signal to control the transceivers 3B and 3C accordingly.

以下、本発明実施例の動作について詳細に説明する。D
MA制御装置1は、外部メモリ2と図示せぬ主記憶間に
あってDMA転送を制御するユニットである。外部メモ
リ2A〜2Bはそれぞれ32ビット、16ビットのデー
タ幅を持つ。トランシーバ3A〜3Cは、イネーブル信
号によりDMAと外部メモリ2A〜2B間でのデータの
やりとりを行なう。トランシーバ3Aは32ビットデー
タを、3Bは下位16ビット、3Cは上位16ビットの
制御を行なう。4A〜4Bはアドレスカウンタであり、
アドレスカウンタ4Aはロングワードアドレスを制御し
、アドレスデコーダ5でチップセレクト信号(32CS
)もしくは16C5の信号を生威し、トランシーバ3A
〜3Cを制御する事により32ビットの外部メモリ2A
間、もしくは16ビット外部メモリ2B間のDMA転送
を制御する。アドレスカウンタ4Bはワードアドレスを
制御し、ゲート回路6A〜6Bを用いる事で16ビット
のトランシーバ3A〜3C及び外部メモリ2Bをコント
ロールする。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. D
The MA control device 1 is a unit that is located between the external memory 2 and a main memory (not shown) and controls DMA transfer. External memories 2A to 2B have data widths of 32 bits and 16 bits, respectively. Transceivers 3A to 3C exchange data between the DMA and external memories 2A to 2B using enable signals. Transceiver 3A controls 32-bit data, 3B controls lower 16 bits, and 3C controls upper 16 bits. 4A to 4B are address counters,
The address counter 4A controls the long word address, and the address decoder 5 outputs the chip select signal (32CS).
) or generate the 16C5 signal, transceiver 3A
~32-bit external memory 2A by controlling 3C
Controls DMA transfer between 16-bit external memories 2B and 16-bit external memory 2B. The address counter 4B controls the word address, and uses the gate circuits 6A to 6B to control the 16-bit transceivers 3A to 3C and the external memory 2B.

シーケンシャルなアドレスアクセスが行なわれている時
に、32ビットもしくは16ビットの外部メモリ2とD
MA装置1間のデータ転送は、アドレスカウンタ4によ
り生成されたロングワードアドレス、ワードアドレス及
び各外部メモリ2A〜2Bのアドレスマツプに応じて上
位アドレスをデコードした信号とによりトランシーバ3
を制御する。このことにより、32ビットもしくは16
ビットの外部メモリ2とDMA装置1間でDMA転送が
行なわれる。
When sequential address access is performed, 32-bit or 16-bit external memory 2 and D
Data transfer between the MA devices 1 is performed by the transceiver 3 using a long word address generated by the address counter 4, a word address, and a signal obtained by decoding the upper address according to the address map of each external memory 2A to 2B.
control. This allows 32-bit or 16-bit
DMA transfer is performed between the bit external memory 2 and the DMA device 1.

[発明の効果] 以上説明のように本発明は、DMA制御装置と外部メモ
リの間に32ビット及び、32ビットの上位、下位それ
ぞれの16ビットを制御するトランシーバを設け、それ
らをアドレスの値で制御することにより、簡単に32ビ
ット、16ビット構戒の外部メモリとのDMA転送が可
能となる。
[Effects of the Invention] As explained above, the present invention provides a transceiver that controls 32 bits and 16 bits each of the upper and lower 32 bits between the DMA control device and the external memory, and controls them using address values. By controlling it, DMA transfer with 32-bit or 16-bit external memory is easily possible.

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

第1図は本発明の実施例を示すブロック図である。 1・・・DMA制御装置、2・・・外部メモリ、3・・
・トランシーバ、4・・・アドレスカウンタ、4・・・
ゲート回路。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1... DMA control device, 2... external memory, 3...
・Transceiver, 4...Address counter, 4...
gate circuit.

Claims (1)

【特許請求の範囲】[Claims] nビットデータ幅、2nビットデータ幅でそれぞれ構成
される外部メモリが、CPUとは2nビット転送能力を
持つDMA制御装置を介して接続されて成る情報処理装
置において、DMA制御装置から連続的に生成されるア
ドレスのうち、上位アドレスをデコードすることにより
外部メモリを選択する信号を生成するアドレスデコーダ
と、上記アドレスのうちの下位ビットにより制御され、
DMA制御装置と2nビットデータ幅で構成される外部
メモリとの間でデータ転送を行うトランシーバと、nビ
ットデータ幅で構成される外部メモリに対し、2nビッ
トデータの上位、下位それぞれを転送するトランシーバ
と、nビットデータのアドレスと2nビットデータのア
ドレスを切替え、順次更新する上記DMA制御装置内の
アドレスカウンタとを具備することを特徴とするメモリ
制御装置。
In an information processing device in which external memories each having an n-bit data width and a 2n-bit data width are connected to a CPU via a DMA control device with a 2n-bit transfer capacity, data is continuously generated from a DMA control device. is controlled by an address decoder that generates a signal for selecting an external memory by decoding the upper address among the addresses to be sent, and the lower bit of the address,
A transceiver that transfers data between a DMA control device and an external memory configured with a 2n-bit data width, and a transceiver that transfers the upper and lower 2n-bit data, respectively, to the external memory configured with an n-bit data width. and an address counter within the DMA control device that switches and sequentially updates an address for n-bit data and an address for 2n-bit data.
JP19838489A 1989-07-31 1989-07-31 Memory controller Pending JPH0362248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19838489A JPH0362248A (en) 1989-07-31 1989-07-31 Memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19838489A JPH0362248A (en) 1989-07-31 1989-07-31 Memory controller

Publications (1)

Publication Number Publication Date
JPH0362248A true JPH0362248A (en) 1991-03-18

Family

ID=16390230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19838489A Pending JPH0362248A (en) 1989-07-31 1989-07-31 Memory controller

Country Status (1)

Country Link
JP (1) JPH0362248A (en)

Similar Documents

Publication Publication Date Title
JPS6126103B2 (en)
JPH0362248A (en) Memory controller
JPH08513U (en) Bus controller operating system built into the main controller
JPH0540694A (en) Cache memory device
JPH03130859A (en) Memory transfer circuit
SU1683039A1 (en) Device for data processing for multiprocessor system
KR19980033805A (en) Data Bus Selection Control Circuit of Semiconductor Memory Device
JPH0424852A (en) Multi-port access system
JPS61175750A (en) Microprocessor system with dma function
JP2612715B2 (en) Address bus controller
JPH0594404A (en) Direct memory access controller
JPS63142434A (en) Interrupt control system
JPS62209639A (en) Memory modification writing circuit
JPH0261749A (en) Data transfer device
JPS60250450A (en) Memory area switching circuit
JPS58181134A (en) Data transfer circuit
JPS63259746A (en) Inter-bank-memory data transmission system
JP2003186864A (en) Microcomputer input/output terminal control device and electronic equipment provided with this microcomputer input/output terminal control device
JPS61120262A (en) Inter-memory intelligent dma controller
JPS63142446A (en) Address generating system
JPS60140591A (en) Bubble memory device
JPH06337847A (en) Multiprocessor device
JPS6170651A (en) Movement system of data array
JPH01185758A (en) Data bus matching device
JPH03292557A (en) Bus control system for microprocessor