JP2003297082A - Semiconductor memory device and its control method - Google Patents

Semiconductor memory device and its control method

Info

Publication number
JP2003297082A
JP2003297082A JP2002098656A JP2002098656A JP2003297082A JP 2003297082 A JP2003297082 A JP 2003297082A JP 2002098656 A JP2002098656 A JP 2002098656A JP 2002098656 A JP2002098656 A JP 2002098656A JP 2003297082 A JP2003297082 A JP 2003297082A
Authority
JP
Japan
Prior art keywords
memory
write
circuit
cache
refresh
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.)
Granted
Application number
JP2002098656A
Other languages
Japanese (ja)
Other versions
JP4318163B2 (en
Inventor
Tetsuya Iwamura
哲哉 岩村
Koichi Hoshi
浩一 星
Seishi Miura
誓士 三浦
Kazushige Ayukawa
一重 鮎川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Hitachi Solutions Technology Ltd
Original Assignee
Hitachi Ltd
Hitachi ULSI Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi ULSI Systems Co Ltd filed Critical Hitachi Ltd
Priority to JP2002098656A priority Critical patent/JP4318163B2/en
Publication of JP2003297082A publication Critical patent/JP2003297082A/en
Application granted granted Critical
Publication of JP4318163B2 publication Critical patent/JP4318163B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor memory device which can be replaced by a SRAM completely, has simple constitution, and is easy to use, and its control method. <P>SOLUTION: As control and structure technology of large capacity SRAM interchangeable module using a DRAM, write-back by FIFO is performed for a DRAM of a refresh-period by switching alternately a work period and a refresh-period in two DRAM chips, and long time access exceeding access time limit tRAS of a DRAM is realized by using succession cache controlling smoothly access at switching write-back and work/refresh using cache by extension or shortening control. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、半導体記憶装置
とその制御方法関し、ダイナミック型RAMを用いつ
つ、外部からはスタティック型RAMと同等の動作を行
わせるようにしたもの利用して有効な技術に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor memory device and a method of controlling the same, and is effective by utilizing a dynamic RAM while allowing an operation equivalent to that of a static RAM from the outside. It is about.

【0002】[0002]

【従来の技術】ダイナミック型ランダム・アクセス・メ
モリ(以下、単にDRAMという)の大記憶容量と、ス
タティック型ランダム・アクセクス・メモリ(以下、単
にSRAMという)の使い易さを狙った半導体記憶装置
として、疑似SRAMあるいは仮想SRAMが提案され
ている。このような疑似SRAMや仮想SRAMにおけ
るリフレッシュ動作の制御をチップの外部から完全に見
えなくする技術として、特開2001−93277号公
報が提案されている。この公報に記載の技術に従えば、
キャパシタしからなる複数のメモリセルを有し、同一の
データが書き込まれる少なくとも一対のメモリコアと、
リフレッシュ発生回路、リフレッシュ制御回路及び読み
出し制御回路を1つの半導体チップ上に形成し、所定期
間毎にリフレッシュ動作を実行するリフレッシュコア
と、読み出し動作を実行する読み出しコアとして制御す
るというものである。
2. Description of the Related Art As a semiconductor memory device aiming at a large storage capacity of a dynamic random access memory (hereinafter simply referred to as DRAM) and ease of use of a static random access memory (hereinafter simply referred to as SRAM). , A pseudo SRAM or a virtual SRAM has been proposed. Japanese Unexamined Patent Application Publication No. 2001-93277 has been proposed as a technique for completely obscuring the control of the refresh operation in such a pseudo SRAM or virtual SRAM from the outside of the chip. According to the technique described in this publication,
At least a pair of memory cores having a plurality of memory cells each composed of a capacitor, to which the same data is written,
The refresh generation circuit, the refresh control circuit, and the read control circuit are formed on one semiconductor chip, and are controlled as a refresh core that executes a refresh operation and a read core that executes a read operation every predetermined period.

【0003】[0003]

【発明が解決しようとする課題】携帯電話用メモリのデ
ータエリアには、SRAMが採用されているが携帯情報
端末としての機能強化に伴い、データエリアの容量不足
が問題となっている。上記の公報に記載の技術では、S
RAMにおけるロングサイクルに対応した動作、及びリ
フレッシュ期間のメモリコアに対する書き込み動作につ
いての配慮に欠けるものであり、メモリ制御回路の制御
を複雑にするか、かかる書き込み動作に対する制限を設
けることが必要になる。さらには、1つの半導体集積回
路に形成するものであるので、その製品開発には莫大な
費用と時間を費やすことが必要になるものである。
An SRAM is used for the data area of the memory for the mobile phone, but the capacity shortage of the data area has become a problem with the enhancement of the function as the mobile information terminal. In the technique described in the above publication, S
It lacks consideration for the operation corresponding to the long cycle in the RAM and the write operation to the memory core during the refresh period, and it is necessary to complicate the control of the memory control circuit or to provide a limitation on the write operation. . Further, since it is formed in one semiconductor integrated circuit, enormous cost and time are required to develop the product.

【0004】そこで、本願発明者等においては、SRA
Mインターフェイスとの互換性を保ちつつ、安価な大容
量メモリモジュールを実現するために2つの既存のDR
AMチップに簡単な制御チップを組合せて、データを2
重化して記憶することにより半導体記憶装置の外からリ
フレッシュ動作を完全に隠蔽しつつSRAMとの置き換
えを行うための回路構成及び制御方法の検討を行った。
つまり、DRAMにおいては、長い時間にわたってメモ
リセルを選択状態にしておくことができず、一定時間内
にプリチャージコマンドを実行する必要がある。このた
め、そのままではスタティック型RAMに許されるよう
な長時間アクセスへの対応に制限を設けたり、内部でプ
リチャージコマンドを発行する等の複雑な制御を行うこ
とが必要になるものである。このようにDRAMを用い
つつ、完全にSRAMとしての置き換えを実現するため
には、リフレッシュ動作に対する配慮の他にも、長時間
アクセスに対応した制限を回避しなければならないとい
う問題を有する。
Therefore, in the present inventors, the SRA
Two existing DRs to realize an inexpensive large-capacity memory module while maintaining compatibility with the M interface
Data can be stored by combining a simple control chip with an AM chip.
A circuit configuration and a control method for replacing the SRAM with the refresh operation being completely hidden from the outside of the semiconductor memory device by overlapping and storing were studied.
That is, in the DRAM, the memory cell cannot be kept in the selected state for a long time, and it is necessary to execute the precharge command within a certain time. For this reason, it is necessary to limit the long-time access permitted to the static RAM as it is, and to perform complicated control such as internally issuing a precharge command. As described above, in order to completely realize the replacement as the SRAM while using the DRAM, there is a problem that in addition to consideration of the refresh operation, the restriction corresponding to the long-time access must be avoided.

【0005】この発明の目的は、より完全にSRAMと
置き換え可能とする半導体記憶装置及びその制御方法を
提供することにある。この発明の他の目的は、簡単な構
成で、使い勝手のよい半導体記憶装置とその制御方法を
提供することにある。この発明の前記ならびにそのほか
の目的と新規な特徴は、本明細書の記述および添付図面
から明らかになるであろう。
An object of the present invention is to provide a semiconductor memory device which can be more completely replaced with SRAM and a control method thereof. Another object of the present invention is to provide a semiconductor memory device having a simple structure and easy to use, and a control method thereof. The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0006】[0006]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば、下
記の通りである。同じアドレス空間を持ってリフレッシ
ュ制御回路を備えて2つのDRAMに対して、SRAM
に対応された入出力インターフェイス回路と、上記第1
と第2のDRAMのそれぞれに対応したキャッシュメモ
リと、共通に用いられるFIFOメモリとを備えたメモ
リ制御回路を設け、上記2つのDRAMのうち一方に対
して書き込み/読み出しの通常動作を可能とし、他方対
してリフレッシュ動作を指示するような時間割り当て制
御を交互に行い、上記一方のDRAMに対して書き込み
/読み出し動作を行うときに上記他方のDRAMの上記
リフレッシュの合間に上記FIFOメモリに書き込まれ
た上記一方のDRAMへの書き込み情報に従い書き込み
動作を行う。
The outline of a typical one of the inventions disclosed in the present application will be briefly described as follows. SRAM with respect to two DRAMs having the same address space and having a refresh control circuit
And an input / output interface circuit compatible with
A memory control circuit provided with a cache memory corresponding to each of the first and second DRAMs and a commonly used FIFO memory, enabling normal operation of writing / reading to one of the two DRAMs, The time allocation control for instructing the refresh operation is alternately performed for the other DRAM, and when the write / read operation is performed for the one DRAM, the data is written in the FIFO memory between the refresh operations of the other DRAM. The write operation is performed according to the write information to the one DRAM.

【0007】上記第1と第2のDRAMのそれぞれにお
けるリフレッシュ動作から通常動作に移行する前の一定
期間において、上記一方のDRAMに対して書き込み動
作が行われるときには、その書き込み情報を上記リフレ
ッシュが指示されている他方のDRAMに対応した上記
キャッシュメモリに記憶させ、上記切替後の通常動作に
おける上記キャッシュメモリに記憶されたアドレスに対
する読み出し動作は、他方のDRAMに代えて当該キャ
ッシュメモリに記憶されたデータを出力させ、上記キャ
ッシュメモリに記憶されたアドレスへの書き込みが指示
されたときには他方のDRAMにデータの書き込みを行
って上記キャッシュメモリの内容を無効とし、それ以外
は上記他方のDRAMの次のリフレッシュ期間のリフレ
ッシュ動作の合間に上記キャッシュメモリの書き込み情
報に対応したデータの書き込み動作を行う。
When a write operation is performed on one of the first and second DRAMs for a certain period before the refresh operation is shifted to the normal operation, the refresh indicates the write information. The read operation to the address stored in the cache memory in the normal operation after the switching is performed by the data stored in the cache memory instead of the other DRAM. Is output, and when writing to the address stored in the cache memory is instructed, data is written to the other DRAM to invalidate the contents of the cache memory, otherwise the next refresh of the other DRAM is performed. Between refresh operations during the period The write operation of the data corresponding to the write information of the cache memory.

【0008】[0008]

【発明の実施の形態】図1には、この発明に係る半導体
記憶装置の一実施例の構成図が示されている。この実施
例の半導体記憶装置は、次のような3つの半導体チップ
CHIP1〜CHIP3を組合せて構成される。CHI
P1(CTL#LOGIC)は、SRAMインターフェ
イス信号を入力としCHIP2(DRAM1)、CHI
P3(DRAM2)へのDRAMアクセスを制御するた
めの回路であり、本回路がDRAMを用いてSRAM互
換メモリを実現する際のすべての制御を行う。CHIP
2(DRAM1)及びCHIP3(DRAM2)がSR
AMに変わるDRAMである。
1 is a block diagram of an embodiment of a semiconductor memory device according to the present invention. The semiconductor memory device of this embodiment is configured by combining the following three semiconductor chips CHIP1 to CHIP3. CHI
P1 (CTL # LOGIC) receives the SRAM interface signal as input and CHIP2 (DRAM1), CHI
This is a circuit for controlling DRAM access to P3 (DRAM2), and this circuit performs all control when implementing an SRAM compatible memory using DRAM. CHIP
2 (DRAM1) and CHIP3 (DRAM2) are SR
It is a DRAM that can be replaced by AM.

【0009】この実施例における外部インターフェイス
信号について説明する。S−/CE1、S−CE2、S
−/WE、S−/OE、S−/UB、S−/LBは、一
般的なSRAMインターフェイス信号である。SRAM
インターフェイス信号について簡単に説明する。S−/
CE1、S−CE2はチップイネーブル信号、S−/W
Eはライトイネーブル信号、S−/OEはアウトプット
信号、S−/UBはアッパーバイト選択信号、S−/L
Bはロアーバイト選択信号である。外部からのSRAM
インターフェイスでアクセスされたものはCHIP1
(CTL#LOGIC)によってDRAMアクセスに必
要なコマンド信号に変換されDRAMに入力される。
The external interface signal in this embodiment will be described. S- / CE1, S-CE2, S
-/ WE, S- / OE, S- / UB, S- / LB are general SRAM interface signals. SRAM
The interface signals will be briefly described. S- /
CE1 and S-CE2 are chip enable signals, S- / W
E is a write enable signal, S- / OE is an output signal, S- / UB is an upper byte selection signal, S- / L
B is a lower byte selection signal. SRAM from the outside
CHIP1 accessed through the interface
(CTL # LOGIC) is converted into a command signal necessary for accessing the DRAM and input to the DRAM.

【0010】CHIP2(DRAM1)、CHIP3
(DRAM2)でデータを2重化して保持することによ
りDRAM固有のリフレッシュ動作を隠蔽している。つ
まり、CHIP1による基本的にメモリ制御動作は、C
HIP1により、CHIP2(DRAM1)とCHIP
3(DRAM2)を交互にアクセスするようにし、一方
のDRAMに書き込みや読み出しが行われるときに、他
方のDRAMにおいてリフレッシュ動作が実行される。
CHIP2 (DRAM1), CHIP3
The refresh operation peculiar to the DRAM is hidden by duplicating and holding the data in the (DRAM 2). That is, the memory control operation by CHIP1 is basically C
CHIP2 (DRAM1) and CHIP by HIP1
3 (DRAM 2) are alternately accessed, and when writing or reading is performed in one DRAM, the refresh operation is executed in the other DRAM.

【0011】図2には、図1のCHIP1(CTL#L
OGIC)の一実施例のブロック図が示されている。同
図において、破線で囲まれた部分が本願発明の特徴的な
部分である。SDCTLは、DRAMアクセス制御行う
アクセス制御回路である。WRBREGは、データを2
重化保持する際にライトバックデータを一時保持するた
めの保持回路(レジスタ)である。TIMECNTは、
WORK/REF期間及びライトバック保持データの書
き込み制御を行う時間制御回路である。
FIG. 2 shows CHIP1 (CTL # L of FIG.
A block diagram of one embodiment of an OGIC) is shown. In the figure, the part surrounded by the broken line is a characteristic part of the present invention. SDCTL is an access control circuit that controls DRAM access. WRBREG has 2 data
A holding circuit (register) for temporarily holding the write-back data when the data is redundantly held. TIMECNT is
It is a time control circuit that controls writing of the WORK / REF period and write-back hold data.

【0012】ATDは、アドレス信号とコマンド信号の
変化を検出してパルスを出力するアドレス信号変化検出
回路であり、DTDは、データ信号とコマンド信号の変
化を検出してパルスを出力する信号変化検出回路であ
り、R/W BUFFERは、DRAMの読み出し、書
き込みの為のデータを一時的に保持するリード/ライト
バッファ回路である。INTは、DRAMへの電源供給
開始時にDRAMの初期化を行うための初期化回路であ
る。
The ATD is an address signal change detection circuit that detects a change in an address signal and a command signal and outputs a pulse, and the DTD is a signal change detection that detects a change in a data signal and a command signal and outputs a pulse. The R / W BUFFER is a circuit, and is a read / write buffer circuit that temporarily holds data for reading and writing of DRAM. The INT is an initialization circuit for initializing the DRAM when power supply to the DRAM is started.

【0013】TMPは、温度を検出し、検出した温度に
応じた信号をRCとSDCTLに出力する温度計測モジ
ュールであり、RCは、DRAMのリフレッシュ間隔に
あわせてリフレッシュを行うアドレスを生成するリフレ
ッシュカウンタ回路であり、温度計測モジュールTMP
の出力信号によって温度に応じたリフレッシュ間隔の変
更を行う。PMは、DRAMへの電源供給及び電源の制
御を行う電源回路であり、CLK#GENは、クロック
を生成しDRAMと制御回路全て( CTL#LOGI
C)に供給するクロック生成回路である。
The TMP is a temperature measuring module that detects a temperature and outputs a signal according to the detected temperature to the RC and SDCTL. The RC is a refresh counter that generates an address for refreshing at the refresh interval of the DRAM. Circuit, temperature measurement module TMP
The refresh interval is changed according to the temperature by the output signal of. PM is a power supply circuit for supplying power to the DRAM and controlling the power supply. CLK # GEN generates a clock to generate all clocks in the DRAM and the control circuit (CTL # LOGI
It is a clock generation circuit to be supplied to C).

【0014】図3には、図2のCTL#LOGICの一
実施例のブロック図が示されている。この実施例では、
2つのDRAM1/DRAM2に対してそれぞれにアク
セス制御回路であるSDCTL1/SDCTL2及びラ
イトバックデータ保持回路であるレジスタWRBREG
内にキャシュメモリCACHE1/CACHE2が用意
され、それぞれのキャッシュメモリCACHEの構成
は、通常のキャッシュCACHEと引き継ぎキャッシュ
DUT#CACHEの機能をもっている。
FIG. 3 is a block diagram showing an embodiment of the CTL # LOGIC shown in FIG. In this example,
SDCTL1 / SDCTL2 as an access control circuit and a register WRBREG as a write-back data holding circuit for the two DRAM1 / DRAM2 respectively.
The cache memories CACHE1 / CACHE2 are prepared in the cache memory CACHE2, and each cache memory CACHE has the functions of a normal cache CACHE and a takeover cache DUT # CACHE.

【0015】このCACHEとDUT#CACHEは、
回路的に重複しても別構成でも良い。CACHEの容量
は1回のアクセスに対するものだけであるため回路規模
は少量で済む。つまり、書き込み動作に必要なアドレス
信号と、その書き込みデータ及びマスク信号を含む。C
ACHEの回路構成をDUT#CACHEと重複させる
場合は、通常CACHE制御信号とDUT#CACHE
制御信号を絞りこんでCACHE動作を行うためCAC
HEの動作速度は遅くなる傾向になるのでDRAMの動
作速度が高速の場合は通常CACHEとDUT#CAC
HEを別回路構成としCACHE制御の負担を軽くして
やると良い。ここで重要なことは2つのDRAM1と2
を用いてデータを2重化保持する場合各DRAM1と2
に対する専用のCACHEを構成することと、その機能
として通常のCACHE機能とDUT#CACHE(引
継ぎ)機能を持つことにある。
This CACHE and DUT # CACHE are
The circuits may be duplicated or may have different configurations. The capacity of CACHE is only for one access, so the circuit scale can be small. That is, the address signal necessary for the write operation, its write data, and the mask signal are included. C
When overlapping the circuit configuration of ACHE with DUT # CACHE, the normal CACHE control signal and DUT # CACHE are used.
CAC for performing CACHE operation by narrowing down control signals
Since the operating speed of the HE tends to be slow, when the operating speed of the DRAM is high, the normal CACHE and DUT # CAC are used.
It is advisable to use HE as a separate circuit configuration to reduce the burden of CACHE control. The important thing here is that the two DRAMs 1 and 2
When data is held in duplicate by using each DRAM 1 and 2
Is to configure a dedicated CACHE function for, and to have a normal CACHE function and a DUT # CACHE (takeover) function as its function.

【0016】以下、CACHEに入出力される制御信号
について説明する。WORK1/REF1(WORK2
/REF2)はそれぞれの個々DRAMがWORK(書
き込み/読み出しが可能な通常動作=外部アクセスに対
応)期間であるのかREF(リフレッシュ動作)期間で
あるのかを示す信号である。CACPRD1(CACP
RD2)は、通常CACHEのライト期間を示す信号で
ある。
The control signals input to and output from CACHE will be described below. WORK1 / REF1 (WORK2
/ REF2) is a signal indicating whether each DRAM is in a WORK (write / read normal operation = corresponding to external access) period or a REF (refresh operation) period. CACPRD1 (CACP
RD2) is a signal indicating a normal CACHE write period.

【0017】DUTPRD1(DUTPRD2)は、長
時間アクセス(WORK/REF期間をまたぐアクセ
ス)に対応するDUT#CACHEのライト期間を示す
信号である。これらは、TIMECNTが生成する。W
TS1(WTS2)は、外部SRAMインターフェイス
信号のS−/WE信号の立上がり(ライトデータの確
定)をサンプリングしSDCTL内で同期化したライト
パルス信号である。CAXRD1(CACRD2)は、
アクセス制御回路がCACHEをリードするときのリー
ドパルス信号である。
DUTPRD1 (DUTPRD2) is a signal indicating a DUT # CACHE write period corresponding to a long-time access (access that extends over the WORK / REF period). These are generated by TIMECNT. W
TS1 (WTS2) is a write pulse signal obtained by sampling the rising edge (determination of write data) of the S- / WE signal of the external SRAM interface signal and synchronizing it in SDCTL. CAXRD1 (CACRD2) is
This is a read pulse signal when the access control circuit reads CACHE.

【0018】CACV1(CACV2)は、CACHE
が有効であることを示すバリッド(VALID)信号で
ある。CACHIT1(CACHIT2)は、CACH
Eが有効である期間にCACHE保持アドレスと同じア
ドレスの外部アクセスがあった場合のCACHEHIT
(キャッシュヒット)信号である。CACDATA1
(CACDATA2)は、前記したCACRD1(CA
CRD2)のリードパルス信号によってリードされるC
ACHEの内容(アドレス/データ)である。
CACV1 (CACV2) is CACHE
Is a valid (VALID) signal indicating that is valid. CACHIT1 (CACHIT2) is CACH
CACHEHIT when external access is made to the same address as the CACHE holding address while E is valid
(Cache hit) signal. CACDATA1
(CACDATA2) is the above-mentioned CACRD1 (CA
C read by the read pulse signal of CRD2)
It is the content (address / data) of ACHE.

【0019】図4には、図3のCACHEの一実施例の
ブロック図が示されている。この実施例で特徴となるの
は、外部のアッパーバイト信号(S−/UB)及びロア
ーバイト選択信号(S−/LB)に応じてCACHE制
御を分けている点にある。UB#CNTは、上位バイト
の制御を行い、LB#CNTは、下位バイトの制御をそ
れぞれ独立に行っている。動作の詳細は後述するが前記
したCACHEの有効であることを示すVALID信号
とCACHITHIT信号がUB#CNT側とLB#C
NT側の論理和によって出力される。
A block diagram of one embodiment of CACHE of FIG. 3 is shown in FIG. A feature of this embodiment is that the CACHE control is divided according to the external upper byte signal (S- / UB) and the lower byte selection signal (S- / LB). UB # CNT controls the upper byte, and LB # CNT independently controls the lower byte. Although the details of the operation will be described later, the VALID signal and the CACHITHIT signal indicating that the above-mentioned CACHE is valid are UB # CNT side and LB # C
It is output by the logical sum on the NT side.

【0020】図5には、2つのDRAMを用いてデータ
を2重化しリフレッシュを隠蔽するためのWORK/R
EF期間の切り替えの概念を説明するためのタイミング
図が示されている。以下この基本原理について説明す
る。一般にDRAMはデータを保持するためにリフレッ
シュ動作を行わなければいけない。そこで2つDRAM
を用いてWORK期間(外部アクセスに対応)とREF
期間(リフレッシュ)を交互に繰り返している。
In FIG. 5, WORK / R for duplicating data and concealing refresh by using two DRAMs.
A timing diagram is shown to explain the concept of switching EF periods. The basic principle will be described below. Generally, DRAM must perform a refresh operation to retain data. So two DRAMs
WORK period (for external access) and REF
The period (refresh) is repeated alternately.

【0021】DRAMは、通常64ms以内にリフレッ
シュを行う必要があるのでこの交互繰り返されるREF
期間中にすべてのDRAMのメモリセルに対してリフレ
ッシュを終了しなければならない。しかし、データを2
重化保持する訳であるからWORK期間側で発生したラ
イトアクセスに対しては、REF期間側に同じデータを
ライトバックする必要がある。このためライトデータを
一時的に保持しておく保持回路が必要となる。1回のW
ORK/REF期間は、WORK側をtWKP、REF
側をtRFPとすると、tWKP=tRFPの関係にな
らなければならない。
The DRAM normally needs to be refreshed within 64 ms.
Refresh must be completed for all DRAM memory cells during the period. But the data 2
Since the duplicated data is held, it is necessary to write back the same data in the REF period side for the write access generated in the WORK period side. Therefore, a holding circuit for holding the write data temporarily is required. One W
During the ORK / REF period, WORK side is tWKP, REF
If the side is tRFP, then tWKP = tRFP must be satisfied.

【0022】上記tWKP=tRFP時間は、使用する
DRAM1、2における特性のtRAS(Active to Pre
charge commandperiod)よりも短い期間に設定すること
になる。これは、外部ライトアクセスの長時間アクセス
に対応するもので外部ライトアクセスがWORK/RE
F切り替えをまたぐ際、WORK期間であったDRAM
はACTコマンドを既に実行している。従って、REF
期間に移行する際には、当該アドレスに対してPREコ
マンドを実行しなくてはならないが、この時DRAMの
tRAS特性を違反しないための工夫である。逆にいう
なら、上記tWKP=tRFP時間をtRASよりも長
くすると、1回のWORK/REF期間中にPREコマ
ンドを実行しなくてはならなくなり、メモリ制御回路の
負担が大きくなる。
The time tWKP = tRFP is equal to the characteristic tRAS (Active to Pre) in the DRAMs 1 and 2 to be used.
charge command period) will be set to a shorter period. This corresponds to long-time external write access, and external write access is WORK / RE
DRAM that was in the WORK period when straddling F switching
Has already executed the ACT command. Therefore, REF
When shifting to the period, the PRE command must be executed for the address, but this is a device for not violating the tRAS characteristic of the DRAM at this time. Conversely, if the time tWKP = tRFP is set longer than tRAS, the PRE command must be executed during one WORK / REF period, which increases the load on the memory control circuit.

【0023】図6には、ライトバックデータの保持につ
いて説明するためのタイミング図が示されている。通常
の場合ライトバックするデータは、WORK側で発生し
た外部ライトアクセスに対応して行われるためREF側
のDRAMがFIFOに一時的に保持されたデータをラ
イトバックする。外部ライトアクセスとFIFOによる
ライトバックアクセスの関係は外部ライトアクセスが終
了した時点でその時のライトデータがFIFOに書き込
まれる。その後REF側のDRAMはFIFOに保持さ
れたデータを読み出してDRAMにライトバックする。
この関係によるとWORK/REF切り替え直前に発生
したライトアクセスは、ライトバックするための時間が
ないままREF側であったDRAMはWORK側に移行
する。その結果2つのDRAM間においてコヒーレンシ
が生じてしまう。
FIG. 6 shows a timing diagram for explaining the holding of the write back data. In the normal case, the data to be written back is performed in response to the external write access generated on the WORK side, so the DRAM on the REF side writes back the data temporarily held in the FIFO. The relationship between the external write access and the write back access by the FIFO is that the write data at that time is written in the FIFO when the external write access is completed. After that, the DRAM on the REF side reads the data held in the FIFO and writes it back to the DRAM.
According to this relationship, in the write access that occurs immediately before the WORK / REF switching, the DRAM on the REF side shifts to the WORK side without time to write back. As a result, coherency occurs between the two DRAMs.

【0024】これを回避するために、本願発明において
は、WORK/REF切り替え直前にtCWCS(標準
CACHEライト期間)を設けこの期間に外部アクセス
が終了した場合ライトデータをFIFOでなくCACH
Eに保持させるようにした。また、WORK期間中に当
該アドレスへのリードアクセスが発生した場合、DRA
MではなくCACHEからデータの読出しを行うことに
より外部から見たときのデータの整合性を保っている。
実際のDRAMへのライトバックは次のREF期間の先
頭にて行うことによって、ライトバックによってWOR
K(外部アクセス)が制限されてしまうことがないよう
にされる。
In order to avoid this, in the present invention, a tCWCS (standard CACHE write period) is provided immediately before the WORK / REF switching, and when external access is completed during this period, the write data is transferred to the CACH instead of the FIFO.
E was made to hold. If a read access to the address occurs during the WORK period, DRA
By reading the data from CACHE instead of M, the consistency of the data when viewed from the outside is maintained.
The actual write back to the DRAM is performed at the beginning of the next REF period, so that the WOR is performed by the write back.
K (external access) is prevented from being restricted.

【0025】また、外部ライトアクセスが前記したtC
WCS期間をまたいでさらに継続された場合、2つDR
AMはWORK/REF切り替えが行われ、ライトバッ
クの対象(REF側)であったDRAMは外部アクセス
対応( WORK側)となり、外部アクセス対応( WOR
K側)であったDRAMはライトバック対象(REF
側)になる。このような場合は、外部ライトアクセスの
書き込み処理をWORK側のDRAMではなく、DUT
#CACHE(引継ぎ)に処理の対象を移管する。従っ
て、WORK期間中のDRAMにおいてもライトバック
するデータ保持回路を持つことになる。当該アクセスが
このWORK期間中に終了した場合、ライトデータはD
UT#CACHEに書き込まれ通常CACHEと同じよ
うに次のREF期間の先頭でライトバックが行われる。
Further, the external write access is the above-mentioned tC.
Two DRs if continued over the WCS period
In the AM, WORK / REF switching is performed, and the DRAM that was the target of write back (REF side) becomes external access compatible (WORK side), and external access compatible (WORK side).
The DRAM that was on the K side is subject to write back (REF
Side). In such a case, the external write access write processing is performed by the DUT instead of the DRAM on the WORK side.
Transfer the processing target to #CACHE (takeover). Therefore, the DRAM in the WORK period also has a data holding circuit for writing back. If the access ends during this WORK period, the write data is D
The data is written in UT # CACHE, and the write-back is performed at the beginning of the next REF period as in the case of normal CACHE.

【0026】図7には、ライトバックデータの保持につ
いて説明するためのタイミング図が示されている。同図
は、ライトバックデータの保持回路であるCACHEを
2つのDRAMにそれぞれ持たせなければならないこと
を説明するものであり、DRAM1がWORK期間中で
ある時に始まった外部ライトアクセス(1)がDRAM
2のtCWCS期間を経過した時点でDRAM1はWO
RK期間からREF期間へDRAM2はREF期間から
WORK期間に切り替わる。
FIG. 7 shows a timing chart for explaining the holding of the write back data. This figure illustrates that two DRAMs must each have a CACHE that is a write-back data holding circuit, and the external write access (1) that started when the DRAM 1 was in the WORK period is the DRAM.
When the tCWCS period of 2 elapses, the DRAM 1 becomes WO
From RK period to REF period DRAM2 switches from REF period to WORK period.

【0027】これによってこの外部ライトアクセス
(1)の対象はDRAM1からDUT#CACHE2に
移行する。外部ライトアクセス(1)はその後DRAM
2のWORK期間中に終了しているためこの時点でDU
T#CACHE2は有効となる。続いて外部ライトアク
セス(2)が発生し、このアクセスが次のWORK/R
EF切り替え直前(tCWCS期間)で終了した場合、
CACHE1が有効となる。このときDUT#CACH
E2のライトバックはまだ行われていないためDUT#
CACHE2がライトバック終了までの期間、CACH
Eの有効期間が重なることになる。従って、CACHE
は、同じライトデータ保持回路ではあるがFIFOと異
なりDRAM1及びDRAM2にそれぞれ設けなければ
ならないことがわかる。
As a result, the target of this external write access (1) shifts from DRAM1 to DUT # CACHE2. External write access (1) is then DRAM
DU at this point because it was completed during the 2 WORK period
T # CACHE2 becomes valid. Then, external write access (2) occurs, and this access is the next WORK / R.
If it ends immediately before the EF switch (tCWCS period),
CACHE1 becomes valid. At this time DUT # CACH
E2 writeback has not been done yet, so DUT #
CACH2 is the period until the write back ends, CACH
The valid periods of E will overlap. Therefore, CACHE
It can be seen that the same write data holding circuit must be provided in each of the DRAM 1 and the DRAM 2 unlike the FIFO.

【0028】図8には、WORK/REF切り替え時の
問題について説明するためのタイミング図が示されてい
る。DRAM1がWORK期間中に外部ライトアクセス
が発生しDRAM1のWORK期間だけを一定期間tC
D延長させた場合について考える。この時のCACHE
ライト期間tCWCは、標準CACHEライト期間tC
WCS+tCDとなる。WORK期間を一定期間延長さ
せて外部ライトアクセスを処理しようとした場合この外
部ライトアクセスはDRAM2に対してアクセスは行わ
ずCACHE2に対して書き込みを行う。ここで問題と
なるのは図中で示すWORK期間の重なり(OVER
LAPPING期間)である。各々DRAMアクセス制
御回路はWORK期間とREF期間で処理の内容が異な
るため、DRAM1及びDRAM2のアクセス制御回路
は前記したWORK期間の重なり期間中WORK期間と
しての処理を実行しようとしてしまう。
FIG. 8 shows a timing diagram for explaining a problem at the time of switching WORK / REF. An external write access occurs in the DRAM 1 during the WORK period, and the WORK period of the DRAM 1 is maintained for a certain period tC.
Consider the case of D extension. CACHE at this time
The write period tCWC is the standard CACHE write period tC.
It becomes WCS + tCD. When an external write access is to be processed by extending the WORK period for a certain period, the external write access does not access the DRAM 2 but writes to the CACHE 2. The problem here is the overlap of the WORK periods shown in the figure (OVER).
LAPPING period). Since the DRAM access control circuits have different processing contents in the WORK period and the REF period, the access control circuits of the DRAM 1 and the DRAM 2 try to execute the processing as the WORK period during the overlapping period of the WORK periods.

【0029】2つのDRAMを用いてデータ2重化保持
を実現する原理において最も考慮しなくてはならないの
がこのWORK/REFの切り替え時処理である。原則
的に2つのDRAMの処理期間であるWORK期間tW
RPとREF期間tRFPは絶えず逆の関係で、tWR
P=tRFPとならなければならない。これは、WOR
K/REF切り替え時に外部アクセスが連続発生した場
合に特に重要となる。
The WORK / REF switching process is the most important consideration in the principle of realizing data duplication retention using two DRAMs. WORK period tW, which is basically the processing period of two DRAMs,
RP and REF period tRFP are constantly opposite and tWR
It must be P = tRFP. This is WOR
This is especially important when external access occurs continuously during K / REF switching.

【0030】図9には、この発明に係るWORK/RE
F切り替え延長・短縮制御の基礎となる外部アクセスに
対するDRAMのコマンド生成パルスを説明するための
タイミング図が示されている。
FIG. 9 shows a WORK / RE according to the present invention.
A timing diagram is shown for explaining a command generation pulse of a DRAM for an external access which is a basis of F switching extension / shortening control.

【0031】図9図中の(A)は、外部ライトアクセス
について示したもので、DRAMアクセス制御回路はS
RAMインターフェイス信号のS−/CE1、S−CE
2のアサート変化及びS−A[24:0]の変化を検出
し、内部同期したATSパルス信号を生成する。このA
TSパルスの立下りにおいてDRAMに対しACTコマ
ンドを発行する。DRAMのカラムアクセスは、S−/
WEの立上がりを検出し内部同期化したWTSパルス信
号を生成し同タイミングにてDRAMに対しWRコマン
ドを発行しライトアクセスを行う。尚、ライトアクセス
の場合は、オートプリチャージ付のライトコマンドを発
行しライト動作終了後自動的にプリチャージを開始する
ようにしている。
FIG. 9A shows the external write access, and the DRAM access control circuit is S
RAM interface signal S- / CE1, S-CE
An assert change of 2 and a change of S-A [24: 0] are detected, and an internally synchronized ATS pulse signal is generated. This A
An ACT command is issued to the DRAM at the falling edge of the TS pulse. DRAM column access is S- /
A rising edge of WE is detected, an internally synchronized WTS pulse signal is generated, a WR command is issued to the DRAM at the same timing, and write access is performed. In the case of write access, a write command with auto precharge is issued and precharge is automatically started after the write operation is completed.

【0032】図9中(B)は、外部リードアクセスにつ
いて示したものである。ACTコマンド発行までは前記
した外部ライトアクセスと同じであるが、SRAMイン
ターフェイスの特徴としてS−/CE1、S−CE2で
チップ選択されA[24:0]のアドレスが確定後、S
−/WEが "H" レベルであればたとえS−/OEがア
サートされていない場合でもリードアクセスという点に
ある。従ってACTコマンド発行後、一定期間S−/W
Eを観測し "H”レベルであるならばリードアクセスと
判定しRDSパルス信号を生成する。DRAMにはこの
RDSに同期したタイミングでRDコマンドを発行しリ
ードアクセスを行う。その後S−/WEが "H”レベル
であれば一定期間後PRSパルス信号を生成し同タイミ
ングでDRAMに対しPREコマンドを発行しDRAM
をプリチャージしDRAMへのアクセスを終了する。
FIG. 9B shows the external read access. Until the ACT command is issued, it is the same as the external write access described above, but the feature of the SRAM interface is that the chip is selected by S- / CE1 and S-CE2, and after the address of A [24: 0] is confirmed, S
If − / WE is at “H” level, it means that a read access is made even if S− / OE is not asserted. Therefore, after issuing the ACT command, S- / W for a certain period
If E is observed and it is at "H" level, it is determined to be a read access and an RDS pulse signal is generated. An RD command is issued to the DRAM at a timing synchronized with this RDS to perform read access. After that, if S- / WE is at "H" level, a PRS pulse signal is generated after a certain period of time, a PRE command is issued to the DRAM at the same timing, and the DRAM is issued.
Is precharged and the access to the DRAM is completed.

【0033】SRAMインターフェイス信号とDRAM
コマンドとの関係は、図9に示す通りであり、S−/C
E1、S−CE2、S−A[24:0]の変化を検出す
ることによりSDRAMインターフェイスのACTコマ
ンドを発行している。同様にS−/WEの立上がりの検
出によりWRAコマンド(オートプリチャージ付ライト
コマンド)を発行している。一般には、ACTコマンド
とPREコマンドが用いられるが、前記実施例ではオー
トプリチャージ付ライトコマンドを用い、ライト動作終
了後に自動的にプリチャージ動作を行うものである。
SRAM interface signal and DRAM
The relationship with the command is as shown in FIG. 9, and S- / C
The ACT command of the SDRAM interface is issued by detecting the change of E1, S-CE2, and SA [24: 0]. Similarly, the WRA command (write command with auto-precharge) is issued by detecting the rising edge of S- / WE. Generally, the ACT command and the PRE command are used, but in the above embodiment, the write command with auto precharge is used, and the precharge operation is automatically performed after the write operation is completed.

【0034】本願において、tRAS( Active to Pre
charge command period)は、ACTコマンドを発行して
からPRAコマンドを発行する期間のことをいう。アク
セスの開始をACTコマンド、アクセスの終了をPRE
コマンドと考えると、この規格が一般に言われるところ
のアクセス時間の上限と考えられる。上記のACT(Ro
w address strobe and bank active)コマンドは、指定
されたバンク及びローアドレスを選択しアクティブ状態
にする。上記PRE(Precharge select bank)コマンド
は、上記ACTコマンドによって選択されたバンク及び
ローアドレスに対する動作を終了し、別のバンク及びロ
ーアドレスに対しての動作を開始出来る状態(アイドル
状態)にする。上記WRA(Write with auto precharg
e)コマンドは、オートプリチャージ付きライトコマンド
であり、ライト動作終了後に自動的にプリチャージを開
始してアイドル状態に戻る。
In the present application, tRAS (Active to Pre
The charge command period) refers to a period during which the PRA command is issued after the ACT command is issued. ACT command to start access and PRE to end access
Thinking of it as a command, it is considered to be the upper limit of the access time that this standard is generally called. Above ACT (Ro
w address strobe and bank active) command selects and activates the specified bank and row address. The PRE (Precharge select bank) command ends the operation for the bank and row address selected by the ACT command, and puts it in a state (idle state) in which the operation for another bank and row address can be started. WRA (Write with auto precharg)
The e) command is a write command with auto precharge, which automatically starts precharge after the write operation is completed and returns to the idle state.

【0035】図10には、この発明に係るWORK/R
EF切り替え時の延長制御を説明するためのタイミング
図が示されている。この実施例では図9で説明したAT
Sパルス信号によってtCWC期間を延長制御する。標
準CACHEライト期間tCWCS(外部仕様上の最小
アクセス時間+FIFO読出しライトバック時間)の−
1サイクル前にATSパルスが生成された例を示してい
る。このタイミングがtCD(CACHEライト期間延
長)の最大となる。従ってtCWCS期間のどのタイミ
ングでATSパルスがアサートされるかによって延長サ
イクルは異なってくる。また、図中で注目するのがtC
Dの延長によってWORK期間及びREF期間の切り替
えを同時に延長していることにある。WORK/REF
期間の切り替えタイミングをCACHEライト期間と同
期することにより図8で説明した問題を解決している。
tCWCS期間の延長の最大は、外部仕様の最小アクセ
ス時間で定義される。
FIG. 10 shows the WORK / R according to the present invention.
A timing diagram for explaining extension control during EF switching is shown. In this embodiment, the AT described in FIG.
The S pulse signal controls the extension of the tCWC period. Standard CACHE write period tCWCS (minimum access time according to external specifications + FIFO read / write back time) −
An example in which an ATS pulse is generated one cycle before is shown. This timing is the maximum of tCD (CACHE write period extension). Therefore, the extension cycle differs depending on the timing of the tCWCS period when the ATS pulse is asserted. Also, tC is to be noted in the figure.
The extension of D is to extend the switching of the WORK period and the REF period at the same time. WORK / REF
The problem described with reference to FIG. 8 is solved by synchronizing the switching timing of the period with the CACHE write period.
The maximum extension of the tCWCS period is defined by the external access minimum access time.

【0036】図11には、この発明に係るWORK/R
EF切り替え時の短縮制御を説明するためのタイミング
図が示されている。この実施例では、標準CACHEラ
イト期間tCWCSを短縮してWORK/REF期間の
切り替えを行っているものである。延長の要因として
は、前記図10のように外部アクセスの開始を表すAT
Sパルス信号であったが、この実施例のように短縮する
場合はDRAMへのアクセス終了を表すWTSパルス
(ライト)、PRSパルス(リード)で行われる。最大
に短縮される場合のタイミングはtCWCS期間のアサ
ートと同タイミングでWTSパルスまたは、RTSパル
スがアサートされた場合である。このとき外部アクセス
がライトであればデータをCACHEに書き込みWOR
K/REFの切り替えをCACHEライト期間tCWC
期間の終了と同期して行う。
FIG. 11 shows a WORK / R according to the present invention.
A timing diagram for explaining the shortening control at the time of switching the EF is shown. In this embodiment, the standard CACHE write period tCWCS is shortened to switch the WORK / REF period. As a factor of extension, the AT indicating the start of external access as shown in FIG.
Although it was the S pulse signal, when shortened as in this embodiment, it is performed by a WTS pulse (write) and a PRS pulse (read) indicating the end of access to the DRAM. The timing when it is shortened to the maximum is when the WTS pulse or the RTS pulse is asserted at the same timing as the assertion of the tCWCS period. At this time, if the external access is write, data is written to CACHE and WOR
Change K / REF to CACHE write period tCWC
It will be synchronized with the end of the period.

【0037】この実施例のような短縮制御は、外部アク
セスが連続して発生した場合にCACHEライト期間に
終了したアクセスでその時の外部アクセス対応( WOR
K側)のDRAM処理区切り、それに続く連続アクセス
を新たにWORK側になったDRAMに引き継ぐための
ものである。この制御によりWORK/REF切り替え
近傍における外部からの連続するアクセスに対して円滑
な処理を実現することができる。
In the shortening control as in this embodiment, when external access occurs continuously, the access is completed during the CACHE write period and the external access is supported at that time (WOR
This is for handing over the DRAM processing division on the (K side) and subsequent successive accesses to the DRAM which has newly become the WORK side. By this control, smooth processing can be realized for continuous access from the outside in the vicinity of WORK / REF switching.

【0038】図12は、この発明に係るWORK/RE
F切り替え時の延長制御を説明するためのタイミング図
が示されている。この実施例では、標準CACHEライ
ト期間tCWCS前に発生した外部ライトアクセスが最
大tCD[max]だけ延長されたCACHEライト期
間tCWCを経過しDUT#CACHEに書き込まれる
例を示している。図中で、DRAM1がWORK期間中
に外部ライトアクセスが発生しATSパルスの生成と共
にDRAM1に対してACTコマンドが発行されてい
る。その後この外部ライトアクセスはtCWCS期間に
入りさらに最大延長tCD[max]したtCWC期間
も経過し、WORK/REFの切り替えが起こってい
る。
FIG. 12 shows a WORK / RE according to the present invention.
A timing diagram for explaining extension control during F switching is shown. In this embodiment, an external write access that occurs before the standard CACHE write period tCWCS is written to DUT # CACHE after the CACHE write period tCWC extended by the maximum tCD [max] has elapsed. In the figure, an external write access occurs in the DRAM 1 during the WORK period, an ATS pulse is generated, and an ACT command is issued to the DRAM 1. Thereafter, this external write access enters the tCWCS period, and the tCWC period in which the maximum extension tCD [max] is further elapsed, and WORK / REF switching is occurring.

【0039】この場合外部ライトアクセスの書き込み対
象は、WORK側であるDRAM2のDUT#CACH
E2に移行するが、前記したDRAM1ではACTコマ
ンドが発行してあるためDRAM1側ではWORKから
REFに切り替わった直後に当該アドレスに対してPR
Eコマンドを実行しDRAM1側の処理を終了させてい
る。その後この外部ライトアクセスはDRAM2のWO
RK期間中に処理が終了しDRAM2側でWTSパルス
によってDUT#CACHE2へデータが書き込まれ
る。
In this case, the write target of the external write access is DUT # CACH of the DRAM 2 on the WORK side.
Although the process shifts to E2, since the ACT command is issued in the DRAM 1 described above, the DRAM 1 side performs PR to the address immediately after switching from WORK to REF.
The E command is executed to end the processing on the DRAM 1 side. After that, this external write access is performed by WO of DRAM2.
Processing is completed during the RK period, and data is written to DUT # CACHE2 by the WTS pulse on the DRAM2 side.

【0040】図13には、この発明に係る半導体記憶装
置におけるCACHEの動作概要を説明するためのタイ
ミング図が示されている。DRAM1がWORK期間で
ありDRAM2がREF期間かつtCWC期間中に外部
ライトアクセス(W1)が発生した場合、通常FIFO
にライトアクセスのデータが保持されるがtCWC期間
中に発生したものであるためFIFOでなくDRAM2
のCACHE2に保持される。その後このCACHEデ
ータは、DRAM2がWORK期間に移行した後、再度
REF期間に切り替わった最初のアクセスで実行され
る。
FIG. 13 is a timing chart for explaining the outline of the operation of CACHE in the semiconductor memory device according to the present invention. If an external write access (W1) occurs during the WORK period of the DRAM1 and the REF period and the tCWC period of the DRAM2, the normal FIFO is used.
The data of the write access is held in the memory, but since it occurred during the tCWC period, it is not the FIFO but the DRAM 2
Held in CACHE2. After that, this CACHE data is executed by the first access which is switched to the REF period again after the DRAM 2 shifts to the WORK period.

【0041】同じようにDRAM2がWORK期間であ
りDRAM1がREF期間かつtCWC期間中に外部ラ
イトアクセス(W2)が発生した場合、前記したように
DRAM1のCACHE1にライトアクセスのデータが
保持される。その後DRAM1がWORK期間中に当該
アドレスに外部リードアクセス(R2)が発生した場合
はCACHE1からデータの読み出しを行う。この時C
ACHEの有効ビットはクリアされず次のREF期間の
最初でDRAM1へのライトバックが実行され、CAC
HEの有効ビットがクリアされる。
Similarly, when an external write access (W2) occurs in the DRAM 2 in the WORK period and the DRAM 1 in the REF period and the tCWC period, the write access data is held in the CACHE 1 of the DRAM 1 as described above. Thereafter, when an external read access (R2) occurs in the address of the DRAM 1 during the WORK period, data is read from CACHE 1. At this time C
The valid bit of ACHE is not cleared, writeback to DRAM1 is executed at the beginning of the next REF period, and CAC
The valid bit in HE is cleared.

【0042】外部ライトアクセス(W3)の場合、前記
同様にCACHE2に書き込まれた後、当該アドレスに
外部ライトアクセス(W3)が再び発生した場合はDR
AM2への書き込みは通常に行われ同時にCACHE2
の有効ビットはクリアされCACHE2は無効となる。
In the case of the external write access (W3), DR is written when the external write access (W3) again occurs at the relevant address after being written in CACHE2 in the same manner as described above.
Writing to AM2 is performed normally and at the same time CACHE2
Valid bit is cleared and CACHE2 becomes invalid.

【0043】図14には、DUT#CACHEの動作の
一例を説明するためのタイミング図が示されている。D
RAM1がWORK期間中に外部ライトアクセス(W
1)が発生しWORK/REFの切り替わり直前のtC
WC( tCWCS+tCD)をも経過しWORK/RE
F切り替えをまたぐような長時間アクセス(S−/WE
がWORK/REF切り替えをまたぐような場合)につ
いては、DRAM1は当該アドレスに対してPREコマ
ンドを発行しDRAM1でのDRAMアクセスを終了す
る。
FIG. 14 is a timing chart for explaining an example of the operation of DUT # CACHE. D
External write access (W
1) occurs and tC immediately before WORK / REF switching
After WC (tCWCS + tCD), WORK / RE
Long-term access that straddles F switching (S- / WE
(When crossing the WORK / REF switching), the DRAM 1 issues a PRE command to the address and ends the DRAM access in the DRAM 1.

【0044】そして、DRAM2のDUT#CACHE
2に処理を引き継ぐ。DRAM2がWORK期間中に前
記したライトアクセス(W1)が終了した場合、その時
点でDRAM2のDUT#CACHE2にライトアクセ
スのデータを保持する。その後DRAM2がWORK期
間中に当該アドレスに外部リードアクセス(R1)が発
生した場合は通常CACHE動作で説明したと同様にC
ACHE2からデータの読み出しを行う。その後このC
ACHEデータは、DRAM2がWORK期間に移行し
た後、再度REF期間に切り替わった最初のアクセスで
実行される。
Then, DUT # CACHE of the DRAM 2
Take over processing to 2. When the above-mentioned write access (W1) is completed in the DRAM2 during the WORK period, the write access data is held in the DUT # CACHE2 of the DRAM2 at that time. After that, when an external read access (R1) is generated at the address in the DRAM 2 during the WORK period, C is the same as described in the normal CACHE operation.
Data is read from ACHE2. Then this C
The ACHE data is executed by the first access which is switched to the REF period again after the DRAM 2 shifts to the WORK period.

【0045】図15には、DUT#CACHEの動作の
他の一例を説明するためのタイミング図が示されてい
る。同図においては、DUT#CACHE対象アクセス
でWORK/REF期間を複数回またぐアクセスについ
て示されている。DRAM1がWORK期間中に外部ラ
イトアクセス(W1)が発生し次のWORK/REF切
り替えをまたぐ場合については、前記図14で説明した
通りであるが、DRAM2 のWORK期間も経過するよ
うな長時間アクセスの場合、DUT#CACHE対象を
DUT#CACHE2からDUT#CACHE1に引き
継ぐ。これをWORK/REF切り替えの度に行うこと
によって事実上無制限の長時間アクセスに対応できるこ
とになる。当該アクセス終了後の動作については前記し
た通りである。
FIG. 15 is a timing chart for explaining another example of the operation of DUT # CACHE. In the figure, the access for DUT # CACHE that extends over the WORK / REF period multiple times is shown. The case where the external write access (W1) occurs in the DRAM 1 during the WORK period and crosses the next WORK / REF switching is as described in FIG. 14, but the long-time access in which the WORK period of the DRAM 2 also passes. In this case, the DUT # CACHE target is taken over from DUT # CACHE2 to DUT # CACHE1. By performing this every time the work / ref is switched, virtually unlimited long-time access can be supported. The operation after the end of the access is as described above.

【0046】図16には、CACHEの書き込み動作の
概要を説明するためのフローチャート図が示されてい
る。前記図4で示す通り、CACHEの内部ブロックは
上位バイトを制御するUB#CNTと下位バイトを制御
するLB#CNTに分かれている。ここでは、CACH
Eを使用したときの上位バイト・下位バイトのマスク制
御技術についても説明する。
FIG. 16 is a flow chart for explaining the outline of the CACHE write operation. As shown in FIG. 4, the internal block of CACHE is divided into UB # CNT that controls the upper byte and LB # CNT that controls the lower byte. Here, CACH
The mask control technique for the upper byte / lower byte when E is used will also be described.

【0047】STEP(ステップ)1で半導体記憶装置
外からアクセスが発生した場合、STEP(ステップ)
2でREF期間であるかどうかの判断を行う。ここで、
DRAM1もしくはDRAM2はミラー関係の位置にあ
るわけであるから必ずどちらかのCACHEはフローチ
ャートに示す動作を行うことになる。
When an access occurs from outside the semiconductor memory device in STEP (step) 1, STEP (step)
At 2, it is determined whether or not it is the REF period. here,
Since the DRAM 1 or the DRAM 2 is in the mirror-related position, either CACHE always performs the operation shown in the flowchart.

【0048】STEP(ステップ)3ではCACHEラ
イト期間であるかないかの判断を行っている。ここでC
ACHEライト期間であると判断された場合、当該アク
セスのバイト選択信号に着目し処理が分岐する。これに
より外部からの上位バイト・下位バイト単位でのCAC
HEの制御を細分化し、以後のWORK期間における当
該アドレスに対するCACHEリード時のデータ読み出
し及び、書き込み時のCACHE有効ビットの制御等を
すべて上位バイト・下位バイト単位で行う。
In STEP (step) 3, it is determined whether or not it is the CACHE write period. Where C
When it is determined that it is the ACHE write period, the process branches by noting the byte selection signal of the access. By this, CAC from the outside in units of upper byte / lower byte
The HE control is subdivided, and data read at the time of CACHE read to the address in the WORK period and control of the CACHE valid bit at the time of writing are all performed in high byte / low byte units.

【0049】STEP(ステップ)4でバイト選択され
たと判断されるとライトステートを示すWTSパルス信
号のアサートをまってそれぞれの書き込みデータをCA
CHEにライトする。また、CACHE有効ビットにつ
いても上位バイト・下位バイト単位で設けられており、
その論理和をとったものがDRAMアクセス制御回路に
対して出力される。
When it is judged in STEP (step) 4 that the byte is selected, the WTS pulse signal indicating the write state is asserted, and each write data is CA.
Write to CHE. Also, the CACHE valid bit is provided in units of upper byte and lower byte,
The logical sum is output to the DRAM access control circuit.

【0050】図17には、CACHEの書き込み動作の
他の概要を説明するためのフローチャート図が示されて
いる。STEP1で半導体記憶装置外からアクセスが発
生した場合、STEP2でWORK期間であるかどうか
の判断を行う。STEP3でCACHEが有効であるか
ないかの判断を行い、STEP4で上位バイト・下位バ
イトでの処理に分岐し、バイト選択されている場合、S
TEP5にてアドレスの比較一致が行われる。ここでC
ACHEヒットした場合は、ライトステートを示すWT
Sパルス信号のアサートを待ってCACHEの有効ビッ
トをクリアする。STEP8では、上位バイト・下位バ
イトの有効ビットの論理和をとっており、これをDRA
Mアクセス制御回路に出力する。
FIG. 17 is a flow chart for explaining another outline of the CACHE write operation. When an access is made from outside the semiconductor memory device in STEP1, it is determined in STEP2 whether or not it is the WORK period. In STEP 3, it is judged whether CACHE is valid or not, and in STEP 4, the process branches to upper byte / lower byte processing, and if the byte is selected, S
Address comparison and matching is performed at TEP5. Where C
When ACHE hits, WT showing write state
The valid bit of CACHE is cleared after the assertion of the S pulse signal. In STEP8, the effective bit of the upper byte and the lower byte is ORed, and this is DRA
Output to the M access control circuit.

【0051】さらにCACHEの上位バイト・下位バイ
トを独立に動作した場合について説明する。REF期間
のCACHEライト期間にCACHEに書き込まれたと
きの状態が上位バイト・下位バイト双方とも選択された
とする。次のWORK期間で当該アドレスにライトアク
セスが発生しこのアクセスが、上位バイトもしくは下位
バイトどちらかしか選択されていない場合、選択された
バイト側はこの時DRAMにライトされるため上記で示
した通りCACHEの有効ビットはクリアされるが選択
されなかったバイト側は書き込みが行われていない訳で
あるから有効ビットはそのままである。結果CACHE
全体の有効ビットはクリアされず、次のREF期間の最
初に選択されなかったバイト側だけライトバックされ
る。
Further, the case where the upper byte and the lower byte of CACHE are operated independently will be described. It is assumed that the state when writing to CACHE during the CACHE write period of the REF period has selected both the upper byte and the lower byte. If a write access occurs at the address in the next WORK period and only the upper byte or the lower byte is selected for this access, the selected byte side is written in the DRAM at this time. The valid bit of CACHE is cleared, but the byte that has not been selected is not written, so the valid bit remains unchanged. Result CACHE
The entire valid bit is not cleared and only the first unselected byte side of the next REF period is written back.

【0052】図18 には、WORK期間おけるCACH
Eへの読み出し動作の概念を説明きするためのフローチ
ャート図が示されている。STEP1で半導体記憶装置
外からアクセスが発生した場合、STEP2でWORK
期間であるかどうかの判断を行う。STEP3でCAC
HEが有効であるかないかの判断を行っている。
FIG. 18 shows the CACH during the WORK period.
A flow chart diagram for explaining the concept of the read operation to E is shown. If an access is generated from outside the semiconductor memory device in STEP 1, WORK is performed in STEP 2.
Determine whether it is a period. CAC in STEP3
It is judged whether HE is effective or not.

【0053】STEP4で上位バイト・下位バイトでの
処理に分岐し、バイト選択されている場合、STEP5
にてアドレスの比較一致が行われる。ここでCACHE
ヒットした場合は、CACHEのリードステートを示す
CACRDのアサートを待ってCACHEのデータ出力
(CACDATA)とCACHEのリードヒット信号で
あるCACHITをDRAMアクセス制御回路に出力す
る。この時DRAMのアクセス制御回路自身も動作して
おりDRAMに対して読み出しコマンドの発行を行う
が、CACHEからの読み出しデータを選択するかDR
AMからの読み出しデータを選択するかの選択信号にC
ACHEリードヒット信号であるCACHITが用いら
れる。
If the byte is selected in STEP 4, the process is branched to the upper byte and the lower byte, and if the byte is selected, STEP 5 is executed.
The address is compared and matched at. CACHE here
When a hit occurs, the data output (CACDATA) of CACHE and CACHIT which is the read hit signal of CACHE are output to the DRAM access control circuit after the assertion of CACRD indicating the read state of CACHE. At this time, the access control circuit of the DRAM itself is also operating and issues a read command to the DRAM, but the read data from CACHE is selected or DR
C for the selection signal to select the read data from AM
CACHIT which is an ACHE read hit signal is used.

【0054】さらにCACHEの有効ビットが上位バイ
トもしくは下位バイトどちらか片方のみで、リードアク
セスのバイト選択信号が上位バイト・下位バイト双方と
も選択されている場合を考える。この場合は、CACH
Eの有効ビットがクリアされている側のバイトデータ
は、DRAMからの読み出しが選択されCACHEの有
効ビットがセットされている側のバイトデータはCAC
HEからの読み出しデータが選択されて外部に出力され
る。
Further, let us consider a case where the valid bit of CACHE is only one of the upper byte and the lower byte and the byte selection signal for read access is selected for both the upper byte and the lower byte. In this case, CACH
For byte data on the side where the valid bit of E is cleared, read from DRAM is selected and byte data on the side where the valid bit of CACHE is set is CAC.
The read data from the HE is selected and output to the outside.

【0055】図19 には、CACHEのライトバック動
作の概念を説明するためのフローチャート図が示されて
いる。STEP1でWORK/REF切替が発生する
と、STEP2でCACHEは、自身が担当するDRA
M側がREF期間であるかどうかの判断を行う。STE
P3では、有効ビットのセットの有無を判断する。この
時、CACHEから出力されている有効ビット(CAC
V)をもとにDRAMアクセス制御回路でも同様の判断
を行っており、CACHEが有効である場合CACHE
リード信号であるCACRDがアサートされる。
FIG. 19 is a flow chart for explaining the concept of the write back operation of CACHE. When WORK / REF switching occurs in STEP1, the CACHE in STEP2 is the DRA that it is in charge of.
It is determined whether the M side is in the REF period. STE
At P3, it is determined whether or not a valid bit is set. At this time, the valid bit (CAC
The DRAM access control circuit also makes a similar determination based on V), and if CACHE is valid, CACHE
CACRD which is a read signal is asserted.

【0056】STEP4でCACHEは、前記したDR
AMアクセス制御回路からのCACHEリード信号CA
CRDを待つ。STEP5でCACHEリード信号CA
CRDに対して、CACHEデータを出力し、STEP
6でCACHEの有効ビットをクリアする。DRAMア
クセス制御回路は、CACHEの出力データをもとにD
RAMに対してライトバックアクセスを行う。
In STEP 4, CACHE is the DR described above.
CACHE read signal CA from AM access control circuit
Wait for CRD. In STEP 5, CACHE read signal CA
Output CACHE data to CRD, and STEP
At 6, the valid bit of CACHE is cleared. The DRAM access control circuit uses D based on the output data of CACHE.
Write back access to the RAM.

【0057】DUT CACHEは、基本的な動作は通
常CACHEと同様であるが、書き込み期間を示す信号
が異なる。(CACHEライト期間=CACPRD)/
(DUT#CACHEライト期間信号=DUTPRD)
The basic operation of DUT CACHE is similar to that of normal CACHE, but the signal indicating the write period is different. (CACHE write period = CACPRD) /
(DUT # CACHE write period signal = DUTPRD)
.

【0058】DRAM1、DRAM2はそれぞれCAC
HE及びDUT CACHEを備えるが、WORK期間
中に双方が同時期に有効ビットがセットされることはな
い。これは、双方にデータが書き込まれる期間が異なる
ためで、CACHEは、REF期間に書き込まれるもの
であり、対してDUT CACHEは、WORK期間中
に書き込まれるためである。従って、DRAM1のCA
CHEが有効であるときDRAM2のDUT CACH
Eが有効になることは有りうる。当然DRAM1とDR
AM2が逆の場合も存在する。しかし、DRAM1のC
ACHEとDUT CACHE、同じようにDRAM2
のCACHEとDUT CACHEが同期間有効になる
ことはあり得ない。
DRAM1 and DRAM2 are CACs, respectively.
Although HE and DUT CACHE are provided, both do not have the valid bit set at the same time during the WORK period. This is because the period in which the data is written is different in both, and CACHE is written in the REF period, whereas DUT CACHE is written in the WORK period. Therefore, the CA of DRAM1
DUT CACH of DRAM 2 when CHE is enabled
It is possible that E will be valid. Naturally DRAM1 and DR
There is also a case where AM2 is reversed. However, C of DRAM1
ACHE and DUT CACHE, similarly DRAM2
CACHE and DUT CACHE cannot be valid for the same period.

【0059】上記したCACHE及びDUT CACH
Eの制御方法によって半導体装置外からのアクセスに対
して、既存のSRAMインターフェイスのまま、DRA
Mを使用した半導体記憶装置において、長時間アクセス
に対応する制御方法を実現している。これは、汎用DR
AM及び汎用SDRAMまた、混載DRAM等DRAM
素子を用いて実現するSRAM互換メモリすべてに有効
な手段である。本制御方法はFPGA及び試作チップに
よって実回路を構成し記載した制御方法が有効であるこ
とを確認している。
CACHE and DUT CACH described above
According to the control method of E, when the access from the outside of the semiconductor device is made, the existing SRAM interface remains unchanged and the DRA
In a semiconductor memory device using M, a control method compatible with long-time access is realized. This is a general-purpose DR
AM and general-purpose SDRAM, DRAM such as embedded DRAM
It is an effective means for all SRAM compatible memories realized by using elements. As for this control method, it has been confirmed that the control method described by constructing an actual circuit with an FPGA and a prototype chip is effective.

【0060】図20には、この発明にかかる半導体記憶
装置の一実施例の平面図が示され、図21にそのA−
A’線断面図が示されている。実装基板PCB上に、半
導体チップCHIP2(DRAM1)とCHIP2(D
RAM2)及び半導体チップCHIP1(CTL_LO
GIC)が搭載される。これらの半導体チップCHIP
1〜CHIP3の電極は、実装基板の設けられた配線の
電極との間でボンディングワイヤPAHT1、PATH
2等により接続される。これらの半導体チップCHIP
1〜3は、封止体COVERによって外見上一つの半導
体集積記憶装置として見做される形成される。特に制限
されないが、実装基板の裏面側にボール状の外部電極が
設けられ、前記SRAMに対応したインターフェイスの
外部端子及び電源供給用の外部端子が設けられる。
FIG. 20 is a plan view of an embodiment of the semiconductor memory device according to the present invention, and FIG.
A sectional view taken along the line A'is shown. Semiconductor chips CHIP2 (DRAM1) and CHIP2 (D
RAM2) and semiconductor chip CHIP1 (CTL_LO
GIC) is installed. These semiconductor chips CHIP
The electrodes 1 to CHIP3 are bonded to the electrodes of the wiring provided on the mounting board by bonding wires PAHT1 and PATH.
It is connected by 2 etc. These semiconductor chips CHIP
1 to 3 are formed by the sealing body COVER and are regarded as one semiconductor integrated memory device in appearance. Although not particularly limited, a ball-shaped external electrode is provided on the back surface side of the mounting substrate, and an external terminal for an interface corresponding to the SRAM and an external terminal for power supply are provided.

【0061】図22には、この発明にかかる半導体記憶
装置の他の一実施例の平面図が示され、図23にそのA
−A’線断面図が示されている。実装基板PCB上に、
半導体チップCHIP2(DRAM1)とCHIP3
(DRAM2)が搭載される。そして、これらの2つの
半導体チップCHIP2とCHIP3の上に、それらを
またぐように半導体チップCHIP1(CTL_LOG
IC)が積層構造に搭載される。これらの半導体チップ
CHIP1と2とCHIP3の対応する電極は、ボンデ
ィングワイヤPAHT4により接続され、CHIP1の
SRAMに対応したインターフェイスの電極は、実装基
板の電極にボンディングワイヤPATH2により接続さ
れる。他の構成は、前記図20、図21と同様である。
FIG. 22 is a plan view of another embodiment of the semiconductor memory device according to the present invention, and FIG.
The -A 'line sectional view is shown. On the mounting board PCB,
Semiconductor chips CHIP2 (DRAM1) and CHIP3
(DRAM2) is mounted. Then, on these two semiconductor chips CHIP2 and CHIP3, the semiconductor chip CHIP1 (CTL_LOG) is arranged so as to straddle them.
IC) is mounted in a laminated structure. Corresponding electrodes of these semiconductor chips CHIP1 and 2 and CHIP3 are connected by a bonding wire PAHT4, and an electrode of an interface corresponding to the SRAM of CHIP1 is connected to an electrode of a mounting board by a bonding wire PATH2. Other configurations are similar to those in FIGS. 20 and 21.

【0062】上記のようなマルチチップ構造を採用した
場合には、小型の携帯用電子機器への実装に便利であ
る。小型携帯端末は、その実装スペースに限りがあるか
ら、上記のように完全にSRAMと等価で、その約10
倍程度の記憶容量を持つメモリ回路が構成できる。例え
ば、SRAMは、1つのメモリチップによって約16M
ビット程度の記憶容量しか実現できないのに対し、上記
DRAMチップは約256Mビットのような記憶容量を
実現でき、2つのメモリチップで二重にデータを記憶さ
せるものとしても、約10倍の記憶容量を実現できる。
When the above multi-chip structure is adopted, it is convenient for mounting on a small portable electronic device. Since the small portable terminal has a limited mounting space, it is completely equivalent to the SRAM as described above, and about 10
A memory circuit having about double the storage capacity can be constructed. For example, SRAM is about 16M by one memory chip.
The DRAM chip can realize a storage capacity of about 256 Mbits, while the memory capacity of only about a bit can be realized. Even if two memory chips store data in duplicate, the storage capacity is about 10 times. Can be realized.

【0063】DRAMを使用した大容量SRAM互換モ
ジュール化の制御及び構造技術として、2つのDRAM
チップをワーク(WORK)期間とリフレッシュ(RE
F)期間に切り替える際にキャッシュ(CACHE)を
用いたワーク/リフレッシュを延長または短縮し、切り
替え時のアクセスを円滑化制御することができる。DR
AMのアクセス時間制限tRASを超える長時間アクセ
スに対しては引継ぎキャッシュDUT CACHEを用
いて実現するキャッシュ制御により実現することができ
る。また、キャッシュを使用したときの上位バイト・下
位バイトのマスク制御が可能となる。
Two DRAMs are used as a control and structure technology for making a large-capacity SRAM-compatible module using DRAMs.
Work tip (WORK) period and refresh (RE
F) The work / refresh using the cache (CACHE) can be extended or shortened when switching to the period, and smooth access control at the time of switching can be performed. DR
A long-time access exceeding the access time limit tRAS of AM can be realized by cache control realized by using a takeover cache DUT CACHE. Further, it becomes possible to perform mask control of the upper byte and the lower byte when using the cache.

【0064】この発明に従えば、DRAM、特に既存又
は汎用DRAM用いて、それに簡単な制御チップを加え
ることで大容量SRAM互換メモリモジュールを実現す
ることが出来る。つまり、ワーク/リフレッシュ切り替
え円滑化によるSRAM互換性確保でき、しかもアクセ
ス時間制限のないSRAM互換モジュールと、上位バイ
ト/下位バイトの制御によるSRAM互換モジュールの
機能向上が図られる。
According to the present invention, a large capacity SRAM compatible memory module can be realized by using a DRAM, particularly an existing or general-purpose DRAM, and adding a simple control chip thereto. In other words, the SRAM compatibility can be ensured by facilitating the work / refresh switching, and the functions of the SRAM compatible module without access time limitation and the SRAM compatible module by controlling the upper byte / lower byte can be improved.

【0065】以上本発明者よりなされた発明を実施例に
基づき具体的に説明したが、本願発明は前記実施例に限
定されるものではなく、その要旨を逸脱しない範囲で種
々変更可能であることはいうまでもない。例えば、DR
AMのリフレッシュ制御は、DRAM自身の持つリフレ
ッシュ制御回路を起動するリフレッシュコマンドを発行
することにより実現するものであってもよい。つまり、
前記REF期間においては、メモリ制御回路CTL_L
OGICは、一定の周期でリフレッシュコマンドを発行
するようにすればよい。このリフレッシュコマンドの合
間に、前記FIFOやCACHEに記憶された記憶情報
に従ったライトバック動作を行うようにすればよい。
Although the invention made by the present inventor has been specifically described based on the embodiments, the invention of the present application is not limited to the embodiments and various modifications can be made without departing from the scope of the invention. Needless to say. For example, DR
The AM refresh control may be realized by issuing a refresh command that activates the refresh control circuit of the DRAM itself. That is,
In the REF period, the memory control circuit CTL_L
The OGIC may issue the refresh command at a constant cycle. Between the refresh commands, the write back operation may be performed according to the storage information stored in the FIFO or CACHE.

【0066】DRAM1、2はそれぞれが1つのチップ
であってもよいし、複数のチップであってもよい。DR
AM1とDRAM2を1つのDRAMチップとしてもよ
い。つまり、1つのDRAMチップがそれぞれ独立して
メモリアクセスが可能な複数のバンクを持つ場合、制御
チップによりバンクを2組に分けて、その一方を前記D
RAM1とし、他方をDRAM2のように制御すればよ
い。このような複数バンクを持つDRAMチップに制御
チップの機能を内蔵させるものであってもよい。
Each of the DRAMs 1 and 2 may be one chip or a plurality of chips. DR
The AM1 and the DRAM2 may be one DRAM chip. In other words, when one DRAM chip has a plurality of banks that can be independently accessed for memory, the control chip divides the bank into two groups, and one of the banks is set to the D
The RAM 1 may be used and the other may be controlled like the DRAM 2. A DRAM chip having such a plurality of banks may have the function of a control chip built therein.

【0067】前記実施例では、前記DRAMがコマンド
で動作するという、いわゆるシンクロナスDRAMに向
けられているが、これに限定されずRAS,CAS,W
Eのような制御信号でメモリ制御されるものであっても
よい。この発明は、DRAMを用いてSRAM互換の半
導体記憶装置及びその制御方法に広く利用することがで
きる。
In the above embodiment, the DRAM is operated by a command, that is, a so-called synchronous DRAM, but the present invention is not limited to this, and RAS, CAS, W are provided.
The memory may be controlled by a control signal such as E. INDUSTRIAL APPLICABILITY The present invention can be widely used for an SRAM compatible semiconductor memory device using a DRAM and a control method thereof.

【0068】[0068]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば、下
記の通りである。DRAMを使用した大容量SRAM互
換モジュール化の制御及び構造技術として、2つのDR
AMチップをワーク(WORK)期間とリフレッシュ
(REF)期間に交互に切り替えてリフレッシュ期間の
DRAMに対してはFIFOによるライトバックを行
い、切り替える際にキャッシュを用いたライトバックや
ワーク/リフレッシュを延長または短縮制御により切り
替え時のアクセスを円滑化制御しつつDRAMのアクセ
ス時間制限tRASを超える長時間アクセスに対しては
引継ぎキャッシュを用いて実現することができる。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows. Two DRs as control and structure technology for modularization of a large-capacity SRAM compatible module using DRAM
The AM chip is alternately switched between the work (WORK) period and the refresh (REF) period, and the write-back by the FIFO is performed to the DRAM in the refresh period, and when the switching is performed, the write-back using the cache and the work / refresh are extended or The takeover cache can be used for long-time access exceeding the access time limit tRAS of the DRAM while smoothing the access at the time of switching by the shortening control.

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

【図1】この発明に係る半導体記憶装置の一実施例を示
す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a semiconductor memory device according to the present invention.

【図2】図1のCHIP1(CTL#LOGIC)の一
実施例を示すブロック図である。
2 is a block diagram showing an embodiment of CHIP1 (CTL # LOGIC) of FIG. 1. FIG.

【図3】図2のCTL#LOGICの一実施例を示すブ
ロック図である。
3 is a block diagram showing an embodiment of CTL # LOGIC of FIG. 2. FIG.

【図4】図3のCACHEの一実施例を示すブロック図
である。
FIG. 4 is a block diagram showing an embodiment of CACHE in FIG.

【図5】2つのDRAMを用いてデータを2重化しリフ
レッシュを隠蔽するためのWORK/REF期間の切り
替えの概念を説明するためのタイミング図である。
FIG. 5 is a timing diagram for explaining the concept of WORK / REF period switching for duplicating data and concealing refresh using two DRAMs.

【図6】ライトバックデータの保持について説明するた
めのタイミング図である。
FIG. 6 is a timing chart for explaining holding of write back data.

【図7】ライトバックデータの保持について説明するた
めのタイミング図である。
FIG. 7 is a timing chart for explaining holding of write back data.

【図8】WORK/REF切り替え時の問題について説
明するためのタイミング図である。
FIG. 8 is a timing chart for explaining a problem at the time of switching WORK / REF.

【図9】この発明に係るWORK/REF切り替え延長
・短縮制御の基礎となる外部アクセスに対するDRAM
のコマンド生成パルスを説明するためのタイミング図で
ある。
FIG. 9 is a DRAM for external access, which is the basis of WORK / REF switching extension / shortening control according to the present invention.
5 is a timing diagram for explaining the command generation pulse of FIG.

【図10】この発明に係るWORK/REF切り替え時
の延長制御を説明するためのタイミング図である。
FIG. 10 is a timing chart for explaining extension control at the time of WORK / REF switching according to the present invention.

【図11】この発明に係るWORK/REF切り替え時
の短縮制御を説明するためのタイミング図である。
FIG. 11 is a timing chart for explaining shortening control at the time of WORK / REF switching according to the present invention.

【図12】この発明に係るWORK/REF切り替え時
の延長制御を説明するためのタイミング図である。
FIG. 12 is a timing chart for explaining extension control at the time of WORK / REF switching according to the present invention.

【図13】この発明に係る半導体記憶装置におけるCA
CHEの動作概要を説明するためのタイミング図であ
る。
FIG. 13 is a diagram showing a CA in the semiconductor memory device according to the present invention.
It is a timing diagram for explaining an outline of the operation of CHE.

【図14】この発明に係るDUT#CACHEの動作の
一例を説明するためのタイミング図である。
FIG. 14 is a timing chart for explaining an example of the operation of DUT # CACHE according to the present invention.

【図15】この発明に係るDUT#CACHEの動作の
他の一例を説明するためのタイミング図である。
FIG. 15 is a timing chart for explaining another example of the operation of DUT # CACHE according to the present invention.

【図16】この発明に係るCACHEの書き込み動作の
概要を説明するためのフローチャート図である。
FIG. 16 is a flow chart diagram for explaining an outline of a write operation of CACHE according to the present invention.

【図17】この発明に係るCACHEの書き込み動作の
他の概要を説明するためのフローチャート図である。
FIG. 17 is a flow chart diagram for explaining another outline of the write operation of CACHE according to the present invention.

【図18】この発明に係るWORK期間おけるCACH
Eへの読み出し動作の概念を説明きするためのフローチ
ャート図である。
FIG. 18: CACH in the WORK period according to the present invention
FIG. 7 is a flowchart diagram for explaining the concept of a read operation to E.

【図19】この発明に係るCACHEのライトバック動
作の概念を説明するためのフローチャート図である。
FIG. 19 is a flow chart diagram for explaining the concept of the write back operation of CACHE according to the present invention.

【図20】この発明にかかる半導体記憶装置の一実施例
を示す平面図である。
FIG. 20 is a plan view showing an embodiment of a semiconductor memory device according to the present invention.

【図21】図20のA−A’線に対応した一実施例の構
造断面図である。
FIG. 21 is a structural cross-sectional view of an example corresponding to the line AA ′ in FIG. 20.

【図22】この発明にかかる半導体記憶装置の他の一実
施例を示す平面図である。
FIG. 22 is a plan view showing another embodiment of the semiconductor memory device according to the present invention.

【図23】図22のA−A’線に対応した一実施例の構
造断面図である。
FIG. 23 is a structural cross-sectional view of one example corresponding to the line AA ′ in FIG. 22.

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

CHIP2(DRAM1),CHIP3(DRAM2)
…DRAMチップ、CHP3(CTL_LOGIC)…
制御チップ、SDCTL…アクセス制御回路、WRBR
EG…レジスタ、TIMECNT…時間制御回路、AT
D…アドレス信号変化検出回路、DTD…信号変化検出
回路、R/W BUFFER…リード/ライトバッフ
ァ、INT…初期回路回路、TMP…温度計測モジュー
ル、RC…リフレッシュカウンタ回路、PM…電源回
路、CLK#GEN…クロック生成回路、PATH1〜
4…ボンディングワイヤ、COVER…封止体。
CHIP2 (DRAM1), CHIP3 (DRAM2)
... DRAM chip, CHP3 (CTL_LOGIC) ...
Control chip, SDCTL ... Access control circuit, WRBR
EG ... Register, TIMECNT ... Time control circuit, AT
D ... Address signal change detection circuit, DTD ... Signal change detection circuit, R / W BUFFER ... Read / write buffer, INT ... Initial circuit circuit, TMP ... Temperature measurement module, RC ... Refresh counter circuit, PM ... Power supply circuit, CLK # GEN ... Clock generation circuit, PATH1 to
4 ... Bonding wire, COVER ... Sealing body.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11C 11/401 G11C 11/34 371Z (72)発明者 岩村 哲哉 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 (72)発明者 星 浩一 東京都小平市上水本町5丁目22番1号 株 式会社日立超エル・エス・アイ・システム ズ内 (72)発明者 三浦 誓士 東京都国分寺市東恋ケ窪一丁目280番地 株式会社日立製作所中央研究所内 (72)発明者 鮎川 一重 東京都国分寺市東恋ケ窪一丁目280番地 株式会社日立製作所中央研究所内 Fターム(参考) 5B005 JJ11 MM01 NN02 NN71 UU24 5B060 CA10 5M024 AA49 AA50 AA90 BB22 BB26 BB27 BB30 BB35 BB36 BB39 DD85 EE10 EE12 EE30 JJ22 KK22 KK40 LL01 PP01 PP05 PP07 PP10 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 7 Identification code FI theme code (reference) G11C 11/401 G11C 11/34 371Z (72) Inventor Tetsuya Iwamura 5-22, Kamimizumotocho, Kodaira-shi, Tokyo No. 1 within Hitachi Super L.S.I.Systems Co., Ltd. (72) Inventor Koichi Hoshi 5-22-1 Kamimizuhoncho, Kodaira-shi, Tokyo Inside Hitachi Super L.S.I.Systems Co., Ltd. (72) Inventor Miura 1-280, Higashi Koikeku, Kokubunji, Tokyo, Central Research Laboratory, Hitachi, Ltd. (72) Inventor, Aikawa, 1-280, Higashi Koikeku, Kokubunji, Tokyo F-Term, Hitachi, Ltd. Reference) 5B005 JJ11 MM01 NN02 NN71 UU24 5B060 CA10 5M024 AA49 AA50 AA90 BB22 BB26 BB27 BB30 BB35 BB36 BB39 DD85 EE10 EE12 EE30 JJ22 KK22 KK40 LL01 PP01 PP05 PP07 PP10

Claims (16)

【特許請求の範囲】[Claims] 【請求項1】 ダイナミック型メモリセルにより構成さ
れた同じアドレス空間を持ち、同じデータを記憶するよ
うにされた記憶部を備え、それぞれが独立して書き込み
/読み出しが可能とされた第1と第2のメモリ回路と、 上記第1と第2のメモリ回路に対して書き込み/読み出
し及びリフレッシュ動作の制御を行うメモリ制御回路と
を含み、 上記メモリ制御回路は、 スタティック型RAMに対応された入出力インターフェ
イス回路と、 上記第1と第2のメモリ回路のそれぞれに対応して設け
られるキャッシュメモリと、 上記第1と第2のメモリ回路に共通に用いられるFIF
Oメモリとを備え、 上記第1と第2のメモリ回路のうち一方のメモリ回路に
対して書き込み/読み出しの通常動作を可能とし、他方
のメモリ回路に対してリフレッシュ動作を指示するよう
な時間割り当て制御を交互に行い、 上記入出力インターフェイス回路によりメモリ動作が指
示されたときには、上記一方のメモリ回路に対して書き
込み/読み出し動作を行い、上記一方のメモリ回路に対
する書き込み情報を上記FIFOメモリに記憶させ、上
記他方のメモリ回路の上記リフレッシュの合間に上記F
IFOメモリの書き込み情報に従い書き込み動作を行
い、 上記第1と第2のメモリ回路のそれぞれにおけるリフレ
ッシュ動作から通常動作に移行する前の一定期間におい
て、 上記入出力インターフェイス回路により書き込み動作が
指示されたときには、上記一方のメモリ回路に対して書
き込み動作を行い、上記一方のメモリ回路に対する書き
込み情報を上記リフレッシュが指示されている他方のメ
モリ回路に対応した上記キャッシュメモリに記憶させ、 上記切替後の通常動作における上記キャッシュメモリに
記憶されたアドレスに対する読み出し動作があったとき
には、他方のメモリ回路に代えて当該キャッシュメモリ
に記憶されたデータを出力させ、 上記キャッシュメモリに記憶されたアドレスに別のデー
タの書き込みが指示されたときには他方のメモリ回路に
データの書き込みを行うとともに、上記キャッシュメモ
リの前記書き込み情報を無効とし、 上記他方のメモリ回路に対して上記キャッシュメモリに
記憶されたアドレスに対してメモリアリセスが行われな
いときには、上記他方のメモリ回路の次のリフレッシュ
期間におけるリフレッシュ動作の合間に上記キャッシュ
メモリの書き込み情報に対応してデータの書き込み動作
を行うことを特徴とする半導体記憶装置。
1. A first memory device and a first memory device, each of which has a storage unit configured to store the same data and has the same address space composed of dynamic memory cells, each of which is independently writable / readable. 2 memory circuits and a memory control circuit for controlling write / read and refresh operations for the first and second memory circuits, wherein the memory control circuit is an input / output device compatible with a static RAM. An interface circuit, a cache memory provided corresponding to each of the first and second memory circuits, and an FIF commonly used for the first and second memory circuits
O memory, and time allocation for enabling normal operation of writing / reading to one of the first and second memory circuits and instructing refresh operation to the other memory circuit. When the memory operation is instructed by the input / output interface circuit by performing the control alternately, the write / read operation is performed on the one memory circuit to store the write information for the one memory circuit in the FIFO memory. , F between the refreshes of the other memory circuit
When the write operation is performed according to the write information of the IFO memory, and the write operation is instructed by the input / output interface circuit during a certain period before transition from the refresh operation to the normal operation in each of the first and second memory circuits. , A write operation is performed on the one memory circuit, write information for the one memory circuit is stored in the cache memory corresponding to the other memory circuit for which the refresh is instructed, and the normal operation after the switching is performed. When there is a read operation for the address stored in the cache memory in, the data stored in the cache memory is output instead of the other memory circuit, and another data is written to the address stored in the cache memory. When is instructed Data is written to the other memory circuit, the write information in the cache memory is invalidated, and the memory access is not performed to the address stored in the cache memory for the other memory circuit. In some cases, the semiconductor memory device is characterized in that a data write operation is performed corresponding to write information of the cache memory between refresh operations in the next refresh period of the other memory circuit.
【請求項2】 請求項1において、 上記リフレッシュ期間は、上記第1と第2のメモリ回路
における最長のアクティブ期間よりも短く設定されるも
のであることを特徴とする半導体記憶装置。
2. The semiconductor memory device according to claim 1, wherein the refresh period is set shorter than the longest active period in the first and second memory circuits.
【請求項3】 請求項2において、 上記メモリ制御回路は、上記第1と第2のメモリ回路の
それぞれにおけるリフレッシュ動作から通常動作に移行
する切替時間を基準とし、上記第1と第2のメモリ回路
の最小の書き込み時間より短い一定時間前に入出力イン
ターフェイス回路により書き込み動作の開始が指示され
たときには、上記第1と第2のメモリ回路の最小の書き
込み時間に対応して上記切替時間を延長させることを特
徴とする半導体記憶装置。
3. The first and second memories according to claim 2, wherein the memory control circuit uses the switching time at which the refresh operation in each of the first and second memory circuits shifts to a normal operation as a reference. When the start of the write operation is instructed by the input / output interface circuit before a fixed time shorter than the minimum write time of the circuit, the switching time is extended corresponding to the minimum write time of the first and second memory circuits. A semiconductor memory device characterized by:
【請求項4】 請求項2において、 上記メモリ制御回路は、上記第1と第2のメモリ回路の
それぞれにおけるリフレッシュ動作から通常動作に移行
する切替時間を基準とし、上記第1と第2のメモリ回路
の最小の書き込み時間より短い一定時間前に入出力イン
ターフェイス回路によるメモリ動作の終了が指示された
ときには、上記第1と第2のメモリ回路の最小の書き込
み時間に対応して上記切替時間を短縮させることを特徴
とする半導体記憶装置。
4. The memory control circuit according to claim 2, wherein the memory control circuit uses the switching time at which the refresh operation in each of the first and second memory circuits shifts to a normal operation as a reference. When the end of the memory operation by the input / output interface circuit is instructed before a fixed time shorter than the minimum write time of the circuit, the switching time is shortened corresponding to the minimum write time of the first and second memory circuits. A semiconductor memory device characterized by:
【請求項5】 請求項2において、 上記第1と第2メモリ回路のそれぞれに対応して設けら
れるキャッシュメモリは、引き継ぎメモリ部を備え、 上記第1と第2メモリ回路のうちの一方のメモリ回路に
対するリフレッシュ期間において、キャッシュメモリに
書き込まれた書き込み動作が確定しないときには、次の
切替時に当該書き込み情報を他方のメモリ回路に対応し
た引き継ぎメモリ部に対して受け渡しを行うことを特徴
とする半導体記憶装置。
5. The cache memory according to claim 2, wherein the cache memory provided corresponding to each of the first and second memory circuits includes a takeover memory section, and one of the first and second memory circuits is a memory. When the write operation written in the cache memory is not confirmed during the refresh period for the circuit, the write information is transferred to the inherited memory unit corresponding to the other memory circuit at the next switching. apparatus.
【請求項6】 請求項2において、 上記第1と第2のメモリ回路は、既存のダイナミック型
RAMを構成する半導体チップからなり、 上記メモリ制御回路は、1つの半導体チップで構成さ
れ、 これらの半導体チップがマルチチップ技術により1つの
パッケージに収納されることを特徴とする半導体記憶装
置。
6. The memory device according to claim 2, wherein the first and second memory circuits are composed of semiconductor chips that compose an existing dynamic RAM, and the memory control circuit is composed of one semiconductor chip. A semiconductor memory device, wherein semiconductor chips are housed in a single package by a multi-chip technology.
【請求項7】 請求項2において、 上記キャッシュメモリには、上位バイト・下位バイトを
独立に動作するための制御信号の記憶部が設けられるも
のであることを特徴とする半導体記憶装置。
7. The semiconductor memory device according to claim 2, wherein the cache memory is provided with a storage portion for a control signal for operating the upper byte and the lower byte independently.
【請求項8】 ダイナミック型メモリセルにより構成さ
れた同じアドレス空間を持ち、同じデータを記憶するよ
うにされた記憶部を備え、それぞれが独立して書き込み
/読み出しが可能とされた第1と第2のメモリ回路と、 スタティック型RAMに対応された入出力インターフェ
イス回路と、上記第1と第2のメモリ回路のそれぞれに
対応して設けられるキャッシュメモリと、上記第1と第
2のメモリ回路に共通に用いられるFIFOメモリとを
備え、上記第1と第2のメモリ回路に対して書き込み/
読み出し及びリフレッシュ動作の制御を行うメモリ制御
回路とを用い、 上記第1と第2のメモリ回路のうち一方のメモリ回路に
対して書き込み/読み出しの通常動作を可能とし、他方
のメモリ回路に対してリフレッシュ動作を指示するよう
な時間割り当て制御を交互に行い、 上記入出力インターフェイス回路によりメモリ動作が指
示されたときには、上記一方のメモリ回路に対して書き
込み/読み出し動作を行い、上記一方のメモリ回路に対
する書き込み情報を上記FIFOメモリに記憶させ、上
記他方のメモリ回路の上記リフレッシュの合間に上記F
IFOメモリの書き込み情報に従い書き込み動作を行
い、 上記第1と第2のメモリ回路のそれぞれにおけるリフレ
ッシュ動作から通常動作に移行する前の一定期間におい
て、 上記入出力インターフェイス回路により書き込み動作が
指示されたときには、上記一方のメモリ回路に対して書
き込み動作を行い、上記一方のメモリ回路に対する書き
込み情報を上記リフレッシュが指示されている他方のメ
モリ回路に対応した上記キャッシュメモリに記憶させ、 上記切替後の通常動作における上記キャッシュメモリに
記憶されたアドレスに対する読み出し動作があったとき
には、他方のメモリ回路に代えて当該キャッシュメモリ
に記憶されたデータを出力させ、 上記キャッシュメモリに記憶されたアドレスに別のデー
タの書き込みが指示されたときには他方のメモリ回路に
データの書き込みを行うとともに、上記キャッシュメモ
リの前記書き込み情報を無効とし、 上記他方のメモリ回路に対して上記キャッシュメモリに
記憶されたアドレスに対してメモリアリセスが行われな
いときには、上記他方のメモリ回路の次のリフレッシュ
期間におけるリフレッシュ動作の合間に上記キャッシュ
メモリの書き込み情報に対応してデータの書き込み動作
を行うことを特徴とする半導体記憶装置の制御方法。
8. A first section and a first section, each of which has a storage unit configured to store the same data and has the same address space composed of dynamic memory cells, each of which is independently writable / readable. A second memory circuit, an input / output interface circuit corresponding to a static RAM, a cache memory provided corresponding to each of the first and second memory circuits, and the first and second memory circuits. A commonly used FIFO memory is provided for writing / writing to the first and second memory circuits.
A memory control circuit for controlling read and refresh operations is used to enable write / read normal operation for one of the first and second memory circuits and for the other memory circuit. The time allocation control for instructing the refresh operation is alternately performed, and when the memory operation is instructed by the input / output interface circuit, the write / read operation is performed for the one memory circuit and the memory circuit for the one memory circuit is performed. The write information is stored in the FIFO memory, and the F information is stored between the refresh operations of the other memory circuit.
When the write operation is performed according to the write information of the IFO memory, and the write operation is instructed by the input / output interface circuit during a certain period before transition from the refresh operation to the normal operation in each of the first and second memory circuits. , A write operation is performed on the one memory circuit, write information for the one memory circuit is stored in the cache memory corresponding to the other memory circuit for which the refresh is instructed, and the normal operation after the switching is performed. When there is a read operation for the address stored in the cache memory in, the data stored in the cache memory is output instead of the other memory circuit, and another data is written to the address stored in the cache memory. When is instructed Data is written to the other memory circuit, the write information in the cache memory is invalidated, and the memory access is not performed to the address stored in the cache memory for the other memory circuit. Sometimes, a method of controlling a semiconductor memory device is characterized in that a data write operation is performed corresponding to write information of the cache memory between refresh operations in the next refresh period of the other memory circuit.
【請求項9】 請求項8において、 上記リフレッシュ期間は、上記第1と第2のメモリ回路
における最長のアクティブ期間よりも短く設定されるも
のであることを特徴とする半導体記憶装置の制御方法。
9. The method for controlling a semiconductor memory device according to claim 8, wherein the refresh period is set shorter than a longest active period in the first and second memory circuits.
【請求項10】 請求項9において、 上記メモリ制御回路は、上記第1と第2のメモリ回路の
それぞれにおけるリフレッシュ動作から通常動作に移行
する切替時間を基準とし、上記第1と第2のメモリ回路
の最小の書き込み時間より短い一定時間前に入出力イン
ターフェイス回路により書き込み動作の開始が指示され
たときには、上記第1と第2のメモリ回路の最小の書き
込み時間に対応して上記切替時間を延長させることを特
徴とする半導体記憶装置の制御方法。
10. The first and second memories according to claim 9, wherein the memory control circuit is based on a switching time at which the refresh operation in each of the first and second memory circuits shifts to a normal operation. When the start of the write operation is instructed by the input / output interface circuit before a fixed time shorter than the minimum write time of the circuit, the switching time is extended corresponding to the minimum write time of the first and second memory circuits. A method for controlling a semiconductor memory device, comprising:
【請求項11】 請求項9において、 上記メモリ制御回路は、上記第1と第2のメモリ回路の
それぞれにおけるリフレッシュ動作から通常動作に移行
する切替時間を基準とし、上記第1と第2のメモリ回路
の最小の書き込み時間より短い一定時間前に入出力イン
ターフェイス回路によるメモリ動作の終了が指示された
ときには、上記第1と第2のメモリ回路の最小の書き込
み時間に対応して上記切替時間を短縮させることを特徴
とする半導体記憶装置の制御方法。
11. The memory control circuit according to claim 9, wherein the memory control circuit uses the switching time at which the refresh operation in each of the first and second memory circuits shifts to a normal operation as a reference. When the end of the memory operation by the input / output interface circuit is instructed before a fixed time shorter than the minimum write time of the circuit, the switching time is shortened corresponding to the minimum write time of the first and second memory circuits. A method for controlling a semiconductor memory device, comprising:
【請求項12】 請求項9において、 上記第1と第2メモリ回路のそれぞれに対応して設けら
れるキャッシュメモリに引き継ぎメモリ部を設け、 上記第1と第2メモリ回路のうちの一方のメモリ回路に
対するリフレッシュ期間において、キャッシュメモリに
書き込まれた書き込み動作が確定しないときには、次の
切替時に当該書き込み情報を他方のメモリ回路に対応し
た引き継ぎメモリ部に対して受け渡しを行うことを特徴
とする半導体記憶装置の制御方法。
12. The cache memory provided corresponding to each of the first and second memory circuits is provided with a takeover memory section, and one of the first and second memory circuits is provided. When the write operation written in the cache memory is not confirmed in the refresh period for the semiconductor memory device, the write information is transferred to the inherited memory unit corresponding to the other memory circuit at the next switching. Control method.
【請求項13】複数のダイナミック型メモリセルと、 リフレッシュ動作を制御する制御回路とを有し、 前記メモリセルのリフレッシュの周期よりtRAS期間
が長いことを特徴とする半導体記憶装置。
13. A semiconductor memory device having a plurality of dynamic memory cells and a control circuit for controlling a refresh operation, wherein a tRAS period is longer than a refresh cycle of the memory cells.
【請求項14】 請求項13において、 さらにキャッシュメモリを有し、 前記キャッシュメモリに前記複数のダイナミック型メモ
リセルにライトバックするデータを保持することを特徴
とする半導体記憶装置。
14. The semiconductor memory device according to claim 13, further comprising a cache memory, wherein the cache memory holds data to be written back to the plurality of dynamic memory cells.
【請求項15】複数のダイナミック型メモリセルを有す
る第1メモリと、 複数のダイナミック型メモリセルを有する第2メモリ
と、 制御回路とを有し、 第1状態では、前記第1メモリに対してリフレッシュ動
作を行い、前記第2メモリに対して書き込み/読み出し
動作を行い、 第2状態では、前記第2メモリに対してリフレッシュ動
作を行い、前記第1メモリに対して書き込み/読み出し
動作を行い、 前記第1状態と前記第2状態の切り替えの周期を前記制
御回路により変化させることが可能な半導体記憶装置。
15. A first memory having a plurality of dynamic type memory cells, a second memory having a plurality of dynamic type memory cells, and a control circuit, wherein: A refresh operation is performed, a write / read operation is performed on the second memory, and in a second state, a refresh operation is performed on the second memory and a write / read operation is performed on the first memory, A semiconductor memory device capable of changing a cycle of switching between the first state and the second state by the control circuit.
【請求項16】 請求項15において、 前記第1メモリと前記第2メモリは、同容量の第1と第
2の半導体チップにそれぞれ形成されていることを特徴
とする半導体記憶装置。
16. The semiconductor memory device according to claim 15, wherein the first memory and the second memory are respectively formed in first and second semiconductor chips having the same capacity.
JP2002098656A 2002-04-01 2002-04-01 Semiconductor memory device and control method thereof Expired - Fee Related JP4318163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002098656A JP4318163B2 (en) 2002-04-01 2002-04-01 Semiconductor memory device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002098656A JP4318163B2 (en) 2002-04-01 2002-04-01 Semiconductor memory device and control method thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2008140681A Division JP2008257742A (en) 2008-05-29 2008-05-29 Semiconductor memory

Publications (2)

Publication Number Publication Date
JP2003297082A true JP2003297082A (en) 2003-10-17
JP4318163B2 JP4318163B2 (en) 2009-08-19

Family

ID=29387987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002098656A Expired - Fee Related JP4318163B2 (en) 2002-04-01 2002-04-01 Semiconductor memory device and control method thereof

Country Status (1)

Country Link
JP (1) JP4318163B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145814B2 (en) 2004-04-22 2006-12-05 Hynix Semiconductor, Inc. RAS time control circuit and method for use in DRAM using external clock
US7158427B2 (en) 2004-04-19 2007-01-02 Hynix Semiconductor Inc. Semiconductor memory device
US7180807B2 (en) 2004-04-20 2007-02-20 Hynix Semiconductor Inc. Semiconductor memory device having a delay circuit
KR100940868B1 (en) 2009-05-25 2010-02-09 이성재 Device realizing read characteristic of sram from dram and method of the same
JP2012022754A (en) * 2010-07-15 2012-02-02 Nec Embedded Products Ltd Flash rom emulator and data control method
JP2015079293A (en) * 2013-10-15 2015-04-23 Necプラットフォームズ株式会社 Memory control device, memory control method, and information processing device
US9691446B2 (en) 2015-09-11 2017-06-27 Kabushiki Kaisha Toshiba Memory device

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7158427B2 (en) 2004-04-19 2007-01-02 Hynix Semiconductor Inc. Semiconductor memory device
US7180807B2 (en) 2004-04-20 2007-02-20 Hynix Semiconductor Inc. Semiconductor memory device having a delay circuit
US7145814B2 (en) 2004-04-22 2006-12-05 Hynix Semiconductor, Inc. RAS time control circuit and method for use in DRAM using external clock
KR100940868B1 (en) 2009-05-25 2010-02-09 이성재 Device realizing read characteristic of sram from dram and method of the same
WO2010137819A2 (en) 2009-05-25 2010-12-02 Lee Seong Jae Device and method for achieving sram output characteristics from drams
US8422314B2 (en) 2009-05-25 2013-04-16 Seong Jae Lee Device and method for achieving SRAM output characteristics from DRAMS
JP2012022754A (en) * 2010-07-15 2012-02-02 Nec Embedded Products Ltd Flash rom emulator and data control method
JP2015079293A (en) * 2013-10-15 2015-04-23 Necプラットフォームズ株式会社 Memory control device, memory control method, and information processing device
US9691446B2 (en) 2015-09-11 2017-06-27 Kabushiki Kaisha Toshiba Memory device

Also Published As

Publication number Publication date
JP4318163B2 (en) 2009-08-19

Similar Documents

Publication Publication Date Title
Bhati et al. DRAM refresh mechanisms, penalties, and trade-offs
KR100273725B1 (en) Auto-activate on synchronous dynamic random access memory
KR101213315B1 (en) Methods, circuits, and systems to select memory regions
US7149141B2 (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
US6151664A (en) Programmable SRAM and DRAM cache interface with preset access priorities
US5991851A (en) Enhanced signal processing random access memory device utilizing a DRAM memory array integrated with an associated SRAM cache and internal refresh control
JP2002063069A (en) Memory controller, data processing system, and semiconductor device
JPH0652633B2 (en) Memory subsystem
KR20080013992A (en) System and method for decoding commands based on command signals and operating state
KR100515072B1 (en) Semiconductor memory device for saving power consumption in refresh operation
US6192446B1 (en) Memory device with command buffer
JP2006236548A (en) Integrated circuit device
US20050232060A1 (en) Memory controller controlling cashed dram
JP2003297082A (en) Semiconductor memory device and its control method
US6208563B1 (en) Semiconductor memory device which continuously performs read/write operations with short access time
JP2003045178A (en) Semiconductor memory
JP2008257742A (en) Semiconductor memory
JP4060527B2 (en) Clock synchronous dynamic memory
JP4012393B2 (en) Storage device, internal control method and system for storage device, and control method for storage means in system
JP2007200359A (en) Storage device, address control method and system
Mitra Dynamic random access memory: A survey
JP4936489B2 (en) Semiconductor device
JPH10260893A (en) Microprocessor and data processing system
JPH10260950A (en) Microprocessor and data processing system
JADHAV et al. Design and Implementation of a DDR SDRAM Controller for Embedded System

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050314

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20050315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080319

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080402

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081121

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090520

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090520

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

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120605

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130605

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130605

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140605

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees