JPH01100794A - Memory access system - Google Patents
Memory access systemInfo
- Publication number
- JPH01100794A JPH01100794A JP62257137A JP25713787A JPH01100794A JP H01100794 A JPH01100794 A JP H01100794A JP 62257137 A JP62257137 A JP 62257137A JP 25713787 A JP25713787 A JP 25713787A JP H01100794 A JPH01100794 A JP H01100794A
- Authority
- JP
- Japan
- Prior art keywords
- dram
- state
- access
- mode
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Dram (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、メモリアクセス方式に係り、特にスタチック
カラムモード、ページモードなど高速アクセスモードを
備えたダイナミックRAMの高速アクセス制御に好適な
メモリアクセス方式に関する。Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a memory access method, and particularly to a memory access method suitable for high-speed access control of a dynamic RAM having high-speed access modes such as static column mode and page mode. Regarding the method.
近年、半導体メモリの高速化により、MOSのダイナミ
ックRAMCDRAM)でもアクセス時間が100ナノ
秒を切る素子′が市販されている。これらのDRAMの
中には連続するメモリアクセス時にさらに高速にリード
/ライトができるような特別なモードを備えたものがあ
る。例えば日立製1メガビツトDRAM、HM5110
02Sではスタチックカラムモード、同HM51100
0 Sではページモードといった高速化手段である。こ
れらのDRAMの動作タイミングは日立のデータブック
「日立ICメモリ」昭和62年3月版(C8746W)
p、374〜p 、383 (HM511002S)お
よびp、347〜p 、 355 (HM511000
S)に記載されている。In recent years, as semiconductor memories have become faster, devices with access times of less than 100 nanoseconds have become commercially available, even in MOS dynamic RAM (CDRAM). Some of these DRAMs are equipped with a special mode that allows faster read/write operations during consecutive memory accesses. For example, Hitachi's 1 megabit DRAM, HM5110
Static column mode in 02S, same HM51100
In 0S, it is a speed-up means such as page mode. The operation timings of these DRAMs are listed in Hitachi's data book "Hitachi IC Memory" March 1985 edition (C8746W)
p, 374-p, 383 (HM511002S) and p, 347-p, 355 (HM511000
S).
次に、第2図を用いて上記高速アクセスモードを説明す
る。第2図において、1はDRAMのメモリセルを表わ
す。同図ではセルがn行のロウとm列のカラムに配列さ
れている。一般にDRAMをアクセスする場合、アクセ
スすべきセルのアドレスはロウおよびカラムの2回に分
けて指定する。Next, the above-mentioned high-speed access mode will be explained using FIG. 2. In FIG. 2, 1 represents a DRAM memory cell. In the figure, cells are arranged in n rows and m columns. Generally, when accessing a DRAM, the address of the cell to be accessed is specified twice, once for the row and once for the column.
例えば、セル(i、j)102をアクセスする場合、ま
ずロウアドレスiを指定することでメモリセル上のi番
目のロウ101上のm個のセルを選択し、次にカラムア
ドレスjを指定することでアクセスが可能となる。ここ
で注目すべきは、ロウアドレスを指定するとその10つ
分のメモリセルが全て活性化される点である。したがっ
て1例えばロウ1101内のメモリセルを連続アクセス
する場合、毎回ロウアドレスを指定し直す必要はなく、
単にカラムアドレスのみ指定してアクセスすればよい筈
である。この原理を利用したのが前記のスタチックカラ
ムモードおよびページモードのD RAMである。For example, when accessing cell (i, j) 102, first specify the row address i to select m cells on the i-th row 101 of the memory cell, and then specify the column address j. This allows access. What should be noted here is that when a row address is specified, all 10 memory cells are activated. Therefore, for example, when continuously accessing memory cells in row 1101, there is no need to respecify the row address each time.
It should be possible to simply specify the column address and access it. The above-mentioned static column mode and page mode DRAM utilize this principle.
これらのアクセスタイミングを第3図で説明する。RA
S I O3はロウアドレス106のストローブ信号で
ある。C5104はチップセレクト信号であり、実線部
はスタチックカラムモードのDRAMに対応する。かっ
こ内のCA S 104,105はカラムアドレス10
7のストローブ信号であり、点線部105がページモー
ドのDRAMに対応する。あるアドレス(i、j)への
アクセスには、はじめTF109の時間がかかるが、同
一のロウアドレスi内の他のカラムアドレスに、Q・・
・2107等へのアクセスにはTR108だけ短いTs
110のアクセスタイムで済むようすが示しである。These access timings will be explained with reference to FIG. R.A.
S I O 3 is a strobe signal for row address 106 . C5104 is a chip select signal, and the solid line portion corresponds to a static column mode DRAM. CA S 104, 105 in parentheses is column address 10
7, and the dotted line portion 105 corresponds to the page mode DRAM. Accessing a certain address (i, j) initially takes time for the TF 109, but accessing another column address within the same row address i, Q...
・To access 2107 etc., Ts is shorter by TR108.
The figure shows that the access time is only 110 minutes.
時刻TEsoテRA S 103 オヨヒCS 104
が非アクティブになっているのは。Time TEso TERA S 103 Oyohi CS 104
is inactive.
■次のアクセスがロウアドレスi以外に対して行なわれ
た。(2) The next access was made to a row address other than i.
■他のメモリ素子(RAM、ROM含む)に対してアク
セスが行なわれた。(2) Other memory elements (including RAM and ROM) were accessed.
■I10に対してアクセスが行なわれた、■アイドルサ
イクル(何もアクセスが行なわれなかった)、
のいずれかの状態になったことを示す。この場合、次に
アクセス要求が生じると、再びはじめの1回はTF10
9だけ時間をかけてアクセス動作を行なうことになる。Indicates that one of the following states has occurred: (1) an access was made to I10, and (2) an idle cycle (no access was made). In this case, the next time an access request occurs, the first time will be TF10.
Therefore, it takes 9 hours to perform the access operation.
第4図は上記従来技術のメモリ制御を状態遷移図であら
れしたものである。201はメモリへのアクセス要求が
ないスタンバイ状態(以下、5TBY状態と記す)、で
あり、アクセス要求がない限り、経路205によりスタ
ンバイ状態201に留まる。202は第1回目のメモリ
アクセス状態(以下、IST状態と記す)を示す。IS
T状態202は第3図のTFIO9の期間のタイミング
によりメモリアクセスを行なう。203は第2回目以降
の同一ロウ内メモリアクセス状態(以下、2ND状態と
記す)を示す、2ND状態203は第3図のTsllO
の期間に対応するタイミングでメモリアクセスを行なう
。FIG. 4 is a state transition diagram showing the memory control of the prior art described above. 201 is a standby state (hereinafter referred to as 5TBY state) in which there is no access request to the memory, and the standby state 201 remains via path 205 unless there is an access request. 202 indicates the first memory access state (hereinafter referred to as the IST state). IS
In the T state 202, memory access is performed at the timing of the period of TFIO9 in FIG. 203 indicates the memory access state in the same row after the second time (hereinafter referred to as 2ND state). The 2ND state 203 is TsllO in FIG.
Memory access is performed at a timing corresponding to the period.
5TBY状態202においてメモリアクセス要求がある
と、経路206によりIST状態202に遷移する。I
ST状態202のアクセスが終了した状態で、もし次の
メモリアクセス要求がない場合には経路207により5
TBY状態に戻る。When a memory access request is made in the 5TBY state 202, a transition is made to the IST state 202 via a path 206. I
When the access in ST state 202 is completed, if there is no next memory access request, 5 is sent via path 207.
Return to TBY state.
IST状態202で次のアクセス要求が生じた場合、2
通りの状態遷移が生じる。第1は第3図のように前回の
メモリアドレスのうち同一のロウアドレスの番地にアク
セス要求があった場合で、このときは経路209により
2ND状態203に遷移する。第2は前向と別のロウア
ドレスの番地にアクセス要求があった場合で、このとき
は経路208により再びIST状態202に遷移する。If the next access request occurs in the IST state 202, 2
The following state transitions occur. The first case is when there is an access request to the same row address among the previous memory addresses as shown in FIG. The second case is when there is an access request to a different row address from the forward one, in which case the state transits to the IST state 202 again via path 208.
2ND状態203において、アクセスが終了した後に次
のメモリアクセス要求がない場合、経路212により5
TBY状態201に遷移する。2ND状態203で次の
アクセス要求が生じた場合も、2通りの状態遷移が生じ
る。これはIST状態202のときと同様で、第1は同
一ロウ内のアドレスにアクセス要求があった場合で、こ
のときは経路211により再び2ND状態203に遷移
する。第2は別のロウアドレスの番地にアクセス要求が
生じた場合で、このときは経路210によりIST状態
202に遷移する。In the 2ND state 203, if there is no next memory access request after the access is completed, the 5
Transition to TBY state 201. When the next access request occurs in the 2ND state 203, two state transitions occur. This is similar to the IST state 202; the first case is when there is an access request to an address in the same row, and in this case, the state transits to the 2ND state 203 again via the path 211. The second case is when an access request is made to another row address, in which case a transition is made to the IST state 202 via path 210.
この他、DRAM特有の問題として、第3図のRAS信
号103やC3(CAS)信号104は一定時間以上”
L”レベルに下げたままにしておくことができない。こ
のため、例えば一定時間以上、経路211により2ND
状態203に留まった場合にはタイムアウト(T、O,
)として、たとえ同一ロウ内のメモリアクセスであって
も経路210により、IST状態に遷移するよう制御す
るのが普通である。In addition, as a problem specific to DRAM, the RAS signal 103 and C3 (CAS) signal 104 in FIG.
For this reason, for example, the 2ND
If the state remains in state 203, timeout (T, O,
), it is normal to control the transition to the IST state via path 210 even if the memory is accessed within the same row.
第4図に示す従来のアクセス制御方式を用いたマイクロ
コンピュータシステムの動作の一例を第5図(A)に示
す。実際のシステムでは、このように、RAM(ここで
はDRAMをさす)だけでなく、ROM(読出専用メモ
リ)やI 10(周辺入出力デバイス)に対してもアク
セスが行なわれる。RAMの同一ロウアドレス内の番地
に連続アクセスする確率は大きいので1例えばアクセス
302〜305といったRAMアクセスではアクセス3
03以降のRAMアクセスサイクルを短くできる。しか
し、アクセス306〜311の例のように、例えば、R
AMへのアクセスが同一ロウ内のアドレスに対するもの
であってもRAMアクセスとRAMアクセスの間にRO
MやIloに対するアクセスが混在している場合、第4
図の制御法では5TBY状態201とIST状態202
の間を遷移することが多いため、DRAMの高速アクセ
スモードを活かすことができない。すなわち、上記技術
はDRAMに対する連続アクセスについて考えているが
、実際のシステムでよく生じるDRAMとDRAMのア
クセスの間に他のメモリやIloのアクセスが混在した
場合のDRAMアクセス高速化について配慮されておら
ず、DRAMの高速アクセスモードを活かしきれていな
いという問題があった。An example of the operation of a microcomputer system using the conventional access control method shown in FIG. 4 is shown in FIG. 5(A). In an actual system, not only RAM (DRAM here) but also ROM (read-only memory) and I10 (peripheral input/output device) are accessed in this way. Since the probability of successive accesses to addresses within the same row address of RAM is high, 1 For example, access 3 for RAM accesses such as accesses 302 to 305.
RAM access cycles after 03 can be shortened. However, as in the example of accesses 306-311, for example, R
Even if the access to AM is to an address in the same row, the RO is inserted between RAM accesses.
If accesses to M and Ilo are mixed, the fourth
In the control method shown in the figure, the 5TBY state 201 and the IST state 202
Therefore, the high-speed access mode of DRAM cannot be utilized. In other words, although the above technology considers continuous access to DRAM, it does not consider speeding up DRAM access when accesses to other memories or Ilo are mixed between accesses between DRAMs, which often occurs in actual systems. First, there was a problem in that the high-speed access mode of DRAM could not be fully utilized.
本発明は、かかるDRAM以外のメモリや工10のアク
セスが混在していてもDRAMの高速アクセスモードを
活かせるメモリアクセス方式を提供することにある。An object of the present invention is to provide a memory access method that can take advantage of the high-speed access mode of DRAM even when accesses to memories other than DRAM and memory devices 10 are mixed.
上記目的を達成するために、本発明は、高速アクセスモ
ードを有するDRAM素子のアクセス方式において、
前記DRAMを少なくとも1回アクセスした後、連続し
て前記DRAMのアクセス要求がない場合に、前記DR
AMのロウアドレスのストロボ信号をアクティブ状態に
し、かつ前記DRAMを書込以外の状態に保持するよう
にしたものである。In order to achieve the above object, the present invention provides an access method for a DRAM device having a high-speed access mode, in which, after accessing the DRAM at least once, if there is no continuous access request for the DRAM, the DR
The strobe signal of the AM row address is made active, and the DRAM is held in a state other than writing.
前記高速アクセスモードは1例えば、スタチックカラム
モードあるいはページモードである。具体的には、第4
図の制御方式において、DRAMへのアクセス要求が中
断したとき、経路207あるいは経路212によって5
TBY状態201に遷移せず、次のDRAMアクセスま
で高速アクセスモードの状態を保留する状態(第1図2
04)にしておく。このことは、第3図におけるRAS
信号103を”L”レベル即ちアクティブに保ったまま
次のDRAMアクセスを待つように制御することに対応
する。The high speed access mode is one, for example, static column mode or page mode. Specifically, the fourth
In the control system shown in the figure, when an access request to the DRAM is interrupted, the path 207 or 212 is used to
A state in which the high-speed access mode state is suspended until the next DRAM access without transitioning to the TBY state 201 (Fig.
04). This means that the RAS in Figure 3
This corresponds to controlling to wait for the next DRAM access while keeping the signal 103 at "L" level, that is, active.
高速アクセスモードを有するDRAMは、高速アクセス
モードに入ってからは基本的にカラムアドレスが確定し
た後、その素子の物理的特性により規定されるアクセス
時間のみで読み書きが可能となる。DRAMへのアクセ
スを一度やめる。すなわちRAS信号を非アクティブに
すると、次回RAS信号をアクティブにするまでにプリ
チャージの時間が必要となる。これが第1のロス時間と
なる。次にアクセスを開始すると、ますロウアドレスを
有効にするが、このあとカラムアドレスを有効にするま
でにロウアドレスの保持時間が必要である。これが第2
のロス時間となる。この二つの手続きのあと、DRAM
は再び高速アクセスのできる状態となるのである。した
がって、同一のロウアドレス内へのアクセスが連続する
場合にはなるべくRAS信号をアクティブのままに保持
し。In a DRAM having a high-speed access mode, after entering the high-speed access mode, basically after a column address is determined, reading and writing becomes possible only in an access time defined by the physical characteristics of the element. Stop accessing DRAM once. That is, when the RAS signal is made inactive, a precharge time is required before the RAS signal is made active next time. This becomes the first loss time. When the next access starts, the row address is first made valid, but after that, a row address holding time is required before the column address is made valid. This is the second
This will result in lost time. After these two procedures, the DRAM
is once again in a state where it can be accessed at high speed. Therefore, when the same row address is accessed continuously, the RAS signal is kept active as much as possible.
高速アクセスのできる状態を継続しておくのがよい。そ
こでDRAMへのアクセスが中断したときでもRAS信
号をアクティブにしておけば、次回のDRAMへのアク
セス要求があったときに、もし同一ロウアドレス内への
アクセスの場合にはロスタイムなしに読み書き動作がで
きるようになる。It is better to maintain a state where high-speed access is possible. Therefore, if the RAS signal is kept active even when access to DRAM is interrupted, the next time there is a request to access DRAM, if the access is within the same row address, the read/write operation can be performed without loss time. become able to.
第1図は、本発明の制御方式の一実施例の状態遷移図で
ある。5TBY状態201、IST状態202、および
2ND状態203は従来の制御方式を示す第4図と同じ
であるが、この他に保留状態(以下、PEND状態20
4と記す)を設けたことが特徴である。以下、第5図を
併用して第1図の制御方式を説明する。FIG. 1 is a state transition diagram of an embodiment of the control method of the present invention. The 5TBY state 201, the IST state 202, and the 2ND state 203 are the same as those shown in FIG.
It is characterized by the provision of 4). The control method shown in FIG. 1 will be explained below with reference to FIG. 5.
第1図の5TBY状態201はDRAMが動作していな
いときの状態で、アクセス要求が発生しない限り経路2
05により5TBY状態201に留まる。これは第5図
(C)の区間201に相当する。第5図(C)の各区間
につけた符号は第1図の四つの状態の符号と一致する。The 5TBY state 201 in FIG. 1 is a state when the DRAM is not operating, and unless an access request occurs, the path 2
05, it remains in the 5TBY state 201. This corresponds to section 201 in FIG. 5(C). The symbols assigned to each section in FIG. 5(C) match the symbols for the four states in FIG.
また第5図(C)の各区間は同図CB)の各アクセスに
対応している。Furthermore, each section in FIG. 5(C) corresponds to each access in CB) in the same figure.
5TBY状態201のときアクセス要求が発生すると、
経路206によりIST状態202に遷移する。このと
きのタイミングは第5図(B)のアクセス302に対応
する同図(C)の区間202に示しである。このアクセ
スが終了した時点でアクセス要求が連続しなかった場合
、第1図の経路214によりPEND状態204に遷移
する。PEND状態204とはRAS信号103を”L
”レベル。When an access request occurs in the 5TBY state 201,
A transition is made to the IST state 202 via path 206 . The timing at this time is shown in section 202 in FIG. 5(C), which corresponds to access 302 in FIG. 5(B). If there are no consecutive access requests at the time this access ends, a transition is made to the PEND state 204 via path 214 in FIG. The PEND state 204 means that the RAS signal 103 is
"level.
すなわちアクティブ状態に保つ制御である。IST状態
202でアクセス要求が連続して生じた場合には2通り
の遷移をする。第1はロウアドレスの異なる番地にアク
セス要求があった場合で、このときは経路208により
再びIST状態202に遷移してアクセスを行なう。第
2は同一ロウアドレス内の番地に対してアクセス要求が
あった場合で、このときは経路209により2ND状態
203に遷移する。フオンノイマン型コンピュータの場
合、プログラムおよびデータ局所性、すなわち現在アク
セスした番地の近傍の番地をアクセスする確率が非常に
高いという特徴があるため、多くの場合、2ND状態2
03に遷移する。これは第5図(B)のアクセス303
に対応する同図(C)の区間203に相当する。2ND
状態203で高速アクセスモードによるアクセスを終了
後、もし連続するアクセスがなければ経路213により
PEND状態204に遷移する。これは第5図(B)の
アクセス306,308および310に対応する同図(
C)の区間204に相当する。2ND状態203におい
てアクセス要求が連続して生じた場合には3通りの遷移
を生ずる。第1は別のロウアドレス内の番地に対するア
クセス要求が生起した場合で、このときは経路210に
よりIST状態202に遷移する。第2は同一ロウ内の
番地にアクセス要求があった場合で、このときは経路2
11により再び2ND状態203に遷移する。これは第
5図(B)のアクセス304および305に対応する同
図(C>の区間203に相当する。3通りの遷移のうち
、確率的に最も高いのがこの遷移である。第3は特別な
場合で、同一ロウ内の番地にアクセス要求があったにも
かかわらず、DRAMの素子特有の問題で、その時刻に
RAS信号103をアクティブにしておける最大期間に
達した場合(以後、タイムアウトを生じた場合と表現す
る)である。In other words, this is control to maintain the active state. When access requests occur consecutively in the IST state 202, two types of transition occur. The first case is when there is an access request to a different row address, in which case the state is transited to the IST state 202 again via the path 208 and access is performed. The second case is when there is an access request to an address within the same row address, in which case a transition is made to a 2ND state 203 via a path 209. In the case of Von Neumann type computers, program and data locality, that is, the probability of accessing an address near the currently accessed address is very high, so in many cases, the 2ND state 2
Transition to 03. This is access 303 in Figure 5(B).
This corresponds to section 203 in FIG. 2ND
After finishing the access in the high speed access mode in the state 203, if there is no continuous access, the state transits to the PEND state 204 via the path 213. This corresponds to accesses 306, 308, and 310 in FIG. 5(B).
This corresponds to section 204 in C). When access requests occur consecutively in the 2ND state 203, three transitions occur. The first case is when an access request to an address within another row address occurs, in which case a transition is made to the IST state 202 via path 210. The second case is when there is an access request to an address in the same row, and in this case, route 2
11, the state transits to the 2ND state 203 again. This corresponds to section 203 in Figure 5 (C>) which corresponds to accesses 304 and 305 in Figure 5 (B). Of the three transitions, this transition has the highest probability. The third In a special case, even though there is an access request to an address in the same row, due to a problem specific to DRAM elements, the maximum period for which the RAS signal 103 can be kept active at that time has been reached (hereinafter, a timeout occurs). ).
このときは、−旦RAS信号103を非アクティブに戻
す必要があるため、第1の場合と同様に経路210によ
りIST状態に遷移する。At this time, since it is necessary to return the RAS signal 103 to inactive once again, a transition is made to the IST state via path 210 as in the first case.
PEND状態204は本発明を最も特徴づける状態であ
る。すなわち第5図(C)の区間204に示すようにR
AS信号103をアクティブ状態にしたままで、DRA
Mに対しては書込以外の状態にしておく。もちろんDR
AMから読出データが出力される状態で保持した場合に
は、そのデータ出力がシステムのデータバスを駆動しな
いよう。The PEND state 204 is the state that most characterizes the present invention. That is, as shown in section 204 in FIG. 5(C), R
While the AS signal 103 remains active, the DRA
M is kept in a state other than writing. Of course DR
If read data is held in a state where it is output from AM, the data output will not drive the system data bus.
DRAMのデータ出力端子とシステムデータバスの間に
3ステートのデータバッファ(あるいは3ステートのデ
ータラッチ)を挿入し、PEND状態204の間はその
出力をハイインピーダンス状態にしておく。PEND状
態204でDRAMに対するアクセス要求を生ずるまで
は、経路216により、PEND状態204に留まる。A 3-state data buffer (or 3-state data latch) is inserted between the data output terminal of the DRAM and the system data bus, and its output is kept in a high impedance state during the PEND state 204. The PEND state 204 remains in the PEND state 204 via path 216 until an access request to the DRAM occurs in the PEND state 204 .
この場合は例外があり、もし前述のタイムアウトが生じ
た場合には経路217により5TBY状態201に遷移
する。このようすを第5図(C)の区間204′と20
1′に示す。There is an exception to this case; if the aforementioned timeout occurs, a transition is made to the 5TBY state 201 via path 217. This situation is shown in sections 204' and 204' in Figure 5 (C).
1'.
PEND状態204でアクセス要求を生じた場合、別ロ
ウ内の番地へのアクセス要求であれば、経路215によ
りIST状態202に遷移する。When an access request occurs in the PEND state 204, if it is an access request to an address in another row, a transition is made to the IST state 202 via a path 215.
また同一ロウ内の番地へのアクセス要求であれば、経路
218により2ND状態203に遷移する。Further, if the access request is to an address within the same row, a transition is made to a 2ND state 203 via a path 218.
前記のようにこの場合の生起確率が大きいため、第5図
(A)の従来制御方式に比べ、本発明の制御方式による
同図(B)では時間315だけ処理の高速化が図れる。As described above, since the probability of occurrence in this case is large, compared to the conventional control method shown in FIG. 5(A), the processing speed in FIG. 5(B) using the control method of the present invention can be increased by time 315.
次に本発明をパーソナルコンピュータ等(以下、単にパ
ソコンと総称する)の主記憶制御に実施した場合を考え
る。パソコンではシステムの立上げ時に主記憶のDRA
Mをチエツクするのが一般的である。このときのチエツ
クプログラムはROMに格納されており、そのプログラ
ムはDRAMに対して連続的にある値を書込み、その後
、連続的にDRAMを読出して書込んだ値と読出した値
を比較するという方法がとられる。近年においてはDR
AMも大容量化しており、そのためパソコンに実装され
る容量も増加の一途をたどっている。Next, consider a case where the present invention is implemented in main memory control of a personal computer or the like (hereinafter simply referred to as a personal computer). In a personal computer, when the system is started up, the main memory DRA
It is common to check M. The check program at this time is stored in the ROM, and the program continuously writes a certain value to the DRAM, and then continuously reads the DRAM and compares the written value and the read value. is taken. In recent years, DR
AM is also increasing in capacity, and the capacity installed in personal computers is also increasing.
この結果、システム立上げごとに行なわれる主記憶DR
AMのチエツクに数10秒から数分もの時間を費やすよ
うになった。このチエツクプログラムの動作している間
はプロセッサ(以下、CPUと記す)はROMからの命
令フェッチとDRAMの連続する番地に対する読み書き
を交互に行なう。As a result, main memory DR is performed every time the system is started up.
I started spending tens of seconds to several minutes checking AM. While this check program is running, a processor (hereinafter referred to as CPU) alternately fetches instructions from the ROM and reads and writes to consecutive addresses in the DRAM.
すなわち、第5図(A)のアクセス309〜311のよ
うなアクセスが頻繁に生ずる。現在市販されている高速
アクセスモード付のD RA Mでは1通常のアクセス
時間と高速モードでのアクセス時間の比が約3=1であ
る。しかし従来の制御方式ではこの高速アクセスモード
がROM読出により中断し、チエツクプログラムの処理
時間を増加させていた。本発明の制御方式によれば、R
OMの命令を読出してもDRAMの高速アクセスモード
を中断しないので、システム立上げ時の主記憶DRAM
チエツク時間を約1/2に削減できる効果がある。また
、価格の面から考えると、パソコンでは使用するDRA
Mの数が多いため、DRAMの価格に対してDRAM制
御回路の価格は115から1150程度である。本発明
の主要機能の追加は、従来方式の制御回路に比べ、論理
規模にして10〜20%程度の増加にすぎない。したが
ってDRAM自体を高価な高速版DRAMに変更するよ
りはるかに経済的に有利である。That is, accesses such as accesses 309 to 311 in FIG. 5(A) occur frequently. In DRAMs with a high-speed access mode currently available on the market, the ratio of the normal access time to the access time in the high-speed mode is approximately 3=1. However, in the conventional control system, this high-speed access mode is interrupted by ROM reading, increasing the processing time of the check program. According to the control method of the present invention, R
Even if an OM instruction is read, the DRAM high-speed access mode is not interrupted, so the main memory DRAM is
This has the effect of reducing the check time to approximately 1/2. Also, from a price point of view, the DRA used in computers
Since the number of M is large, the price of the DRAM control circuit is about 115 to 1150 yen compared to the price of DRAM. The addition of the main functions of the present invention only increases the logical scale by about 10 to 20% compared to conventional control circuits. Therefore, it is much more economically advantageous than replacing the DRAM itself with an expensive high-speed version DRAM.
以上、本発明の詳細な説明したが、本発明による制御方
式はPEND状態204を設けたことが本質であり、第
1図の実施例に示す状態遷移が全てを包含している訳で
はない0例えばこの他にDRAMのリフレッシュ状態を
含む状態遷移があっても構わない。またPEND状態2
04は、KAS信号103がアクティブで、かつDRA
Mが書込以外の状態であればどのような制御形態をとろ
うと構わない、これらの相違は本発明の本質から何らは
ずれるものではない。Although the present invention has been described in detail above, the essence of the control method according to the present invention is that the PEND state 204 is provided, and the state transitions shown in the embodiment of FIG. For example, there may be other state transitions including the refresh state of the DRAM. Also, PEND status 2
04 means that the KAS signal 103 is active and the DRA
As long as M is in a state other than writing, it does not matter what form of control it takes; these differences do not deviate from the essence of the present invention.
本発明によれば、DRAMとDRAMのアクセスの間に
DRAM以外のROM等他0のメモリやIloをアクセ
スしても、DRAMの高速アクセスモードを中断しない
ため、システム全体の処理速度を向上させることができ
る。According to the present invention, even if other memory such as ROM other than DRAM or Ilo is accessed between DRAMs and DRAMs, the high-speed access mode of DRAM is not interrupted, thereby improving the processing speed of the entire system. Can be done.
第1図は本発明の制御方式の一実施例の状態遷移図、第
2図はDRAMの高速アクセスモードの原理説明図、第
3図は高速アクセスモードのタイミング説明図、第4図
は従来制御方式の状態遷移図、第5図は従来方式と本発
明の方式を比較する説明図である。
201・・・5TBY状態、202・・・IsT状態。
203・・・2ND状態、204・・・PEND状態。
第 1 回
l/I
第2図
ol
第 + 凹
FOIA/’=T?OWFig. 1 is a state transition diagram of an embodiment of the control method of the present invention, Fig. 2 is a diagram explaining the principle of DRAM high-speed access mode, Fig. 3 is a timing diagram of high-speed access mode, and Fig. 4 is conventional control. The state transition diagram of the system, FIG. 5, is an explanatory diagram comparing the conventional system and the system of the present invention. 201...5TBY state, 202...IsT state. 203...2ND state, 204...PEND state. 1st l/I 2nd figure ol 1st + concave FOIA/'=T? OW
Claims (1)
子(以下、DRAMと記す)のアクセス方式において、 前記DRAMを少なくとも1回アクセスした後、連続し
て前記DRAMのアクセス要求がない場合に、前記DR
AMのロウアドレスのストロボ信号をアクティブ状態に
し、かつ前記DRAMを書込以外の状態に保持すること
を特徴とするメモリアクセス方式。 2、前記高速アクセスモードはスタチックカラムモード
である特許請求の範囲第1項記載のメモリアクセス方式
。 3、前記高速アクセスモードはページモードである特許
請求の範囲第1項記載のメモリアクセス方式。[Claims] 1. In an access method for a dynamic memory element (hereinafter referred to as DRAM) having a high-speed access mode, when there is no continuous access request to the DRAM after accessing the DRAM at least once, , said D.R.
A memory access method characterized in that a strobe signal of an AM row address is activated and the DRAM is held in a state other than writing. 2. The memory access method according to claim 1, wherein the high-speed access mode is a static column mode. 3. The memory access method according to claim 1, wherein the high-speed access mode is a page mode.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62257137A JPH01100794A (en) | 1987-10-14 | 1987-10-14 | Memory access system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62257137A JPH01100794A (en) | 1987-10-14 | 1987-10-14 | Memory access system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH01100794A true JPH01100794A (en) | 1989-04-19 |
Family
ID=17302230
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62257137A Pending JPH01100794A (en) | 1987-10-14 | 1987-10-14 | Memory access system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH01100794A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0319047A (en) * | 1989-06-16 | 1991-01-28 | Hitachi Ltd | Memory control method and device |
-
1987
- 1987-10-14 JP JP62257137A patent/JPH01100794A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0319047A (en) * | 1989-06-16 | 1991-01-28 | Hitachi Ltd | Memory control method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105518784B (en) | Data processor and method with memory controller for high reliability operation | |
| JP4846182B2 (en) | Memory device with post-write per command | |
| US5305280A (en) | Semiconductor memory device having on the same chip a plurality of memory circuits among which data transfer is performed to each other and an operating method thereof | |
| US6463001B1 (en) | Circuit and method for merging refresh and access operations for a memory device | |
| US7277996B2 (en) | Modified persistent auto precharge command protocol system and method for memory devices | |
| US6779076B1 (en) | Method and system for using dynamic random access memory as cache memory | |
| JPH10312681A (en) | Enhancement type signal processing ram device using dram memory array provided with accompanying sram cache and internal refresh control | |
| JPH01125795A (en) | Virtual type static semiconductor memory device | |
| JPS59140694A (en) | Refresh method of dynamic ram | |
| US6385691B2 (en) | Memory device with command buffer that allows internal command buffer jumps | |
| KR100963702B1 (en) | System and method for decoding commands based on command signals and operational status | |
| CN1748261A (en) | Memory device and method having low-power, high write latency mode and high-power, low write latency mode and/or independently selectable write latency | |
| US7404047B2 (en) | Method and apparatus to improve multi-CPU system performance for accesses to memory | |
| US6366523B1 (en) | Method and apparatus for anticipatory selection of external or internal addresses in a synchronous memory device | |
| US7350018B2 (en) | Method and system for using dynamic random access memory as cache memory | |
| US6192002B1 (en) | Memory device with command buffer | |
| JPH01100794A (en) | Memory access system | |
| US7133992B2 (en) | Burst counter controller and method in a memory device operable in a 2-bit prefetch mode | |
| US7536519B2 (en) | Memory access control apparatus and method for accomodating effects of signal delays caused by load | |
| JP4386657B2 (en) | Semiconductor memory device | |
| US20030145161A1 (en) | Apparatus and method to track command signal occurrence for dram data transfer | |
| JPH0528770A (en) | Multiport memory circuit | |
| JP2868464B2 (en) | Semiconductor memory device and refresh control method thereof | |
| JPH01309159A (en) | Multi-port memory | |
| JPH087562A (en) | Dynamic random access memory |