JP2000298616A - Memory controller - Google Patents
Memory controllerInfo
- Publication number
- JP2000298616A JP2000298616A JP11107465A JP10746599A JP2000298616A JP 2000298616 A JP2000298616 A JP 2000298616A JP 11107465 A JP11107465 A JP 11107465A JP 10746599 A JP10746599 A JP 10746599A JP 2000298616 A JP2000298616 A JP 2000298616A
- Authority
- JP
- Japan
- Prior art keywords
- processing
- address
- sdram
- request
- line feed
- 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.)
- Withdrawn
Links
- 230000001360 synchronised effect Effects 0.000 claims abstract description 6
- 230000000737 periodic effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 abstract description 11
- 238000000034 method Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 9
- 230000004913 activation Effects 0.000 description 7
- 230000003111 delayed effect Effects 0.000 description 5
- 101100394003 Butyrivibrio fibrisolvens end1 gene Proteins 0.000 description 3
- 101100296979 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) PEP5 gene Proteins 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 101100219315 Arabidopsis thaliana CYP83A1 gene Proteins 0.000 description 2
- 101100532856 Arabidopsis thaliana SDRA gene Proteins 0.000 description 2
- 101100478715 Drosophila melanogaster Start1 gene Proteins 0.000 description 2
- 101100269674 Mus musculus Alyref2 gene Proteins 0.000 description 2
- 101100140580 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) REF2 gene Proteins 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- YKPCEENRZZBDMC-DRNPGQERSA-N (2r,3r,4s,5r)-2-[6-[[(3s)-3-bicyclo[2.2.1]heptanyl]amino]purin-9-yl]-5-(hydroxymethyl)oxolane-3,4-diol Chemical compound O[C@@H]1[C@H](O)[C@@H](CO)O[C@H]1N1C2=NC=NC(N[C@@H]3C4CCC(C4)C3)=C2N=C1 YKPCEENRZZBDMC-DRNPGQERSA-N 0.000 description 1
- 101100174722 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) GAA1 gene Proteins 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000002542 deteriorative effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 235000012976 tarts Nutrition 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
Landscapes
- Dram (AREA)
- Memory System (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】この発明は、メモリ制御装
置、特にSDRAM(Synchronous DRAM)メモリにおけ
るバースト転送の制御装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory controller, and more particularly to a controller for burst transfer in an SDRAM (Synchronous DRAM) memory.
【0002】[0002]
【従来の技術】SDRAMメモリは、外部から入力した
クロックに同期して動作するDRAMメモリである。ク
ロックにより内部動作をパイプライン化し、サイクルタ
イムを短縮しているので、通常のDRAMメモリに比べ
ると、特にページモードのバースト転送周波数が数倍に
向上できる。一方短語長のランダムアクセスについては
通常のDRAMメモリの性能を維持する程度である。2. Description of the Related Art An SDRAM memory is a DRAM memory that operates in synchronization with an externally input clock. Since the internal operation is pipelined by the clock to reduce the cycle time, the burst transfer frequency, especially in the page mode, can be improved several times as compared with a normal DRAM memory. On the other hand, short-word-length random access is sufficient to maintain the performance of a normal DRAM memory.
【0003】このSDRAMメモリのランダムアクセス
及びバースト転送を制御するために、一連のSDRAM
コマンドとアドレスを発生、供給するSDRAMコント
ローラが必要となる。In order to control random access and burst transfer of the SDRAM memory, a series of SDRAMs is used.
An SDRAM controller that generates and supplies commands and addresses is required.
【0004】従来この種のSDRAMコントローラは、
SDRAMデバイス、処理対象データ及び処理装置の条
件に合わせて個別に設計されていた。ここで、SDRA
MコントローラがSDRAMに与えるコマンドの種類と
内部動作との関係を説明する。SDRAM内部の記憶素
子配列(各ビットプレーン)は行及び列の2次元に配列
されており、最初に行アドレスをACT(活性化)コマ
ンドで与え、引き続いて列アドレスをREADE又はW
RITEコマンドで与えると、予めMODEコマンドで
指定した回数のREAD又はWRITEコマンドを実行
する。この回数(語長)は、例えば1,2,4,8,F
ULLの5通りから選択できる。この時、行アドレスは
固定で、列アドレスが通常1づつ増加する方向に変化す
る。FULLは行全体を読み書きするモードで、バース
ト転送モードと呼び、BST(バースト停止)コマンド
又はPCG(プリチャージ)コマンドで終了する。PC
Gコマンドは、その行のアクセスを終了してSDRAM
をプリチャージ(非活性)状態に戻すコマンドであり、
引き続くACTコマンドにより、次の行をアクセスした
り(改行操作)、任意の行と列から再開(飛越操作)で
きる。また、プリチャージ状態でREFコマンドを与え
ると、記憶素子のリフレッシュを実行する。REFコマ
ンドは、一定の時間間隔で与え続ける必要がある。Conventionally, this type of SDRAM controller has
They have been individually designed according to the conditions of the SDRAM device, the data to be processed and the processing device. Where SDRA
The relationship between the type of command given to the SDRAM by the M controller and the internal operation will be described. The storage element array (each bit plane) inside the SDRAM is arranged two-dimensionally in rows and columns. First, a row address is given by an ACT (activation) command, and subsequently, a column address is given by READ or W.
When given by a RITE command, the READ or WRITE command is executed the number of times specified in advance by the MODE command. The number of times (word length) is, for example, 1, 2, 4, 8, F
You can select from five types of ULL. At this time, the row address is fixed and the column address usually changes in a direction to increase by one. FULL is a mode for reading and writing an entire row, called a burst transfer mode, and is terminated by a BST (burst stop) command or a PCG (precharge) command. PC
The G command terminates access to the row and returns to the SDRAM
Command to return to the precharge (inactive) state.
With the subsequent ACT command, the next line can be accessed (line feed operation) or restarted from any row and column (jump operation). When a REF command is given in the precharge state, the memory element is refreshed. The REF command needs to be continuously given at regular time intervals.
【0005】SDRAMを用いたメモリコントローラの
例として文献:「特開平10−27155(データ転送
制御装置)」がある。この文献に記載されたメモリコン
トローラは画像処理、圧縮伸長に使用されているが、文
字認識、音声認識のマッチング処理などを含むマルチメ
ディア処理に広く使えるSDRAMコントローラは存在
しなかった。[0005] As an example of a memory controller using an SDRAM, there is a document: "JP-A-10-27155 (data transfer control device)". Although the memory controller described in this document is used for image processing and compression / decompression, there is no SDRAM controller widely applicable to multimedia processing including character recognition and voice recognition matching processing.
【0006】[0006]
【発明が解決しようとする課題】SDRAMコントロー
ラの設計課題として、先ず、SDRAMに対してバース
ト転送のシーケンスが頻繁に実行される状況において、
転送制御のためのSDRAMコマンドのオーバヘッドが
性能低下をもたらさないようにする必要がある。As a design problem of the SDRAM controller, first, in a situation where a burst transfer sequence is frequently performed on the SDRAM,
It is necessary to prevent the overhead of the SDRAM command for the transfer control from deteriorating the performance.
【0007】また、転送制御と共に、SDRAM自身に
必要となる改行操作、およびリフレッシュ操作のための
各コマンドも競合を避けた正しいタイミングで組み入れ
る必要がある。さらに、SDRAMデバイス仕様の多様
性を吸収したハイレベルのインターフェースを提供する
必要がある。In addition to the transfer control, it is necessary to incorporate commands for line feed operation and refresh operation required for the SDRAM itself at the correct timing to avoid conflict. Further, there is a need to provide a high-level interface that absorbs the diversity of SDRAM device specifications.
【0008】本発明の目的は、クロック高速化に耐え、
バースト開始・終了機能、飛越機能、改行機能、リフレ
ッシュ機能、及びこれらの順序制御機能を有し、SDR
AMを効率的に動作させ、SDRAMに関する全ての制
御を実行する汎用のメモリ制御装置を提供することにあ
る。An object of the present invention is to endure a high-speed clock,
It has a burst start / end function, a jump function, a line feed function, a refresh function, and an order control function for these functions.
It is an object of the present invention to provide a general-purpose memory control device that allows an AM to operate efficiently and performs all control related to an SDRAM.
【0009】[0009]
【課題を解決するための手段】そのために、本発明のメ
モリ制御装置においては、アドレス発生手段、コマンド
発生手段、リフレッシュ発生手段を備え、データ処理装
置とクロック同期型のSDRAMとのバースト転送を制
御するメモリ制御装置において、アドレス発生手段は、
データ処理装置から指定されたアドレスを初期値とし、
バースト転送中にカウントするアドレスカウンタを用い
てSDRAMの行アドレス、列アドレス及び改行要求信
号を発生し、コマンド発生手段は、データ処理装置また
はアドレス発生手段からの要求に従って、開始処理、飛
越処理、終了処理、改行処理の各々の処理を実行する複
数のSDRAMコマンドのタイミング信号を発生すると
共に、改行処理中に、飛越処理要求または終了処理要求
があった場合には、当該改行処理が終了するまで当該飛
越処理または終了処理要求を保留し、リフレッシュ手段
は、周期的な要求に従ってリフレッシュコマンドのタイ
ミング信号を発生すると共に、バースト転送中に、リフ
レッシュ要求があった場合には、開始処理、飛越処理、
改行処理、終了処理のいずれかが実行される時点まで当
該リフレッシュ要求を保留することを特徴としている。For this purpose, a memory control device according to the present invention includes an address generation unit, a command generation unit, and a refresh generation unit, and controls a burst transfer between a data processing device and a clock synchronous SDRAM. In the memory control device, the address generating means includes:
The address specified by the data processing device is used as the initial value,
A row address, a column address and a line feed request signal of the SDRAM are generated by using an address counter that counts during the burst transfer, and the command generation means starts, jumps, and ends according to a request from the data processing device or the address generation means. In addition to generating a timing signal of a plurality of SDRAM commands for executing each of the processing and the line feed processing, if there is a jump processing request or an end processing request during the line feed processing, the timing is maintained until the line feed processing is completed. The jump processing or the end processing request is suspended, and the refresh means generates a refresh command timing signal in accordance with the periodic request, and, when there is a refresh request during the burst transfer, the start processing, the jump processing,
The refresh request is held until a line feed process or an end process is executed.
【0010】[0010]
【発明の実施の形態】[第1の実施形態の説明] [構成の説明] (a)全体構成 図1は本発明のメモリ制御装置の実施形態のSDRAM
コントローラの周辺及び内部構成図であって、データ処
理装置105は入力端子101から入力されたデータを
SDRAM104に格納し、データ処理を施してその結
果を出力端子106へ出力する。DESCRIPTION OF THE PREFERRED EMBODIMENTS [Description of First Embodiment] [Description of Configuration] (a) Overall Configuration FIG. 1 shows an SDRAM of a memory control device according to an embodiment of the present invention.
FIG. 3 is a peripheral and internal configuration diagram of a controller. A data processing device 105 stores data input from an input terminal 101 in an SDRAM 104, performs data processing, and outputs the result to an output terminal 106.
【0011】SDRAMコントローラ107は、データ
処理装置105とSDRAM104の間にあって、デー
タバスD31-0103を介したバースト転送を制御する回
路であり、その内部はコマンド発生部108、リフレッ
シュ発生部109、アドレス発生部110から構成され
る。The SDRAM controller 107 is a circuit which is provided between the data processing device 105 and the SDRAM 104 and controls a burst transfer via the data bus D 31-0 103. The SDRAM controller 107 includes a command generation unit 108, a refresh generation unit 109, It comprises an address generator 110.
【0012】これらの相互接続関係は、以下の各部の説
明で明らかとなる。なお、図1の全体構成、図2のコマ
ンド発生部108の構成、図3のリフレッシュ発生部1
09の構成は以後の全実施形態に共通である。These interconnections will be apparent from the following description of each unit. Note that the entire configuration of FIG. 1, the configuration of the command generation unit 108 of FIG. 2, and the refresh generation unit 1 of FIG.
The configuration 09 is common to all the following embodiments.
【0013】また、システム全体は一定の周波数(例え
ば66MHz)のクロックCLK100に同期して動作
する。Further, the entire system operates in synchronization with a clock CLK100 having a fixed frequency (for example, 66 MHz).
【0014】(b)コマンド発生部の構成 図2はコマンド発生部108の構成図であって、STA
RT1(開始)121、JUMP2(飛越)122、E
ND2(終了)123、LF1(改行)124等の各動
作要求を示すパルス信号が入力され、出力信号として、
PCG(プリチャージ)コマンド133、ACT(アク
ティブ)コマンド134、RWC(READ/WRIT
E)コマンド135、その他のタイミングパルス信号を
発生する。(B) Configuration of Command Generation Unit FIG. 2 is a configuration diagram of the command generation unit 108,
RT1 (start) 121, JUMP2 (jump) 122, E
A pulse signal indicating each operation request such as ND2 (end) 123 and LF1 (line feed) 124 is input, and as an output signal,
PCG (precharge) command 133, ACT (active) command 134, RWC (READ / WRITE)
E) Generate command 135 and other timing pulse signals.
【0015】コマンド発生部108の内部は、JUMP
REQ(飛越要求)125及びENDREQ(終了要
求)126の各要求保持用フラッグ、SDBUSY0
(SDRAMビジー)127、SDBEGIN(開始処
理)128、SDJUMP(飛越処理)129、LFB
USY(改行処理)130の各動作表示フラッグ、3ビ
ットのLBCカウンタ131、LBCデコーダ132、
その他ゲート類から成り、SDRAMコマンドシーケン
スを発生する順序制御回路として動作する。The command generation unit 108 has a JUMP
REQ (jump request) 125 and ENDREQ (end request) 126 holding flag, SDBUSY0
(SDRAM busy) 127, SDBEGIN (start processing) 128, SDJUMP (jump processing) 129, LFB
Each operation display flag of USY (line feed processing) 130, 3-bit LBC counter 131, LBC decoder 132,
In addition, it comprises gates and operates as an order control circuit for generating an SDRAM command sequence.
【0016】メモリエネーブル(MENB)136はバ
ースト転送中(読み出しまたは書込み)を示し、MEN
BD信号137は遅延回路138で作られ、データ処理
装置105に送出される読み出しデータ有効信号であ
る。遅延回路138の内部構成は簡単のため省略する。A memory enable (MENB) 136 indicates that a burst transfer is being performed (read or write).
The BD signal 137 is a read data valid signal generated by the delay circuit 138 and transmitted to the data processing device 105. The internal configuration of the delay circuit 138 is omitted for simplicity.
【0017】(c)リフレッシュ発生部の構成 図3はリフレッシュ発生部109の内部構成図であっ
て、定期的にSDRAMをリフレッシュするための制御
回路である。リフレッシュ発生部109は、REF入力
端子141、REFREQフラッグ142、REFBU
SYフラッグ143、3ビットのRBCカウンタ14
4、RBCデコーダ145、その他ゲート類から成り、
REFコマンド146のタイミングを発生する。リフレ
ッシュ発生部109とコマンド発生部108とは、RE
FEN信号147とREFBUSY1信号148で結ば
れている。(C) Configuration of Refresh Generation Unit FIG. 3 is an internal configuration diagram of the refresh generation unit 109, which is a control circuit for periodically refreshing the SDRAM. The refresh generation unit 109 includes a REF input terminal 141, a REFREQ flag 142, and a REFBU
SY flag 143, 3-bit RBC counter 14
4, RBC decoder 145, and other gates,
REF command 146 timing is generated. The refresh generation unit 109 and the command generation unit 108
The FEN signal 147 and the REFBUSY1 signal 148 are connected.
【0018】(d)アドレス発生部の構成 図4は本発明の第1の実施形態のSDRAMコントロー
ラのアドレス発生部110の構成図で、20ビットのS
DRAMアドレスカウンタADRC151を持ち、12
ビットアドレス信号A11-0152、CS信号153、R
AS信号154,CAS信号155,WE信号156を
発生し、SDRAM104に供給する。(D) Configuration of Address Generation Unit FIG. 4 is a configuration diagram of the address generation unit 110 of the SDRAM controller according to the first embodiment of the present invention.
It has a DRAM address counter ADRC151 and has 12
Bit address signal A 11-0 152, CS signal 153, R
An AS signal 154, a CAS signal 155, and a WE signal 156 are generated and supplied to the SDRAM 104.
【0019】この他、SDRAMには、DQM、CKE
の各入力端子があるが、簡単のため省略する。R/W信
号167はREADとWRITEを区別する。In addition, SDRAMs include DQM, CKE
, But are omitted for simplicity. The R / W signal 167 distinguishes between READ and WRITE.
【0020】マルチプレクサ(MUX)157は、PC
Gコマンド133、ACTコマンド134、RWCコマ
ンド135を各々1CLK遅延したタイミングで、各々
PCGA(説明省略)166、ROWA(ADRCの上
位12bit)、COLA(ADRCの下位8bit)
のいずれかの値をアドレス信号152 に出力する。3
個のDFF158及びレジスタ159は1クロック遅延
素子として使われる。The multiplexer (MUX) 157 is a PC
The G command 133, the ACT command 134, and the RWC command 135 are each delayed by 1 CLK, and are respectively PCGA (not described) 166, ROWA (upper 12 bits of ADRC), and COLA (lower 8 bits of ADRC).
Is output to the address signal 152. 3
The DFFs 158 and the registers 159 are used as one-clock delay elements.
【0021】ADRCカウンタ151には、飛び先アド
レスJA19-0161、LOAD信号163、MENB信
号136、SDBUSY信号165が接続されている。The ADRC counter 151 is connected to a jump address JA 19-0 161, a LOAD signal 163, a MENB signal 136, and an SDBUSY signal 165.
【0022】[動作の説明]ここでは、SDRAMは図
示しないSDRAMモードコマンドによって予め初期化
されており、以後モード変更は伴わないものとして、S
DRAMコントローラ各部の動作を説明する。[Explanation of Operation] Here, the SDRAM has been initialized by an SDRAM mode command (not shown).
The operation of each part of the DRAM controller will be described.
【0023】(a)コマンド発生部108(図2)の動
作 最初に動作概要を、次にタイミング図を説明する。主に
SDRAMのRead動作について説明するが、Wri
te動作も同様である。(A) Operation of Command Generator 108 (FIG. 2) First, an outline of the operation will be described, and then a timing chart will be described. The read operation of the SDRAM will be mainly described.
The same applies to the te operation.
【0024】SDRAMのバースト転送はデータ処理装
置105からのSTART1(開始処理)パルス121
により開始される。開始処理では、SDRAMに3個の
コマンドが発行され、バースト転送を起動する。SDR
AMの先頭アドレスは飛び先アドレスJA19-0161で
アドレス発生部110に与える。The burst transfer of the SDRAM is performed by a START1 (start processing) pulse 121 from the data processing device 105.
Is started by In the start process, three commands are issued to the SDRAM to start burst transfer. SDR
The head address of the AM is given to the address generator 110 as a jump destination address JA 19-0 161.
【0025】開始処理に続いて、例えばSDRAMの1
行、256列×32bitを66MHzのバースト速度
で読み出し、改行処理を挟んでSDRAMの連続領域を
行単位で読み出す。改行処理は、通常8CLK期間読み
出しを中断する。この期間にプリチャージ状態に戻っ
て、次の行(256w)を活性化し、バースト読み出し
を再開する。改行周期は約4μsである。プリチャージ
状態ではリフレッシュサイクル(8CLK)を挿入でき
る。リフレッシュを兼ねた改行処理は、16CLK期間
読み出しを中断する。Subsequent to the start processing, for example, the SDRAM 1
Rows, 256 columns × 32 bits are read out at a burst speed of 66 MHz, and a continuous area of the SDRAM is read out row by row with line feed processing interposed. In the line feed processing, reading is normally interrupted for 8 CLK periods. Returning to the precharge state during this period, the next row (256w) is activated, and burst reading is restarted. The line feed cycle is about 4 μs. In the precharge state, a refresh cycle (8 CLK) can be inserted. The line feed processing also serving as refresh suspends reading for 16 CLK periods.
【0026】バースト転送中に、飛越処理を行うことも
できる。データ処理装置105は飛び越しパルス(JU
MP2)122と飛び先アドレスJA19-0161によっ
てSDRAMコントローラ107にこれを指示する。飛
越処理はアドレス再設定(ADRCロード)を伴う行更
新処理であり、任意のアドレス(行と列)に飛び越して
バースト転送を再開する。During the burst transfer, jump processing can be performed. The data processing device 105 outputs the jump pulse (JU
MP2) 122 and the jump address JA 19-0 161 are instructed to the SDRAM controller 107. The jump processing is a row update processing involving address resetting (ADRC load), and jumps to an arbitrary address (row and column) to resume burst transfer.
【0027】このように、SDRAM転送は、開始処理
で始まり、改行処理と飛越処理を鋏みながら進行し、終
了指示(END1またはEND2)があるまで続けられ
る。As described above, the SDRAM transfer starts with the start processing, proceeds while performing the line feed processing and the jump processing, and continues until the end instruction (END1 or END2) is given.
【0028】開始処理、改行処理、飛越処理は各々8ス
テップ(LBC=0〜7)から成るLFBUSYシーケ
ンス(LFBUSY=1の期間)で、例えば以下の3個
のSDRAMコマンドが発行される。 ・LBC=1 PCG(プリチャージ)コマンド133:プリチ
ャージ状態にする。 ・LBC=4 ACT(アクティブ) コマンド134:行アド
レスを送出する。 ・LBC=7 RWC(READまたはWRITE)コマンド135:列ア
ドレスを送出する。 尚、各コマンドはSDRAMにはアドレス発生部110
で1CLK遅らせて出力する。RWCコマンド135
は、SDRAMのバーストREADまたはWRITEを
開始する。SDRAM読み出しではREADコマンドで
ある。The start processing, the line feed processing, and the jump processing are each an LFBUSY sequence (period of LFBUSY = 1) consisting of eight steps (LBC = 0 to 7), for example, the following three SDRAM commands are issued. LBC = 1 PCG (precharge) command 133: Set to precharge state. LBC = 4 ACT (active) Command 134: Sends the row address. LBC = 7 RWC (READ or WRITE) command 135: Sends the column address. Each command is stored in the address generation unit 110 in the SDRAM.
And outputs the signal delayed by 1 CLK. RWC command 135
Starts burst READ or WRITE of the SDRAM. This is a READ command in SDRAM reading.
【0029】また終了処理は4ステップから成るLFB
USYシーケンスで、LBC=1でPCGコマンドのみ
が発行され、SDRAMがプリチャージ状態になった時
点(LBC=3)で終了する。The end process is an LFB consisting of four steps.
In the USY sequence, only the PCG command is issued with LBC = 1, and the process ends when the SDRAM enters the precharge state (LBC = 3).
【0030】図5は、コマンド発生部とアドレス発生部
のタイミング図で、START信号121に続き、8C
LKの開始処理、5wのデータ読出、8CLKの改行処
理、3wのデータ読出、4CLKの終了処理から成るS
DRAM読み出しシーケンスにおける21個の信号波形
を示す。FIG. 5 is a timing chart of the command generation section and the address generation section.
S comprising LK start processing, 5w data read, 8CLK line feed processing, 3w data read, and 4CLK end processing
21 shows 21 signal waveforms in a DRAM read sequence.
【0031】開始処理と改行処理で各々3個のSDRA
Mコマンドが発行され、その間(LFBUSY=0)の
5CLK期間でADRCをカウントしながら5wのデー
タを読み出している。この読み出しデータがデータ処理
装置で有効になるのはDL=3CLK後のMENBD信
号である。In the start processing and the line feed processing, three SDRA
The M command is issued, and 5 w data is read while counting ADRC during the 5 CLK period during which (LFBUSY = 0). It is the MENBD signal after DL = 3CLK that the read data becomes valid in the data processing device.
【0032】アドレス発生部110からのLF1信号に
より改行処理が起動される。改行処理後LFBUSY=
0になると、再びバースト転送に戻る。Line feed processing is started by the LF1 signal from the address generator 110. After line feed processing LFBUSY =
When it becomes 0, it returns to burst transfer again.
【0033】終了処理はEND1信号181で起動して
いる。例えば転送語数を終了条件とする場合にはこのE
ND1信号から終了処理を起動する。転送語数カウンタ
は簡単のため省略した。The end processing is started by the END1 signal 181. For example, if the number of words to be transferred is the end condition, this E
The termination process is started from the ND1 signal. The transfer word number counter is omitted for simplicity.
【0034】SDBUSY0信号127はSTART1
信号121でセットされ、END1信号181でリセッ
トされるフラッグで終了制御に使われる。The SDBUSY0 signal 127 is START1
A flag which is set by the signal 121 and reset by the END1 signal 181 is used for end control.
【0035】SDBUSY信号165は、開始処理の開
始時点から終了処理の終了時点までがHighレベルの
信号であり、次式によって生成する。 SDBUSY = SDBUSY0 | LFBUSY なお、論理式において、|は論理和を、&は論理和を、
 ̄は否定を示すものとする。The SDBUSY signal 165 is a High level signal from the start of the start process to the end of the end process, and is generated by the following equation. SDBUSY = SDBUSY0 | LFBUSY In the logical expressions, | represents a logical sum, & represents a logical sum,
 ̄ indicates negation.
【0036】(b)リフレッシュ発生部(図3)の動作 SDRAMのリフレッシュのために、定期的にREFコ
マンド146を発行する。タイマーを用いて14μs毎
に1回REF2パルス141が入力され、REFREQ
フラッグ142に1を立てる。タイマー回路は簡単のた
め省略した。このとき、次式のREFSTART信号1
49によりリフレッシュ開始条件を与える。 REFSTART = REFREQ & REFEN = REFREQ & ( ~SDBUSY | L
BC=2 )(B) Operation of Refresh Generation Unit (FIG. 3) The REF command 146 is issued periodically for refreshing the SDRAM. A REF2 pulse 141 is input once every 14 μs using a timer, and REFREQ
The flag 142 is set to 1. The timer circuit is omitted for simplicity. At this time, the REFSTART signal 1 of the following equation
A refresh start condition is given by 49. REFSTART = REFREQ & REFEN = REFREQ & (~ SDBUSY | L
BC = 2)
【0037】SDBUSY中でなければ、REFSTA
RT=1であるから、次のクロックでREFBUSY=
1となり、RBCカウンタ144で8CLK期間のRE
FBUSYシーケンス(RBC=0〜7)を起動し、R
BC=1 の時点でREFコマンド146を発行する。
その後7CLK期間はREFBUSY1信号148によ
りコマンド発生部108をLBC=0でホールド状態に
する。If not during SDBUSY, REFSTA
Since RT = 1, the REFBUSY =
1 and the RBC counter 144 sets the RE for 8 CLK periods.
Activate the FBUSY sequence (RBC = 0-7),
A REF command 146 is issued when BC = 1.
After that, during the 7 CLK period, the command generation unit 108 is set to LBC = 0 and held in a hold state by the REFBUSY1 signal 148.
【0038】バースト中のリフレッシュ要求は、改行処
理、飛越処理、終了処理によってSDRAMがプリチャ
ージ状態(LBC=2)になる時点まで待たされ、プリ
チャージコマンドとアクティブコマンドの間(LBC=
3)にリフレッシュ処理8CLK分を挿入する。A refresh request during a burst is waited until the SDRAM is brought into a precharge state (LBC = 2) by line feed processing, jump processing, and termination processing, and between a precharge command and an active command (LBC = 2).
In step 3), the refresh processing for 8 CLK is inserted.
【0039】この待ち時間はタイマー間隔(14μs)
を超えないようにする。256列SDRAMであればタ
イマー間隔(14μs)の間に平均3.5回改行処理が
あるから、3.5回につき1回はリフレッシュを兼ねた
改行処理を実行する。This waiting time is set at the timer interval (14 μs).
Not to exceed. In the case of a 256-column SDRAM, line feed processing is performed 3.5 times on average during the timer interval (14 μs), so line feed processing also serving as refresh is executed once every 3.5 times.
【0040】図6は、リフレッシュ発生部のタイミング
図で、バースト転送との競合回避機能を説明するため、
タイマーに依らず、REF2パルス141を3回続けて
与えた場合に、3回のリフレッシュがどのように実行さ
れるかを示している。FIG. 6 is a timing chart of the refresh generation unit.
This shows how three refreshes are performed when the REF2 pulse 141 is given three times in a row, regardless of the timer.
【0041】最初のREFREQ=1では未だSDBU
SY=1でないので直ちにREFBUSY143が起動
される。リフレッシュ期間中に、SDBUSY、LFB
USYの各フラッグがセットされるが、LBCカウンタ
はREFBUSY1=1のため、開始処理のLBC=0
の状態で停止し、REFBUSY終了を待つ。7CLK
後にREFBUSY1=0に戻った後、LBC=1に進
み、開始処理を実行する。At the first REFREQ = 1, still SDBU
Since SY is not 1, REFBUSY 143 is immediately activated. During the refresh period, SDBUSY, LFB
Each flag of USY is set, but since the LBC counter is REFBUSY1 = 1, LBC = 0 of the start processing
And waits for the end of REFBUSY. 7CLK
After returning to REFBUSY1 = 0 later, the process proceeds to LBC = 1 and executes the start processing.
【0042】2度目のREFREQ=1では、SDBU
SY=1であるから、開始処理のLBC=2で承認され
るまで待ち、次のLBC=3でコマンド発生部をホール
ドし、リフレッシュが再び実行される。When REFREQ = 1 for the second time, SDBU
Since SY = 1, the process waits until the start process is approved by LBC = 2, holds the command generation unit by the next LBC = 3, and executes the refresh again.
【0043】3度目のREFREQ=1では、SDBU
SY=1であるから、終了処理のLBC=2で承認され
るまで待ち、次のLBC=3からリフレッシュが実行さ
れる。この場合は、コマンド発生部はホールドされず、
SDBUSY,LFBUSYをリセットして終了する。In the third REFREQ = 1, SDBU
Since SY = 1, the process waits until the end processing is approved by LBC = 2, and the refresh is executed from the next LBC = 3. In this case, the command generator is not held,
SDBUSY and LFBUSY are reset and the process ends.
【0044】(c)アドレス発生部(図4)の動作 データ読み出し(または書込み)中SDRAMアドレス
カウンタ(ADRC)がアドレス入力JA19-0161に
設定されたSDRAM先頭アドレスを初期値としてカウ
ント動作し、行末を検出する毎に、LF1信号124に
より改行処理を起動する。改行処理中(LFBUSY=
1)はMENB=0で、ADRCはカウントを中断す
る。256列SDRAMは列番号255が行末である。(C) Operation of Address Generation Unit (FIG. 4) During data reading (or writing), the SDRAM address counter (ADRC) counts with the SDRAM head address set in the address input JA 19-0 161 as an initial value. Each time an end of line is detected, a line feed process is started by the LF1 signal 124. Line feed processing in progress (LFBUSY =
In 1), MENB = 0, and the ADRC suspends counting. In a 256 column SDRAM, the column number 255 is at the end of the row.
【0045】また、飛越処理においては、ADRCはカ
ウント動作を中断するとともに、飛先アドレスJA19-0
がADRCにロードされる。データ読出が再開するとア
ドレスカウントも再開する。In the jump processing, the ADRC suspends the counting operation and sets the jump destination address JA 19-0.
Is loaded into the ADRC. When data reading resumes, the address count also resumes.
【0046】アドレスカウンタADRC[19:0]の
制御には以下の各信号を用いる。 ・CLRN = SDBUSY:転送処理中のみクリア解除する。 ・LDAD = LOAD:開始処理と飛越し処理のLBC=1で
JADRをロードする。 ・ENP = MENB = SDBUSY0 & ~LFBUSY:バースト転送中に
カウントする。The following signals are used for controlling the address counter ADRC [19: 0].・ CLRN = SDBUSY: Release clear only during transfer processing. LDAD = LOAD: Loads JADR with LBC = 1 for start processing and jump processing. • ENP = MENB = SDBUSY0 & ~ LFBUSY: Counts during burst transfer.
【0047】ADRCの値はデバイス列数(ここでは2
56)に応じて行アドレスと列アドレスに2分割され、
ACTコマンドで行アドレスROWAが、READ/W
RITEコマンドで列アドレスCOLAがA11-0から出
力される。The value of ADRC is the number of device rows (here, 2
56) is divided into a row address and a column address according to
The row address ROWA is changed to READ / W by the ACT command.
Column address COLA is output from the A 11-0 at RITE command.
【0048】SDRAMコマンドの送出はCS信号15
3をLowレベルにすることで、またコマンドの種類は
RAS,CAS,WEの3bitにコード化してSDR
AMに与えると、CLKに同期して取り込まれる。The transmission of the SDRAM command is performed by the CS signal 15.
3 is set to Low level, and the type of command is coded into 3 bits of RAS, CAS, and WE, and SDR
When given to AM, it is taken in synchronization with CLK.
【0049】(d)飛越処理・終了処理と改行処理との
競合回避動作 図7は、飛越処理・終了処理と改行処理との競合のタイ
ミング図である。SDRAM改行処理中に、SDRAM
飛越要求があった場合(JUMPREQ=1)には、改
行処理が終了し(LFBUSY=0)、飛越処理を実行
する。すなわち、次式のLFSTART信号139の論
理により飛越処理開始条件を与える。 LFSTART = JUMPREQ & ~LFBUSY(D) Operation to Avoid Competition between Jump Processing / End Processing and Line Feed Processing FIG. 7 is a timing chart of the conflict between the jump processing / end processing and line feed processing. SDRAM during line feed processing
If there is a jump request (JUMPREQ = 1), the line feed processing ends (LFBUSY = 0), and the jump processing is executed. That is, the jump processing start condition is given by the logic of the LFSTART signal 139 in the following equation. LFSTART = JUMPREQ & ~ LFBUSY
【0050】改行処理終了後LFBUSY=0となった
次のCLKから飛越処理(SDJUMP=1)が始ま
り、再びLFBUSY=1になる。この2つの処理の間
に1w読み出しがあるが、飛越処理中はデータ処理装置
105へのMENBD信号137にANDゲートをかけ
て読み出しデータを無効にする。この操作は遅延回路1
38で行われる。After the line feed processing is completed, the jump processing (SDJUMP = 1) starts from the next CLK in which LFBUSY = 0, and LFBUSY = 1 again. There is a 1w read between these two processes. During the jump process, the read data is invalidated by applying an AND gate to the MENBD signal 137 to the data processing device 105. This operation is performed by the delay circuit 1
38.
【0051】図7の右側部分は、改行処理と終了処理と
の競合のタイミング図である。SDRAM改行処理中
に、バースト終了要求があった場合には、次式のLFS
TART信号139の論理により終了信号を起動する。 LFSTART = ENDREQ & ~LFBUSYThe right part of FIG. 7 is a timing chart of the conflict between the line feed processing and the end processing. If there is a burst end request during SDRAM line feed processing, the LFS of the following equation is used.
The end signal is activated by the logic of the TART signal 139. LFSTART = ENDREQ & ~ LFBUSY
【0052】改行処理終了後、LFBUSY=0となっ
た次のCLKから終了処理が始まる。この2つの処理の
間に1w読み出しがあるが、データ処理装置で無視す
る。After the end of the line feed processing, the end processing starts from the next CLK when LFBUSY = 0. There is a 1w read between these two processes, but this is ignored by the data processing device.
【0053】以上説明したように、第1の実施形態のS
DRAMコントローラでは、アドレス発生部のアドレス
カウンタがSDRAMアドレスをリアルタイムで追跡カ
ウントし、行末を検出する度に改行処理が自動的に実行
されるので、データ処理装置からの複数行にまたがるS
DRAMの読み書き制御を容易にする。As described above, S in the first embodiment
In the DRAM controller, the address counter of the address generation unit tracks and counts the SDRAM address in real time, and a line feed process is automatically executed each time the end of a line is detected.
Facilitates DRAM read / write control.
【0054】また、アドレスカウンタに任意の値をロー
ドすることにより、SDRAMの任意番地に飛越せるの
で、SDRAMの不要データ部分をスキップしたり、各
所に散在するブロックデータを効率良く読み書きでき
る。Also, by loading an arbitrary value to the address counter, it is possible to jump to an arbitrary address of the SDRAM, so that unnecessary data portions of the SDRAM can be skipped, and block data scattered in various places can be efficiently read and written.
【0055】SDRAMの飛越要求や終了要求が改行処
理中に起きた場合、次行の先頭1語のアクセスまで待た
せ、その後に飛越処理や終了処理を実行するように制御
するので、SDRAMに不正なシーケンスを発生しな
い。When a jump request or end request of the SDRAM occurs during a line feed process, control is made to wait until the first word of the next line is accessed, and then execute the jump process or the end process. Does not generate a complicated sequence.
【0056】尚、改行処理と飛越処理の間でSDRAM
から読み出された余計な1語は、飛越処理中にマスクを
かけるので、これがデータ処理装置で誤用されることが
ない。Note that the SDRAM is used between the line feed processing and the jump processing.
Since an extra word read from is masked during the jump processing, it is not misused by the data processing device.
【0057】リフレッシュ発生部により、一定の時間間
隔でリフレッシュコマンドが自動的に発行される。SD
RAMビジー中は、開始処理、改行処理、飛越処理のプ
リチャージ状態になるまで待ってリフレッシュを実行す
るので、データ処理装置からの制御が容易になる。A refresh command is automatically issued at regular time intervals by the refresh generator. SD
While the RAM is busy, the refresh is executed until the pre-charge state of the start processing, the line feed processing, and the jump processing is executed, so that the control from the data processing device becomes easy.
【0058】[第2の実施形態の説明] [構成の説明]第1実施形態のSDRAMコントローラ
では、クロック周期が短い場合、ADRCカウンタのビ
ット数が20ビットと大きいので、カウントアップ(イ
ンクリメント)が時間余裕不足になるおそれがある。ま
た、ADRCの値がSDRAMのA11-0端子にレジスタ
なしで送出されるので、SDRAMデバイスにおいてセ
ットアップ時間不足のおそれがある。[Explanation of Second Embodiment] [Description of Configuration] In the SDRAM controller of the first embodiment, when the clock cycle is short, the number of bits of the ADRC counter is as large as 20 bits, so that the count-up (increment) is increased. There is a risk that time will be insufficient. Also, since the value of ADRC is sent to the A11-0 terminal of the SDRAM without register, there is a possibility that the setup time is insufficient in the SDRAM device.
【0059】図8は第2の実施形態のSDRAMコント
ローラのアドレス発生部110の構成図であり、第1の
実施形態とは以下の点が異なる。 ADRCを下位10bitと上位10bitに分け
て、連続する2クロックでカウントアップする。(以下
倍長カウントと呼ぶ) ADRC下位10bitのカウントエネーブル信号を
1CLK早める。(以下先行カウントと呼ぶ) A11-0出力152の前に遅延レジスタ184を追加す
る。FIG. 8 is a block diagram of the address generator 110 of the SDRAM controller of the second embodiment, which differs from the first embodiment in the following points. ADRC is divided into lower 10 bits and upper 10 bits, and counted up by two consecutive clocks. (Hereinafter referred to as double-length count) The count enable signal of the lower 10 bits of the ADRC is advanced by 1 CLK. (Hereinafter prior referred to as counts) adding a delay register 184 before the A 11-0 output 152.
【0060】ADRC先行カウントは、ADRCカウン
タ下位10bitのCount Enableとして、
次のMENB信号136、 MENB = SDBUSY0 & ~LFBUSY の代わりに、次のMENBA信号182を使用する。 MENBA = ( MENBの1CLK先行)= MENB & ~LFSTART |
LBC7The ADRC preceding count is obtained by counting the lower 10 bits of the ADRC counter as “Enable”.
Use the next MENBA signal 182 instead of the next MNB signal 136, MENB = SDBUSY0 & ~ LFBUSY. MENBA = (1 CLK ahead of MENB) = MENB & ~ LFSTART |
LBC7
【0061】ADRC倍長カウントの方法は、ADRC
の、ロード、インクリメント、ホールドのCLK同期動
作の内、インクリメントを2CLK動作に変更する。The method of ADRC double counting is ADRC
In the load, increment, and hold CLK synchronous operations, the increment is changed to the 2CLK operation.
【0062】ADRCの下位10ビットは、MENBA
=1でインクリメントし、キャリーをADRCRY18
5に保持し、次のCLKで(MENB=1で)上位10
ビットにADRCRYを加える。この2CLK期間は、
SDBUSY=1、LOAD=0であるからカウントミ
スは起こらない。The lower 10 bits of ADRC are MENBA
= 1 and increment carry by ADRCRY18
5 at the next CLK (with MENB = 1)
Add ADRCRY to the bit. During this 2CLK period,
Since SDBUSY = 1 and LOAD = 0, no count error occurs.
【0063】ADRC下位より生成されるLF信号は1
CLK早まるので、その信号をLF2信号183とし、
それを1CLK遅延した信号をLF1信号124として
コマンド発生部108に改行要求を出す。The LF signal generated from the lower ADRC is 1
CLK is advanced, so that signal is used as the LF2 signal 183,
A signal that is delayed by 1 CLK is issued as a LF1 signal 124 to the command generator 108 to request a line feed.
【0064】[動作の説明]図9は第2の実施形態のタ
イミング図で、図5の第1の実施形態のタイミング図と
同様に、開始処理、データ読み出し5w、改行処理、デ
ータ読み出し3w、終了処理から成るSDRAM読み出
しシーケンスにおける21個の信号波形を示す。[Description of Operation] FIG. 9 is a timing chart of the second embodiment. As in the timing chart of the first embodiment shown in FIG. 5, start processing, data reading 5w, line feed processing, data reading 3w, 21 shows 21 signal waveforms in an SDRAM read sequence including a termination process.
【0065】図9では、MENBの1CLK先行信号M
ENBAでADRCカウンタの下位10bitを1CL
K早くカウントしている。ADRCが003ffから0
0400に変わる間に一時00000になるが、この時
中間キャリービットがADRCRY=1の過渡状態であ
る。In FIG. 9, the 1CLK preceding signal M of the MENB
Lower 10 bits of ADRC counter with ENBA, 1CL
K counts earlier. ADRC is 0 from 003ff
It temporarily becomes 00000 while changing to 0400. At this time, the intermediate carry bit is in the transient state of ADRCRY = 1.
【0066】列アドレス8ビットは先行カウントするの
で、バッファレジスタ184で1CLK遅らせてSDR
AMに送出する。従ってアドレス端子A11-0のセットア
ップ時間不足が解消する。Since the 8 bits of the column address are counted in advance, the SDR is delayed by 1 CLK in the buffer register 184.
Send to AM. Therefore, the shortage of the setup time of the address terminal A 11-0 is solved.
【0067】また、ADRC上位10bitのカウント
動作は、下位10bitのキャリー伝播を伴わないた
め、時間余裕不足が解消する。Further, the counting operation of the upper 10 bits of the ADRC does not involve carry propagation of the lower 10 bits, so that the shortage of time is solved.
【0068】行末検出信号LF2は1CLK早まるの
で、1CLK分遅らせたLF1信号で改行指示を出す。
このため、ADRC下位10bitのカウント動作も余
裕を持って実行できる。Since the line end detection signal LF2 is advanced by 1 CLK, a line feed instruction is issued by the LF1 signal delayed by 1 CLK.
Therefore, the counting operation of the lower 10 bits of the ADRC can be executed with a margin.
【0069】以上説明したように、本実施形態のSDR
AMコントローラは、SDRAMアドレスカウンタのビ
ット数が増えても、カウンタを下位と上位に分けて、引
き続く2CLKでパイプライン的にカウントしているの
で、高速なクロックで動作する。As described above, the SDR of this embodiment
The AM controller operates with a high-speed clock even if the number of bits of the SDRAM address counter increases, since the counter is divided into lower and upper bits and counting is performed in a pipeline with the subsequent 2CLK.
【0070】アドレスカウンタの下位部は1CLK先行
してカウントするので、カウンタ下位の全部または一部
をSDRAMの列アドレスとして使えば、A11-0を送出
する経路にレジスタバッファを1段挿入できるので、セ
ットアップ時間不足となるおそれがない。Since the lower part of the address counter counts 1 CLK ahead, if all or part of the lower part of the counter is used as the column address of the SDRAM, one stage of register buffer can be inserted in the path for transmitting A11-0 . There is no danger of running out of setup time.
【0071】改行を起動する改行指示信号も1CLK早
まるので、フリップフロップを1段挿入すれば、コマン
ド発生部108で起動に失敗するおそれがない。従っ
て、クロック周波数を増大でき、性能が向上できる。The line feed instruction signal for starting a line feed is also advanced by 1 CLK. Therefore, if one flip-flop is inserted, there is no possibility that the command generator 108 fails to start. Therefore, the clock frequency can be increased, and the performance can be improved.
【0072】[第3の実施形態の説明] [構成の説明]第1及び第2の実施形態ではフルページ
モードのSDRAMを使っていたが、フルページモード
をサポートしないSDRAMデバイスもある。例えば8
語バーストモードでは、8語毎にRead/Write
コマンドによりアドレスを供給する必要がある。[Explanation of Third Embodiment] [Description of Configuration] Although the first and second embodiments use the full page mode SDRAM, there are some SDRAM devices that do not support the full page mode. For example, 8
In word burst mode, Read / Write every 8 words
The address must be supplied by the command.
【0073】図10は第3の実施形態のSDRAMコン
トローラのアドレス発生部である。第2の実施形態のア
ドレス発生部のRWC信号135に、以下のBST信号
191を生成し、論理和して追加したものである。 BST = BL4 & ~ADRC[0] & ~ADRC[1] & MENB | BL8 & ~AD
RC[0] & ~ADRC[1]& ~ADRC[2] & MENB ここで、バースト長=4のモードでは、BL4=1,B
L8=0 とし、バースト長=8のモードでは、BL4
=0,BL8=1 とし、フルページモードでは、BL
4=0,BL8=0 とする。FIG. 10 shows an address generator of the SDRAM controller according to the third embodiment. The following BST signal 191 is generated and added to the RWC signal 135 of the address generation unit of the second embodiment by performing a logical OR operation. BST = BL4 & ~ ADRC [0] & ~ ADRC [1] & MENB | BL8 & ~ AD
RC [0] & ~ ADRC [1] & ~ ADRC [2] & MENB Here, in the mode of burst length = 4, BL4 = 1, B
In a mode in which L8 = 0 and burst length = 8, BL4
= 0, BL8 = 1, and in the full page mode, BL
4 = 0, BL8 = 0.
【0074】フルページモードは第2の実施形態と同じ
論理である。MENB信号136は、バースト転送中を
示す信号で、ADRC上位のカウントエネーブルに使わ
れている信号である。なお、図10のADRCカウンタ
151へのMENB信号136以外の入力信号は、図8
と同じであるから省略している。The full page mode has the same logic as in the second embodiment. The MENB signal 136 is a signal indicating that the burst transfer is being performed, and is a signal used for the count enable of the upper ADRC. The input signals other than the MENB signal 136 to the ADRC counter 151 in FIG.
It is omitted because it is the same as.
【0075】[動作の説明]図11は、第3の実施形態
のタイミング図で、開始処理と終了処理の間の16CL
K期間に16w読み出そうとする。フルページモードな
らば、その最初のCLK期間にREADコマンドを発行
すればよい。その場合、e2番地からf1番地までが読
み出される。[Description of Operation] FIG. 11 is a timing chart of the third embodiment.
Attempt to read 16w during K period. In the full page mode, a READ command may be issued during the first CLK period. In that case, addresses from address e2 to address f1 are read.
【0076】ここでバースト長=4のモードの動作を考
えると、最初のREADコマンドでe2,e3,e0,
e1の各番地がこの順に読み出され、以後の12CLK
は何も読み出されない。すなわち、列アドレスの下位2
bitを4を法としてカウントし4wだけ読み出す。従
って、3CLK目(e0番地)で別のアドレスe4を与
える必要がある。Here, considering the operation in the mode of burst length = 4, e2, e3, e0,
Each address of e1 is read out in this order, and the subsequent 12CLK
Does not read anything. That is, the lower 2 of the column address
The bit is counted modulo 4 and 4 w is read. Therefore, it is necessary to give another address e4 at the third CLK (address e0).
【0077】そこで、図10でBL4=1,BL8=0
とバースト長4に設定すると、図11のBST信号19
1が4CLK毎に4個のパルスを発生する。これは、S
DRAMにe4,e8,ec,f0の各アドレスを4個
のREADコマンドと共に送出し、e4番地からf1番
地までを連続して読み出す。Therefore, BL4 = 1 and BL8 = 0 in FIG.
And a burst length of 4, the BST signal 19 in FIG.
One generates four pulses every 4 CLK. This is S
The addresses e4, e8, ec, and f0 are sent to the DRAM together with the four READ commands, and addresses e4 to f1 are continuously read.
【0078】最初のRWCパルスによるREADコマン
ドは、途中でBSTパルス191によるREADコマン
ドで置き換えられるので、e2番地からf1番地までが
期待通りに読み出される。Since the READ command by the first RWC pulse is replaced on the way by the READ command by the BST pulse 191, addresses from address e2 to address f1 are read as expected.
【0079】また、図10でBL4=0,BL8=1と
バースト長8に設定すると、BST信号が8CLK毎に
2個のパルスを発生する。これは、SDRAMにe8,
f0の各アドレスを2個のREADコマンドと共に送出
し、これも同じ結果となる。When BL4 = 0 and BL8 = 1 and the burst length is set to 8 in FIG. 10, the BST signal generates two pulses every 8 CLK. This is because e8,
Each address of f0 is sent out with two READ commands, which has the same result.
【0080】以上説明したように、第3の実施形態のS
DRAMコントローラのアドレス発生部は、バースト長
が4あるいは8のモードでSDRAMを使用する場合
は、各々4CLK毎、8CLK毎にREADコマンドを
ADRCカウンタ151の各々下位2bit、3bit
を見ながら発生するので、フルページモードと同じタイ
ミングで同じ結果を読み出すことができる。As described above, S in the third embodiment
When using the SDRAM in the mode in which the burst length is 4 or 8, the address generation unit of the DRAM controller sends a READ command every 4 CLK and every 8 CLK, respectively, to the lower 2 bits and 3 bits of the ADRC counter 151 respectively.
The same result can be read out at the same timing as in the full page mode.
【0081】ADRCの下位はSDRAMアドレスに対
し、1CLK先行カウントしているので、バッファレジ
スタで遅延することにより、アドレス値を余裕をもって
送出することができる。Since the lower part of the ADRC counts 1 CLK ahead of the SDRAM address, the address value can be transmitted with a margin by delaying in the buffer register.
【0082】[第4の実施形態の説明] [構成の説明]これまでの実施形態は、列アドレスが8
bit、行アドレスが12bitのSDRAMデバイス
のみを扱ったが、列アドレスCOLAは8,9,10b
itの3通り、行アドレスROWAは12,14bit
の2通りの変化がある。これらSDRAMのどれにも適
用できるアドレス発生部を考える。また、アドレス方向
にチップを拡張することも考える。[Explanation of Fourth Embodiment] [Description of Configuration] In the above embodiments, the column address is 8
Only the SDRAM device having a 12-bit row address and a 12-bit row address is handled, but the column address COLA is 8, 9, 10b
row address ROWA is 12,14 bits
There are two kinds of changes. Consider an address generator that can be applied to any of these SDRAMs. It is also considered to extend the chip in the address direction.
【0083】図12は、第4の実施形態のSDRAMコ
ントローラのアドレス発生部110の構成図である。こ
れは、第2の実施形態と比べ、アドレス発生部のADR
Cカウンタの後段にシフタSFT201を追加した点、
ADRC151を23bitに、列アドレスCOLAを
10bitに、行アドレスROWAを14bitに各々
増加した点、LF2信号の生成論理を変更した点、CS
信号を2本に増加した点が異なる。FIG. 12 is a block diagram of the address generator 110 of the SDRAM controller according to the fourth embodiment. This is different from the second embodiment in that the address generator ADR
The point that the shifter SFT201 is added after the C counter,
The point that the ADRC 151 is increased to 23 bits, the column address COLA is increased to 10 bits, the row address ROWA is increased to 14 bits, the generation logic of the LF2 signal is changed, CS
The difference is that the number of signals is increased to two.
【0084】CS−0信号202、CS−1信号203
は、同種の2個のSDRAMの各CS端子に接続され、
その他の信号(アドレス、データ、制御信号)は、2個
のSDRAMに共通に接続されるものとする。The CS-0 signal 202 and the CS-1 signal 203
Is connected to each CS terminal of two SDRAMs of the same type,
Other signals (address, data, control signals) are assumed to be commonly connected to the two SDRAMs.
【0085】C1信号205、C2信号206はSDR
AMの列数を以下の3通りのどれにするかを決める。 C1=1、C2=0の場合: 256列SDRAM:255で改行:SFT
2bitシフト C1=0、C2=1の場合: 512列SDRAM:511で改行:SFT
1bitシフト C1=0、C2=0の場合:1024列SDRAM:511で改行:SFT
0bitシフトThe C1 signal 205 and the C2 signal 206 are SDR
Decide which of the following three types of AM columns to use. When C1 = 1, C2 = 0: 256 columns SDRAM: New line at 255: SFT
2-bit shift When C1 = 0, C2 = 1: 512 columns SDRAM: 511, line feed: SFT
1-bit shift When C1 = 0, C2 = 0: 1024 columns SDRAM: 511, line feed: SFT
0 bit shift
【0086】また、R1信号207、R2信号208、
R3信号209は2本のCS−0、CS−1信号を、A
DRCのどのbitで選択するかを以下のように決め
る。 R1=1,R2=0,R3=0の場合:ADRC[20]でチップ選択。 R1=0,R2=1,R3=0の場合:ADRC[21]でチップ選択。 R1=0,R2=0,R3=1の場合:ADRC[22]でチップ選択。 R1=R2=R3=0の場合:CS-0のみ選択。The R1 signal 207, the R2 signal 208,
The R3 signal 209 outputs two CS-0 and CS-1 signals as A
Which bit of the DRC is selected is determined as follows. When R1 = 1, R2 = 0, R3 = 0: Chip selection by ADRC [20]. When R1 = 0, R2 = 1, R3 = 0: Chip selection by ADRC [21]. When R1 = 0, R2 = 0, R3 = 1: Select the chip by ADRC [22]. When R1 = R2 = R3 = 0: Only CS-0 is selected.
【0087】[動作の説明]列アドレスCOLAが8,
9,10bitの3通りの各々の場合に分けて説明す
る。但し、クロック周波数は66MHzとする。 (a)256列のSDRAMの動作 256列SDRAMを使用する場合は、C1=1、C2
=0 とする。ORゲート210の出力は1なので、A
DRCの下位8bitが1、すなわち255の時、改行
信号LF2=1となり、次のCLKでLF1=1となっ
て改行処理を起動する。行をまたがる連続バーストの改
行周期は約4μSである。[Description of Operation] When the column address COLA is 8,
The description will be made separately for each of three cases of 9, 10 bits. However, the clock frequency is 66 MHz. (A) Operation of 256-column SDRAM When using a 256-column SDRAM, C1 = 1, C2
= 0. Since the output of the OR gate 210 is 1, A
When the lower 8 bits of the DRC are 1, that is, 255, the line feed signal LF2 = 1, and LF1 = 1 at the next CLK to start line feed processing. The line feed period of a continuous burst that spans a line is about 4 μS.
【0088】シフタは2bitシフトモードになる。こ
れは、ADRC[8]をROWA[0]に出し、以下同
様にADRC[21]をROWA[13]に出す。CO
LAの上位2bitは何でも良い。ADRC[19]は
ROWA[11]に出るが、これが前実施形態までの最
上位bitであった。従って、COLA、ROWAの上
位各2bitを無視すればA11-0は前実施形態までと同
じである。The shifter enters the 2-bit shift mode. This sends ADRC [8] to ROWA [0], and similarly sends ADRC [21] to ROWA [13]. CO
The upper two bits of LA may be anything. ADRC [19] comes out to ROWA [11], which was the most significant bit up to the previous embodiment. Therefore, A 11-0 ignoring COLA, the upper respective 2bit of ROWA is the same as before embodiment.
【0089】また、複数チップを用いてアドレス方向に
拡張することができる。この場合、R1=R2=R3=
0とすれば、CS−0は前実施形態までのCSと同じで
ある。Further, it can be expanded in the address direction by using a plurality of chips. In this case, R1 = R2 = R3 =
If it is set to 0, CS-0 is the same as CS up to the previous embodiment.
【0090】R1=1,R2=0,R3=0とすれば、
ADRC[20]=0の間はCS−0が今までの実施形
態CSと同じで、CS−1にはPCGコマンドとREF
コマンドのみを送出する。ADRC[20]=1になる
とCS−1が今までのCSと同じで、CS−0にはPC
GコマンドとREFコマンドのみを送出する。こうし
て、ADRC[20]によってチップを選択する。If R1 = 1, R2 = 0, R3 = 0,
While ADRC [20] = 0, CS-0 is the same as the previous embodiment CS, and CS-1 has a PCG command and REF
Only send commands. When ADRC [20] = 1, CS-1 is the same as the previous CS, and CS-0 is
Only G command and REF command are transmitted. Thus, a chip is selected by ADRC [20].
【0091】同じ256列SDRAMで、列アドレスが
8bit、行アドレスが14bitのSDRAMでは、
R1=0,R2=0,R3=1とすれば、ADRC[2
2]によってチップを選択できる。In the same 256-column SDRAM, an SDRAM having a column address of 8 bits and a row address of 14 bits,
If R1 = 0, R2 = 0, and R3 = 1, ADRC [2
2] can select a chip.
【0092】(b)512列のSDRAMの動作 512列SDRAMを使用する場合は、C1=0、C2
=1とする。ORゲート210の出力はADRC[8]
なので、ADRCの下位9bitが全て1、すなわち5
11の時、改行信号LF2=1が出、次のCLKでLF
1=1が出て改行処理を起動する。行をまたがる連続バ
ーストの改行周期は約8μSである。(B) Operation of 512-column SDRAM When a 512-column SDRAM is used, C1 = 0, C2
= 1. The output of the OR gate 210 is ADRC [8]
Therefore, the lower 9 bits of ADRC are all 1, that is, 5
At the time of 11, a line feed signal LF2 = 1 is output, and LF is output at the next CLK.
1 = 1 is issued and the line feed processing is started. The line feed period of a continuous burst over a line is about 8 μS.
【0093】シフタは1bitシフトモードになる。こ
れは、ADRC[8]をCOLA[8]に出し、ADR
C[9]をROWA[0]に出し、以下同様にADRC
[22]をROWA[13]に出す。COLAの上位1
bitは何でも良い。The shifter enters the 1-bit shift mode. This puts ADRC [8] into COLA [8] and ADR
C [9] is output to ROWA [0], and ADRC is similarly performed.
[22] is sent to ROWA [13]. Top 1 in COLA
The bit can be anything.
【0094】図13は、512列のSDRAMを用い、
ADRC[22]でCS−0、CS−1を選択した場合
の、SDRAM読み出しシーケンスである。先頭アドレ
スADRC=3ffffbからADRC=400002
までの8語をアクセスしている。最初の5語はCS−0
側のSDRAM、後の3語はCS−1側のSDRAMを
アクセスしている。FIG. 13 uses 512 columns of SDRAMs.
This is an SDRAM read sequence when CS-0 and CS-1 are selected in ADRC [22]. Start address ADRC = 3ffffb to ADRC = 400002
Up to 8 words are accessed. The first five words are CS-0
The SDRAM on the side and the last three words access the SDRAM on the CS-1 side.
【0095】ADRC23bitの内、下位9bitは
列アドレスに、最上位1bitがCSに、真ん中の13
bitが行アドレスに使われている。また3fffff
から400000にカウントアップする時、倍長カウン
トが行われている。Of the 23 bits of ADRC, the lower 9 bits are in the column address, the highest 1 bit is in CS, and the middle 13
bit is used for the row address. Also, 3ffffff
When counting up from 00000 to 400 000, double-length counting is performed.
【0096】(c)1024列のSDRAMの動作 1024列SDRAMを使用する場合は、C1=0、C
2=0とする。ORゲート210の出力はADRC
[8]なので、ADRCの下位10bitの内9bit
が全て1、すなわち列番号が511と1023の2個所
で、改行信号LF2=1が出、次のCLKでLF1=が
出て改行処理を起動する。これは、本来なら16μSと
なる改行周期をリフレッシュ間隔(14μS)以下にす
るために、1行に2回改行したものである。(C) Operation of 1024-column SDRAM When a 1024-column SDRAM is used, C1 = 0 and C
2 = 0. The output of OR gate 210 is ADRC
[8] So, 9 bits out of the lower 10 bits of ADRC
Are all 1, that is, at two places where the column numbers are 511 and 1023, a line feed signal LF2 = 1 is output, and LF1 = is output at the next CLK to start line feed processing. This is a line feed twice in one line in order to make the line feed cycle, which is originally 16 μS, shorter than the refresh interval (14 μS).
【0097】シフタは0bitシフトモードになる。こ
れは、ADRC[8:9]をCOLA[8:9]に出
し、ADRC[10]をROWA[0]に出し、以下同
様にADRC[22]をROWA[12]に出す。RO
WAの最上位1bitは0とする。1024列のSDR
AMでも、上位に余ったADRCビットでチップ選択が
でき、ワード数を2倍にできる。The shifter enters the 0-bit shift mode. This sends ADRC [8: 9] to COLA [8: 9], sends ADRC [10] to ROWA [0], and so forth, and sends ADRC [22] to ROWA [12]. RO
The highest 1 bit of the WA is set to 0. 1024 rows of SDR
Even in AM, chip selection can be performed using the remaining ADRC bits in the higher order, and the number of words can be doubled.
【0098】以上説明したように、第4の実施形態のS
DRAMコントローラのSDRAMアドレス発生部に
は、ADRCとマルチプレクサの間にシフタを挿入した
ので、1行が256列、512列、1024列のどのS
DRAMデバイスでも使用することができる。As described above, S in the fourth embodiment
In the SDRAM address generator of the DRAM controller, since a shifter is inserted between the ADRC and the multiplexer, one row has 256 columns, 512 columns, and 1024 columns.
It can also be used in DRAM devices.
【0099】以上の各実施形態における説明からも分か
るように、本発明のSDRAMコントローラは、文字認
識、音声認識等における標準パタンをSDRAMに格納
し、標準パタンの不要部分をスキップしながら読み出し
照合処理を実行するのに適している。また、LSI化さ
れたデータ処理装置と、SDRAMデバイスを結合する
インターフェースとして用いるのに適している。As can be seen from the description of each of the above embodiments, the SDRAM controller of the present invention stores a standard pattern in character recognition, voice recognition and the like in the SDRAM, and reads out the reference pattern while skipping unnecessary portions of the standard pattern. Suitable to perform. Further, it is suitable to be used as an interface for coupling an LSI data processing device and an SDRAM device.
【0100】[0100]
【発明の効果】以上詳細に説明したように、請求項1に
記載の発明によれば、データ処理装置とクロック同期型
のSDRAMとのバースト転送を制御するメモリ制御装
置において、前記データ処理装置から指定されたアドレ
スを初期値とし、前記バースト転送中にカウントするア
ドレスカウンタを用いて前記SDRAMの行アドレス、
列アドレス及び改行要求信号を発生するアドレス発生手
段と、前記データ処理装置または前記アドレス発生手段
からの要求に従って、開始処理、飛越処理、終了処理、
改行処理の各々の処理を実行する複数のSDRAMコマ
ンドのタイミング信号を発生すると共に、前記改行処理
中に、前記飛越処理要求または前記終了処理要求があっ
た場合には、当該改行処理が終了するまで当該飛越処理
または当該終了処理要求を保留するコマンド発生手段
と、周期的な要求に従ってリフレッシュコマンドのタイ
ミング信号を発生すると共に、前記バースト転送中に、
前記リフレッシュ要求があった場合には、前記開始処
理、飛越処理、改行処理、終了処理のいずれかが実行さ
れる時点まで当該リフレッシュ要求を保留するリフレッ
シュ発生手段を備えた構成としたので、アドレス発生手
段のアドレスカウンタがSDRAMアドレスをリアルタ
イムで追跡カウントし、行末を検出する度に改行処理が
自動的に実行されるので、データ処理装置からの複数行
にまたがるSDRAMの読み書き制御を容易にする。ま
た、アドレスカウンタに任意の値をロードすることによ
り、SDRAMの任意番地に飛越せるので、SDRAM
の不要データ部分をスキップしたり、各所に散在するブ
ロックデータを効率良く読み書きできるという効果があ
る。As described in detail above, according to the first aspect of the present invention, in a memory control device for controlling a burst transfer between a data processing device and a clock synchronous SDRAM, Using a designated address as an initial value and a row address of the SDRAM using an address counter counting during the burst transfer,
Address generation means for generating a column address and a line feed request signal; and start processing, jump processing, end processing,
A plurality of SDRAM command timing signals for executing each of the line feed processing are generated, and during the line feed processing, if the jump processing request or the end processing request is issued, the line feed processing is terminated. Command generation means for suspending the jump processing or the termination processing request, and generating a refresh command timing signal according to a periodic request, and during the burst transfer,
When the refresh request is issued, the refresh request is held until the start processing, the jump processing, the line feed processing, or the end processing is executed. The address counter of the means tracks and counts the SDRAM address in real time, and a line feed process is automatically executed each time the end of a line is detected. This facilitates read / write control of the SDRAM over a plurality of lines from the data processing device. Also, by loading an arbitrary value to the address counter, it is possible to jump to an arbitrary address of the SDRAM.
There is an effect that unnecessary data portions can be skipped and block data scattered in various places can be efficiently read and written.
【0101】また、請求項2に記載の発明によれば、前
記アドレスカウンタは、少なくとも前記列アドレスを包
含するカウンタ下半部と残りのカウンタ上半部に2分割
され、当該カウンタ下半部は、当該カウンタ上半部より
1クロック先行してカウントされる構成としたので、カ
ウンタ下位の全部または一部をSDRAMの列アドレス
として使用すれば、アドレスを送出する経路にレジスタ
バッファを1段挿入できるので、セットアップ時間不足
となるおそれが無くなる。更には、改行を起動する改行
指示信号も1CLK早まるので、フリップフロップを1
段挿入すれば、コマンド発生手段で起動に失敗するおそ
れが無くなりクロック周波数を増大できるという効果が
ある。According to the second aspect of the present invention, the address counter is divided into at least a lower half of the counter including the column address and an upper half of the remaining counter. Since the counter is counted one clock ahead of the upper half of the counter, if all or part of the lower part of the counter is used as the column address of the SDRAM, one stage of register buffer can be inserted into the address transmission path. Therefore, there is no danger of running out of setup time. Further, since a line feed instruction signal for starting line feed is also advanced by 1 CLK, the flip-flop is set to 1
If the stage is inserted, there is no danger that the command generation means will fail to start, and the clock frequency can be increased.
【0102】更に、請求項3に記載の発明によれば、バ
ースト長がN(但しNは2のn乗)のモードで前記SD
RAMを使用する場合に、前記バースト転送中に前記ア
ドレスカウンタの下位nビットが全て0になる度に前記
列アドレスを前記SDRAMに送出するようにしたの
で、フルページモードと同じタイミングで同じ結果を読
み出すことが出来るという効果がある。Further, according to the third aspect of the present invention, in the mode where the burst length is N (where N is 2 to the power of n),
When the RAM is used, the column address is sent to the SDRAM every time the lower n bits of the address counter become 0 during the burst transfer, so that the same result is obtained at the same timing as in the full page mode. There is an effect that reading can be performed.
【0103】更に、請求項4に記載の発明によれば、列
数が各々256,512,1024の前記SDRAMを
使用する場合に、前記アドレスカウンタの下位8ビット
を除いた値を各々2,1,0ビット上位方向にシフトし
て前記行アドレスを生成するようにしたので、1行が2
56列、512列、1024列のどのSDRAMデバイ
スでも使用できるという効果がある。According to the fourth aspect of the present invention, when using the SDRAM having 256, 512, and 1024 columns, respectively, the value excluding the lower 8 bits of the address counter is set to 2, 1 , 0 bits are shifted upward to generate the row address.
There is an effect that any of the SDRAM devices in 56 columns, 512 columns, and 1024 columns can be used.
【図1】実施形態におけるSDRAMコントローラの構
成図である。FIG. 1 is a configuration diagram of an SDRAM controller according to an embodiment.
【図2】コマンド発生部108の構成図である。FIG. 2 is a configuration diagram of a command generation unit 108.
【図3】リフレッシュ発生部109の構成図である。FIG. 3 is a configuration diagram of a refresh generation unit 109;
【図4】第1の実施形態におけるアドレス発生部110
の構成図である。FIG. 4 shows an address generator 110 according to the first embodiment.
FIG.
【図5】コマンド発生部とアドレス発生部のタイミング
図である。FIG. 5 is a timing chart of a command generator and an address generator.
【図6】リフレッシュ発生部のタイミング図である。FIG. 6 is a timing chart of a refresh generation unit.
【図7】改行中の飛越と終了のタイミング図である。FIG. 7 is a timing chart of jump and end during a line feed.
【図8】第2の実施形態におけるアドレス発生部110
の構成図である。FIG. 8 shows an address generator 110 according to the second embodiment.
FIG.
【図9】第2の実施形態におけるタイミング図である。FIG. 9 is a timing chart according to the second embodiment.
【図10】第3の実施形態におけるアドレス発生部11
0の構成図である。FIG. 10 shows an address generator 11 according to the third embodiment.
FIG.
【図11】第3の実施形態におけるタイミング図であ
る。FIG. 11 is a timing chart in the third embodiment.
【図12】第4の実施形態におけるアドレス発生部11
0の構成図である。FIG. 12 shows an address generator 11 according to a fourth embodiment.
FIG.
【図13】第4の実施形態におけるタイミング図であ
る。FIG. 13 is a timing chart in the fourth embodiment.
101 入力端子 103 データバス 104 SDRAM 105 データ処理装置 106 出力端子 107 SDRAMコントローラ 108 コマンド発生部 109 リフレッシュ発生部 110 アドレス発生部 DESCRIPTION OF SYMBOLS 101 Input terminal 103 Data bus 104 SDRAM 105 Data processing device 106 Output terminal 107 SDRAM controller 108 Command generation part 109 Refresh generation part 110 Address generation part
Claims (4)
RAMとのバースト転送を制御するメモリ制御装置にお
いて、 前記データ処理装置から指定されたアドレスを初期値と
し、前記バースト転送中にカウントするアドレスカウン
タを用いて前記SDRAMの行アドレス、列アドレス及
び改行要求信号を発生するアドレス発生手段と、 前記データ処理装置または前記アドレス発生手段からの
要求に従って、開始処理、飛越処理、終了処理、改行処
理の各々の処理を実行する複数のSDRAMコマンドの
タイミング信号を発生すると共に、前記改行処理中に、
前記飛越処理要求または前記終了処理要求があった場合
には、当該改行処理が終了するまで当該飛越処理または
当該終了処理要求を保留するコマンド発生手段と、 周期的な要求に従ってリフレッシュコマンドのタイミン
グ信号を発生すると共に、前記バースト転送中に、前記
リフレッシュ要求があった場合には、前記開始処理、飛
越処理、改行処理、終了処理のいずれかが実行される時
点まで当該リフレッシュ要求を保留するリフレッシュ発
生手段を備えたことを特徴とするメモリ制御装置。1. A data processing device and a clock synchronous SD
A memory control device for controlling a burst transfer with a RAM, wherein an address specified by the data processing device is used as an initial value, and a row address, a column address and a line feed request of the SDRAM are determined by using an address counter counting during the burst transfer. An address generating means for generating a signal; and generating a timing signal of a plurality of SDRAM commands for executing start processing, jump processing, end processing, and line feed processing in accordance with a request from the data processing device or the address generating means. And during the line feed processing,
When the jump processing request or the termination processing request is received, a command generating means for suspending the jump processing or the termination processing request until the line feed processing is terminated, and a timing signal of a refresh command according to a periodic request. And a refresh generation means for suspending the refresh request until any of the start processing, the jump processing, the line feed processing, and the end processing is executed when the refresh request is generated during the burst transfer. A memory control device comprising:
記列アドレスを包含するカウンタ下半部と残りのカウン
タ上半部に2分割され、当該カウンタ下半部は、当該カ
ウンタ上半部より1クロック先行してカウントされるこ
とを特徴とする請求項1に記載のメモリ制御装置。2. The address counter is divided into a lower half of the counter including at least the column address and an upper half of the remaining counter, and the lower half of the counter is one clock ahead of the upper half of the counter. 2. The memory control device according to claim 1, wherein the memory control device counts the data.
モードで前記SDRAMを使用する場合に、前記バース
ト転送中に前記アドレスカウンタの下位nビットが全て
0になる度に前記列アドレスを前記SDRAMに送出す
ることを特徴とする請求項2に記載のメモリ制御装置。3. When the SDRAM is used in a mode having a burst length of N (where N is 2 to the power of n), each time the lower n bits of the address counter become 0 during the burst transfer, the column is read out. 3. The memory control device according to claim 2, wherein an address is sent to said SDRAM.
前記SDRAMを使用する場合に、前記アドレスカウン
タの下位8ビットを除いた値を各々2,1,0ビット上
位方向にシフトして前記行アドレスを生成することを特
徴とする請求項2に記載のメモリ制御装置。4. When the SDRAM having 256, 512, and 1024 columns is used, the value of the address counter excluding the lower 8 bits is shifted upward by 2, 1, 0 bits, respectively, and 3. The memory control device according to claim 2, wherein the address is generated.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11107465A JP2000298616A (en) | 1999-04-15 | 1999-04-15 | Memory controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP11107465A JP2000298616A (en) | 1999-04-15 | 1999-04-15 | Memory controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000298616A true JP2000298616A (en) | 2000-10-24 |
Family
ID=14459891
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP11107465A Withdrawn JP2000298616A (en) | 1999-04-15 | 1999-04-15 | Memory controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000298616A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006003693A1 (en) * | 2004-06-30 | 2006-01-12 | Renesas Technology Corp. | Data processor |
| JP2006154897A (en) * | 2004-11-25 | 2006-06-15 | Oki Electric Ind Co Ltd | Dram controller |
-
1999
- 1999-04-15 JP JP11107465A patent/JP2000298616A/en not_active Withdrawn
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2006003693A1 (en) * | 2004-06-30 | 2006-01-12 | Renesas Technology Corp. | Data processor |
| JP2006154897A (en) * | 2004-11-25 | 2006-06-15 | Oki Electric Ind Co Ltd | Dram controller |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5063041B2 (en) | Dynamic semiconductor memory with improved refresh mechanism | |
| KR100989287B1 (en) | Detection Circuit for Mixed Asynchronous Synchronous Memory Operation | |
| US8547776B2 (en) | Multi-port memory based on DRAM core | |
| KR100618070B1 (en) | Dynamic memory circuit with automatic refresh function | |
| US6587918B1 (en) | Method for controlling refresh of a multibank memory device | |
| US20030217223A1 (en) | Combined command set | |
| JPH11297067A (en) | Method and apparatus for 1-tsram compatible memory | |
| JP2001256778A (en) | Dynamic random access memory | |
| US9685220B2 (en) | DDR controller, method for implementing the same, and chip | |
| EP4445372A1 (en) | Read clock start and stop for synchronous memories | |
| JP2004288226A (en) | Dram and dram refresh method | |
| US7180822B2 (en) | Semiconductor memory device without decreasing performance thereof even if refresh operation or word line changing operation occur during burst operation | |
| JP2000298616A (en) | Memory controller | |
| JPH09237492A (en) | Memory controller | |
| JP2007066490A (en) | Semiconductor memory device | |
| KR100481819B1 (en) | SRAM compatible and Synchronous Memory Device being controlled by a signal, the signal activating in Chip disable period | |
| JP4225223B2 (en) | Memory control apparatus and method | |
| TWI915552B (en) | Burst access memory and method of operating a burst access memory | |
| US12451183B2 (en) | Burst access memory and method of operating a burst access memory | |
| US20260128088A1 (en) | Burst access memory and method of operating a burst access memory | |
| JPH06103760A (en) | Dynamic memory | |
| JPH087562A (en) | Dynamic random access memory | |
| JP4549001B2 (en) | Information processing apparatus and semiconductor integrated circuit | |
| KR0183813B1 (en) | DMA Refresh Controller | |
| JP2004318500A (en) | Memory circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20060704 |