JP7373034B1 - pseudo-static random access memory - Google Patents

pseudo-static random access memory Download PDF

Info

Publication number
JP7373034B1
JP7373034B1 JP2022126808A JP2022126808A JP7373034B1 JP 7373034 B1 JP7373034 B1 JP 7373034B1 JP 2022126808 A JP2022126808 A JP 2022126808A JP 2022126808 A JP2022126808 A JP 2022126808A JP 7373034 B1 JP7373034 B1 JP 7373034B1
Authority
JP
Japan
Prior art keywords
refresh
transaction
signal
pseudo
random access
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.)
Active
Application number
JP2022126808A
Other languages
Japanese (ja)
Other versions
JP2024024172A (en
Inventor
仁史 池田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Winbond Electronics Corp
Original Assignee
Winbond Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Winbond Electronics Corp filed Critical Winbond Electronics Corp
Priority to JP2022126808A priority Critical patent/JP7373034B1/en
Priority to US18/179,205 priority patent/US20240055037A1/en
Application granted granted Critical
Publication of JP7373034B1 publication Critical patent/JP7373034B1/en
Publication of JP2024024172A publication Critical patent/JP2024024172A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • G11C11/40618Refresh operations over multiple banks or interleaving
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • G11C11/40611External triggering or timing of internal or partially internal refresh operations, e.g. auto-refresh or CAS-before-RAS triggered refresh
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • G11C11/40603Arbitration, priority and concurrent access to memory cells for read/write or refresh operations
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • G11C11/40615Internal triggering or timing of refresh, e.g. hidden refresh, self refresh, pseudo-SRAMs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles
    • G11C11/40622Partial refresh of memory arrays
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/4076Timing circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C2211/00Indexing scheme relating to digital stores characterized by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C2211/401Indexing scheme relating to cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C2211/406Refreshing of dynamic cells
    • G11C2211/4065Low level details of refresh operations
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C2211/00Indexing scheme relating to digital stores characterized by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C2211/401Indexing scheme relating to cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C2211/406Refreshing of dynamic cells
    • G11C2211/4066Pseudo-SRAMs

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Dram (AREA)
  • Memory System (AREA)

Abstract

【課題】トランザクション中に生成された1つ以上のリフレッシュ要求の各々に応じてリフレッシュ動作を確実に実行することの可能な擬似スタティックランダムアクセスメモリを提供する。【解決手段】擬似スタティックランダムアクセスメモリは、第1トランザクション中にメモリのリフレッシュ要求が生成された場合に、メモリのリフレッシュ動作を、第1トランザクションが終了してから第1トランザクションの後の第2トランザクションが開始するまでの間に、第1トランザクション中に生成されたリフレッシュ要求の数だけ実行するように制御する制御部10を備える。【選択図】図2A pseudo-static random access memory is provided that can reliably perform a refresh operation in response to each of one or more refresh requests generated during a transaction. In the pseudo-static random access memory, when a memory refresh request is generated during a first transaction, a memory refresh operation is performed in a second transaction after the first transaction after the first transaction is completed. The controller 10 includes a control unit 10 that controls the number of refresh requests generated during the first transaction to be executed until the first transaction starts. [Selection diagram] Figure 2

Description

本発明は、擬似スタティックランダムアクセスメモリ(pSRAM:pseudo-Static Random Access Memory)に関する。 The present invention relates to pseudo-static random access memory (pSRAM).

pSRAMは、SRAM(Static Random Access Memory)と互換性を有するインタフェースを備えた半導体記憶装置である(例えば、特許文献1)。 pSRAM is a semiconductor memory device equipped with an interface compatible with SRAM (Static Random Access Memory) (for example, Patent Document 1).

図1を参照して、従来のpSRAMにおけるリフレッシュ動作の一例を説明する。図1に示す例では、チップセレクト信号CS#がネゲート(ハイレベル)からアサート(ローレベル)に移行すると読み出し又は書き込みトランザクションが開始される。そして、メモリセルアレイに対するデータのアクセスを行うためのアクセス信号RD/WRがネゲート(ローレベル)からアサート(ハイレベル)に移行することによって、メモリセルアレイに対するデータの読み出し又は書き込みアクセスが行われる。その後、チップセレクト信号CS#がアサート(ローレベル)からネゲート(ハイレベル)に移行すると読み出し又は書き込みトランザクションが終了する。そして、アクセス信号RD/WRがアサート(ハイレベル)からネゲート(ローレベル)に移行することによって、メモリセルアレイに対するデータの読み出し又は書き込みアクセスが終了する。 An example of a refresh operation in a conventional pSRAM will be described with reference to FIG. In the example shown in FIG. 1, a read or write transaction is started when the chip select signal CS# transitions from negated (high level) to asserted (low level). When the access signal RD/WR for accessing data to the memory cell array shifts from negated (low level) to asserted (high level), data read or write access to the memory cell array is performed. Thereafter, when the chip select signal CS# transitions from asserted (low level) to negated (high level), the read or write transaction ends. Then, when the access signal RD/WR transitions from asserted (high level) to negated (low level), the data read or write access to the memory cell array ends.

また、pSRAMの内部では、リフレッシュ動作を要求するためのリフレッシュ要求信号Ref requestが所定の生成間隔tREFI毎に生成されるようになっている。ここで、pSRAMは、チップセレクト信号CS#がネゲート(ハイレベル)されている間にリフレッシュ要求信号Ref requestが生成される(ハイレベルになる)と、リフレッシュ動作を行うためのリフレッシュ信号REFが直ちにアサート(ハイレベル)されることによって、リフレッシュ動作を行うように構成されている。一方、pSRAMは、チップセレクト信号CS#がアサート(ローレベル)されている間(読み出し又は書き込みアクセス中)にリフレッシュ要求信号Ref requestが生成された(ハイレベルになる)場合には、読み出し又は書き込みアクセスが行われているため、リフレッシュ動作の実行を待機する。そして、pSRAMは、チップセレクト信号CS#がネゲート(ハイレベル)され、アクセス信号RD/WRがアサート(ハイレベル)からネゲート(ローレベル)に移行すると、リフレッシュ動作を行う。 Furthermore, inside the pSRAM, a refresh request signal Ref request for requesting a refresh operation is generated at predetermined generation intervals tREFI. Here, in the pSRAM, when the refresh request signal Ref request is generated (becomes high level) while the chip select signal CS# is negated (high level), the refresh signal REF for performing the refresh operation is immediately generated. It is configured to perform a refresh operation by being asserted (high level). On the other hand, if the refresh request signal Ref request is generated (becomes high level) while the chip select signal CS# is asserted (low level) (during read or write access), the pSRAM performs no read or write operation. Wait for the refresh operation to be performed because the access is in progress. Then, the pSRAM performs a refresh operation when the chip select signal CS# is negated (high level) and the access signal RD/WR transitions from asserted (high level) to negated (low level).

特開2020-135914号公報Japanese Patent Application Publication No. 2020-135914

このようなpSRAMでは、チップセレクト信号CS#がアサート(ローレベル)されている期間tCSLがリフレッシュ要求信号Ref requestの生成間隔tREFIよりも長い場合(即ち、tCSL>tREFI)に、リフレッシュ要求が無視されることによってリフレッシュ動作が行われなくなる虞がある。例えば、図1に示す例では、チップセレクト信号CS#がアサート(ローレベル)されている期間tCSLにおいて2つのリフレッシュ要求信号Ref requestが生成されているが、チップセレクト信号CS#がネゲート(ハイレベル)されている間にはリフレッシュ動作を1回しか実行することができず、2つ目のリフレッシュ要求が無視されることになる。これにより、トランザクション中に生成された1つ以上のリフレッシュ要求の各々に応じてリフレッシュ動作が行われないので、データを保持することが困難になる場合がある。 In such a pSRAM, if the period tCSL during which the chip select signal CS# is asserted (low level) is longer than the generation interval tREFI of the refresh request signal Ref request (i.e., tCSL>tREFI), the refresh request is ignored. There is a possibility that the refresh operation may not be performed due to this. For example, in the example shown in FIG. 1, two refresh request signals Ref request are generated during the period tCSL in which the chip select signal CS# is asserted (low level), but the chip select signal CS# is negated (high level). ), a refresh operation can only be performed once, and the second refresh request will be ignored. This may make it difficult to retain data because a refresh operation is not performed in response to each one or more refresh requests generated during a transaction.

一方、tCSL<tREFIである場合には、リフレッシュ要求が無視されるのを抑制することが可能になる。しかしながら、この場合には、チップセレクト信号CS#がアサート(ローレベル)されている期間tCSLが短くなるので、1つのトランザクションで送受信可能なデータ量が低減する。これにより、データ転送レートが低下する虞がある。 On the other hand, if tCSL<tREFI, it is possible to prevent the refresh request from being ignored. However, in this case, the period tCSL during which the chip select signal CS# is asserted (low level) becomes shorter, so the amount of data that can be transmitted and received in one transaction is reduced. This may reduce the data transfer rate.

上記課題を解決するために、本発明は、第1トランザクション中にメモリのリフレッシュ要求が生成された場合に、前記メモリのリフレッシュ動作を、前記第1トランザクションが終了してから前記第1トランザクションの後の第2トランザクションが開始するまでの間に、前記第1トランザクション中に生成されたリフレッシュ要求の数だけ実行するように制御する制御部を備える、擬似スタティックランダムアクセスメモリを提供する。 In order to solve the above problems, the present invention provides that when a memory refresh request is generated during a first transaction, the memory refresh operation is performed after the first transaction ends and after the first transaction. A pseudo-static random access memory is provided, the pseudo-static random access memory comprising a control unit configured to execute refresh requests as many times as the number of refresh requests generated during the first transaction until the second transaction starts.

かかる発明によれば、第1トランザクションが終了してから第2トランザクションが開始するまでの間に、リフレッシュ動作が、第1トランザクション中に生成されたリフレッシュ要求の数だけ実行される。これにより、例えば、チップセレクト信号がアサート(ローレベル)されている期間がリフレッシュ要求信号の生成間隔よりも長い場合であっても、第1トランザクション中に生成された1つ以上のリフレッシュ要求の各々に応じてリフレッシュ動作を確実に実行することができる。よって、データ保持特性を維持することができる。 According to this invention, between the end of the first transaction and the start of the second transaction, refresh operations are performed as many times as there are refresh requests generated during the first transaction. As a result, even if, for example, the period during which the chip select signal is asserted (low level) is longer than the refresh request signal generation interval, each of the one or more refresh requests generated during the first transaction The refresh operation can be reliably performed according to the Therefore, data retention characteristics can be maintained.

本発明の擬似スタティックランダムアクセスメモリによれば、トランザクション中に生成された1つ以上のリフレッシュ要求の各々に応じてリフレッシュ動作を確実に実行することができる。 The pseudo-static random access memory of the present invention ensures that refresh operations are performed in response to each of one or more refresh requests generated during a transaction.

従来のpSRAM内の信号の時間推移の一例を示すタイムチャートである。3 is a time chart showing an example of a time transition of a signal in a conventional pSRAM. 本発明の第1実施形態に係るpSRAMの構成例を示すブロック図である。1 is a block diagram showing a configuration example of a pSRAM according to a first embodiment of the present invention. FIG. 第1実施形態に係るpSRAM内の信号の時間推移の一例を示すタイムチャートである。5 is a time chart showing an example of a time transition of a signal in the pSRAM according to the first embodiment. 本発明の第2実施形態に係るpSRAMの構成例を示すブロック図である。FIG. 2 is a block diagram showing a configuration example of a pSRAM according to a second embodiment of the present invention. 第2実施形態に係るpSRAM内の信号の時間推移の一例を示すタイムチャートである。7 is a time chart showing an example of a time transition of a signal in a pSRAM according to a second embodiment.

(第1実施形態)
図2は、本発明の第1実施形態に係るpSRAM(擬似スタティックランダムアクセスメモリ)10の構成例を示すブロック図である。pSRAM10は、第1トランザクション中にメモリのリフレッシュ要求信号Ref_requestが生成された場合に、メモリのリフレッシュ動作を、第1トランザクションが終了してから第1トランザクションの後の第2トランザクションが開始するまでの間に、第1トランザクション中に生成されたリフレッシュ要求信号Ref_requestの数だけ実行するように構成されている。
(First embodiment)
FIG. 2 is a block diagram showing a configuration example of a pSRAM (pseudo static random access memory) 10 according to the first embodiment of the present invention. When the memory refresh request signal Ref_request is generated during the first transaction, the pSRAM 10 performs the memory refresh operation from the end of the first transaction until the start of the second transaction after the first transaction. The refresh request signal Ref_request is executed as many times as the refresh request signals Ref_request generated during the first transaction.

また、本実施形態に係るpSRAMは、クロック信号に同期して信号が入力又は出力されるクロック同期型の擬似スタティックランダムアクセスメモリであってもよい。さらに、本実施形態に係るpSRAMは、アドレス信号及びデータ信号の各々が入力されるように構成されたアドレスデータ端子を有するアドレスデータマルチプレックスインタフェース型のpSRAMであってもよい。 Furthermore, the pSRAM according to this embodiment may be a clock-synchronous pseudo-static random access memory in which a signal is input or output in synchronization with a clock signal. Further, the pSRAM according to this embodiment may be an address data multiplex interface type pSRAM having an address data terminal configured to receive each of an address signal and a data signal.

図2に示すように、pSRAM10は、オシレータ11と、制御部12と、アービタ13と、コマンド生成部14と、を備える。 As shown in FIG. 2, the pSRAM 10 includes an oscillator 11, a control section 12, an arbiter 13, and a command generation section 14.

オシレータ11は、リフレッシュ要求信号Ref_requestを所定間隔(例えば、図1に示す生成間隔tREFI)毎に生成して、制御部12に出力する。 The oscillator 11 generates a refresh request signal Ref_request at predetermined intervals (for example, the generation interval tREFI shown in FIG. 1) and outputs it to the control unit 12.

制御部12は、カウンタ12aと、カウンタ12bと、コンパレータ12cと、インバータ12dと、AND回路12eと、を備える。 The control unit 12 includes a counter 12a, a counter 12b, a comparator 12c, an inverter 12d, and an AND circuit 12e.

カウンタ12aは、リフレッシュ要求信号Ref_requestの数をカウントするように構成されている。具体的に説明すると、カウンタ12aは、リフレッシュ要求信号Ref_requestがオシレータ11から入力される毎に、入力されたリフレッシュ要求信号Ref_requestの数をカウントする。そして、カウンタ12aは、リフレッシュ要求信号Ref_requestの数を示す信号Cnt_reqをコンパレータ12cに出力する。 The counter 12a is configured to count the number of refresh request signals Ref_request. Specifically, the counter 12a counts the number of input refresh request signals Ref_request every time the refresh request signal Ref_request is input from the oscillator 11. Then, the counter 12a outputs a signal Cnt_req indicating the number of refresh request signals Ref_request to the comparator 12c.

なお、信号Cnt_reqの値は、例えば、トランザクションが開始する(チップセレクト信号CS#がネゲート(ハイレベル)からアサート(ローレベル)に移行する)毎に、初期値(例えば、0)にリセットされてもよい。 Note that the value of the signal Cnt_req is reset to the initial value (for example, 0) each time a transaction starts (the chip select signal CS# transitions from negation (high level) to assertion (low level)). Good too.

カウンタ12bは、第1トランザクションが終了してから第2トランザクションが開始するまでの間に実行されたリフレッシュ動作の数をカウントするように構成されている。具体的に説明すると、カウンタ12bは、リフレッシュ動作を実行するためのリフレッシュ信号REFがコマンド生成部14から入力される毎に、入力されたリフレッシュ信号REFの数をカウントする。そして、カウンタ12bは、リフレッシュ信号REFの数を示す信号Cnt_exeをコンパレータ12cに出力する。 The counter 12b is configured to count the number of refresh operations performed between the end of the first transaction and the start of the second transaction. Specifically, the counter 12b counts the number of input refresh signals REF each time a refresh signal REF for executing a refresh operation is input from the command generation section 14. Then, the counter 12b outputs a signal Cnt_exe indicating the number of refresh signals REF to the comparator 12c.

なお、信号Cnt_exeの値は、例えば、トランザクションが終了する(チップセレクト信号CS#がアサート(ローレベル)からネゲート(ハイレベル)に移行する)毎に、初期値(例えば、0)にリセットされてもよい。 Note that the value of the signal Cnt_exe is reset to the initial value (for example, 0) each time a transaction ends (chip select signal CS# transitions from assertion (low level) to negation (high level)). Good too.

コンパレータ12cは、カウンタ12aによってカウントされたリフレッシュ要求信号Ref_requestの数と、カウンタ12bによってカウントされたリフレッシュ信号REFの数と、を比較するように構成されている。具体的に説明すると、コンパレータ12cは、カウンタ12aから入力された信号Cnt_reqの値と、カウンタ12bから入力された信号Cnt_exeの値と、を比較する。そして、コンパレータ12cは、Cnt_req>Cnt_exeの場合に、ハイレベルの出力信号をAND回路12eに出力する。一方、コンパレータ12cは、Cnt_req≦Cnt_exeの場合に、ローレベルの出力信号をAND回路12eに出力する。 The comparator 12c is configured to compare the number of refresh request signals Ref_request counted by the counter 12a and the number of refresh signals REF counted by the counter 12b. Specifically, the comparator 12c compares the value of the signal Cnt_req input from the counter 12a and the value of the signal Cnt_exe input from the counter 12b. Then, when Cnt_req>Cnt_exe, the comparator 12c outputs a high-level output signal to the AND circuit 12e. On the other hand, the comparator 12c outputs a low-level output signal to the AND circuit 12e when Cnt_req≦Cnt_exe.

インバータ12dは、コマンド生成部14から入力されたリフレッシュ信号REFを論理反転し、論理反転した信号をAND回路12eに出力する。 The inverter 12d logically inverts the refresh signal REF input from the command generating section 14, and outputs the logically inverted signal to the AND circuit 12e.

AND回路12eの一方の入力端子には、コンパレータ12cから出力された出力信号が入力される。また、AND回路12eの他方の入力端子には、インバータ12dから出力された信号が入力される。AND回路12eは、入力された信号に基づいてAND演算を行い、演算結果となる信号Cmp_refをアービタ13に出力する。ここで、信号Cmp_refは、本発明の「リフレッシュ制御信号」の一例である。 The output signal output from the comparator 12c is input to one input terminal of the AND circuit 12e. Furthermore, the signal output from the inverter 12d is input to the other input terminal of the AND circuit 12e. The AND circuit 12e performs an AND operation based on the input signal and outputs a signal Cmp_ref as the operation result to the arbiter 13. Here, the signal Cmp_ref is an example of the "refresh control signal" of the present invention.

アービタ13は、チップセレクト信号CS#と信号Cmp_refとの間でアービトレート(調停)を行い、信号Cmp_refをコマンド生成部14に出力するタイミングを調整する。また、本実施形態において、アービタ13は、リフレッシュ制御信号(信号Cmp_ref)が、第1トランザクションが終了してから第2トランザクションが開始するまでの間に制御部12から入力される毎に、リフレッシュ制御信号(信号Cmp_ref)をコマンド生成部14に出力するように構成されている。 The arbiter 13 performs arbitration between the chip select signal CS# and the signal Cmp_ref, and adjusts the timing of outputting the signal Cmp_ref to the command generation unit 14. Further, in the present embodiment, the arbiter 13 performs refresh control every time a refresh control signal (signal Cmp_ref) is input from the control unit 12 between the end of the first transaction and the start of the second transaction. It is configured to output a signal (signal Cmp_ref) to the command generation unit 14.

具体的に説明すると、アービタ13は、チップセレクト信号CS#がネゲート(ハイレベル)されている場合(つまり、第1トランザクションが終了してから第2トランザクションが開始するまでの間)にハイレベルの信号Cmp_refが制御部12から入力されると、ハイレベルの信号Cmp_refをコマンド生成部14に出力してもよい。また、アービタ13は、チップセレクト信号CS#がアサート(ローレベル)されている間(つまり、トランザクション中)にハイレベルの信号Cmp_refが制御部12から入力された場合には、ハイレベルの信号Cmp_refをコマンド生成部14に出力しなくてもよい。 Specifically, when the chip select signal CS# is negated (high level) (that is, between the end of the first transaction and the start of the second transaction), the arbiter 13 outputs a high level signal. When the signal Cmp_ref is input from the control unit 12, a high-level signal Cmp_ref may be output to the command generation unit 14. Furthermore, if a high level signal Cmp_ref is input from the control unit 12 while the chip select signal CS# is asserted (low level) (that is, during a transaction), the arbiter 13 outputs the high level signal Cmp_ref. does not have to be output to the command generation unit 14.

コマンド生成部14は、制御部12による制御に基づいて、リフレッシュ動作を実行するためのリフレッシュ信号REFを生成する。また、コマンド生成部14は、リフレッシュ信号REFを生成する毎に、リフレッシュ信号REFをカウンタ12bに出力する。具体的に説明すると、コマンド生成部14は、チップセレクト信号CS#がネゲート(ハイレベル)されている場合であって、メモリセルアレイに対してデータのアクセスを行うためのアクセス信号RD/WRがローレベルの場合に、ハイレベルの信号Cmp_refがアービタ13から入力されると、ハイレベルのリフレッシュ信号REFを生成して、メモリセルアレイ(図示省略)と、制御部12のカウンタ12b及びインバータ12dと、に出力する。 The command generation unit 14 generates a refresh signal REF for performing a refresh operation based on the control by the control unit 12. Further, the command generation unit 14 outputs the refresh signal REF to the counter 12b every time it generates the refresh signal REF. Specifically, the command generation unit 14 operates when the chip select signal CS# is negated (high level) and the access signal RD/WR for accessing data to the memory cell array is low. In the case of a high level signal Cmp_ref is input from the arbiter 13, a high level refresh signal REF is generated and sent to the memory cell array (not shown), the counter 12b and the inverter 12d of the control unit 12. Output.

また、コマンド生成部14は、各トランザクション中(チップセレクト信号CS#がアサート(ローレベル)されている間)に外部から読み出し又は書き込みコマンドが入力されると、ハイレベルのアクセス信号RD/WRを生成して、メモリセルアレイに出力する。 Additionally, when a read or write command is input from the outside during each transaction (while the chip select signal CS# is asserted (low level)), the command generation unit 14 generates a high level access signal RD/WR. generated and output to the memory cell array.

なお、ハイレベルのリフレッシュ信号REFがメモリセルアレイに入力されるとメモリのリフレッシュ動作が実行され、ハイレベルのアクセス信号RD/WRがメモリセルアレイに入力されるとメモリセルアレイに対するデータの読み出し又は書き込み処理が行われる。 Note that when a high-level refresh signal REF is input to the memory cell array, a memory refresh operation is executed, and when a high-level access signal RD/WR is input to the memory cell array, data read or write processing to the memory cell array is executed. It will be done.

次に、本実施形態に係るpSRAMにおけるリフレッシュ動作について図3を参照して説明する。なお、ここでは、チップセレクト信号CS#がアサート(ローレベル)されている期間tCSLがリフレッシュ要求信号Ref_requestの生成間隔tREFIよりも長い場合を一例として説明する。 Next, a refresh operation in the pSRAM according to this embodiment will be explained with reference to FIG. 3. Here, an example will be described in which the period tCSL during which the chip select signal CS# is asserted (low level) is longer than the generation interval tREFI of the refresh request signal Ref_request.

先ず、チップセレクト信号CS#がネゲート(ハイレベル)からアサート(ローレベル)に移行して最初のトランザクションが開始した後に外部から読み出し又は書き込みコマンドが入力されると、コマンド生成部14は、ハイレベルのアクセス信号RD/WRを生成してメモリセルアレイに出力する。 First, when a read or write command is input from the outside after the chip select signal CS# transitions from negated (high level) to asserted (low level) and the first transaction is started, the command generation unit 14 outputs a high level signal. The access signal RD/WR is generated and output to the memory cell array.

ここで、時刻t1において、ハイレベルのリフレッシュ要求信号Ref_requestがオシレータ11によって生成されると、制御部12のカウンタ12aは、リフレッシュ要求信号Ref_requestをカウントするカウント値を0から1に増加させ、カウント値が1であることを示す信号Cnt_reqをコンパレータ12cに出力する。また、コンパレータ12cは、信号Cnt_reqの値と信号Cnt_exeの値(ここでは、0である場合を想定している)とを比較し、信号Cnt_reqの値が信号Cnt_exeの値よりも大きいことから、ハイレベルの出力信号をAND回路12eに出力する。さらに、AND回路12eは、コンパレータ12cからの出力信号とインバータ12dから出力された信号(最初のリフレッシュ信号REFがローレベルであるため、インバータ12dから出力された信号がハイレベルとなる)とのAND演算を行い、ハイレベルの信号Cmp_refをアービタ13に出力する。 Here, at time t1, when the high-level refresh request signal Ref_request is generated by the oscillator 11, the counter 12a of the control unit 12 increases the count value for counting the refresh request signal Ref_request from 0 to 1, and the count value A signal Cnt_req indicating that is 1 is output to the comparator 12c. Further, the comparator 12c compares the value of the signal Cnt_req and the value of the signal Cnt_exe (here, it is assumed that the value is 0), and since the value of the signal Cnt_req is larger than the value of the signal Cnt_exe, the value of the signal Cnt_req is higher than that of the signal Cnt_exe. The level output signal is output to the AND circuit 12e. Further, the AND circuit 12e performs an AND operation between the output signal from the comparator 12c and the signal output from the inverter 12d (since the first refresh signal REF is at a low level, the signal output from the inverter 12d is at a high level). It performs calculations and outputs a high-level signal Cmp_ref to the arbiter 13.

ここで、時刻t1ではチップセレクト信号CS#がアサート(ローレベル)されているので、アービタ13は、受信したハイレベルの信号Cmp_refをコマンド生成部14に出力しない。また、コマンド生成部14は、上述したように、ハイレベルのアクセス信号RD/WRを生成してメモリセルアレイに出力する。 Here, since the chip select signal CS# is asserted (low level) at time t1, the arbiter 13 does not output the received high level signal Cmp_ref to the command generation unit 14. Further, as described above, the command generation unit 14 generates the high-level access signal RD/WR and outputs it to the memory cell array.

次に、時刻t1から所定の間隔tREFI後の時刻t2において、ハイレベルのリフレッシュ要求信号Ref_requestがオシレータ11によって生成されると、制御部12のカウンタ12aは、カウント値を1から2に増加させ、カウント値が2であることを示す信号Cnt_reqをコンパレータ12cに出力する。また、コンパレータ12cは、信号Cnt_reqの値が信号Cnt_exeの値よりも大きいことから、ハイレベルの出力信号をAND回路12eに出力する。さらに、AND回路12eは、時刻t1の場合と同様に、ハイレベルの信号Cmp_refをアービタ13に出力する。そして、時刻t2におけるアービタ13及びコマンド生成部14の動作は、時刻t1の場合と同様である。 Next, at time t2 after a predetermined interval tREFI from time t1, when a high-level refresh request signal Ref_request is generated by the oscillator 11, the counter 12a of the control unit 12 increases the count value from 1 to 2, A signal Cnt_req indicating that the count value is 2 is output to the comparator 12c. Further, since the value of the signal Cnt_req is larger than the value of the signal Cnt_exe, the comparator 12c outputs a high-level output signal to the AND circuit 12e. Furthermore, the AND circuit 12e outputs a high-level signal Cmp_ref to the arbiter 13 as in the case of time t1. The operations of the arbiter 13 and command generation unit 14 at time t2 are the same as those at time t1.

時刻t2の後にチップセレクト信号CS#がアサート(ローレベル)からネゲート(ハイレベル)に移行すると、アービタ13は、ハイレベルの信号Cmp_refをコマンド生成部14に出力する。一方、コマンド生成部14は、時刻t3においてアクセス信号RD/WRがローレベルになると、時刻t4において、アービタ13から入力されたハイレベルの信号Cmp_refに応じてハイレベルのリフレッシュ信号REFを生成して、メモリセルアレイと、制御部12のカウンタ12b及びインバータ12dと、に出力する。 When chip select signal CS# transitions from assertion (low level) to negation (high level) after time t2, arbiter 13 outputs high level signal Cmp_ref to command generation unit 14. On the other hand, when the access signal RD/WR becomes low level at time t3, the command generation unit 14 generates a high level refresh signal REF at time t4 in response to the high level signal Cmp_ref input from the arbiter 13. , the memory cell array, and the counter 12b and inverter 12d of the control unit 12.

制御部12のカウンタ12bは、ハイレベルのリフレッシュ信号REFが入力されると、カウント値を0から1に増加させ、カウント値が1であることを示す信号Cnt_exeをコンパレータ12cに出力する。なお、時刻t4では、依然として、信号Cnt_reqの値が信号Cnt_exeの値よりも大きいことから、コンパレータ12cは、ハイレベルの出力信号をAND回路12eに出力する。なお、AND回路12eから出力される信号Cmp_refは、ハイレベルのリフレッシュ信号REFがコマンド生成部14から出力されている場合にローレベルとなるが、リフレッシュ動作が終了してリフレッシュ信号REFがローレベルになると再びハイレベルになる。このとき、アービタ13は、ハイレベルの信号Cmp_refをコマンド生成部14に出力する。 When the high-level refresh signal REF is input, the counter 12b of the control unit 12 increases the count value from 0 to 1, and outputs a signal Cnt_exe indicating that the count value is 1 to the comparator 12c. Note that at time t4, the value of the signal Cnt_req is still larger than the value of the signal Cnt_exe, so the comparator 12c outputs a high-level output signal to the AND circuit 12e. Note that the signal Cmp_ref output from the AND circuit 12e becomes a low level when a high-level refresh signal REF is output from the command generation section 14, but when the refresh operation is completed and the refresh signal REF becomes a low level. Then it becomes high level again. At this time, the arbiter 13 outputs a high-level signal Cmp_ref to the command generation unit 14.

そして、時刻t4から期間tRFC(リフレッシュ間隔)が経過した後の時刻t5において、コマンド生成部14は、アービタ13から入力されたハイレベルの信号Cmp_refに応じて再びハイレベルのリフレッシュ信号REFを生成して、メモリセルアレイと、制御部12のカウンタ12b及びインバータ12dと、に出力する。ここで、制御部12のカウンタ12bは、ハイレベルのリフレッシュ信号REFが入力されると、カウント値を1から2に増加させ、カウント値が2であることを示す信号Cnt_exeをコンパレータ12cに出力する。また、コンパレータ12cは、信号Cnt_reqの値と信号Cnt_exeの値とが等しいことから、ローレベルの出力信号をAND回路12eに出力する。この場合、信号Cmp_refがローレベルになり、その後、リフレッシュ信号REFが再びローレベルに移行すると、AND回路12eから出力された信号Cmp_refがローレベルを維持する。そして、トランザクション中に生成された2つのリフレッシュ要求信号Ref_requestに応じた2回のリフレッシュ動作を実行した後に終了する。 Then, at time t5 after a period tRFC (refresh interval) has elapsed from time t4, the command generation unit 14 generates a high-level refresh signal REF again in response to the high-level signal Cmp_ref input from the arbiter 13. The output signal is output to the memory cell array, the counter 12b and the inverter 12d of the control section 12. Here, when the high-level refresh signal REF is input, the counter 12b of the control unit 12 increases the count value from 1 to 2, and outputs a signal Cnt_exe indicating that the count value is 2 to the comparator 12c. . Further, since the value of the signal Cnt_req and the value of the signal Cnt_exe are equal, the comparator 12c outputs a low level output signal to the AND circuit 12e. In this case, when the signal Cmp_ref becomes low level and then the refresh signal REF shifts to low level again, the signal Cmp_ref output from the AND circuit 12e maintains the low level. Then, the process ends after performing two refresh operations in response to the two refresh request signals Ref_request generated during the transaction.

なお、図3に示す例では、チップセレクト信号CS#がローレベルからハイレベルに移行してから期間tCSHが経過した後に再びローレベルになり、第2のトランザクションが開始される。しかし、この例では、第2のトランザクションが開始された時点では、2回目のリフレッシュ動作が行われている最中である。従って、コマンド生成部14は、第2のトランザクションの開始に応じてアクセス信号RD/WRをアサート(ハイレベル)するのを、2回目のリフレッシュ動作が終了する(2つ目のリフレッシュ信号REFがローレベルに移行する)まで待機してもよい。 In the example shown in FIG. 3, after a period tCSH has elapsed since the chip select signal CS# transitioned from low level to high level, it becomes low level again, and the second transaction is started. However, in this example, when the second transaction is started, the second refresh operation is in progress. Therefore, the command generation unit 14 stops asserting (high level) the access signal RD/WR in response to the start of the second transaction until the second refresh operation ends (the second refresh signal REF goes low). You may wait until the next level.

上述したように、本実施形態のpSRAMによれば、例えば、チップセレクト信号CS#がアサート(ローレベル)されている期間tCSLがリフレッシュ要求信号Ref_requestの生成間隔tREFIよりも長い場合であっても、トランザクション中に生成された1つ以上のリフレッシュ要求の各々に応じてリフレッシュ動作を確実に実行することができる。また、この場合には、データ転送レートの低下を抑制することができるとともに、データ保持特性を維持することができる。 As described above, according to the pSRAM of this embodiment, for example, even if the period tCSL during which the chip select signal CS# is asserted (low level) is longer than the generation interval tREFI of the refresh request signal Ref_request, Refresh operations can be reliably performed in response to each of one or more refresh requests generated during a transaction. Furthermore, in this case, it is possible to suppress a decrease in the data transfer rate and maintain data retention characteristics.

(第2実施形態)
以下、本発明の第2実施形態について説明する。本実施形態のpSRAMは、インタリーブ方式でアクセスされる複数のメモリバンクを備える点において第1実施形態と異なっている。以下、第1実施形態と異なる構成について説明する。
(Second embodiment)
A second embodiment of the present invention will be described below. The pSRAM of this embodiment differs from the first embodiment in that it includes a plurality of memory banks that are accessed in an interleaved manner. Hereinafter, configurations different from the first embodiment will be explained.

本実施形態において、pSRAM10は、図4に示すように、インタリーブ方式でアクセスされる複数(例えば、n個(nは、2以上の整数))のメモリバンク20を備える。各メモリバンク20は、制御部12と、アービタ13と、コマンド生成部14と、を備える。 In this embodiment, the pSRAM 10 includes a plurality of (for example, n (n is an integer of 2 or more)) memory banks 20 that are accessed in an interleaved manner, as shown in FIG. Each memory bank 20 includes a control section 12, an arbiter 13, and a command generation section 14.

本実施形態において、各メモリバンク20の制御部12は、第1トランザクションにおいて複数のメモリバンク20のうち選択されたメモリバンク20がアクセスされている場合であって、第1トランザクション中にメモリのリフレッシュ要求が生成された場合に、当該選択されたメモリバンク20におけるリフレッシュ動作を制御する。具体的には、第1トランザクションが終了した後に、メモリバンク20の制御部12は、第1トランザクション中に生成されたリフレッシュ要求信号Ref_requestの数のリフレッシュ動作を実行するように制御し、選択されたメモリバンク20以外の他のメモリバンク20の制御部12は、第1トランザクションにおいて、他のメモリバンク20の制御部12におけるリフレッシュ動作を、生成されたリフレッシュ要求信号Ref_requestに応じて実行するように制御する。 In this embodiment, the control unit 12 of each memory bank 20 refreshes the memory during the first transaction when the memory bank 20 selected from among the plurality of memory banks 20 is accessed in the first transaction. When a request is generated, the refresh operation in the selected memory bank 20 is controlled. Specifically, after the first transaction is completed, the control unit 12 of the memory bank 20 controls to execute refresh operations as many as the number of refresh request signals Ref_request generated during the first transaction, and performs the selected refresh operations. In the first transaction, the control unit 12 of the other memory bank 20 other than the memory bank 20 controls the control unit 12 of the other memory bank 20 to perform a refresh operation in response to the generated refresh request signal Ref_request. do.

例えば、第1トランザクションにおいて、複数のメモリバンク20のうちi番目(0≦i≦n-1)のメモリバンク20がアクセスされている場合であって、第1トランザクション中にメモリのリフレッシュ要求が生成された場合には、i番目のメモリバンク20では、第1トランザクションが終了した後に、第1トランザクション中に生成されたリフレッシュ要求信号Ref_requestの数のリフレッシュ動作が実行される。一方、複数のメモリバンク20のうちi番目以外のメモリバンク20におけるリフレッシュ動作は、生成されたリフレッシュ要求信号Ref_requestに応じて第1トランザクション中に実行される。 For example, in the first transaction, the i-th (0≦i≦n-1) memory bank 20 among the plurality of memory banks 20 is accessed, and a memory refresh request is generated during the first transaction. If so, in the i-th memory bank 20, after the first transaction ends, refresh operations are performed as many times as the number of refresh request signals Ref_request generated during the first transaction. On the other hand, refresh operations in memory banks 20 other than the i-th memory bank 20 among the plurality of memory banks 20 are performed during the first transaction in response to the generated refresh request signal Ref_request.

本実施形態は、複数のメモリバンク20をインターリーブパターンでアクセスすることに留意されたい。したがって、一例では、第1トランザクションが終了した後にi番目のメモリバンク20に対してリフレッシュ動作を実行する際に、他のメモリバンク20へのアクセスを同時に実行することができ、これにより、pSRAMの処理性能を向上させることができる。しかし、別の例では、本発明は、第1実施形態で示したように、第1トランザクションの終了から第2トランザクションの開始までの間に、i番目のメモリバンク20に対するリフレッシュ動作のみを実行し、i番目のメモリバンク20に対するリフレッシュ動作が終了した後に第2トランザクションを開始することが可能である。 Note that this embodiment accesses multiple memory banks 20 in an interleaved pattern. Therefore, in one example, when performing a refresh operation on the i-th memory bank 20 after the first transaction is completed, accesses to other memory banks 20 can be performed simultaneously, thereby allowing Processing performance can be improved. However, in another example, the present invention performs only the refresh operation for the i-th memory bank 20 between the end of the first transaction and the start of the second transaction, as shown in the first embodiment. , it is possible to start the second transaction after the refresh operation for the i-th memory bank 20 is completed.

本実施形態において、各メモリバンク20のアービタ13は、チップセレクト信号CS#及び信号Cmp_refに加えて、バンクアドレス信号Bank addressが入力される。この場合、アービタ13は、入力されたバンクアドレス信号Bank addressが、自身が設けられているメモリバンクを示している場合に、第1実施形態と同様に動作してもよい。なお、バンクアドレス信号Bank addressは、例えば、pSRAM10内に設けられたアドレスデコーダ回路(図示省略)等によって生成されてもよい。 In this embodiment, the arbiter 13 of each memory bank 20 receives a bank address signal Bank address in addition to the chip select signal CS# and the signal Cmp_ref. In this case, the arbiter 13 may operate in the same manner as in the first embodiment when the input bank address signal Bank address indicates the memory bank in which the arbiter 13 is provided. Note that the bank address signal Bank address may be generated by, for example, an address decoder circuit (not shown) provided in the pSRAM 10.

また、本実施形態において、各メモリバンク20のコマンド生成部14は、チップセレクト信号CS#及び信号Cmp_refに加えて、バンクアドレス信号Bank addressが入力される。この場合、コマンド生成部14は、入力されたバンクアドレス信号Bank addressが、自身が設けられているメモリバンクを示している場合に、第1実施形態と同様に動作してもよい。 Further, in this embodiment, the command generation unit 14 of each memory bank 20 receives a bank address signal Bank address in addition to the chip select signal CS# and the signal Cmp_ref. In this case, the command generation unit 14 may operate in the same manner as in the first embodiment when the input bank address signal Bank address indicates the memory bank in which the command generation unit 14 is provided.

本実施形態に係るpSRAMの動作について図5を参照して説明する。なお、ここでは、第1トランザクションにおいて0番目(i=0)のメモリバンク20がアクセスされ、第2トランザクションにおいて1番目(i=1)のメモリバンク20がアクセスされる場合を一例として説明する。 The operation of the pSRAM according to this embodiment will be explained with reference to FIG. Here, a case will be described as an example in which the 0th (i=0) memory bank 20 is accessed in the first transaction and the first (i=1) memory bank 20 is accessed in the second transaction.

ここで、第1トランザクションにおいて0番目(i=0)のメモリバンク20がアクセスされている場合の0番目のメモリバンク20の制御部12、アービタ13及びコマンド生成部14の時刻t11、t12、t13、t14、t15の各々における動作は、図2に示す時刻t1、t2、t3、t4、t5の各々における制御部12、アービタ13及びコマンド生成部14の動作と同様である。すなわち、図5に示す0番目のメモリバンク20のアクセス信号RD/WR_0、リフレッシュ信号REF_0、信号Cnt_req_0、信号Cnt_exe_0、信号Cmp_ref_0の各々は、図2に示すアクセス信号RD/WR、リフレッシュ信号REF、信号Cnt_req、信号Cnt_exe、信号Cmp_refの各々と同様である。 Here, times t11, t12, t13 of the control unit 12, arbiter 13, and command generation unit 14 of the 0th memory bank 20 when the 0th (i=0) memory bank 20 is accessed in the first transaction. , t14, and t15 are similar to the operations of the control unit 12, arbiter 13, and command generation unit 14 at times t1, t2, t3, t4, and t5 shown in FIG. That is, each of the access signal RD/WR_0, refresh signal REF_0, signal Cnt_req_0, signal Cnt_exe_0, and signal Cmp_ref_0 of the 0th memory bank 20 shown in FIG. 5 corresponds to the access signal RD/WR, refresh signal REF, and signal shown in FIG. This is similar to Cnt_req, signal Cnt_exe, and signal Cmp_ref.

これにより、第1トランザクション中にメモリのリフレッシュ要求が生成された場合には、0番目のメモリバンク20におけるリフレッシュ動作が、第1トランザクションが終了してから第2トランザクションが開始するまでの間に、第1トランザクション中に生成されたリフレッシュ要求信号Ref_requestの数(図の例では、2回)だけ実行される。 As a result, if a memory refresh request is generated during the first transaction, the refresh operation in the 0th memory bank 20 will be performed between the end of the first transaction and the start of the second transaction. The refresh request signal Ref_request generated during the first transaction is executed the same number of times (in the illustrated example, twice).

次に、第1トランザクション中の1番目(i=1)のメモリバンク20におけるリフレッシュ動作について説明する。先ず、チップセレクト信号CS#がネゲート(ハイレベル)からアサート(ローレベル)に移行して第1トランザクションが開始した場合、1番目のメモリバンク20のコマンド生成部14は、1番目のメモリバンク20がアクセス対象ではないため、ローレベルのアクセス信号RD/WRを生成してメモリセルアレイに出力する。 Next, a refresh operation in the first (i=1) memory bank 20 during the first transaction will be described. First, when the chip select signal CS# shifts from negated (high level) to asserted (low level) and a first transaction starts, the command generation unit 14 of the first memory bank 20 Since it is not an access target, a low-level access signal RD/WR is generated and output to the memory cell array.

時刻t11において、ハイレベルのリフレッシュ要求信号Ref_requestがオシレータ11によって生成されると、1番目のメモリバンク20のカウンタ12aは、カウント値を0から1に増加させ、カウント値が1であることを示す信号Cnt_req_1をコンパレータ12cに出力する。また、1番目のメモリバンク20のコンパレータ12cは、信号Cnt_req_1の値と信号Cnt_exe_1の値(ここでは、0である場合を想定している)とを比較し、信号Cnt_req_1の値が信号Cnt_exe_1の値よりも大きいことから、ハイレベルの出力信号を1番目のメモリバンク20のAND回路12eに出力する。さらに、1番目のメモリバンク20のAND回路12eは、コンパレータ12cからの出力信号とインバータ12dから出力された信号(リフレッシュ信号REF_1がローレベルであるため、ハイレベルとなる)とのAND演算を行い、ハイレベルの信号Cmp_ref_1を1番目のメモリバンク20のアービタ13に出力する。 At time t11, when the high-level refresh request signal Ref_request is generated by the oscillator 11, the counter 12a of the first memory bank 20 increases the count value from 0 to 1, indicating that the count value is 1. The signal Cnt_req_1 is output to the comparator 12c. Further, the comparator 12c of the first memory bank 20 compares the value of the signal Cnt_req_1 and the value of the signal Cnt_exe_1 (here, it is assumed that the value is 0), and the value of the signal Cnt_req_1 is determined to be the value of the signal Cnt_exe_1. , a high-level output signal is output to the AND circuit 12e of the first memory bank 20. Furthermore, the AND circuit 12e of the first memory bank 20 performs an AND operation between the output signal from the comparator 12c and the signal output from the inverter 12d (which becomes high level because the refresh signal REF_1 is low level). , outputs a high level signal Cmp_ref_1 to the arbiter 13 of the first memory bank 20.

時刻t11では、1番目のメモリバンク20がアクセス対象ではないので、アービタ13は、ハイレベルの信号Cmp_ref_1をコマンド生成部14に出力する。また、1番目のメモリバンク20のコマンド生成部14は、アービタ13から入力されたハイレベルの信号Cmp_ref_1に応じてハイレベルのリフレッシュ信号REF_1を生成して、メモリセルアレイと、1番目のメモリバンク20のカウンタ12b及びインバータ12dと、に出力する。これにより、第1トランザクション中に1番目のメモリバンク20において1回目のリフレッシュ動作が行われる。 At time t11, the first memory bank 20 is not the access target, so the arbiter 13 outputs a high-level signal Cmp_ref_1 to the command generation unit 14. Further, the command generation unit 14 of the first memory bank 20 generates a high-level refresh signal REF_1 in response to the high-level signal Cmp_ref_1 input from the arbiter 13, and generates a high-level refresh signal REF_1 to connect the memory cell array and the first memory bank 20. The output signal is output to the counter 12b and the inverter 12d. As a result, the first refresh operation is performed in the first memory bank 20 during the first transaction.

1番目のメモリバンク20のカウンタ12bは、ハイレベルのリフレッシュ信号REF_1が入力されると、カウント値を0から1に増加させ、カウント値が1であることを示す信号Cnt_exe_1をコンパレータ12cに出力する。この場合、信号Cnt_req_1の値が信号Cnt_exe_1の値と等しくなることから、1番目のメモリバンク20のコンパレータ12cは、ローレベルの出力信号をAND回路12eに出力する。これにより、1番目のメモリバンク20のAND回路12eから出力される信号Cmp_ref_1は、ローレベルとなる。 When the high-level refresh signal REF_1 is input, the counter 12b of the first memory bank 20 increases the count value from 0 to 1, and outputs a signal Cnt_exe_1 indicating that the count value is 1 to the comparator 12c. . In this case, since the value of the signal Cnt_req_1 is equal to the value of the signal Cnt_exe_1, the comparator 12c of the first memory bank 20 outputs a low-level output signal to the AND circuit 12e. As a result, the signal Cmp_ref_1 output from the AND circuit 12e of the first memory bank 20 becomes low level.

次に、時刻t12において、ハイレベルのリフレッシュ要求信号Ref_requestがオシレータ11によって生成されると、1番目のメモリバンク20の制御部12、アービタ13及びコマンド生成部14は、時刻t11における動作と同様に動作する。これにより、第1トランザクション中に1番目のメモリバンク20において2回目のリフレッシュ動作が行われる。 Next, at time t12, when the high-level refresh request signal Ref_request is generated by the oscillator 11, the control section 12, arbiter 13, and command generation section 14 of the first memory bank 20 operate in the same manner as at time t11. Operate. As a result, a second refresh operation is performed in the first memory bank 20 during the first transaction.

なお、複数のメモリバンク20のうち0番目のメモリバンク20以外の全てのメモリバンク20は、1番目のメモリバンク20と同様にリフレッシュ動作を行うことが可能である。 Note that all the memory banks 20 other than the 0th memory bank 20 among the plurality of memory banks 20 can perform a refresh operation in the same way as the 1st memory bank 20.

このようにして、第1トランザクション中にメモリのリフレッシュ要求が生成された場合には、複数のメモリバンク20のうち0番目以外のメモリバンク20におけるリフレッシュ動作は、生成されたリフレッシュ要求信号Ref_requestに応じて第1トランザクション中に実行される。 In this way, when a memory refresh request is generated during the first transaction, refresh operations in memory banks 20 other than the 0th among the plurality of memory banks 20 are performed in accordance with the generated refresh request signal Ref_request. is executed during the first transaction.

上述したように、本実施形態のpSRAMによれば、第1トランザクションにおいてアクセス対象となる選択されたメモリバンク20(0番目のメモリバンク20)については、第1トランザクションが終了してから第2トランザクションが開始するまでの間に、第1トランザクション中に生成されたリフレッシュ要求の数だけリフレッシュ動作を実行することが可能になる。一方、第1トランザクションにおいて選択されなかったメモリバンク20(1番目のメモリバンク20)については、第1トランザクション中にリフレッシュ要求が生成されると直ちにリフレッシュ動作を実行することが可能になる。これにより、複数のメモリバンク20の各々におけるリフレッシュ動作を、トランザクションにおける選択されたメモリバンク20となっているか否かに応じて適切に実行することができる。また、この場合には、(0番目のメモリバンク20に対する)第1トランザクションが終了してから(1番目のメモリバンク20に対する)第2トランザクションが開始するまでの期間tCSHを短くすることが可能になるので、pSRAMの処理性能を向上させることが可能になる。 As described above, according to the pSRAM of this embodiment, the selected memory bank 20 (0th memory bank 20) to be accessed in the first transaction is accessed in the second transaction after the first transaction is completed. , it is possible to perform refresh operations equal to the number of refresh requests generated during the first transaction. On the other hand, for the memory bank 20 that was not selected in the first transaction (first memory bank 20), it becomes possible to perform a refresh operation immediately when a refresh request is generated during the first transaction. Thereby, the refresh operation in each of the plurality of memory banks 20 can be appropriately executed depending on whether or not the memory bank 20 is selected in a transaction. In addition, in this case, it is possible to shorten the period tCSH from the end of the first transaction (to the 0th memory bank 20) until the start of the second transaction (to the 1st memory bank 20). Therefore, it becomes possible to improve the processing performance of pSRAM.

以上説明した各実施形態は、本発明の理解を容易にするために記載されたものであって、本発明を限定するために記載されたものではない。したがって、上記各実施形態に開示された各要素は、本発明の技術的範囲に属する全ての設計変更や均等物をも含む趣旨である。 The embodiments described above are described to facilitate understanding of the present invention, and are not described to limit the present invention. Therefore, each element disclosed in each of the above embodiments is intended to include all design changes and equivalents that fall within the technical scope of the present invention.

例えば、上述した各実施形態では、図2及び図4に示すように、制御部12が、カウンタ12aと、カウンタ12bと、コンパレータ12cと、インバータ12dと、AND回路12eと、を備える場合を一例として説明したが、制御部12の構成は適宜変更されてもよいし、他の様々な構成が採用されてもよい。 For example, in each of the embodiments described above, as shown in FIGS. 2 and 4, an example is given in which the control unit 12 includes a counter 12a, a counter 12b, a comparator 12c, an inverter 12d, and an AND circuit 12e. However, the configuration of the control unit 12 may be changed as appropriate, and various other configurations may be adopted.

また、上述した第2実施形態では、制御部12が複数のメモリバンク20の各々に設けられている場合を一例として説明したが、本発明はこの場合に限定されない。例えば、pSRAM10に設けられた1つ制御部12が、各メモリバンク20におけるリフレッシュ動作を制御してもよい。 Further, in the second embodiment described above, the case where the control unit 12 is provided in each of the plurality of memory banks 20 has been described as an example, but the present invention is not limited to this case. For example, one control unit 12 provided in the pSRAM 10 may control the refresh operation in each memory bank 20.

さらに、上述した第2実施形態では、制御部12、アービタ13及びコマンド生成部14が複数のメモリバンク20の各々に設けられている場合を一例として説明したが、本発明はこの場合に限定されない。例えば、制御部12、アービタ13及びコマンド生成部14が1つずつ設けられており、制御部12、アービタ13及びコマンド生成部14を用いて、各メモリバンク20におけるリフレッシュ動作を制御してもよい。 Further, in the second embodiment described above, the case where the control unit 12, the arbiter 13, and the command generation unit 14 are provided in each of the plurality of memory banks 20 has been described as an example, but the present invention is not limited to this case. . For example, one control unit 12, one arbiter 13, and one command generation unit 14 may be provided, and the refresh operation in each memory bank 20 may be controlled using the control unit 12, arbiter 13, and command generation unit 14. .

10…擬似スタティックランダムアクセスメモリ(pSRAM)
11…オシレータ
12…制御部
12a…カウンタ
12b…カウンタ
12c…コンパレータ
13…アービタ
14…コマンド生成部
20…メモリバンク
10...Pseudo static random access memory (pSRAM)
11...Oscillator 12...Control unit 12a...Counter 12b...Counter 12c...Comparator 13...Arbiter 14...Command generation unit 20...Memory bank

Claims (10)

第1トランザクション中にメモリのリフレッシュ要求が生成された場合に、前記メモリのリフレッシュ動作を、前記第1トランザクションが終了してから前記第1トランザクションの後の第2トランザクションが開始するまでの間に、前記第1トランザクション中に生成されたリフレッシュ要求の数だけ実行するように制御する制御部を備える、
擬似スタティックランダムアクセスメモリ。
When a memory refresh request is generated during a first transaction, the memory refresh operation is performed between the end of the first transaction and the start of a second transaction after the first transaction; comprising a control unit configured to execute refresh requests equal to the number of refresh requests generated during the first transaction;
Pseudo-static random access memory.
前記制御部は、
前記第1トランザクション中に生成されたリフレッシュ要求の数をカウントする第1カウンタと、
前記第1トランザクションが終了してから前記第2トランザクションが開始するまでの間に実行されたリフレッシュ動作の数をカウントする第2カウンタと、を備え、
前記第2カウンタによってカウントされたリフレッシュ動作の数が、前記第1カウンタによってカウントされたリフレッシュ要求の数に達するまで、リフレッシュ動作を実行するように制御する、
請求項1に記載の擬似スタティックランダムアクセスメモリ。
The control unit includes:
a first counter that counts the number of refresh requests generated during the first transaction;
a second counter that counts the number of refresh operations executed between the end of the first transaction and the start of the second transaction;
controlling to perform refresh operations until the number of refresh operations counted by the second counter reaches the number of refresh requests counted by the first counter;
A pseudo-static random access memory according to claim 1.
前記制御部は、
前記第1カウンタによってカウントされたリフレッシュ要求の数と、前記第2カウンタによってカウントされたリフレッシュ動作の数と、を比較するコンパレータを備える、
請求項2に記載の擬似スタティックランダムアクセスメモリ。
The control unit includes:
comprising a comparator that compares the number of refresh requests counted by the first counter and the number of refresh operations counted by the second counter;
The pseudo-static random access memory according to claim 2.
前記制御部による制御に基づいて、リフレッシュ動作を実行するためのリフレッシュコマンドを生成するコマンド生成部を備え、
前記コマンド生成部は、前記リフレッシュコマンドを生成する毎に、前記リフレッシュコマンドを前記第2カウンタに出力する、
請求項2に記載の擬似スタティックランダムアクセスメモリ。
a command generation unit that generates a refresh command for executing a refresh operation based on control by the control unit,
The command generation unit outputs the refresh command to the second counter every time the refresh command is generated.
The pseudo-static random access memory according to claim 2.
前記コマンド生成部は、前記第1トランザクション中に、メモリセルアレイに対してデータのアクセスを行うためのアクセスコマンドを生成する、
請求項4に記載の擬似スタティックランダムアクセスメモリ。
The command generation unit generates an access command for accessing data to the memory cell array during the first transaction.
The pseudo-static random access memory according to claim 4.
リフレッシュ制御信号が、前記第1トランザクションが終了してから前記第2トランザクションが開始するまでの間に前記制御部から入力される毎に、前記リフレッシュ制御信号を前記コマンド生成部に出力するアービタを備え、
前記コマンド生成部は、前記リフレッシュ制御信号が入力される毎に前記リフレッシュコマンドを生成する、
請求項4に記載の擬似スタティックランダムアクセスメモリ。
an arbiter that outputs the refresh control signal to the command generation unit each time the refresh control signal is input from the control unit between the end of the first transaction and the start of the second transaction. ,
The command generation unit generates the refresh command every time the refresh control signal is input.
The pseudo-static random access memory according to claim 4.
インタリーブ方式でアクセスされる複数のメモリバンクを備え、
前記制御部は、
前記第1トランザクションにおいて前記複数のメモリバンクのうち選択されたメモリバンクがアクセスされている場合であって、前記第1トランザクション中にメモリのリフレッシュ要求が生成された場合に、
前記選択されたメモリバンクにおけるリフレッシュ動作を、前記第1トランザクションが終了してから前記第2トランザクションが開始するまでの間に、前記第1トランザクション中に生成されたリフレッシュ要求の数だけ実行するように制御し、
前記複数のメモリバンクのうち前記選択されたメモリバンク以外の他のメモリバンクにおけるリフレッシュ動作を、生成されたリフレッシュ要求に応じて前記第1トランザクション中に実行するように制御する、
請求項1に記載の擬似スタティックランダムアクセスメモリ。
With multiple memory banks accessed in an interleaved manner,
The control unit includes:
When a memory bank selected from among the plurality of memory banks is accessed in the first transaction, and a memory refresh request is generated during the first transaction,
A refresh operation in the selected memory bank is performed for the number of refresh requests generated during the first transaction between the end of the first transaction and the start of the second transaction. control,
controlling a refresh operation in a memory bank other than the selected memory bank among the plurality of memory banks to be executed during the first transaction in response to the generated refresh request;
A pseudo-static random access memory according to claim 1.
前記複数のメモリバンクの各々は、前記制御部を備える、
請求項7に記載の擬似スタティックランダムアクセスメモリ。
Each of the plurality of memory banks includes the control section,
The pseudo-static random access memory according to claim 7.
前記擬似スタティックランダムアクセスメモリは、クロック信号に同期して信号が入力又は出力されるクロック同期型の擬似スタティックランダムアクセスメモリである、
請求項1~8の何れかに記載の擬似スタティックランダムアクセスメモリ。
The pseudo-static random access memory is a clock-synchronous pseudo-static random access memory in which a signal is input or output in synchronization with a clock signal.
A pseudo-static random access memory according to any one of claims 1 to 8.
前記擬似スタティックランダムアクセスメモリは、アドレスデータマルチプレックスインタフェース型の擬似スタティックランダムアクセスメモリである、
請求項1~8の何れかに記載の擬似スタティックランダムアクセスメモリ。
The pseudo-static random access memory is an address data multiplex interface type pseudo-static random access memory.
A pseudo-static random access memory according to any one of claims 1 to 8.
JP2022126808A 2022-08-09 2022-08-09 pseudo-static random access memory Active JP7373034B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022126808A JP7373034B1 (en) 2022-08-09 2022-08-09 pseudo-static random access memory
US18/179,205 US20240055037A1 (en) 2022-08-09 2023-03-06 Pseudo-static random access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022126808A JP7373034B1 (en) 2022-08-09 2022-08-09 pseudo-static random access memory

Publications (2)

Publication Number Publication Date
JP7373034B1 true JP7373034B1 (en) 2023-11-01
JP2024024172A JP2024024172A (en) 2024-02-22

Family

ID=88509989

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022126808A Active JP7373034B1 (en) 2022-08-09 2022-08-09 pseudo-static random access memory

Country Status (2)

Country Link
US (1) US20240055037A1 (en)
JP (1) JP7373034B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020194613A (en) 2019-05-30 2020-12-03 華邦電子股▲ふん▼有限公司Winbond Electronics Corp. Pseudo-static random access memory and data writing method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04143993A (en) * 1990-10-03 1992-05-18 Toshiba Corp Dram controller
JPH11167519A (en) * 1997-12-04 1999-06-22 Nec Kofu Ltd Memory refresh control circuit, memory, memory module, and digital device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020194613A (en) 2019-05-30 2020-12-03 華邦電子股▲ふん▼有限公司Winbond Electronics Corp. Pseudo-static random access memory and data writing method thereof

Also Published As

Publication number Publication date
US20240055037A1 (en) 2024-02-15
JP2024024172A (en) 2024-02-22

Similar Documents

Publication Publication Date Title
JP5228472B2 (en) Semiconductor memory and system
JP4641094B2 (en) Semiconductor memory
JP5098391B2 (en) Semiconductor memory, system, and operation method of semiconductor memory
EP1970912A1 (en) Semiconductor memory, memory controller, system, and operating method of semiconductor memory
CN110111825B (en) Pseudo static random access memory and control method thereof
JP4041358B2 (en) Semiconductor memory
KR0142795B1 (en) Dram refresh circuit
JP2000322886A (en) Semiconductor storage device
US5253214A (en) High-performance memory controller with application-programmable optimization
JP2011081553A (en) Information processing system and control method thereof
JP2006059489A (en) Semiconductor storage device, test circuit, and method
JP7373034B1 (en) pseudo-static random access memory
JP3705276B2 (en) Refresh control and internal voltage generation in semiconductor memory devices
JP4149729B2 (en) Semiconductor memory device
JP4188640B2 (en) Semiconductor memory device, semiconductor memory device control method, and semiconductor memory device test method
KR20240037100A (en) Pseudo-static random access memory
TW202407702A (en) Pseudo-static random access memory
CN117894353A (en) Virtual static random access memory
TWI740581B (en) Pseudo static memory device
KR100826549B1 (en) Semiconductor memory
JP7406104B2 (en) Memory control circuit and memory device
JP2023068341A (en) Memory controller, control method for memory controller, and program
JP2009032170A (en) Memory controller
CN114333942A (en) Virtual static random access memory device
JP5429335B2 (en) Semiconductor memory and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230725

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: 20231017

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231020

R150 Certificate of patent or registration of utility model

Ref document number: 7373034

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150