JP4181268B2 - Multi-channel memory controller - Google Patents

Multi-channel memory controller Download PDF

Info

Publication number
JP4181268B2
JP4181268B2 JP10560399A JP10560399A JP4181268B2 JP 4181268 B2 JP4181268 B2 JP 4181268B2 JP 10560399 A JP10560399 A JP 10560399A JP 10560399 A JP10560399 A JP 10560399A JP 4181268 B2 JP4181268 B2 JP 4181268B2
Authority
JP
Japan
Prior art keywords
address
channels
channel
value
memory
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.)
Expired - Fee Related
Application number
JP10560399A
Other languages
Japanese (ja)
Other versions
JP2000298642A (en
Inventor
雅浩 星
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.)
Asahi Kasei EMD Corp
Original Assignee
Asahi Kasei EMD 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 Asahi Kasei EMD Corp filed Critical Asahi Kasei EMD Corp
Priority to JP10560399A priority Critical patent/JP4181268B2/en
Publication of JP2000298642A publication Critical patent/JP2000298642A/en
Application granted granted Critical
Publication of JP4181268B2 publication Critical patent/JP4181268B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は多チャンネル型メモリ・コントローラに関し、特に、複数デバイスの処理とは独立して複数種類のメモリ・デバイスへのアクセスをコントロールする多チャンネル型メモリ・コントローラに関する。
【0002】
【従来の技術】
今日では、産業の発展に従ってメモリ制御に関する要求が多様化、複雑化してきており、同時に回路規模も増大してきている。例えば、高速なメモリ制御要求により、CPUを通さずにDMAコントローラに対し複数デバイス(複数チャンネル)が直接メモリアクセスを要求したり、DMAコントローラに直接割り込み要求がなされたりすることが増大している。また、使用するメモリ・デバイスの種類も多様化し、複数種類のメモリ・デバイスに同時並列的にアクセス・コントロールする必要が生じている。
【0003】
この様なDMAコントローラの従来例として、特開平2−280259号公報(発明の名称「多チャンネル型メモリ・コントローラ」)に記載されたものが知られている。
【0004】
当該公報の多チャンネル型メモリ・コントローラは、DMAコントローラ内に開始アドレスを記憶するアドレス・レジスタと転送数を記憶するカウンタ・レジスタをそれぞれ複数備え、CPUからの命令に従って、特定種類のメモリに対するタイミングで所定のデータ数のみアドレス生成を繰り返す方式とされている。すなわち、固定的なアドレス更新カウント指示機構により一定量のアドレス生成を行う、シンプルなDMA制御を行うものであった。
【0005】
【発明が解決しようとする課題】
従って上記従来のDMAコントローラは、複数デバイスの各チャンネルがDMAタイミング制御部と直接、要求(リクエスト)および確認(アクノリッジ)を行うのには適していない。また、DMAタイミング制御部においてメモリが実際にアクセスされたタイミングでレジスタ更新信号を生成してレジスタを更新するには、使用するメモリの全種別について予め制御回路を設ける必要があり、これにより回路が複雑化し、回路規模が増大してしまう。
【0006】
具体的には、直接のメモリ割り込み要求に対する場合や、メモリ・リフレッシュ期間などアドレス更新期間のタイミング生成や、例えばDRAM,SRAM,その他の複数種類のメモリ・デバイスに対するアドレス更新タイミングなど、様々な場合について個別にDMAタイミング制御部でタイミングを生成する、複雑で大規模の構成が必要になる。さらに、CPUからの指示によって効率良い制御を行うことには困難を伴う。
【0007】
そこで、本発明は上記の課題に鑑みてなされたものであって、複数チャンネルから複数種類のメモリ・デバイスへのアクセスを上記要求に従って制御することのできる、シンプルかつロー・コストな構成の多チャンネル型メモリ・コントローラを提供することを目的とする。
【0008】
【課題を解決するための手段】
上記の課題を解決するために本発明は、複数チャンネルからの別々のリクエストに基づいて複数種類のメモリへのアクセスを制御する多チャンネル型メモリ・コントローラにおいて、各チャンネルに対して指示されるアドレス値を記憶する複数の記憶手段と、前記複数の記憶手段から読み出される各チャンネル毎のアドレス値に対する加算値を指示するとともに、前記加算値と任意のアドレス値または前記読み出されたアドレス値を加算する加算手段と、前記複数チャンネルからの指示アドレスまたは前記加算手段が出力するアドレス値を選択的に出力する選択手段と、前記複数チャンネルからのリクエストに応じてアドレス発行許可信号を出力して、制御手段に前記複数種類のメモリへのアドレス発行を許可する許可手段と、前記制御手段から前記複数チャンネルに返されるアクノリッジ信号を用いて前記選択手段から前記複数の記憶手段への書きこみを制御して、前記リクエストに従って前記複数の記憶手段のアドレス値を更新するアドレス更新手段とを備え、前記制御手段として、前記複数種類のメモリに接続でき、前記許可手段からの前記アドレス発行許可信号を入力すると前記加算手段からの出力アドレス値を前記複数種類のメモリに発行して異なるタイミングを制御するとともに、当該発行に従い前記複数チャンネルに返すべき前記アクノリッジ信号を出力するメモリ・コントロール手段を備えたことを特徴とする
【0010】
【作用】
上記構成の本発明によれば、許可手段が複数チャンネルからのリクエストに応じてアドレス発行許可信号を出力して制御手段に複数種類のメモリへのアドレス発行を許可すると、制御手段から複数チャンネルに返すべきアクノリッジ信号が返され、このアクノリッジ信号を用いて複数の記憶手段への書きこみが制御されるように作用する。
【0011】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について詳細に説明する。
【0012】
図1は本発明に係る多チャンネル型メモリ・コントローラの一実施形態の回路図である。
【0013】
まず、図1の構成における複数チャンネルのダイレクト・メモリ・アクセス動作を概略的に説明する。ここではチャンネル数を3としたが、3チャンネルに限らず本発明を適用することができる。
【0014】
DMAアドレス発生回路118は参照符号121〜123を付した複数のチャンネルCH1,CH2,CH3からのリクエスト信号REQ1,REQ2,REQ3に応じて、各チャンネルのCPU(図示せず)等の処理とは独立して後述の通りアドレス・データADRを発生する。このアドレス・データADRはメモリ・コントローラ130に出力される。DMAアドレス発生回路118に設けたDMAタイミング制御回路108からのアドレス発行許可信号AVARIDが当該コントローラ130に供給されてアドレス発行が許可されると、当該コントローラ130に接続されるDRAM131,SRAM132に対し別々にアドレス・データDADR,SADRを発行するように当該コントローラ130がメモリ・アクセスを制御する。
【0015】
メモリ・コントローラ130は、当該アドレス・データを発行すると要求元チャンネルに返すべきアクノリッジ信号ACKを出力し、DMAアドレス発生回路118を介していずれかのチャンネルにこれを返す。
【0016】
DMAアドレス発生回路118は前述のDMAタイミング制御回路108の他に、セレクタ100,アドレス・レジスタ101,102,103,カウント・レジスタ111,112,113,加算器104,加算値コントロール部105,コンパレータ106,アドレス・ラッチ部107,及び、本発明装置に特徴的な機能を実現するアドレス・レジスタ更新制御部115を備えている。各レジスタは各チャンネルに対応して設けられており、アドレス・レジスタ101〜103は各チャンネルに対して指示されるアドレスを記憶するもので、カウント・レジスタ111〜113は各チャンネルに対応するカウント値を記憶するものである。
【0017】
セレクタ100は、DMAタイミング制御回路108からのバス・セレクト信号5に応じて制御線1またはアドレス/カウント・バス2を選択する。制御線1はDMAアドレス発生回路118と各チャンネルとのインターフェイスを司り、初期データ入力、DMAモード設定等を行う。セレクタ100が制御線1を選択すると、選択バス3を介して各チャンネルからの初期データ(任意設定される先頭の転送アドレス、転送回数)を対応する各レジスタに出力する。
【0018】
アドレス/カウント・バス2は加算器104の出力に接続され、加算器104によるアドレス/カウント値の計算結果を転送する。セレクタ100がアドレス/カウント・バス2を選択すると、加算器104で計算した現在の転送アドレス/残り転送回数を対応する各レジスタに選択バス3を介して出力する。
【0019】
各レジスタへの書きこみタイミングは、後述の通りアドレス・レジスタ更新制御部115により制御される。
【0020】
各レジスタが保持しているデータはDMAバス4を介して加算器104へ転送され、ここで、加算値コントロール部105から指示される加算値7と加算される。すなわち、加算値コントロール部105はDMAタイミング制御回路108からのモード信号8に従って加算値7を生成出力し、この加算値7が出力されると加算器104は、転送モードやアドレス計算時間、カウント計算時間に応じてアドレス値およびカウント値を加算してアドレス/カウント・バス2へ出力する。
【0021】
加算器104は、アドレス・レジスタ101〜103が保持しているデータ(任意アドレス値または前回転送におけるアドレス値)に対しては転送毎に現在の転送アドレスを計算し、カウント・レジスタ111〜113が保持しているデータ(任意の転送回数または前回転送における残り回数)に対しては転送毎に残りの転送回数を計算する。加算器104において加算値7に従い決定されたこれら転送アドレスと残り転送回数は、次回転送データとしてアドレス/カウント・バス2を介してセレクタ100に選択され、各レジスタの更新データとして用いられる。
【0022】
加算出力はコンパレータ106に供給され、ここで転送終了か否をDMAタイミング制御回路108に知らせるための比較が行われる。すなわち、残り転送回数を“0”と比較して、“0”であれば終了信号9により転送終了を知らせる。終了信号9に応じて、アドレス・レジスタ更新制御部115は後述の通りに異なった態様で動作する。
【0023】
DMAタイミング制御回路108はさらにアドレス・ラッチ部107にラッチ信号11を所定タイミングで送出する。アドレス・ラッチ部107は加算器104からの加算出力をこのラッチ信号11に従ったタイミングでラッチ保持し、保持しているデータをDMAアドレス(ADR)として前述の通りメモリ・コントローラ130に出力する。
【0024】
メモリ・コントローラ130がこのDMAアドレスを発行して要求元チャンネルに返すべきアクノリッジ信号ACKを前述の通り出力すると、アドレス・レジスタ更新制御部115は当該アクノリッジ信号を受けて各要求元チャンネルおよび対応する各レジスタに、別々の伝送線を介してアクノリッジ信号ACK1,ACK2,ACK3を出力する。例えば要求元がチャンネルCH1(121)のときはアクノリッジ信号ACK1が当該チャンネルに返され、さらにこれを書き込み制御のために兼用してアドレス・レジスタ101とカウント・レジスタ111に供給される。
【0025】
なお、図1の構成において要求元チャンネルにアクノリッジ信号を返さなくともダイレクト・メモリ・アクセスは成立する。
【0026】
アドレス・レジスタ更新制御部115はDMAタイミング制御回路108からのACK中継制御信号12に従い動作し、メモリ・コントローラ130から要求元チャンネルへのアクノリッジ信号ACKを、要求元チャンネルおよび要求元チャンネルに対応するレジスタに所定タイミングでACK1〜ACK3として返す。このように、アドレス更新時にはアクノリッジ信号ACKを基に各レジスタの値を更新するように書き込みを制御し、他の場合には、各チャンネル要求やコンパレータ106の比較結果に応じて任意のアドレス値またはカウント値を各レジスタに記憶させるように書き込みを制御する。
【0027】
上記した本実施形態によれば、メモリ・コントローラ130がアドレス発行許可信号AVARIDを受けてアドレス発行を行って要求元チャンネルに返すアクノリッジ信号ACKをレジスタ更新のタイミング制御に兼用するようにしたシンプルでローコストな構成により要求元チャンネルでのアドレス発生の確認を容易にし、従来のようにレジスタ更新信号を生成するための複雑な構成の必要がない汎用的な構成により、使用するメモリ・デバイスの種類によらず、メモリ割り込みや停止に応じたアドレス更新の制御を効率良く行って多チャンネルDMAにおけるアドレス生成を成し得るという効果がある。
【0028】
図2は本発明に係る多チャンネル型メモリ・コントローラの他の実施形態の回路図である。図2において、図1中の構成要素と同一のものには同一符号を付し、その説明をここでは省略する。
【0029】
図2に示すDMAアドレス発生回路128は内部にカウント・レジスタを備えておらず、参照符号121a〜123aを付した複数のチャンネルCH1,CH2,CH3がカウント・レジスタ211〜213をそれぞれ備えている。アドレス・レジスタ更新制御部115は、メモリ・コントローラ130からアクノリッジ信号ACKを受けて各要求元チャンネル121a〜123aおよび対応するアドレス・レジスタ101〜103に、別々の伝送線を介してアクノリッジ信号ACK1,ACK2,ACK3を出力する。
【0030】
すなわち、各チャンネル121a〜123aからのリクエスト信号REQ1,REQ2,REQ3に対してDMAアドレス発生回路128がアクノリッジ信号ACK1,ACK2,ACK3を返すことで、各チャンネルとDMAアドレス発生回路128とのインターフェースがとられる構成である。この構成においても、アクノリッジ信号ACK1,ACK2,ACK3をアドレス・レジスタ101〜103の書き込みタイミング制御に用いるように、前述の通りアドレス・レジスタ更新制御部115による制御が行われる。
【0031】
本実施の形態においても、よりシンプルな構成により、上述実施形態と同様の効果を奏することができる。
【0032】
【発明の効果】
以上説明した通り本発明によれば、許可手段が複数チャンネルからのリクエストに応じてアドレス発行許可信号を出力して制御手段に複数種類のメモリへのアドレス発行を許可すると、制御手段から複数チャンネルに返すべきアクノリッジ信号が返され、このアクノリッジ信号を用いて複数の記憶手段への書きこみが制御されるので、書きこみ制御のための信号生成を行う構成を必要とすることなく、複数種類のメモリに対して複数チャンネルによるダイレクト・メモリ・アクセスを行うことができる効果がある。
【図面の簡単な説明】
【図1】本発明に係る多チャンネル型メモリ・コントローラの一実施形態の回路図である。
【図2】本発明に係る多チャンネル型メモリ・コントローラの他の実施形態の回路図である。
【符号の説明】
101〜103 アドレス・レジスタ
108 DMAタイミング制御回路
111〜113,211〜213 カウント・レジスタ
115 アドレス・レジスタ更新制御部
118,128 DMAアドレス発生回路
121〜123,121a〜123a チャンネル
130 メモリ・コントローラ
ACK,ACK1〜ACK3 アクノリッジ信号
REQ1〜REQ3 リクエスト信号
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a multi-channel memory controller, and more particularly to a multi-channel memory controller that controls access to a plurality of types of memory devices independently of processing of the plurality of devices.
[0002]
[Prior art]
Today, the demand for memory control is diversified and complicated as the industry develops, and at the same time the circuit scale is increasing. For example, due to a high-speed memory control request, a plurality of devices (multiple channels) directly request a memory access to the DMA controller without going through the CPU, or an interrupt request is directly made to the DMA controller. In addition, the types of memory devices to be used are diversified, and it is necessary to simultaneously access and control a plurality of types of memory devices.
[0003]
As a conventional example of such a DMA controller, one described in Japanese Patent Laid-Open No. 2-280259 (name of invention “multi-channel memory controller”) is known.
[0004]
The multi-channel memory controller of the publication includes a plurality of address registers for storing a start address and a counter register for storing the number of transfers in the DMA controller. The address generation is repeated for a predetermined number of data. That is, simple DMA control is performed in which a fixed amount of addresses are generated by a fixed address update count instruction mechanism.
[0005]
[Problems to be solved by the invention]
Therefore, the conventional DMA controller is not suitable for each channel of a plurality of devices to directly perform a request (request) and a confirmation (acknowledge) with the DMA timing control unit. Further, in order to generate a register update signal and update a register at the timing when the memory is actually accessed in the DMA timing control unit, it is necessary to provide a control circuit in advance for all types of memory to be used. It becomes complicated and the circuit scale increases.
[0006]
Specifically, various cases, such as a case of a direct memory interrupt request, generation of timing of an address update period such as a memory refresh period, and address update timing of a plurality of types of memory devices such as DRAM, SRAM, etc. A complicated and large-scale configuration is required in which the timing is individually generated by the DMA timing control unit. Furthermore, it is difficult to perform efficient control according to instructions from the CPU.
[0007]
Therefore, the present invention has been made in view of the above problems, and is a simple and low-cost multi-channel configuration capable of controlling access from a plurality of channels to a plurality of types of memory devices in accordance with the above-described requirements. An object of the present invention is to provide a type memory controller.
[0008]
[Means for Solving the Problems]
In order to solve the above problems , the present invention provides an address value designated for each channel in a multi-channel memory controller that controls access to a plurality of types of memories based on different requests from a plurality of channels. A plurality of storage means for storing the address and an addition value for the address value for each channel read from the plurality of storage means, and the addition value and an arbitrary address value or the read address value are added Addition means, selection means for selectively outputting an instruction address from the plurality of channels or an address value output from the addition means, and an address issue permission signal in response to a request from the plurality of channels, and control means Permission means for permitting address issuance to the plurality of types of memory, and the control means And controls the writing from the selecting means by using the acknowledge signal to be returned to et the plurality of channels to the plurality of storage means, and an address updating means for updating the address value of the plurality of storage means in accordance with said request The control means can be connected to the plurality of types of memories, and when the address issue permission signal is input from the permission means, the output address value from the addition means is issued to the plurality of types of memories to control different timings. And a memory control means for outputting the acknowledge signal to be returned to the plurality of channels in accordance with the issuance .
[0010]
[Action]
According to the present invention configured as described above, when the permission unit outputs an address issuance permission signal in response to a request from a plurality of channels and permits the control unit to issue an address to a plurality of types of memories, the control unit returns to the plurality of channels. A power acknowledge signal is returned, and writing to the plurality of storage means is controlled using this acknowledge signal.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0012]
FIG. 1 is a circuit diagram of an embodiment of a multi-channel memory controller according to the present invention.
[0013]
First, the direct memory access operation of a plurality of channels in the configuration of FIG. 1 will be schematically described. Although the number of channels is three here, the present invention is not limited to three channels.
[0014]
The DMA address generation circuit 118 is independent of processing of a CPU (not shown) or the like of each channel in response to request signals REQ1, REQ2, and REQ3 from a plurality of channels CH1, CH2, and CH3 denoted by reference numerals 121 to 123. As described later, address data ADR is generated. The address data ADR is output to the memory controller 130. When the address issue permission signal AVARID from the DMA timing control circuit 108 provided in the DMA address generation circuit 118 is supplied to the controller 130 and the address issue is permitted, the DRAM 131 and the SRAM 132 connected to the controller 130 are separately provided. The controller 130 controls the memory access so as to issue the address data DADR and SADR.
[0015]
When the memory controller 130 issues the address data, it outputs an acknowledge signal ACK to be returned to the request source channel, and returns it to any channel via the DMA address generation circuit 118.
[0016]
In addition to the DMA timing control circuit 108 described above, the DMA address generation circuit 118 includes a selector 100, address registers 101, 102, 103, count registers 111, 112, 113, an adder 104, an addition value control unit 105, and a comparator 106. , An address / latch unit 107, and an address / register update control unit 115 that realizes functions characteristic of the apparatus of the present invention. Each register is provided corresponding to each channel. The address registers 101 to 103 store addresses designated for the respective channels. The count registers 111 to 113 are count values corresponding to the respective channels. Is memorized.
[0017]
The selector 100 selects the control line 1 or the address / count bus 2 according to the bus select signal 5 from the DMA timing control circuit 108. The control line 1 serves as an interface between the DMA address generation circuit 118 and each channel, and performs initial data input, DMA mode setting, and the like. When the selector 100 selects the control line 1, the initial data (arbitrarily set leading transfer address, transfer count) from each channel is output to the corresponding registers via the selection bus 3.
[0018]
The address / count bus 2 is connected to the output of the adder 104 and transfers the calculation result of the address / count value by the adder 104. When the selector 100 selects the address / count bus 2, the current transfer address / remaining transfer count calculated by the adder 104 is output to the corresponding registers via the selection bus 3.
[0019]
The write timing to each register is controlled by the address / register update control unit 115 as described later.
[0020]
The data held in each register is transferred to the adder 104 via the DMA bus 4, where it is added with the addition value 7 instructed from the addition value control unit 105. That is, the addition value control unit 105 generates and outputs the addition value 7 in accordance with the mode signal 8 from the DMA timing control circuit 108. When this addition value 7 is output, the adder 104 outputs the transfer mode, address calculation time, and count calculation. The address value and the count value are added according to time and output to the address / count bus 2.
[0021]
The adder 104 calculates the current transfer address for each transfer for the data (arbitrary address value or the address value in the previous transfer) held in the address registers 101 to 103, and the count registers 111 to 113 For the held data (arbitrary transfer count or remaining transfer count in the previous transfer), the remaining transfer count is calculated for each transfer. The transfer address and the remaining transfer count determined in accordance with the addition value 7 in the adder 104 are selected as the next transfer data by the selector 100 via the address / count bus 2 and used as update data for each register.
[0022]
The added output is supplied to the comparator 106, where a comparison for notifying the DMA timing control circuit 108 of whether or not the transfer is completed is performed. That is, the remaining transfer count is compared with “0”, and if it is “0”, the end of transfer is notified by the end signal 9. In response to the end signal 9, the address / register update control unit 115 operates in a different manner as described later.
[0023]
The DMA timing control circuit 108 further sends a latch signal 11 to the address latch unit 107 at a predetermined timing. The address latch unit 107 latches and holds the addition output from the adder 104 at a timing according to the latch signal 11, and outputs the held data to the memory controller 130 as a DMA address (ADR) as described above.
[0024]
When the memory controller 130 issues the DMA address and outputs the acknowledge signal ACK to be returned to the request source channel as described above, the address register update control unit 115 receives the acknowledge signal and receives each request source channel and each corresponding channel. Acknowledgment signals ACK1, ACK2, and ACK3 are output to the registers via separate transmission lines. For example, when the request source is the channel CH1 (121), the acknowledge signal ACK1 is returned to the channel, and is further supplied to the address register 101 and the count register 111 for writing control.
[0025]
In the configuration shown in FIG. 1, the direct memory access is established without returning an acknowledge signal to the request source channel.
[0026]
The address register update control unit 115 operates according to the ACK relay control signal 12 from the DMA timing control circuit 108, and sends an acknowledge signal ACK from the memory controller 130 to the request source channel to the request source channel and the request source channel. To ACK1 to ACK3 at a predetermined timing. As described above, when the address is updated, writing is controlled so that the value of each register is updated based on the acknowledge signal ACK. In other cases, an arbitrary address value or a value according to each channel request or the comparison result of the comparator 106 is controlled. Writing is controlled so that the count value is stored in each register.
[0027]
According to the above-described embodiment, the memory controller 130 receives the address issue permission signal AVARID, issues an address, and returns the acknowledge signal ACK to be returned to the request source channel for simple and low cost control of register update. This makes it easy to check the address generation in the request source channel, and does not require a complicated configuration to generate a register update signal as in the past, and it depends on the type of memory device used. In addition, there is an effect that the address update in the multi-channel DMA can be performed by efficiently controlling the address update according to the memory interruption or stop.
[0028]
FIG. 2 is a circuit diagram of another embodiment of a multi-channel memory controller according to the present invention. 2, the same components as those in FIG. 1 are denoted by the same reference numerals, and the description thereof is omitted here.
[0029]
The DMA address generation circuit 128 shown in FIG. 2 does not include a count register therein, and a plurality of channels CH1, CH2, and CH3 denoted by reference numerals 121a to 123a include count registers 211 to 213, respectively. The address register update control unit 115 receives the acknowledge signal ACK from the memory controller 130, and sends the acknowledge signals ACK1, ACK2 to the request source channels 121a to 123a and the corresponding address registers 101 to 103 via separate transmission lines. , ACK3 is output.
[0030]
That is, the DMA address generation circuit 128 returns the acknowledge signals ACK1, ACK2, and ACK3 in response to the request signals REQ1, REQ2, and REQ3 from the channels 121a to 123a, so that the interface between each channel and the DMA address generation circuit 128 is established. It is the structure which is made. Also in this configuration, the control by the address register update control unit 115 is performed as described above so that the acknowledge signals ACK1, ACK2, and ACK3 are used for the write timing control of the address registers 101 to 103.
[0031]
Also in the present embodiment, the same effects as those of the above-described embodiment can be achieved with a simpler configuration.
[0032]
【The invention's effect】
As described above, according to the present invention, when the permission unit outputs an address issuance permission signal in response to a request from a plurality of channels and permits the control unit to issue an address to a plurality of types of memories, the control unit shifts to a plurality of channels. An acknowledge signal to be returned is returned, and writing to a plurality of storage means is controlled by using this acknowledge signal. Therefore, a plurality of types of memories are not required without requiring a configuration for generating a signal for writing control. In contrast, it is possible to perform direct memory access by a plurality of channels.
[Brief description of the drawings]
FIG. 1 is a circuit diagram of an embodiment of a multi-channel memory controller according to the present invention.
FIG. 2 is a circuit diagram of another embodiment of a multi-channel memory controller according to the present invention.
[Explanation of symbols]
101-103 Address register 108 DMA timing control circuit 111-113, 211-213 Count register 115 Address register update control unit 118, 128 DMA address generation circuit 121-123, 121a-123a Channel 130 Memory controller ACK, ACK1 ~ ACK3 acknowledge signal REQ1-REQ3 request signal

Claims (1)

複数チャンネルからの別々のリクエストに基づいて複数種類のメモリへのアクセスを制御する多チャンネル型メモリ・コントローラにおいて、
各チャンネルに対して指示されるアドレス値を記憶する複数の記憶手段と、
前記複数の記憶手段から読み出される各チャンネル毎のアドレス値に対する加算値を指示するとともに、前記加算値と任意のアドレス値または前記読み出されたアドレス値を加算する加算手段と、
前記複数チャンネルからの指示アドレスまたは前記加算手段が出力するアドレス値を選択的に出力する選択手段と、
前記複数チャンネルからのリクエストに応じてアドレス発行許可信号を出力して、制御手段に前記複数種類のメモリへのアドレス発行を許可する許可手段と、
前記制御手段から前記複数チャンネルに返されるアクノリッジ信号を用いて前記選択手段から前記複数の記憶手段への書きこみを制御して、前記リクエストに従って前記複数の記憶手段のアドレス値を更新するアドレス更新手段と、を備え、
前記制御手段として、
前記複数種類のメモリに接続でき、前記許可手段からの前記アドレス発行許可信号を入力すると前記加算手段からの出力アドレス値を前記複数種類のメモリに発行して異なるタイミングを制御するとともに、当該発行に従い前記複数チャンネルに返すべき前記アクノリッジ信号を出力するメモリ・コントロール手段を備えたことを特徴とする多チャンネル型メモリ・コントローラ。
In a multi-channel memory controller that controls access to multiple types of memory based on separate requests from multiple channels,
A plurality of storage means for storing address values designated for each channel;
Instructing an addition value for an address value for each channel read from the plurality of storage means, and an addition means for adding the addition value and an arbitrary address value or the read address value;
A selection means for selectively outputting an instruction address from the plurality of channels or an address value output by the addition means;
An output unit that outputs an address issuance permission signal in response to a request from the plurality of channels, and a permission unit that permits the control unit to issue an address to the plurality of types of memories;
Address update means for controlling writing from the selection means to the plurality of storage means using an acknowledge signal returned from the control means to the plurality of channels, and updating address values of the plurality of storage means according to the request and, with a,
As the control means,
When the address issue permission signal from the permission means is input, the output address value from the addition means is issued to the plurality of types of memory to control different timings, and according to the issue A multi-channel type memory controller comprising memory control means for outputting the acknowledge signal to be returned to the plurality of channels .
JP10560399A 1999-04-13 1999-04-13 Multi-channel memory controller Expired - Fee Related JP4181268B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10560399A JP4181268B2 (en) 1999-04-13 1999-04-13 Multi-channel memory controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10560399A JP4181268B2 (en) 1999-04-13 1999-04-13 Multi-channel memory controller

Publications (2)

Publication Number Publication Date
JP2000298642A JP2000298642A (en) 2000-10-24
JP4181268B2 true JP4181268B2 (en) 2008-11-12

Family

ID=14412090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10560399A Expired - Fee Related JP4181268B2 (en) 1999-04-13 1999-04-13 Multi-channel memory controller

Country Status (1)

Country Link
JP (1) JP4181268B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8205021B2 (en) 2009-12-21 2012-06-19 Electronics And Telecommunications Research Institute Memory system and integrated management method for plurality of DMA channels

Also Published As

Publication number Publication date
JP2000298642A (en) 2000-10-24

Similar Documents

Publication Publication Date Title
JP2571067B2 (en) Bus master
KR970049655A (en) Direct Memory Access (DMA) Controller
JP2005258867A (en) Resource managing apparatus
JP2011204269A (en) Readdressable virtual dma control and status register
TW200921671A (en) Memory control device and semiconductor processing apparatus
US5640517A (en) Method and apparatus for masters to command a slave whether to transfer data in a sequential or non-sequential burst order
JPH03189843A (en) System and method for processing data
JP3803196B2 (en) Information processing apparatus, information processing method, and recording medium
JP4902640B2 (en) Integrated circuit and integrated circuit system
JP4181268B2 (en) Multi-channel memory controller
US20060047866A1 (en) Computer system having direct memory access controller
JP2004310394A (en) Sdram access control device
KR101034514B1 (en) Electronic data processing circuit that transmits packed words via a bus
JP2000187636A (en) Dam transfer system
JP3820831B2 (en) Memory control method and apparatus
JPH10149311A (en) Memory controller
JP2629648B2 (en) Data transfer system
JPH1185673A (en) Method and device for controlling shared bus
JPH10301897A (en) Method and device for arbitration
JP3270149B2 (en) Data transfer device
JPH05108538A (en) Memory access control system
JP2020129205A (en) Control device and control method
JPH1031648A (en) Dma controller
JPS588336A (en) Data transferring method
JPH04361348A (en) Data transfer method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051025

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070402

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080509

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080708

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080801

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080829

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110905

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110905

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110905

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120905

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130905

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees