JP2003263363A - Memory control circuit - Google Patents

Memory control circuit

Info

Publication number
JP2003263363A
JP2003263363A JP2002064378A JP2002064378A JP2003263363A JP 2003263363 A JP2003263363 A JP 2003263363A JP 2002064378 A JP2002064378 A JP 2002064378A JP 2002064378 A JP2002064378 A JP 2002064378A JP 2003263363 A JP2003263363 A JP 2003263363A
Authority
JP
Japan
Prior art keywords
memory
control circuit
access
memory access
master
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
JP2002064378A
Other languages
Japanese (ja)
Inventor
Tomonori Tanaka
智憲 田中
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2002064378A priority Critical patent/JP2003263363A/en
Publication of JP2003263363A publication Critical patent/JP2003263363A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a high-performance inexpensive memory control circuit capable of surely improving the memory band width without reducing the effective band width and without increasing a data buffer inside the memory control circuit. <P>SOLUTION: A demand signal for memory access is inputted from each DMA master 1a-1e, and a master for performing memory access corresponding to the present order of priority at timing when the memory is not accessed (not in the busy state) is selected, and an enabling signal is outputted. A demand address of the selected master is outputted to a subsequent SDRAM control circuit. In addition, the demand address of the selected master is outputted to the subsequent SDRAM control circuit, and an access start signal for showing the occurrence of the memory access is outputted. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、メモリ制御回路に
関し、特にメモリ記憶装置全般、デジタル複写機、スキ
ャナ、プリンタ、FAXにおけるメモリを使用する機器
のメモリ制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control circuit, and more particularly to a memory control circuit for general memory storage devices, digital copiers, scanners, printers, and devices that use memories in FAX.

【0002】[0002]

【従来の技術】メモリアクセス時のパフォーマンスを示
す用語としてメモリバンド幅という言葉がある。一般に
バンド幅は、同期式の半導体メモリ、たとえばSDRA
Mにおいては、1クロックで1回のデータのやりとりを
行なうとして動作周波数×データバス幅で表される。例
を挙げると、動作周波数が100MHzで、バス幅が8
ビットならば、バンド幅は100MB/secとなる。
しかし、SDRAMのアクセスは、行アドレスを指定す
るアクティブコマンドの発行、その後列アドレスを指定
するリードまたはライトコマンドの発行、プリチャージ
時間の確保と一定の手順に従って行なう必要があるた
め、クロック単位でデータの入出力を行なっていない時
間(以下、ロスクロックと呼ぶ)があり、実際の実効バ
ンド幅としてはもっと小さい値になる。
2. Description of the Related Art There is a term "memory bandwidth" as a term indicating performance during memory access. Generally, the bandwidth is a synchronous semiconductor memory such as SDRA.
In M, it is expressed as operating frequency × data bus width, assuming that data is exchanged once in one clock. For example, the operating frequency is 100MHz and the bus width is 8
With bits, the bandwidth is 100 MB / sec.
However, access to the SDRAM needs to be performed in accordance with a fixed procedure, such as issuing an active command designating a row address, then issuing a read or write command designating a column address, and securing a precharge time. There is a time (hereinafter, referred to as a lost clock) during which the input / output of is not performed, and the actual effective bandwidth becomes a smaller value.

【0003】また、SDRAMにはデータの入出力をク
ロック毎に連続させるバーストアクセスと呼ばれるアク
セス方法があり、同一行アドレスのアクセスに対し、1
回のアクティブコマンドの発行(以下、トランザクショ
ンと呼ぶ)と複数回のリードまたはライトコマンドの発
行の組み合わせで実現する方法と、イニシャライズ時に
モードレジスタと呼ばれるSDRAM内部レジスタに設
定することで1回のアクセス時に扱うデータの個数を一
義的に決めるSDRAMがデフォルトで持つ機能を使用
する方法がある。1回のトランザクションにおけるバー
ストアクセスの長さが長いほど実効バンド幅は向上す
る。しかし、それだけ多量のデータを連続で入出力する
ためには、それだけのデータを一時的にためるデータバ
ッファがメモリ制御側に必要になり、回路規模も大きく
なり高価なものになってしまう。
In addition, SDRAM has an access method called burst access in which data input / output is continued for each clock, and one access to the same row address is performed.
A method that is realized by a combination of issuing an active command once (hereinafter referred to as transaction) and issuing a read or write command multiple times, and by setting in an SDRAM internal register called a mode register at the time of initialization, at the time of one access There is a method of using the default function of the SDRAM that uniquely determines the number of data to be handled. The longer the burst access in one transaction, the better the effective bandwidth. However, in order to continuously input and output such a large amount of data, a data buffer for temporarily storing that much data is required on the memory control side, and the circuit scale becomes large and expensive.

【0004】バンド幅を向上させたい簡単な方法とし
て、動作周波数を上げる、またはデータバス幅を大きく
する方法がある。動作周波数をあげるのは汎用のSDR
AMにはスペック上限界があるが、データバス幅を大き
くするのは端子数の問題以外は比較的簡単である。例え
ばバンド幅を単純に倍にしたい場合、データバス幅を8
ビットから16ビットにすることで、数値上200MB
/secとなる。しかし、バーストアクセスのためのデ
ータバッファがメモリ制御側に同量しかない場合、バー
ストアクセスの長さは半分とするしかなく、その分1ト
ランザクション中のロスクロックの割合が増加し、実行
バンド幅としては単純に倍とすることはできない。
As a simple method of increasing the bandwidth, there is a method of increasing the operating frequency or increasing the data bus width. Raising the operating frequency is general purpose SDR
Although AM has a limit in specifications, increasing the data bus width is relatively easy except for the problem of the number of terminals. For example, if you want to simply double the bandwidth, set the data bus width to 8
By changing from 16 bits to 16 bits, numerically 200MB
/ Sec. However, when the data buffer for burst access is the same amount on the memory control side, the length of burst access can only be halved, and the proportion of lost clocks in one transaction increases by that amount, resulting in an increase in execution bandwidth. Cannot simply be doubled.

【0005】[0005]

【発明が解決しようとする課題】本発明は、従来技術の
問題点に鑑みてなされたもので、マルチマスタシステム
ではメモリアクセス要求の数が多いため複数ポートを持
つ構成は有効で、単純にバス幅を広げる方法と比較し、
実効バンド幅を低下させることがなく、かつメモリ制御
回路内部のデータバッファを増加させることなく確実に
メモリバンド幅を向上させ、高性能、安価となるメモリ
制御回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the problems of the prior art. In a multi-master system, the number of memory access requests is large, so a configuration having a plurality of ports is effective, and a simple bus is used. Compared with the method of widening the width,
An object of the present invention is to provide a memory control circuit which has a high performance and a low cost, which surely improves the memory bandwidth without reducing the effective bandwidth and without increasing the data buffer inside the memory control circuit.

【0006】また、バーストアクセスで交互に異なるポ
ートに振り分けることが可能となり、マスタ側はメモリ
のアドレスを意識して要求する必要がなく、かつメモリ
要求の待ち時間が少なくて済み、確実にメモリバンド幅
を向上させることが可能な高性能となるメモリ制御回路
を提供することを目的とする。
Further, it becomes possible to alternately allocate to different ports by burst access, the master side does not need to be aware of the memory address for the request, and the waiting time of the memory request is short, so that the memory band can be surely secured. An object of the present invention is to provide a high performance memory control circuit capable of improving the width.

【0007】さらに、メモリの使用量、マスタの数に応
じてポート数を可変にすることができ、様々なシステム
に応じて柔軟な構成を対応可能な高品質なメモリ制御回
路を提供することを目的とする。
Furthermore, it is possible to provide a high-quality memory control circuit capable of varying the number of ports according to the amount of memory used and the number of masters, and capable of adapting a flexible configuration to various systems. To aim.

【0008】[0008]

【課題を解決するための手段】係る目的を達成するため
に、本発明のメモリ制御回路は、複数のマスタからのメ
モリアクセス要求を調停し、接続されたメモリをアクセ
ス制御するメモリ制御回路において、独立にアクセス可
能な複数のメモリと接続される複数のポートと、複数の
マスタからのそれぞれのメモリアクセス要求アドレスの
所定ビットである分配ビットによってアクセスするポー
トを振り分けるセレクタと、ポート毎に接続された前記
セレクタにより振り分けられた複数のマスタからのメモ
リアクセス要求を調停する調停手段と、ポート毎に接続
された前記調停手段により決定されたマスタのメモリア
クセス要求の内容に従いメモリにアクセスするための信
号を制御するメモリアクセス制御手段とを有することを
特徴とする。
To achieve the above object, a memory control circuit according to the present invention arbitrates memory access requests from a plurality of masters and controls access to a connected memory. Multiple ports connected to multiple independently accessible memories, selectors for allocating the ports to be accessed by distribution bits that are predetermined bits of each memory access request address from multiple masters, and connected for each port Arbitration means for arbitrating memory access requests from a plurality of masters distributed by the selector, and a signal for accessing the memory according to the contents of the memory access request of the master determined by the arbitration means connected for each port. And a memory access control means for controlling.

【0009】また、分配ビットは、バーストアクセスに
使用するメモリアクセスするアドレスの下位の数ビット
の上位に位置するビットであることを特徴とする。
Further, the distribution bit is a bit located at a higher position than a few lower bits of an address for memory access used for burst access.

【0010】さらに、複数のポートのうち、使用するポ
ートを任意に選択可能とし、セレクタはその設定に応じ
てメモリアクセス要求を振り分けるように構成したこと
を特徴とする。
Further, it is characterized in that a port to be used can be arbitrarily selected from a plurality of ports, and the selector is configured to distribute the memory access request according to the setting.

【0011】[0011]

【発明の実施の形態】次に添付図面を参照して本発明に
よるメモリ制御回路の実施の形態を詳細に説明する。図
1は、本発明のメモリ制御回路の構成例を示すブロック
図である。本発明のメモリ制御回路は、DMAマスタ1
aから1e、セレクタ2aから2e、調停回路3a、3
b、SDRAM制御回路4a、4b、SDRAM5で構
成されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of a memory control circuit according to the present invention will be described in detail with reference to the accompanying drawings. FIG. 1 is a block diagram showing a configuration example of a memory control circuit of the present invention. The memory control circuit of the present invention includes a DMA master 1
a to 1e, selectors 2a to 2e, arbitration circuits 3a, 3
b, SDRAM control circuits 4a, 4b, and SDRAM 5.

【0012】DMAマスタ1aから1eは、アドレスを
要求するために要求アドレスを出力する。セレクタ2a
から2eは、DMAマスタからの要求アドレスである2
9ビットのバス[28:0]中の下位3ビット[2:
0]はSDRAMのバーストアクセスに使用され、下位
から4ビット目の[3]をメモリ要求をどちらのポート
に振り分けるか判定するための分配ビットとしてポート
指定回路に接続している。
The DMA masters 1a to 1e output the requested address in order to request the address. Selector 2a
To 2e are request addresses from the DMA master 2
Lower 3 bits [2: of 9-bit bus [28: 0]
0] is used for burst access of the SDRAM, and the lower 4th bit [3] is connected to the port designating circuit as a distribution bit for determining to which port the memory request is distributed.

【0013】調停回路3a、3bとも同等の回路で、ラ
ウンドロビン方式の調停を行なう回路である。メモリア
クセスするマスタを選択し、許可信号を出力している。
The arbitration circuits 3a and 3b are equivalent circuits, and are circuits that perform round-robin arbitration. The master to access the memory is selected and the permission signal is output.

【0014】SDRAM制御回路4a、4bとも同等の
回路で、調停回路から入力される要求アドレスを半導体
メモリであるSDRAMに対応したロウアドレス、カラ
ムアドレス、バンクアドレスに分割し、SDRAMアド
レスに出力する。さらに、2つのポートで接続されるS
DRAM5はデータの入出力を行なう。
The SDRAM control circuits 4a and 4b are equivalent circuits, and divide the request address input from the arbitration circuit into a row address, a column address, and a bank address corresponding to the SDRAM, which is a semiconductor memory, and output it to the SDRAM address. Furthermore, S connected by two ports
The DRAM 5 inputs / outputs data.

【0015】次に図1のブロック図を用いて構成例の動
作について説明する。図1では、それぞれの各DMAマ
スタからメモリアクセスのための要求信号が入力され、
それに対しメモリがアクセス中でない(ビジー状態でな
い)タイミングで現在の優先順位に応じてメモリアクセ
スするマスタを選択し、許可信号を出力している。ま
た、後段のSDRAM制御回路に対して、選択したマス
タの要求アドレスを出力している。さらに、後段のSD
RAM制御回路に対して、選択したマスタの要求アドレ
スを出力し、メモリアクセスの発生を示すアクセス開始
信号を出力する。
Next, the operation of the configuration example will be described with reference to the block diagram of FIG. In FIG. 1, a request signal for memory access is input from each DMA master,
On the other hand, at a timing when the memory is not being accessed (not in a busy state), the master to access the memory is selected according to the current priority order and the permission signal is output. Further, the request address of the selected master is output to the SDRAM control circuit in the subsequent stage. Furthermore, the latter SD
The request address of the selected master is output to the RAM control circuit, and the access start signal indicating the occurrence of memory access is output.

【0016】調停回路からのアクセス開始信号に従い、
SDRAM制御信号(/RAS、/CAS、/WE等)
を出力する。接続メモリ量はそれぞれ256MBで、S
DRAM制御回路に入力されるアドレス線はそれぞれ2
8ビットで構成される。
According to the access start signal from the arbitration circuit,
SDRAM control signals (/ RAS, / CAS, / WE, etc.)
Is output. The amount of connected memory is 256MB each, and S
2 address lines are input to the DRAM control circuit.
It consists of 8 bits.

【0017】DMAマスタからの要求アドレスである2
9ビットのバス[28:0]中の下位3ビット[2:
0]は、SDRAMのバーストアクセスに使用され、下
位から4ビット目の[3]のメモリ要求をどちらのポー
トに振り分けるか判定するための分配ビットとしてポー
ト指定回路に接続している。意図的に最上位の[28]
に接続することも可能であるが、その場合、DMAマス
タの要求アドレスはポートを意識してアドレスを振り分
ける必要があり、そうしないとバンド幅を向上させるこ
とができない。
2 which is the request address from the DMA master
Lower 3 bits [2: of 9-bit bus [28: 0]
0] is used for the burst access of the SDRAM, and is connected to the port designation circuit as a distribution bit for deciding to which port the memory request of [3] of the fourth bit from the lower order should be distributed. Intentionally the highest [28]
However, in this case, the request address of the DMA master needs to be distributed in consideration of the port, otherwise the bandwidth cannot be improved.

【0018】図2は、SDRAM制御回路に入出力する
制御信号のタイミングチャートを示した図である。本実
施例では、SDRAMはデフォルトの機能として持つモ
ードレジスタに設定するバースト長は2で使用してい
る。SDRAM制御回路は、1回のアクティブコマンド
に対し、最大のリード/ライトコマンドを2クロック毎
に発行することで、最大8連続のバーストアクセスを実
現している。
FIG. 2 is a diagram showing a timing chart of control signals input to and output from the SDRAM control circuit. In the present embodiment, the SDRAM is used with the burst length set to 2 in the mode register having the default function. The SDRAM control circuit issues a maximum read / write command for every two clocks in response to one active command, thereby realizing a maximum of eight consecutive burst accesses.

【0019】図2のタイミングチャートは、8連続のバ
ーストライトの図であるが、データバス(DATA
[7:0])にデータが入らない期間(ロスクロック)
が6クロック存在し、全体のアクセスに要するクロック
数としてはデータが存在する期間の8クロックを加えて
14クロックを要している。実効バンド幅を計算する
と、動作周波数100MHz×データバス幅1バイト×
(8クロック/14クロック)で約57MB/secと
なる。
The timing chart of FIG. 2 is a diagram of 8 consecutive burst writes, but the data bus (DATA
[7: 0]) period when no data enters (loss clock)
There are 6 clocks, and the total number of clocks required for access is 14 clocks in addition to 8 clocks during the period when data is present. Calculating the effective bandwidth, operating frequency 100 MHz × data bus width 1 byte ×
It becomes about 57 MB / sec at (8 clocks / 14 clocks).

【0020】バンド幅を大きくしたいためにデータバス
幅を2倍の16ビットにしたSDRAM制御回路を用意
すると、その場合に制御回路側、またはマスタ側にデー
タを一時蓄えるデータバッファが8ビット時と同量のま
まではSDRAMに一度に入出力するデータ量は8ビッ
ト時と同量のため、よってバースト数は半分とするしか
なく、使用クロック数は図2のタイミングチャートから
2回のライトコマンドに要した4クロックが全体のアク
セスに要するクロック数からマイナスされることにな
る。その場合の実効バンド幅は、動作周波数100MH
z×データバス幅2バイト×(4クロック/10クロッ
ク)で約80MB/secとなり、ロスクロックの割合
が増え、単純に倍にはならない。本発明の実施例では、
独立に制御可能なSDRAMポートを2つ持っているの
で、ロスクロックの割合は図2と変わらず、実効バンド
幅は2倍の114MB/secとなる。
In order to increase the bandwidth, an SDRAM control circuit having a double data bus width of 16 bits is prepared. In that case, the data buffer for temporarily storing data on the control circuit side or the master side is 8 bits long. With the same amount, the amount of data input / output to / from the SDRAM at the same time is the same as that at 8 bits, so the number of bursts must be halved, and the number of clocks used can be changed from the timing chart of FIG. 2 to two write commands. The required 4 clocks are subtracted from the number of clocks required for the entire access. In that case, the effective bandwidth is 100 MHz operating frequency.
z × data bus width 2 bytes × (4 clocks / 10 clocks), which is about 80 MB / sec, and the ratio of lost clocks increases, and it does not simply double. In the embodiment of the present invention,
Since it has two independently controllable SDRAM ports, the ratio of lost clocks is the same as in FIG. 2, and the effective bandwidth is doubled to 114 MB / sec.

【0021】図2のタイミングチャートは、8連続のバ
ーストライトの図であるが、データバス(DATA[
7:0] )にデータが入らない期間(ロスクロック)が
6クロック存在し、全体のアクセスに要するクロック数
としてはデータが存在する期間の8クロックを加えて1
4クロックを要している。実効バンド幅を計算すると、
動作周波数100MHz×データバス幅1バイトかける
(8クロック/14クロック)で約57MB/secと
なる。
The timing chart of FIG. 2 is a diagram of a burst write of eight consecutive bursts.
7: 0]), there are 6 clocks (loss clock) during which no data is input, and the total number of clocks required for access is 1 including 8 clocks during which data is present.
It takes 4 clocks. When we calculate the effective bandwidth,
Operating frequency of 100 MHz × data bus width of 1 byte (8 clocks / 14 clocks) gives about 57 MB / sec.

【0022】バンド幅を大きくしたいためにデータバス
幅を2倍の16ビットにしたSDRAM制御回路を用意
すると、その場合に制御回路側、またはマスタ側にデー
タを一時蓄えるデータバッファが8ビット時と同量のま
まではSDRAMに一度に入出力するデータ量は8ビッ
ト時と同量のため、よってバースト数は半分とするしか
なく、使用クロック数は図2のタイミングチャートから
2回のライトコマンドに要した4クロックが全体のアク
セスに要するクロック数からマイナスされることにな
る。その場合の実効バンド幅は、動作周波数100MH
z×データバス幅2バイト×(4クロック/10クロッ
ク)で約80MB/secとなり、ロスクロックの割合
が増え単純に倍にはならない。本発明の実施例では、独
立に制御可能なSDRAMポートを2つ持っているの
で、ロスクロックの割合は図2と変わらず、実効バンド
幅は2倍の114MB/secとなる。また、本実施例
では、メモリポート数は2つで説明してあるが、4、8
とメモリを複数ポートにし、分配ビットと複数ビット使
用する例もある。
In order to increase the bandwidth, an SDRAM control circuit having a double data bus width of 16 bits is prepared. In that case, the data buffer for temporarily storing data on the control circuit side or the master side is 8 bits long. With the same amount, the amount of data input / output to / from the SDRAM at the same time is the same as that at 8 bits, so the number of bursts must be halved, and the number of clocks used can be changed from the timing chart of FIG. 2 to two write commands. The required 4 clocks are subtracted from the number of clocks required for the entire access. In that case, the effective bandwidth is 100 MHz operating frequency.
z × data bus width 2 bytes × (4 clocks / 10 clocks), which is about 80 MB / sec, and the ratio of lost clocks increases, and it does not simply double. Since the embodiment of the present invention has two independently controllable SDRAM ports, the ratio of lost clocks is the same as in FIG. 2, and the effective bandwidth is doubled to 114 MB / sec. Further, in the present embodiment, the number of memory ports is two, but it is 4, 8
There is also an example in which the memory is set to multiple ports, and distributed bits and multiple bits are used.

【0023】図3は、各セレクタの内部構成を示した図
である。セレクタは、要求マスク回路10a、10b、
ポート指定回路11、要求アドレスリサイズ回路12か
ら構成されている。
FIG. 3 is a diagram showing the internal structure of each selector. The selectors are the request mask circuits 10a, 10b,
It is composed of a port designating circuit 11 and a request address resizing circuit 12.

【0024】要求マスク10a、10bともに同等の回
路であり、DMAマスタからのメモリ要求信号をポート
指定回路からのマスク指示信号に応じてマスクし、調停
回路1aまたは1bへ出力する。
The request masks 10a and 10b are equivalent circuits, and mask the memory request signal from the DMA master according to the mask designating signal from the port designating circuit and output it to the arbitration circuit 1a or 1b.

【0025】ポート指定回路20は分配ビット、および
単一ポート指示信号の状態に応じて、マスク指示信号を
要求マスク回路に出力する。
The port designating circuit 20 outputs a mask designating signal to the request masking circuit in accordance with the distribution bit and the state of the single port designating signal.

【0026】要求アドレスリサイズ回路13はポート指
定回路からのスルー指示信号がアクティブの場合は、D
MAマスタ1a〜1bからの要求アドレスの[27:
0]の28ビットを調停回路3a、3bへ出力する。ス
ルー指示信号が非アクティブの場合は、分配ビットに使
用した[3]をはずした上位から[28:4]、[2:
0]と連続させて28ビットで出力する。
The request address resizing circuit 13 outputs D when the through instruction signal from the port designating circuit is active.
Request address [27: from the MA masters 1a and 1b]
28 bits of 0] are output to the arbitration circuits 3a and 3b. When the through instruction signal is inactive, [28: 4], [2:
0] and output in 28 bits.

【0027】図3のブロック図を用いて構成例の動作に
ついて説明する。単一ポート指示信号が非アクティブの
場合は、分配ビットの状態に応じて要求マスク回路10
a、10bに出力するマスク支持信号のどちらか片方を
アクティブ出力する。この場合、DMAマスタ1a〜1
bからのメモリ要求信号がアクティブになれば、必ず要
求マスク回路10a、10bのどちらかの出力がアクテ
ィブとなる。また単一ポート指示信号がアクティブの場
合は要求マスク回路10bへは常にマスク指示を出力
し、要求マスク回路10aは常にマスクなしの状態にす
る信号を出力する。また、その場合は要求アドレスリサ
イズ回路12へ、DMAマスタからの要求アドレスがそ
のまま調停回路3a、3bへ出力されるようにスルー指
示信号を出力する。これによって、接続メモリ量が少な
く、バンド幅も小さくてよいようなシステムにも柔軟に
対応することができる。
The operation of the configuration example will be described with reference to the block diagram of FIG. When the single port instruction signal is inactive, the request mask circuit 10 is activated according to the state of the distribution bit.
Either one of the mask support signals output to a and 10b is actively output. In this case, the DMA masters 1a-1
When the memory request signal from b becomes active, the output of either of the request mask circuits 10a and 10b becomes active. Further, when the single port instruction signal is active, the mask instruction is always output to the request mask circuit 10b, and the request mask circuit 10a always outputs a signal that makes the mask state unmasked. In that case, the through address signal is output to the request address resizing circuit 12 so that the request address from the DMA master is output to the arbitration circuits 3a and 3b as it is. As a result, it is possible to flexibly support a system that requires a small amount of connection memory and a small bandwidth.

【0028】ポート指定回路からのスルー指示信号がア
クティブの場合は、DMAマスタからの要求アドレスの
[27:0]の28ビットを調停回路3a、3bへ出力
する。スルー指示信号が非アクティブの場合は、分配ビ
ットに使用した[3]をはずした上位から[28:
4]、[2:0]と連続させて28ビットで出力する。
When the through instruction signal from the port designation circuit is active, 28 bits of [27: 0] of the request address from the DMA master are output to the arbitration circuits 3a and 3b. When the through instruction signal is inactive, [28:
4] and [2: 0] are continuously output in 28 bits.

【0029】[0029]

【発明の効果】マルチマスタシステムではメモリアクセ
ス要求の数が多いため複数ポートを持つ構成は有効で、
単純にバス幅を広げる方法と比較し、実効バンド幅を低
下させることがなく、かつメモリ制御回路内部のデータ
バッファを増加させることなく確実にメモリバンド幅を
向上させ、高性能、安価となるメモリ制御回路を提供す
ることが可能となる。
Since the number of memory access requests is large in the multi-master system, the configuration having multiple ports is effective.
Compared with the method of simply increasing the bus width, the memory bandwidth is surely improved without lowering the effective bandwidth and without increasing the data buffer inside the memory control circuit. It becomes possible to provide a control circuit.

【0030】バーストアクセスで交互に異なるポートに
振り分けることが可能となり、マスタ側はメモリのアド
レスを意識して要求する必要がなく、かつメモリ要求の
待ち時間が少なくて済み、確実にメモリバンド幅を向上
させることが可能な高性能となるメモリ制御回路を提供
することが可能となる。
By burst access, it is possible to alternately allocate to different ports, the master side does not need to be aware of the memory address and make a request, and the waiting time of the memory request is short, so that the memory bandwidth can be reliably ensured. It is possible to provide a high performance memory control circuit that can be improved.

【0031】メモリの使用量、マスタの数に応じてポー
ト数を可変にすることができ、様々なシステムに応じて
柔軟に構成を対応可能な高品質なメモリ制御回路を提供
することが可能となる。
The number of ports can be made variable according to the amount of memory used and the number of masters, and it is possible to provide a high quality memory control circuit capable of flexibly adapting the configuration to various systems. Become.

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

【図1】本発明によるメモリ制御回路の実施形態の一例
を示す構成図である。
FIG. 1 is a configuration diagram showing an example of an embodiment of a memory control circuit according to the present invention.

【図2】本発明によるSDRAM制御回路に入出力する
制御信号のタイミングチャートを示す図である。
FIG. 2 is a diagram showing a timing chart of control signals input to and output from an SDRAM control circuit according to the present invention.

【図3】本発明による各セレクタの内部構成を示す構成
図である。
FIG. 3 is a configuration diagram showing an internal configuration of each selector according to the present invention.

【符号の説明】[Explanation of symbols]

1a〜1e DMAマスタ 2a〜2e セレクタ 3a、3b 調停回路 4a〜4b SDRAM制御回路 5 SDRAM 1a to 1e DMA master 2a-2e selector 3a, 3b Arbitration circuit 4a-4b SDRAM control circuit 5 SDRAM

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数のマスタからのメモリアクセス要求
を調停し、接続されたメモリをアクセス制御するメモリ
制御回路において、独立にアクセス可能な複数のメモリ
と接続される複数のポートと、 複数のマスタからのそれぞれのメモリアクセス要求アド
レスの所定ビットである分配ビットによってアクセスす
るポートを振り分けるセレクタと、 各ポートに接続された前記セレクタにより振り分けられ
た複数のマスタからのメモリアクセス要求を調停する調
停手段と、各ポートに接続された前記調停手段により決
定されたマスタのメモリアクセス要求の内容に従いメモ
リにアクセスするための信号を制御するメモリアクセス
制御手段とを有することを特徴とするメモリ制御回路。
1. A memory control circuit for arbitrating memory access requests from a plurality of masters and controlling access to a connected memory, a plurality of ports connected to a plurality of independently accessible memories, and a plurality of masters. A selector for allocating a port to be accessed according to a distribution bit which is a predetermined bit of each memory access request address from the above, and an arbitration means for arbitrating memory access requests from a plurality of masters distributed by the selector connected to each port. A memory access control means for controlling a signal for accessing the memory according to the content of the memory access request from the master connected to each port and determined by the arbitration means.
【請求項2】 前記分配ビットは、バーストアクセスに
使用するメモリアクセスをするアドレスの下位の数ビッ
トの上位に位置するビットであることを特徴とする請求
項1記載のメモリ制御回路。
2. The memory control circuit according to claim 1, wherein the distribution bit is a bit located at an upper position of a few lower bits of an address for memory access used for burst access.
【請求項3】 前記複数のポートのうち、使用するポー
トを任意に選択可能とし、前記セレクタはその設定に応
じてメモリアクセス要求を振り分けるように構成したこ
とを特徴とする請求項1記載のメモリ制御回路。
3. The memory according to claim 1, wherein a port to be used can be arbitrarily selected from the plurality of ports, and the selector is configured to distribute the memory access request according to the setting. Control circuit.
JP2002064378A 2002-03-08 2002-03-08 Memory control circuit Pending JP2003263363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002064378A JP2003263363A (en) 2002-03-08 2002-03-08 Memory control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002064378A JP2003263363A (en) 2002-03-08 2002-03-08 Memory control circuit

Publications (1)

Publication Number Publication Date
JP2003263363A true JP2003263363A (en) 2003-09-19

Family

ID=29197204

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002064378A Pending JP2003263363A (en) 2002-03-08 2002-03-08 Memory control circuit

Country Status (1)

Country Link
JP (1) JP2003263363A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100607987B1 (en) 2004-06-24 2006-08-02 삼성전자주식회사 Memory controller for scheduling a plurality of commands, and method thereof
WO2006132006A1 (en) * 2005-06-09 2006-12-14 Matsushita Electric Industrial Co., Ltd. Memory control apparatus and memory control method
US7702841B2 (en) 2007-03-08 2010-04-20 Ricoh Company, Limited Semiconductor integrated circuit and image processing apparatus having the same
JP2010514018A (en) * 2006-12-22 2010-04-30 モサイド・テクノロジーズ・インコーポレーテッド Independent link and bank selection
US8006026B2 (en) 2008-03-19 2011-08-23 Elpida Memory, Inc. Multi-port memory and computer system provided with the same
US8209497B2 (en) 2008-03-21 2012-06-26 Elpida Memory, Inc. Multi-port memory and system using the same
US8654601B2 (en) 2005-09-30 2014-02-18 Mosaid Technologies Incorporated Memory with output control
US8743610B2 (en) 2005-09-30 2014-06-03 Conversant Intellectual Property Management Inc. Method and system for accessing a flash memory device
US9240227B2 (en) 2005-09-30 2016-01-19 Conversant Intellectual Property Management Inc. Daisy chain cascading devices

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100607987B1 (en) 2004-06-24 2006-08-02 삼성전자주식회사 Memory controller for scheduling a plurality of commands, and method thereof
WO2006132006A1 (en) * 2005-06-09 2006-12-14 Matsushita Electric Industrial Co., Ltd. Memory control apparatus and memory control method
JPWO2006132006A1 (en) * 2005-06-09 2009-01-08 松下電器産業株式会社 Memory control device and memory control method
JP4693843B2 (en) * 2005-06-09 2011-06-01 パナソニック株式会社 Memory control device and memory control method
US8743610B2 (en) 2005-09-30 2014-06-03 Conversant Intellectual Property Management Inc. Method and system for accessing a flash memory device
US9240227B2 (en) 2005-09-30 2016-01-19 Conversant Intellectual Property Management Inc. Daisy chain cascading devices
US9230654B2 (en) 2005-09-30 2016-01-05 Conversant Intellectual Property Management Inc. Method and system for accessing a flash memory device
US8285960B2 (en) 2005-09-30 2012-10-09 Mosaid Technologies Incorporated Independent link and bank selection
US8654601B2 (en) 2005-09-30 2014-02-18 Mosaid Technologies Incorporated Memory with output control
US8738879B2 (en) 2005-09-30 2014-05-27 Conversant Intellectual Property Managament Inc. Independent link and bank selection
JP2010514018A (en) * 2006-12-22 2010-04-30 モサイド・テクノロジーズ・インコーポレーテッド Independent link and bank selection
JP2012178190A (en) * 2006-12-22 2012-09-13 Mosaid Technologies Inc Independent link and bank selection
US7702841B2 (en) 2007-03-08 2010-04-20 Ricoh Company, Limited Semiconductor integrated circuit and image processing apparatus having the same
US8006026B2 (en) 2008-03-19 2011-08-23 Elpida Memory, Inc. Multi-port memory and computer system provided with the same
US8209497B2 (en) 2008-03-21 2012-06-26 Elpida Memory, Inc. Multi-port memory and system using the same

Similar Documents

Publication Publication Date Title
US9082461B2 (en) Multiple processor system and method including multiple memory hub modules
JP4677630B2 (en) Memory hub with internal cache and / or memory access prediction
JP3248140B2 (en) Method and computer bus structure for integrating data memory and video memory access requests in a computer device
JP4820566B2 (en) Memory access control circuit
KR100633828B1 (en) Memory system with burst length shorter than prefetch length
JP2001521246A (en) Buffering data exchanged between buses operating at different frequencies
CA1304523C (en) Computer bus having page mode memory access
JP2003263363A (en) Memory control circuit
JP3803196B2 (en) Information processing apparatus, information processing method, and recording medium
JP2007018222A (en) Memory access control circuit
JP5204777B2 (en) Memory device and control method thereof
JP4054598B2 (en) Memory control circuit, DMA request block, and memory access system
US8099530B2 (en) Data processing apparatus
JP2005346715A (en) Multiport random access memory
JP3618249B2 (en) Data transfer device
JPH10144073A (en) Access mechanism for synchronous dram
JP2002169721A (en) Information processing system
JP2606824Y2 (en) Multiport memory device
JPH07129500A (en) Bus switch circuit
JPH08115251A (en) Computer system
JP2005190092A (en) Memory access control circuit
JP2006139488A (en) Memory control circuit
JPH0271352A (en) Memory control system
JP2009181221A (en) Memory control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20040312

Free format text: JAPANESE INTERMEDIATE CODE: A621

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040323

A977 Report on retrieval

Effective date: 20060207

Free format text: JAPANESE INTERMEDIATE CODE: A971007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060214

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060417

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060523