JP2009181473A - Semiconductor memory device - Google Patents

Semiconductor memory device Download PDF

Info

Publication number
JP2009181473A
JP2009181473A JP2008021711A JP2008021711A JP2009181473A JP 2009181473 A JP2009181473 A JP 2009181473A JP 2008021711 A JP2008021711 A JP 2008021711A JP 2008021711 A JP2008021711 A JP 2008021711A JP 2009181473 A JP2009181473 A JP 2009181473A
Authority
JP
Japan
Prior art keywords
data
read
buffer
converter
semiconductor memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008021711A
Other languages
Japanese (ja)
Inventor
Yasutsugu Ban
耕紹 伴
Kotaro Kashiwa
浩太郎 柏
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2008021711A priority Critical patent/JP2009181473A/en
Publication of JP2009181473A publication Critical patent/JP2009181473A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor memory device which can be used as various type of memories and is capable of corresponding to the input of data having a data width of not more than the data width of the device, and to provide its operational method. <P>SOLUTION: The semiconductor memory device includes: a memory array part 3 with the memory array accessed by the predetermined data bus width formed; an interface part 2 for interfacing between an external device and the memory array part 3; and a converting part 31 having a converting function of the data and a control signal between the interface part and the memory array, and having the converting function corresponding to the specification of the memory array. The interface part 2 includes a plurality of interface modules respectively corresponding to a plurality of memory types, and selectively applied to the interface processing between the external device and the memory array 3, and the data bus width of the interface part is set to the data bus width wider than that set corresponding to the predetermined memory type. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、半導体メモリ装置に関する。   The present invention relates to a semiconductor memory device.

各種電子機器でRAMチップとして利用される半導体メモリ装置としては、現在、回路構成、動作機能などが異なるものとして多様なメモリタイプが知られている。   As a semiconductor memory device used as a RAM chip in various electronic devices, various memory types are currently known with different circuit configurations and operation functions.

回路構成的および動作的には大きく分けてDRAM(Dynamic Random Access Memory)、SRAM(Static Random Access Memory)が知られている。   In terms of circuit configuration and operation, DRAM (Dynamic Random Access Memory) and SRAM (Static Random Access Memory) are known.

また、DRAMの一種であり、外部から供給されるクロックに同期してデータを出力するSDRAM(Synchronous Dynamic Random Access Memory)としては、SDR−SDRAM(Single Data Rate SDRAM)、DDR−SDRAM(Double Data Rate SDRAM)、DDR2−SDRAM、DDR3−SDRAM・・・DDR(n)−SDRAMなどが知られている。   In addition, SDRAM (Synchronous Dynamic Random Access Memory), which is a kind of DRAM and outputs data in synchronization with a clock supplied from the outside, includes SDR-SDRAM (Single Data Rate SDRAM), DDR-SDRAM (Double Data Rate). SDRAM), DDR2-SDRAM, DDR3-SDRAM... DDR (n) -SDRAM and the like are known.

また構造的にみれば複数のアクセスポートを備えるDPRAM(Dual Port RAM)も存在し、さらに機能的にみればアドレス指定を必要としないFIFO(First in First out)タイプのRAMも存在する。   Further, there is a DPRAM (Dual Port RAM) having a plurality of access ports from a structural point of view, and a FIFO (First in First Out) type RAM that does not require addressing from a functional point of view.

これら各種のメモリタイプは、電子機器内での必要性に応じて使い分けられる。   These various memory types are selectively used according to the necessity in the electronic device.

なお、以下の説明においては、DR−SDRAMを「SDR」、DDR−SDRAMを「DDR」、DDR2−SDRAMを「DDR2」、DDR3−SDRAM・・・DDR(n)−SDRAMを「DDR3」・・・「DDR(n)」、FIFOタイプを「FIFO」と呼ぶこととする。   In the following description, DR-SDRAM is "SDR", DDR-SDRAM is "DDR", DDR2-SDRAM is "DDR2", DDR3-SDRAM ... DDR (n) -SDRAM is "DDR3" -"DDR (n)" and the FIFO type will be called "FIFO".

特開2006−65533号公報JP 2006-65533 A 特開2004−318500号公報JP 2004-318500 A

各種電子機器では、その設計上、必要とされる機能、性能、あるいはコスト等を参酌して、搭載する半導体メモリ装置(半導体メモリICチップ)のメモリタイプを決定する。
そして、あるメモリタイプの半導体メモリ装置を搭載する場合、そのメモリチップに対して情報の書込(ライト)/読出(リード)を行うメモリコントローラ(メモリ制御装置)は、当然ながら、メモリタイプに応じたメモリアクセス動作を行うものとして設計あるいは選定される。
In various electronic devices, a memory type of a semiconductor memory device (semiconductor memory IC chip) to be mounted is determined in consideration of a required function, performance, cost, or the like.
When a semiconductor memory device of a certain memory type is mounted, the memory controller (memory control device) that writes (reads) / reads (reads) information on the memory chip naturally depends on the memory type. Designed or selected to perform a memory access operation.

ところが各種事情により、次のような問題が生ずることが多い。
各種の半導体メモリ装置は、全てが常に安定供給されるとは限らない。特に近年では技術革新や市場の要求などに応じて、半導体メモリ装置の多様化が急速に広がり、しかも新たなタイプの開発が積極的に行われている。逆に、需要の低下したタイプの半導体メモリ装置は、メモリメーカにおいて製造中止とされることも頻繁にある。
あるタイプの半導体メモリ装置を電子機器に組み込んで製品化する機器メーカにとっては、採用しているメモリタイプの半導体メモリ装置の製造中止は、大きな問題となる。
However, the following problems often occur due to various circumstances.
Various semiconductor memory devices are not always stably supplied. Particularly in recent years, in accordance with technological innovations and market demands, the diversification of semiconductor memory devices has rapidly expanded, and new types of development have been actively conducted. Conversely, semiconductor memory devices of the type whose demand has declined are frequently discontinued by memory manufacturers.
For an equipment manufacturer that incorporates a certain type of semiconductor memory device into an electronic device to produce a product, discontinuing the manufacture of the memory type semiconductor memory device employed is a major problem.

たとえば機器メーカがSDRを採用してある機器を製造しているとする。
仮に、SDRの供給が不安定になったとすると、機器メーカはSDRに代わる半導体メモリ装置を当該機器に搭載することを検討する必要がある。
そこで、たとえばSDRに代えてDDRを搭載することとする。するとこの場合、単に半導体メモリ装置としてのチップをSDRからDDRに変更するだけではなく、その半導体メモリ装置にアクセスを行うメモリコントローラの仕様変更が必要になる。
場合によっては、メモリコントローラや周辺回路を再設計しなければならないなど、製造上、効率やコストなどの点で多大な負担が生ずることもある。
For example, assume that a device manufacturer manufactures a device that employs SDR.
If the supply of SDR becomes unstable, a device manufacturer needs to consider installing a semiconductor memory device instead of SDR in the device.
Therefore, for example, DDR is installed instead of SDR. In this case, it is necessary not only to change the chip as the semiconductor memory device from SDR to DDR but also to change the specifications of the memory controller that accesses the semiconductor memory device.
In some cases, the memory controller and peripheral circuits have to be redesigned, which may cause a great burden in terms of manufacturing efficiency and cost.

また、新たな電子機器の設計を行う際にも、将来的な半導体メモリ装置の供給状況を見越す必要がある。
しかし、そのために必要以上に処理能力の高い半導体メモリ装置の採用を余儀なくされたり、あるいはメモリコントローラの仕様変更等を予め想定して回路設計を行わなければならないなどから、適切かつ効率的な設計のための自由度が阻害されることもある。
Also, when designing new electronic devices, it is necessary to anticipate the future supply status of semiconductor memory devices.
However, it is necessary to adopt a semiconductor memory device with a higher processing capacity than necessary, or it is necessary to design the circuit in advance assuming a change in the specifications of the memory controller. May be hindered.

また、半導体メモリ装置に各種メモリタイプに対応する複数のメモリインターフェースを搭載することも考えられる。
しかしこの場合、本半導体メモリ装置1のデータ幅以外のデータが入力された場合には対応することができないという不利益がある。
It is also conceivable to mount a plurality of memory interfaces corresponding to various memory types in a semiconductor memory device.
However, in this case, there is a disadvantage that it is not possible to cope with the case where data other than the data width of the semiconductor memory device 1 is input.

本発明は、各種のメモリタイプのメモリとして使用でき、しかも、本装置のデータ幅以下のデータが入力された場合も対応可能な半導体メモリ装置を提供することにある。   It is an object of the present invention to provide a semiconductor memory device that can be used as a memory of various memory types and can cope with the case where data less than the data width of the device is input.

本発明の第1の観点の半導体メモリ装置は、所定のデータバス幅でアクセスされるメモリアレイが形成されたメモリアレイ部と、外部装置と上記メモリアレイ部との間のインターフェースを行うインターフェース部と、上記インターフェース部と上記メモリアレイ間のデータおよび制御信号の変換機能を有し、上記メモリアレイの仕様に応じた変換機能を有する変換器と、を有し、上記インターフェース部は、複数のメモリタイプにそれぞれ対応し、選択的に上記外部装置と上記メモリアレイ部との間のインターフェース処理に適用される複数のインターフェースモジュールを含み、上記インターフェース部におけるデータバス幅が所定メモリタイプに応じて設定されるデータバス幅より広いデータバス幅に設定されている。   A semiconductor memory device according to a first aspect of the present invention includes a memory array unit in which a memory array accessed with a predetermined data bus width is formed, and an interface unit that performs an interface between an external device and the memory array unit. A converter having a function of converting data and control signals between the interface unit and the memory array and having a conversion function according to the specifications of the memory array, and the interface unit has a plurality of memory types. And a plurality of interface modules that are selectively applied to interface processing between the external device and the memory array unit, and a data bus width in the interface unit is set according to a predetermined memory type The data bus width is set wider than the data bus width.

好適には、上記変換器は、インターフェースの種別情報を含むモード信号から上記メモリアレイの分割情報得て当該メモリアレイのアクセスを制御し、当該メモリアレイにおける異なるメモリタイプに応じたデータ領域を区別する。   Preferably, the converter obtains partition information of the memory array from a mode signal including interface type information, controls access to the memory array, and distinguishes data areas corresponding to different memory types in the memory array. .

好適には、上記変換器は、上記メモリアレイのアクセスデータの情報に基づいて、上記メモリアレイのコマンド、アドレスを発行し、データ幅を可変してまたは非可変で出力するデータ幅可変機能を有する。   Preferably, the converter has a data width variable function that issues a command and an address of the memory array based on information of access data of the memory array, and outputs a variable or non-variable data width. .

好適には、上記インターフェース部は、モード指定信号から上記メモリタイプの別を示すモードの解釈を行い、かつデータの少なくともバースト長およびビット幅の識別を行い、当該識別結果を上記メモリアレイのアクセス情報として上記変換器に出力する解釈部を有し、上記変換器は、上記解釈部のモード解釈並びにバースト長とビット幅の情報に基づいて上記メモリアレイへのコマンド、アドレスを発行し、データ幅を可変してまたは非可変で出力する。   Preferably, the interface unit interprets a mode indicating the type of the memory from a mode designation signal, identifies at least a burst length and a bit width of data, and uses the identification result as access information of the memory array. As an output to the converter, and the converter issues a command and an address to the memory array based on the mode interpretation of the interpreter and the burst length and bit width information, and the data width is Variable or non-variable output.

好適には、上記変換器は、外部データバス幅と上記メモリアレイのデータバス幅が異なる場合、データ幅の可変処理を行う。   Preferably, the converter performs variable processing of the data width when the external data bus width and the data bus width of the memory array are different.

好適には、上記変換器は、上記外部データバス幅が2のN乗の場合であって、データマスク有りの書き込みコマンドを受けると、書き込みコマンドを連続して発行し、データマスク制御により該当データのみを上記メモリアレイに書き込む。   Preferably, when the external data bus width is 2 to the Nth power and the converter receives a write command with a data mask, the converter issues the write command continuously, and the corresponding data is controlled by data mask control. Only to the memory array.

好適には、上記変換器は、上記外部データバス幅が2のN乗の場合であって、データマスク無しの書き込みコマンドを受けると、読み出しコマンドおよび書き込みコマンドを発行し、上記メモリアレイからアドレス指定のデータを読み出し、当該読み出しデータと書き込むべきデータと合わせて書き込みを行う。   Preferably, the converter issues a read command and a write command and receives an address designation from the memory array when a write command without a data mask is received when the external data bus width is 2 to the Nth power. The data is read out and written together with the read data and the data to be written.

好適には、上記変換器は、上記外部データバス幅が2のN乗の場合であって、読み出しコマンドを受けると、上記メモリアレイから読み出したデータをパラレルデータからシリアルデータに変換して、メモリタイプに対応する上記インターフェースモジュールに出力する。   Preferably, the converter converts the data read from the memory array from parallel data to serial data when receiving a read command when the external data bus width is 2 to the Nth power. Output to the interface module corresponding to the type.

好適には、上記変換器は、上記外部データバス幅が2のN乗でない場合であって、書き込みコマンドを受けると、当該2のN乗でないデータを2のN乗の幅に置換え、上記バースト長およびビット幅の情報、および所定のカウント情報をもとにアドレスを発行し、該当データを上記メモリアレイに書き込む。   Preferably, when the external data bus width is not 2 N, the converter replaces the non-N 2 data with the 2 N width when receiving a write command, and An address is issued based on length and bit width information and predetermined count information, and the corresponding data is written into the memory array.

好適には、上記変換器は、上記外部データバス幅が2のN乗でない場合であって、書き込みコマンドを受けると、当該2のN乗でないデータを、入力から各ビットごとにパラレルからシリアルに変換して所定データ分の複数ビットをそれぞれペアにして順に並べて2のN乗の幅に置換え、上記バースト長およびビット幅の情報、および所定のカウント情報をもとにアドレスを発行し、該当データを上記メモリアレイに書き込む。   Preferably, the converter has a case where the external data bus width is not 2 to the Nth power, and when a write command is received, the converter converts the data that is not the 2nd power to the Nth power from parallel to serial for each bit from the input. A plurality of bits corresponding to predetermined data are converted and arranged in order and replaced with 2 N widths. An address is issued based on the burst length and bit width information and predetermined count information, and the corresponding data Are written into the memory array.

好適には、上記変換器は、上記外部データバス幅が2のN乗でない場合であって、読み出しコマンドを受けると、上記メモリアレイの読み出しデータが一つのブロックに全てが含まれるデータから始まる場合、読み出したデータから上記所定データ分のブロックを抜き出し、シリアルからパラレルに変換して順次展開し、次のデータは、上記所定データ分のデータブロックが2つのブロックにまたがるため、1つ目のデータを保持しておき、2つ目のデータブロックと合わせて、シリアルからパラレルに変換し、順次展開して読み出す。   Preferably, the converter has a case where the external data bus width is not 2 to the power of N, and when the read command is received, the read data of the memory array starts from data that is all contained in one block. The predetermined data block is extracted from the read data, converted from serial to parallel, and sequentially expanded. The next data is the first data because the data block for the predetermined data spans two blocks. Are stored together with the second data block, converted from serial to parallel, sequentially expanded and read.

好適には、上記変換器は、上記外部データバス幅が2のN乗でない場合であって、読み出しコマンドを受けると、上記メモリアレイの読み出しデータが上記所定データ分のデータブロックが2つのブロックにまたがるデータの場合は、1つ目のデータを保持しておき、2つ目のデータブロックと合わせて、シリアルからパラレルに変換し、順次展開して読み出す。   Preferably, the converter has a case where the external data bus width is not 2 to the power of N, and when a read command is received, the read data of the memory array is divided into two blocks corresponding to the predetermined data. In the case of spanning data, the first data is held, converted from serial to parallel together with the second data block, and sequentially expanded and read.

本発明によれば、各種のメモリタイプのメモリとして使用でき、しかも、本装置のデータ幅以下のデータが入力された場合も対応可能となる。
半導体メモリ装置を用いて機器製造や設計の効率化や、製造の安定化を実現できる。
たとえばあるメモリタイプのメモリを搭載している電子機器において、そのメモリタイプのメモリの供給が不安定になった場合、そのメモリを本発明の半導体メモリ装置に置き換え、それまでのメモリと同様の動作を実行させることで、メモリ制御回路や周辺回路の設計変更なしに、引き続き機器製造を継続できる。
また、新規に電子機器の設計を行う場合には、搭載するメモリチップとして本発明の半導体メモリ装置を採用することで、自由度の高い設計や効率的な設計が可能となり、また将来メモリ自体の仕様変更を行いたい場合にも容易に対応できることになる。
According to the present invention, it can be used as a memory of various memory types, and can cope with the case where data having a data width less than that of the apparatus is input.
By using a semiconductor memory device, it is possible to improve the efficiency of device manufacturing and design and to stabilize the manufacturing.
For example, in an electronic device equipped with a memory of a certain memory type, when the supply of the memory of that memory type becomes unstable, the memory is replaced with the semiconductor memory device of the present invention, and the same operation as the previous memory is performed. By executing the above, it is possible to continue manufacturing the device without changing the design of the memory control circuit and the peripheral circuit.
In addition, when designing a new electronic device, by adopting the semiconductor memory device of the present invention as a memory chip to be mounted, a highly flexible design and an efficient design are possible, and in the future the memory itself This makes it easy to deal with changes in specifications.

以下、本発明の実施の形態について図面に関連付けて詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

以下、本発明の実施の形態を、次の順序で説明する。
[1.半導体メモリ装置の概要]
[2.半導体メモリ装置の内部構成および動作]
[3.PLL部のモード動作]
[4.セレクタのモード動作]
[5.IOバッファのモード動作]
[6.半導体メモリ装置の他の構成例]
Hereinafter, embodiments of the present invention will be described in the following order.
[1. Outline of Semiconductor Memory Device]
[2. Internal Configuration and Operation of Semiconductor Memory Device]
[3. Mode operation of PLL section]
[4. Selector mode operation]
[5. IO buffer mode operation]
[6. Other Configuration Examples of Semiconductor Memory Device]

[1.半導体メモリ装置の概要]
図1(A)〜(C)は、本発明の実施の形態に係る半導体メモリ装置の基本的な概略構成についての説明図である。
[1. Outline of Semiconductor Memory Device]
1A to 1C are explanatory views of a basic schematic configuration of a semiconductor memory device according to an embodiment of the present invention.

図1(A)は、外部装置としてのメモリコントローラ(MC)100と、本実施の形態の半導体メモリ装置1とを示している。
半導体メモリ装置1は、ある電子機器内においてメモリICとして使用されるものであり、その電子機器内に搭載されたメモリコントローラ100によって書込(ライト)/読出(リード)、また、メモリタイプによってはさらに消去(イレーズ)のためにアクセスされる。
FIG. 1A shows a memory controller (MC) 100 as an external device and the semiconductor memory device 1 of the present embodiment.
The semiconductor memory device 1 is used as a memory IC in a certain electronic device, and is written (written) / readed (read) by a memory controller 100 mounted in the electronic device, and depending on a memory type. Further, it is accessed for erasing.

メモリコントローラ100は、その設計仕様に応じて、半導体メモリ装置1を特定のメモリタイプのメモリとして扱う。
たとえば、ある電子機器において、メモリコントローラ100が、DDRを対象としたアクセス処理を行うように設計されている場合、本例の半導体メモリ装置1は、DDRと同様の入出力をメモリコントローラ100に対して行う。つまりその電子機器の回路上にマウントされ、メモリコントローラ100と電気的に接続された後は、本例の半導体メモリ装置1は、DDRとして機能する。
また、他のある電子機器において、メモリコントローラ100が、SDRを対象としたアクセス処理を行うように設計されている場合、本例の半導体メモリ装置1は、SDRと同様の入出力をメモリコントローラ100に対して行う。つまりその電子機器の回路上にマウントされ、メモリコントローラ100と電気的に接続された後は、本例の半導体メモリ装置1は、SDRとして機能する。
The memory controller 100 handles the semiconductor memory device 1 as a memory of a specific memory type according to the design specifications.
For example, in a certain electronic device, when the memory controller 100 is designed to perform an access process for DDR, the semiconductor memory device 1 of this example performs input / output similar to DDR to the memory controller 100. Do it. That is, after being mounted on the circuit of the electronic device and electrically connected to the memory controller 100, the semiconductor memory device 1 of this example functions as a DDR.
Further, in another electronic device, when the memory controller 100 is designed to perform access processing for SDR, the semiconductor memory device 1 of this example performs input / output similar to SDR to the memory controller 100. To do. That is, after being mounted on the circuit of the electronic device and electrically connected to the memory controller 100, the semiconductor memory device 1 of this example functions as an SDR.

このため、たとえばそれまでSDRをマウントした電子機器を製造していた場合において、SDRの供給元でSDRの製造が中止されたような事態となったとしても、その後は、SDRに代えて本例の半導体メモリ装置1をマウントし、半導体メモリ装置1にSDRとして動作させることで、その電子機器の製造を、メモリコントローラ100等の変更なしに継続することができる。
また、新規に開発する電子機器において、本例の半導体メモリ装置1を採用すれば、メモリコントローラ100や周辺回路の設計の自由度が向上し、さらに将来的なメモリタイプの変更の必要性が生じても、容易に対応できる。
For this reason, for example, in the case where an electronic device mounted with an SDR has been manufactured so far, even if the SDR supply is stopped at the SDR supplier, the present example is used instead of the SDR thereafter. By mounting the semiconductor memory device 1 and causing the semiconductor memory device 1 to operate as the SDR, it is possible to continue manufacturing the electronic device without changing the memory controller 100 or the like.
Further, if the semiconductor memory device 1 of the present example is adopted in a newly developed electronic device, the degree of freedom in designing the memory controller 100 and peripheral circuits is improved, and further necessity of changing the memory type arises in the future. However, it can be easily handled.

半導体メモリ装置1は、1パッケージにモノリシック化されたメモリICとされるが、内部にインターフェース(I/F)部2とメモリアレイ部(RAMアレイ部)3が形成されている。
メモリアレイ部3は、DRAMあるいはSRAMとしての構造で形成される。
インターフェース部2は、メモリコントローラ100に対する入出力バッファや、各種のメモリタイプに応じた複数のインターフェースモジュール等を有する。
すなわち本例の半導体メモリ装置1は、複数のメモリタイプにそれぞれ対応した複数のインターフェースモジュールを有するインターフェース部2と、情報記憶領域として形成されるメモリアレイ部3とが、パッケージ内に封入されて集積化されている。
The semiconductor memory device 1 is a memory IC that is monolithically integrated into one package, and an interface (I / F) unit 2 and a memory array unit (RAM array unit) 3 are formed therein.
The memory array section 3 is formed as a DRAM or SRAM structure.
The interface unit 2 includes an input / output buffer for the memory controller 100, a plurality of interface modules corresponding to various memory types, and the like.
That is, in the semiconductor memory device 1 of this example, an interface unit 2 having a plurality of interface modules respectively corresponding to a plurality of memory types and a memory array unit 3 formed as an information storage area are enclosed in a package and integrated. It has become.

図1(B),(C)に、パッケージ内の構造例を示す。
図1(B)は、メモリアレイ部3とインターフェース部2が、1つのシリコンダイ4上に形成された状態でパッケージ内に封入されている例を示している。
一方、図1(C)は、メモリアレイ部3とインターフェース部2が、それぞれ個別のシリコンダイ4a,4b上に形成され、メモリアレイ部3とインターフェース部2の間が結線された状態でパッケージ内に封入されている例を示している。
FIGS. 1B and 1C show structural examples in the package.
FIG. 1B shows an example in which the memory array section 3 and the interface section 2 are enclosed in a package in a state where they are formed on one silicon die 4.
On the other hand, FIG. 1C shows that the memory array unit 3 and the interface unit 2 are formed on individual silicon dies 4a and 4b, respectively, and the memory array unit 3 and the interface unit 2 are connected. An example enclosed in is shown.

[2.半導体メモリ装置の具体的構成および動作]
図2は、半導体メモリ装置1の具体的な回路構成例を示す図である。
上述のように半導体メモリ装置1にはインターフェース部2とメモリアレイ部3が設けられる。
インターフェース部2は、図2に示すように、複数のインターフェースモジュールを含むインターフェースモ(I/F)ジュール群21(21−1、21−2・・・21−4)、IOバッファ22、セレクタ23、PLL部24、およびモード解釈部25を有する。
また、メモリアレイ部3は、RAMアレイ30と適応的変換器(Adaptive Converter:ADPCVT)31を有する。
[2. Specific Configuration and Operation of Semiconductor Memory Device]
FIG. 2 is a diagram illustrating a specific circuit configuration example of the semiconductor memory device 1.
As described above, the semiconductor memory device 1 is provided with the interface unit 2 and the memory array unit 3.
As shown in FIG. 2, the interface unit 2 includes an interface module (I / F) module group 21 (21-1, 21-2... 21-4) including a plurality of interface modules, an IO buffer 22, and a selector 23. , A PLL unit 24, and a mode interpretation unit 25.
The memory array unit 3 includes a RAM array 30 and an adaptive converter (ADPCVT) 31.

RAMアレイ30は、たとえばDRAMまたはSRAMによる情報記憶領域として形成される。RAMアレイ30は、そのセル構造などは各種都合に応じて自由な設計が可能である。
適応的変換器31は、RAMアレイ30と、インターフェースモジュール群の各インターフェースモジュールの間の制御信号変換を行う。
適応的変換器31は、RAMアレイ30の仕様に応じて信号変換を行って、たとえばDRAMまたはSRAMとしての一般的なインターフェースを実現するために設けられている。
そして、本実施形態に係る適応的変換器31は、後で詳述するように、複数のデータ幅に対応可能に構成され、本半導体メモリ装置1のデータ幅以外のデータが入力された場合でも効率よくRAMアレイ30にデータを格納することができ、また、読み出すことができる。
適応的変換器31は、モード解釈部25で識別された入力データのバースト長とビット幅の情報に基づいて、コマンド、アドレスの発行処理、およびデータを可変してまたは非可変で出力する機能を有する。
The RAM array 30 is formed as an information storage area using, for example, DRAM or SRAM. The RAM array 30 can be freely designed according to various circumstances, such as its cell structure.
The adaptive converter 31 performs control signal conversion between the RAM array 30 and each interface module of the interface module group.
The adaptive converter 31 performs signal conversion in accordance with the specifications of the RAM array 30, and is provided for realizing a general interface such as a DRAM or an SRAM.
The adaptive converter 31 according to the present embodiment is configured to be capable of supporting a plurality of data widths, as will be described in detail later, and even when data other than the data width of the semiconductor memory device 1 is input. Data can be efficiently stored in the RAM array 30 and can be read out.
The adaptive converter 31 has a function of issuing a command, an address issuance process, and variable or non-variable data based on the burst length and bit width information of the input data identified by the mode interpreter 25. Have.

インターフェース部2において、IOバッファ22は、この半導体メモリ装置1と外部デバイス(たとえばメモリコントローラ100)の電気的なインターフェースを行う。
IOバッファ22は、たとえばメモリコントローラ100との間では、コマンドCMD、入出力データDQ、データストローブ信号DQSのやりとりを行う。
またIOバッファ22は、たとえばメモリコントローラ100から供給されるシステムクロックCLKを入力し、PLL部24に供給する。
またIOバッファ22はモード指定信号Mdを入力し、モード解釈部25に供給する。
In the interface unit 2, the IO buffer 22 performs an electrical interface between the semiconductor memory device 1 and an external device (for example, the memory controller 100).
The IO buffer 22 exchanges a command CMD, input / output data DQ, and data strobe signal DQS with the memory controller 100, for example.
The IO buffer 22 receives the system clock CLK supplied from the memory controller 100, for example, and supplies it to the PLL unit 24.
The IO buffer 22 receives the mode designation signal Md and supplies it to the mode interpretation unit 25.

モード指定信号Mdは、半導体メモリ装置1の動作モード(動作させるメモリタイプの別)を指示する信号である。
モード指定信号Mdは、たとえば半導体メモリ装置1のパッケージ上に形成された小型のディップスイッチ(DIPスイッチ)などで設定される論理値の信号とされればよい。
あるいはパッケージにモード設定用の所定数のピンを形成し、その各ピンの接続状態による論理値(たとえばH/L/ハイインピーダンスによる論理値)をモード指定信号Mdとしてもよい。
さらには、メモリコントローラ100がモード指定信号Mdを半導体メモリ装置1に供給する構成とすることも可能である。
The mode designation signal Md is a signal for instructing the operation mode of the semiconductor memory device 1 (different memory type to be operated).
The mode designation signal Md may be a signal having a logical value set by a small dip switch (DIP switch) formed on the package of the semiconductor memory device 1, for example.
Alternatively, a predetermined number of pins for mode setting may be formed in the package, and a logical value (for example, a logical value based on H / L / high impedance) according to the connection state of each pin may be used as the mode designation signal Md.
Further, the memory controller 100 may supply the mode specifying signal Md to the semiconductor memory device 1.

セレクタ23は、インターフェースモジュール群21のうちの1つのインターフェースモジュールを選択してIOバッファ22と接続する。セレクタ23の選択はモード解釈部25からのモード信号Smdに基づく。   The selector 23 selects one interface module from the interface module group 21 and connects it to the IO buffer 22. Selection by the selector 23 is based on the mode signal Smd from the mode interpretation unit 25.

インターフェースモジュール群21として、それぞれ異なるメモリタイプのインターフェースモジュールが設けられる。
たとえば、この図2の例ではインターフェースモジュール群21、DRAM−インターフェース(IF)モジュール群21−1、SRAM−IFモジュール21−2、DPRAM−IFモジュール21−3、FIFO−IFモジュール21−4が設けられている。
As the interface module group 21, interface modules of different memory types are provided.
For example, in the example of FIG. 2, an interface module group 21, a DRAM-interface (IF) module group 21-1, an SRAM-IF module 21-2, a DPRAM-IF module 21-3, and a FIFO-IF module 21-4 are provided. It has been.

図3は、本実施形態に係るDRAM−IFモジュール群21−1の構成例を示すブロック図である。   FIG. 3 is a block diagram showing a configuration example of the DRAM-IF module group 21-1 according to the present embodiment.

本実施の形態のDRAM−IFモジュール群21−1は、各種DRAM−IFモジュールそれぞれの状態遷移で共通する部分を共通シーケンス化し、それぞれの状態遷移で異なる処理を行う部分を例外処理として専用モジュール化して構成されている。
これにより、いわゆるマルチインターフェースRAM(マルチIF RAM)の状態遷移回路の簡略化を実現している。
The DRAM-IF module group 21-1 of the present embodiment converts a common part in each state transition of various DRAM-IF modules into a common sequence, and converts a part that performs different processing in each state transition into a dedicated module as an exception process. Configured.
Thereby, simplification of a state transition circuit of a so-called multi-interface RAM (multi-IF RAM) is realized.

すなわち、DRAM−IFモジュール群21−1は、共通シーケンス部210および専用モジュール部211を有している。   That is, the DRAM-IF module group 21-1 has a common sequence unit 210 and a dedicated module unit 211.

共通シーケンス部210は、I/Oバッファ22、セレクタ23を介して供給されるメモリコントローラ100からのコマンドを検出するコマンド検出部2101、コマンド検出部2101の検出結果に応じて共通する部分の共通シーケンス処理を行い、例外処理を専用モジュール部211に行わせる共通状態遷移部2102、および各メモリI/Fで固有の処理となる部分は共通シーケンス部から分離し専用モジュール化した各DRAM−IFモジュールに選択的に受け渡すためのスイッチ群2103を有する。   The common sequence unit 210 detects a command from the memory controller 100 supplied via the I / O buffer 22 and the selector 23, and a common sequence of common parts according to the detection result of the command detection unit 2101 The common state transition unit 2102 that performs processing and causes the dedicated module unit 211 to perform exception processing, and a part that is a unique process in each memory I / F are separated from the common sequence unit and each DRAM-IF module that is configured as a dedicated module. A switch group 2103 for selectively delivering is provided.

専用モジュール部211は、共通シーケンス部210においてそれぞれの状態遷移で異なる処理を行う部分を例外処理として専用モジュール化された各種IFモジュールである、SDR−IFモジュール211−0、DDR−IFモジュール211−1、DDR2−IFモジュール211−2、・・・、DDR(n)−IFモジュール211−nを含んで構成されている。   The dedicated module unit 211 is a variety of IF modules in which a part that performs different processing in each state transition in the common sequence unit 210 is made into an exclusive module, and is an SDR-IF module 211-0, a DDR-IF module 211- 1, DDR2-IF module 211-2,..., DDR (n) -IF module 211-n.

DRAM−IFモジュール群21−1においては、システムコントロール(シスコン)設定情報Cmdに従い、セレクタ23のIFセレクタ部がRAMモードを選択することにより、共通シーケンス部210である共通状態遷移モジュール2102が組み合わせとなる専用モジュール部211のIFモジュールを決めて動作する。   In the DRAM-IF module group 21-1, the common state transition module 2102 which is the common sequence unit 210 is combined with the combination when the IF selector unit of the selector 23 selects the RAM mode according to the system control (system control) setting information Cmd. The IF module of the dedicated module unit 211 is determined and operates.

各SDR−IFモジュール211−0、DDR−IFモジュール211−1、DDR2−IFモジュール211−2、・・・、DDR(n)−IFモジュール211−n、SRAM−IFモジュール21−2、DPRAM−IFモジュール21−3、FIFO−IFモジュール21−4は、この半導体メモリ装置1が、それぞれ対応するメモリタイプのメモリとして動作するように、メモリコントローラ100に要求されるタイミングでの入出力を行う。
たとえばSDR−IFモジュール211−0は、RAMアレイ30に対する書込/読出アクセス動作が、外部のメモリコントローラ100から見てSDRとして動作するように処理を行う。またDDR−IFモジュール211−1は、RAMアレイ30に対する書込/読出アクセス動作が、外部のメモリコントローラ100から見てDDRとして動作するように処理を行う。
Each SDR-IF module 211-0, DDR-IF module 211-1, DDR2-IF module 211-2, ..., DDR (n) -IF module 211-n, SRAM-IF module 21-2, DPRAM- The IF module 21-3 and the FIFO-IF module 21-4 perform input / output at a timing required by the memory controller 100 so that the semiconductor memory device 1 operates as a memory of a corresponding memory type.
For example, the SDR-IF module 211-0 performs processing so that the write / read access operation for the RAM array 30 operates as an SDR when viewed from the external memory controller 100. The DDR-IF module 211-1 performs processing so that the write / read access operation for the RAM array 30 operates as DDR when viewed from the external memory controller 100.

ここで、以上のようにメモリIFモジュール群21におけるDRAM−IFモジュール群21−1を共通シーケンス部210および専用モジュール部211に分けた理由について、図4〜図7に関連付けて説明する。   Here, the reason why the DRAM-IF module group 21-1 in the memory IF module group 21 is divided into the common sequence unit 210 and the dedicated module unit 211 as described above will be described with reference to FIGS.

図4はSDRAMの状態遷移図である。図5はDDR−SDRAMの状態遷移図である。図6は共通シーケンス部と専用モジュール部に分けずにここのIFモジュールを設けた半導体メモリ装置の構成例を示す図である。図7は共通シーケンス部と専用モジュール部を設けたDRAM−IFモジュール群の状態遷移を示す図である。   FIG. 4 is a state transition diagram of the SDRAM. FIG. 5 is a state transition diagram of the DDR-SDRAM. FIG. 6 is a diagram showing a configuration example of a semiconductor memory device provided with an IF module here without being divided into a common sequence section and a dedicated module section. FIG. 7 is a diagram showing state transition of a DRAM-IF module group provided with a common sequence part and a dedicated module part.

既存のメモリ、たとえばSDRAMには、図4に示すような状態遷移が存在する。この場合、入力されたコマンド信号の組み合わせにより状態を遷移させ、データの書き込み(ライト)、読み出し(リード)、プリチャージ(Precharge)、リフレッシュ(Refresh)等を行う。
同様に、DDR−SDRAMの場合には図5に示すような状態遷移が存在する。
The existing memory, for example, SDRAM, has a state transition as shown in FIG. In this case, the state is changed by a combination of input command signals, and data writing (writing), reading (reading), precharging (Precharge), refreshing (Refresh), and the like are performed.
Similarly, in the case of a DDR-SDRAM, there is a state transition as shown in FIG.

図6に示すような、SDR−IFモジュール21a、DDR−IFモジュール21b、DDR2−IFモジュール21c、DDR3−IFモジュール21d、・・・DDR(n)−IFモジュール21e、SRAM−IFモジュール21f、DPRAM−IFモジュール21g、FIFO−IFモジュール21hを一つのパッケージに有するマルチIF RAMにおいて、それぞれのIFモジュールは別々の状態遷移により処理を行うことになる。
そのため、マルチIF RAMの有するIFモジュールの数だけ状態遷移を持つ必要があり、回路規模が大きくなる可能性がある。
なお、図6の半導体メモリ装置1Aは、インターフェースモジュール群21の構成のみ図3の半導体メモリ装置1と相違するのみで、他の構成、機能は上述および後述するような構成、機能を併せ持つ。
As shown in FIG. 6, SDR-IF module 21a, DDR-IF module 21b, DDR2-IF module 21c, DDR3-IF module 21d,... DDR (n) -IF module 21e, SRAM-IF module 21f, DPRAM In the multi-IF RAM having the IF module 21g and the FIFO-IF module 21h in one package, each IF module performs processing by separate state transitions.
Therefore, it is necessary to have state transitions as many as the number of IF modules included in the multi-IF RAM, which may increase the circuit scale.
The semiconductor memory device 1A in FIG. 6 differs from the semiconductor memory device 1 in FIG. 3 only in the configuration of the interface module group 21, and the other configurations and functions have the configurations and functions described above and later.

そこで、本実施の形態においては、複数のIFモジュールをIC内部に有するマルチIF RAMにおいて、図3、図4、および図7に示すように、それぞれの状態遷移で共通する部分を共通シーケンス化し、それぞれの状態遷移で異なる処理を行う部分を例外処理として専用モジュール化する。
これにより、マルチIF RAMの状態遷移回路の簡略化を実現している。
Therefore, in the present embodiment, in the multi-IF RAM having a plurality of IF modules inside the IC, as shown in FIGS. 3, 4, and 7, common portions in each state transition are made into a common sequence, A part that performs different processing in each state transition is made into a dedicated module as exception processing.
Thereby, simplification of the state transition circuit of the multi-IF RAM is realized.

図7の状態遷移図における共通シーケンス部と専用モジュール部における動作例については後で詳述する。   An operation example in the common sequence unit and the dedicated module unit in the state transition diagram of FIG. 7 will be described in detail later.

PLL部24は、たとえばメモリコントローラ100から供給されるシステムクロックCLKに基づいて、インターフェースモジュール群21の各種各SDR−IFモジュール211−0、DDR−IFモジュール211−1、DDR2−IFモジュール211−2、・・・、DDR(n)−IFモジュール211−n、SRAM−IFモジュール21−2、DPRAM−IFモジュール21−3、FIFO−IFモジュール21−4で使用する各種の処理クロックCKを生成し、インターフェースモジュール群21に出力する。
PLL部24のクロック生成については後でさらに説明する。
The PLL unit 24, for example, based on the system clock CLK supplied from the memory controller 100, various SDR-IF modules 211-0, DDR-IF modules 211-1, and DDR2-IF modules 211-2 of the interface module group 21. ,... Generate various processing clocks CK to be used by the DDR (n) -IF module 211-n, the SRAM-IF module 21-2, the DPRAM-IF module 21-3, and the FIFO-IF module 21-4. To the interface module group 21.
The clock generation of the PLL unit 24 will be further described later.

モード解釈部25は、入力されるモード指定信号Mdとしての論理値の解釈を行い、半導体メモリ装置1の動作として要求されるモードを判別する。そしてそのモードを示すモード信号Smdを各部に供給する。
モード解釈部25は、入力モード指定信号に含まれる入力データのバースト長とビット幅の情報を識別して、モード信号Smdとして適応的変換器31に供給する。
The mode interpretation unit 25 interprets a logical value as the input mode designation signal Md and determines a mode required for the operation of the semiconductor memory device 1. A mode signal Smd indicating the mode is supplied to each unit.
The mode interpretation unit 25 identifies the burst length and bit width information of the input data included in the input mode designation signal and supplies the information to the adaptive converter 31 as the mode signal Smd.

この半導体メモリ装置1では、IOバッファ22、セレクタ23、PLL部24、およびインターフェースモジュール群21は、モード解釈部25から出力されるモード信号Smdに従って所要の動作を行うことで、たとえば外部のメモリコントローラ100から見て、特定のメモリタイプのメモリとして機能する。
仮に、ある電子機器の回路基板に、図1(A)のようにメモリコントローラ100と、本例の半導体メモリ装置1がマウントされる場合に、メモリコントローラ100は、DDR2を対象としたメモリ制御処理を行うものとされているとする。
その場合、ディップスイッチの設定、もしくはメモリコントローラ100からの信号として、DDR2というメモリタイプのモードを示すモード指定信号Mdが、モード解釈部25に入力される。
In this semiconductor memory device 1, the IO buffer 22, the selector 23, the PLL unit 24, and the interface module group 21 perform necessary operations according to the mode signal Smd output from the mode interpretation unit 25, for example, an external memory controller Seen from 100, it functions as a memory of a specific memory type.
If the memory controller 100 and the semiconductor memory device 1 of this example are mounted on a circuit board of an electronic device as shown in FIG. 1A, the memory controller 100 performs memory control processing for DDR2. Is supposed to be performed.
In this case, a mode designation signal Md indicating a memory type mode called DDR2 is input to the mode interpreter 25 as a dip switch setting or a signal from the memory controller 100.

この場合を図8に示す。モード解釈部25はDDR2モードを示すモード信号Smdおよびシスコン設定情報Cmdを出力する。
後述するが、IOバッファ22は、モード信号Smdに応じて、内部の電気特性、たとえば電源電圧や遅延特性を、DDR2に対応する状態に切り換える。
またセレクタ23は、モード信号Smdおよびシスコン設定情報Cmdに応じて、DDR2に対応するDDR2−IFモジュール211−2を選択する状態となる。
PLL部24は、モード信号Smdに応じて、DDR2−IFモジュール211−2に対する処理クロック群を生成し、DDR2−IFモジュール211−2に供給する。
また、PLL部24は、他のインターフェースモジュール(211−0,211−1、211−n、21−2、21−3、21−4)に対する処理クロックの供給を停止する。
This case is shown in FIG. The mode interpreter 25 outputs a mode signal Smd indicating the DDR2 mode and syscon setting information Cmd.
As will be described later, the IO buffer 22 switches internal electrical characteristics, for example, power supply voltage and delay characteristics, to a state corresponding to DDR2 in accordance with the mode signal Smd.
The selector 23 is in a state of selecting the DDR2-IF module 211-2 corresponding to DDR2 in accordance with the mode signal Smd and the syscon setting information Cmd.
The PLL unit 24 generates a processing clock group for the DDR2-IF module 211-2 according to the mode signal Smd, and supplies the generated processing clock group to the DDR2-IF module 211-2.
Further, the PLL unit 24 stops supplying the processing clock to the other interface modules (211-0, 211-1, 211-n, 21-2, 21-3, 21-4).

すると、この半導体メモリ装置1は、メモリコントローラ100から見て、DDR2として動作することになる。つまり、メモリコントローラ100は、DDR2に対する制御としてコマンドCMDを出力し、また入出力データDQ、データストローブ信号DQSをDDR2のタイミングで扱う。
この場合に、DDR2−IFモジュール211−2は、メモリコントローラ100からのコマンドCMに応じてRAMアレイ30に対する書込/読出を行うが、メモリコントローラ100に対しては、共通シーケンス部210との協働により、DDR2としてのタイミングで入出力を行うことで、メモリコントローラ100にとって支障の無いアクセス動作が実現されることになる。
Then, the semiconductor memory device 1 operates as DDR2 when viewed from the memory controller 100. That is, the memory controller 100 outputs the command CMD as control for the DDR2, and handles the input / output data DQ and the data strobe signal DQS at the timing of the DDR2.
In this case, the DDR2-IF module 211-2 performs writing / reading to / from the RAM array 30 in response to the command CM from the memory controller 100. Thus, by performing input / output at the timing of DDR2, an access operation that does not hinder the memory controller 100 is realized.

次に、図7の状態遷移図における共通シーケンス部と専用モジュール部における動作例について図9〜図14に関連付けて説明する。
ここでは、SDR−IFを例として、初期化の状態遷移、書き込み(WRITE)の状態遷移、オートプリチャージ付き書き込みの状態遷移、読み出し(READ)の状態遷移、オートプリチャージ付き読み出しの状態遷移、並びにオートリフレッシュ(REF)の状態遷移について説明する。
Next, operation examples of the common sequence unit and the dedicated module unit in the state transition diagram of FIG. 7 will be described with reference to FIGS.
Here, taking SDR-IF as an example, state transition of initialization, state transition of write (WRITE), state transition of write with auto precharge, state transition of read (READ), state transition of read with auto precharge, In addition, the state transition of auto refresh (REF) will be described.

図9は初期化の状態遷移を説明するための図である。図10は書き込み(WRITE)の状態遷移を説明するための図である。図11はオートプリチャージ付き書き込みの状態遷移を説明するための図である。図12は読み出し(READ)の状態遷移を説明するための図である。図13はオートプリチャージ付き読み出しの状態遷移を説明するための図である。図14はオートリフレッシュ(REF)の状態遷移について説明するための図である。   FIG. 9 is a diagram for explaining the state transition of initialization. FIG. 10 is a diagram for explaining the state transition of writing (WRITE). FIG. 11 is a diagram for explaining the state transition of writing with auto precharge. FIG. 12 is a diagram for explaining state transition of reading (READ). FIG. 13 is a diagram for explaining the state transition of reading with auto precharge. FIG. 14 is a diagram for explaining the state transition of auto refresh (REF).

また、図7に示す各種コマンドは以下の通りである。
MRSはモードレジスタ設定コマンドを、EMRSは拡張モードレジスタ設定コマンドを、REFSはセルフリフレッシュ開始コマンドを、REFSXはセルフリフレッシュ終了コマンドを、REFAは(CBR)オートリフレッシュコマンドを、PREはプリチャージコマンドを、ACTはバンクアクティブを、WRITEはライトコマンドを、WRITAはオートプリチャージ付きライトコマンドを、READはリードコマンドを、READAはオートプリチャージ付きリードコマンドを、それぞれ示している。
また、SMdはIFモード切替信号を示し、CKELはCKE信号がロー(Low)、CKEHはCKE信号がハイ(High)であることを示している。
The various commands shown in FIG. 7 are as follows.
MRS is a mode register setting command, EMRS is an extended mode register setting command, REFS is a self-refresh start command, REFSX is a self-refresh end command, REFA is a (CBR) auto-refresh command, PRE is a precharge command, ACT indicates a bank active, WRITE indicates a write command, WRITE indicates a write command with auto precharge, READ indicates a read command, and READA indicates a read command with auto precharge.
Further, SMd indicates an IF mode switching signal, CKEL indicates that the CKE signal is low, and CKEH indicates that the CKE signal is high.

まず、図9(A)〜(C)に関連付けては初期化時の状態遷移について説明する。
図9(A)は電源電圧Vccを、図9(B)はシステムクロックCLKを、図9(C)はメモリコントローラ100からの各種コマンドをそれぞれ示している。
First, with reference to FIGS. 9A to 9C, the state transition at the time of initialization will be described.
9A shows the power supply voltage Vcc, FIG. 9B shows the system clock CLK, and FIG. 9C shows various commands from the memory controller 100, respectively.

図9(A)〜(C)に示すようなタイムチャートで初期化が行われる場合、以下のような状態遷移となる。   When initialization is performed in the time chart as shown in FIGS. 9A to 9C, the state transition is as follows.

電源投入後、共通シーケンス部210の処理Aに遷移する。処理AではRAMアレイ30の初期シーケンスを実行する。
外部のメモリコントローラ100からPALL→リフレッシュコマンドREF→リフレッシュコマンドREF→モードレジスタ設定コマンドMRSの各コマンドが入力されるが、そのうちのモードレジスタ設定コマンドMRSを検出すると処理Bに遷移する。
処理Bではバースト長(BL)、ラップタイプ、CASレーテンシ(CL)のモード設定検出を行う。
DLL設定等を行うDDR、DDR2等の場合は例外処理Bに遷移するが、SDR−IFでは処理B後、自動的にIDLE(アイドル)状態ST1に遷移する。
After the power is turned on, the process proceeds to the process A of the common sequence unit 210. In the process A, the initial sequence of the RAM array 30 is executed.
Each command of PALL → refresh command REF → refresh command REF → mode register setting command MRS is input from the external memory controller 100. When the mode register setting command MRS is detected, the process B is shifted to.
In process B, the burst length (BL), lap type, and CAS latency (CL) mode settings are detected.
In the case of DDR, DDR2, or the like that performs DLL setting, etc., transition is made to exception processing B, but in SDR-IF, after processing B, the state automatically transitions to IDLE (idle) state ST1.

次に、図10(A)〜(C)に関連付けて書き込み時の状態遷移について説明する。
図10(A)はシステムクロックCLKを、図10(B)はメモリコントローラ100からの各種コマンドを、図10(C)はメモリコントローラ100からの書き込みデータをそれぞれ示している。
Next, state transitions at the time of writing will be described in association with FIGS.
10A shows the system clock CLK, FIG. 10B shows various commands from the memory controller 100, and FIG. 10C shows write data from the memory controller 100, respectively.

図10(A)〜(C)に示すような上図のようなタイムチャートで書き込みが行われる場合、以下のような状態遷移となる。   When writing is performed in the time chart as shown in the upper diagram as shown in FIGS. 10A to 10C, the state transition is as follows.

IDLE(アイドル)状態ST1からは、コマンド検出部2101で検出されたコマンドにより処理B、Self Refresh(セルフリフレッシュ)ST2、処理C、Power Down(パワーダウン)ST3、処理Dのいずれかの状態に遷移する。
IDLE状態ST1からバンクアクティブコマンドACTを受けると処理Dに遷移する。処理DではIF切替信号SMdを受けてACTIVE(アクティブ)状態ST4に遷移するか、Active Power Down(アクティブパワーダウン)状態ST5に遷移するかを判断する。SDRAMではそのままACTIVE状態ST4に遷移する。
From the IDLE (idle) state ST1, a transition is made to any of process B, self refresh ST2, process C, power down ST3, and process D according to the command detected by the command detection unit 2101. To do.
When the bank active command ACT is received from the IDLE state ST1, the process D is entered. In the process D, it is determined whether the transition to the ACTIVE (active) state ST4 or the transition to the Active Power Down (active power down) state ST5 is received in response to the IF switching signal SMd. In the SDRAM, the state transits to the ACTIVE state ST4 as it is.

ACTIVE状態ST4では、Active Power DownST5、処理E、処理F、処理G、処理H、Precharge(プリチャージ)ST6のいずれかの状態に遷移する。
ACTIVE状態ST4からライトコマンドWRITEを受けると処理Eに遷移する。処理EではRAMアレイ30に対する書き込み処理を行う。
書き込み処理が終了すると自動的にACTIVE状態ST4に遷移する。ライトコマンドWRITEが連続して入力される場合は、この遷移を繰り返す。
処理EからプリチャージコマンドPREを受けるとPrecharge状態ST6に遷移し、自動的にIDLE状態ST1まで遷移する。
処理Eでは例外処理Eとして信号CKELを受けてWRITE SUSPEND(ライトサスペンド)状態に遷移するが、これはSDRAMの場合のみで他のIFモードの場合は例外処理Eへ遷移しない。例外処理Eから信号CKEHを受けると処理Eの状態に遷移する。
In the ACTIVE state ST4, the state transits to any one of Active Power Down ST5, Process E, Process F, Process G, Process H, and Precharge ST6.
When the write command WRITE is received from the ACTIVE state ST4, the process E is transited to. In process E, a write process to the RAM array 30 is performed.
When the writing process is completed, the state automatically changes to the ACTIVE state ST4. When the write command WRITE is continuously input, this transition is repeated.
When the precharge command PRE is received from the process E, the state transits to the Precharge state ST6 and automatically transits to the IDLE state ST1.
In the process E, the signal CKEL is received as the exception process E and a transition is made to the WRITE SUSPEND (write suspend) state. However, this is only in the case of the SDRAM and does not transit to the exception process E in the other IF modes. When the signal CKEH is received from the exception process E, the state transits to the process E state.

次に、図11(A)〜(C)に関連付けてオートプリチャージ付き書き込み時の状態遷移について説明する。
図11(A)はシステムクロックCLKを、図11(B)はメモリコントローラ100からの各種コマンドを、図11(C)はメモリコントローラ100からの書き込みデータをそれぞれ示している。
Next, state transition at the time of writing with auto precharge will be described with reference to FIGS.
11A shows the system clock CLK, FIG. 11B shows various commands from the memory controller 100, and FIG. 11C shows write data from the memory controller 100.

図11(A)〜(C)に示すような上図のようなタイムチャートで書き込みが行われる場合、以下のような状態遷移となる。   When writing is performed in the time chart as shown in the upper diagram as shown in FIGS. 11A to 11C, the state transition is as follows.

IDLE状態ST1からバンクアクティブコマンドACTを受けると処理Dに遷移する。処理DではIF切替信号SMdを受けてACTIVE状態ST4に遷移するかActive Power Down状態ST5に遷移するかを判断する。SDRAMではそのままACTIVE状態ST4に遷移する。
ACTIVE状態ST4ではActive Power DownST5、処理E、処理F、処理G、処理H、PrechargeST6eのいずれかの状態に遷移する。
ACTIVE状態からオートプリチャージ付きライトWRITAを受けると処理Gに遷移する。処理GではRAMアレイ30に対する書き込み処理を行う。書き込み処理が終了すると自動的にPrecharge状態ST6に遷移し、さらにIDLE状態ST1まで遷移する。
処理Gでは例外処理Gとして信号CKELを受けてWRITE SUSPEND(ライトサスペンド)状態に遷移するが、これはSDRAMの場合のみで他のIFモードの場合は例外処理Gへ遷移しない。例外処理Gから信号CKEHを受けると処理Gの状態に遷移する。
When the bank active command ACT is received from the IDLE state ST1, the process D is entered. In the process D, it is determined whether the transition to the active state ST4 or the active power down state ST5 is received in response to the IF switching signal SMd. In the SDRAM, the state transits to the ACTIVE state ST4 as it is.
In the ACTIVE state ST4, the state transits to any one of Active Power Down ST5, Process E, Process F, Process G, Process H, and Precharge ST6e.
When the write WRITE with auto precharge is received from the ACTIVE state, the process shifts to process G. In process G, a write process to the RAM array 30 is performed. When the writing process is completed, the state automatically transitions to the Precharge state ST6 and further transitions to the IDLE state ST1.
In the process G, the signal CKEL is received as the exception process G and a transition is made to the WRITE SUSPEND (write suspend) state. However, this is only in the case of SDRAM and does not transition to the exception process G in the other IF modes. When the signal CKEH is received from the exception process G, the state transitions to the process G state.

次に、図12(A)〜(C)に関連付けて読み出し時の状態遷移について説明する。
図12(A)はシステムクロックCLKを、図12(B)はメモリコントローラ100からの各種コマンドを、図12(C)はメモリコントローラ100への読み出しデータをそれぞれ示している。
Next, state transition at the time of reading will be described with reference to FIGS.
12A shows the system clock CLK, FIG. 12B shows various commands from the memory controller 100, and FIG. 12C shows read data to the memory controller 100.

図12(A)〜(C)に示すような上図のようなタイムチャートで読み出しが行われる場合、以下のような状態遷移となる。   When reading is performed in the time chart as shown in the upper diagram as shown in FIGS. 12A to 12C, the state transition is as follows.

IDLE状態ST1からバンクアクティブコマンドACTを受けると処理Dに遷移する。処理DではIF切替信号SMdを受けてACTIVE状態ST4に遷移するかActive Power Down状態ST5に遷移するかを判断する。SDRAMではそのままACTIVE状態ST4に遷移する。
ACTIVE状態ST4ではActive Power DownST5、処理E、処理F、処理G、処理H、Prechargeのいずれかの状態に遷移する。
ACTIVE状態ST4からリードコマンドREADを受けると処理Fに遷移する。処理FではRAMアレイ30に対する読み出し処理を行う。読み出し処理が終了すると自動的にACTIVE状態ST4に遷移する。リードコマンドREADが連続して入力される場合は、この遷移を繰り返す。
処理FからプリチャージコマンドPREを受けるとPrecharge状態ST6に遷移し、自動的にIDLE状態ST1まで遷移する。
処理Fでは例外処理Fとして信号CKELを受けてREAD SUSPEND(リードサスペンド)状態に遷移するが、これはSDRAMの場合のみで他のIFモードの場合は例外処理Fへ遷移しない。例外処理Fから信号CKEHを受けると処理Fの状態に遷移する。
When the bank active command ACT is received from the IDLE state ST1, the process D is entered. In the process D, it is determined whether the transition is made to the active state ST4 or the active power down state ST5 in response to the IF switching signal SMd. In the SDRAM, the state transits to the ACTIVE state ST4 as it is.
In the ACTIVE state ST4, the state transits to any one of Active Power Down ST5, Process E, Process F, Process G, Process H, and Precharge.
When the read command READ is received from the ACTIVE state ST4, the process F is transited. In process F, a read process for the RAM array 30 is performed. When the reading process ends, the state automatically changes to the ACTIVE state ST4. When the read command READ is continuously input, this transition is repeated.
When the precharge command PRE is received from the process F, the state transits to the Precharge state ST6 and automatically transits to the IDLE state ST1.
In the process F, the signal CKEL is received as the exception process F and a transition is made to the READ SUSPEND (read suspend) state. However, this is only in the case of the SDRAM and does not transition to the exception process F in the other IF modes. When the signal CKEH is received from the exception process F, the state transits to the process F state.

次に、図13(A)〜(C)に関連付けてオートプリチャージ付き読み出し時の状態遷移について説明する。
図13(A)はシステムクロックCLKを、図13(B)はメモリコントローラ100からの各種コマンドを、図13(C)はメモリコントローラ100への読み出しデータをそれぞれ示している。
Next, state transitions at the time of reading with auto precharge will be described with reference to FIGS.
13A shows the system clock CLK, FIG. 13B shows various commands from the memory controller 100, and FIG. 13C shows read data to the memory controller 100.

図13(A)〜(C)に示すような上図のようなタイムチャートでオートプリチャージ付き読み出しが行われる場合、以下のような状態遷移となる。   When reading with auto-precharge is performed in the time chart as shown in the upper diagram as shown in FIGS. 13A to 13C, the state transition is as follows.

IDLE状態ST1からバンクアクティブコマンドACTを受けると処理Dに遷移する。処理DではIF切替信号SMdを受けてACTIVE状態ST4に遷移するかActive Power Down状態ST5に遷移するかを判断する。SDRAMではそのままACTIVE状態ST4に遷移する。
ACTIVE状態ST4ではActive Power DownST5、処理E、処理F、処理G、処理H、PrechargeST6のいずれかの状態に遷移する。
ACTIVE状態ST4からオートプリチャージ付きリードコマンドREADAを受けると処理Hに遷移する。処理HではRAMアレイ30に対する読み出し処理を行う。読み出し処理が終了すると自動的にPrecharge状態ST6に遷移し、さらにIDLE状態ST1まで遷移する。
処理Hでは例外処理Hとして信号CKELを受けてREAD SUSPEND(リードサスペンド)状態に遷移するが、これはSDRAMの場合のみで他のIFモードの場合は例外処理Hへ遷移しない。例外処理Hから信号CKEHを受けると処理Hの状態に遷移する。
When the bank active command ACT is received from the IDLE state ST1, the process D is entered. In the process D, it is determined whether the transition to the active state ST4 or the active power down state ST5 is received in response to the IF switching signal SMd. In the SDRAM, the state transits to the ACTIVE state ST4 as it is.
In the ACTIVE state ST4, the state transits to any one of Active Power Down ST5, Process E, Process F, Process G, Process H, and Precharge ST6.
When the read command READA with auto precharge is received from the ACTIVE state ST4, the process shifts to the process H. In process H, a read process for the RAM array 30 is performed. When the reading process is completed, the state automatically transitions to the Precharge state ST6 and further transitions to the IDLE state ST1.
In the process H, the signal CKEL is received as the exception process H and a transition is made to the READ SUSPEND (read suspend) state, but this is only in the case of the SDRAM and does not transit to the exception process H in the other IF modes. When the signal CKEH is received from the exception process H, the state transits to the process H state.

次に、図14(A),(B)に関連付けてオートリフレッシュ時の状態遷移について説明する。
図14(A)はシステムクロックCLKを、図14(B)はメモリコントローラ100からの各種コマンドをそれぞれ示している。
Next, state transitions during auto-refresh will be described with reference to FIGS. 14 (A) and 14 (B).
14A shows the system clock CLK, and FIG. 14B shows various commands from the memory controller 100.

図14(A),(B)に示すような上図のようなタイムチャートでオートリフレッシュが行われる場合、以下のような状態遷移となる。   When auto-refresh is performed using the time chart as shown in the upper diagram as shown in FIGS. 14A and 14B, the following state transition occurs.

IDLE状態ST1からオートリフレッシュコマンドREFAを受けると処理Cに遷移する。処理Cではオートリフレッシュ(Auto Refresh)を行う。オートリフレッシュ(Auto Refresh)処理が終了すると自動的に例外処理Cに遷移するが、SDR−IFの場合、例外処理Cでは何も行わないためPrecharge状態ST6に遷移し、さらにIDLE状態ST1に遷移する。オートリフレッシュコマンドREFAが連続して入力される場合は、この遷移を繰り返す。   When the auto-refresh command REFA is received from the IDLE state ST1, the process C is shifted to. In process C, auto refresh is performed. When the auto refresh process is completed, the process automatically transitions to the exception process C. However, in the case of SDR-IF, nothing is performed in the exception process C, so the process transitions to the precharge state ST6 and further to the IDLE state ST1. . This transition is repeated when the auto-refresh command REFA is continuously input.

以上のように、本実施の形態のDRAM−IFモジュール群21−1は、各種DRAM−IFモジュールそれぞれの状態遷移で共通する部分を共通シーケンス化し、それぞれの状態遷移で異なる処理を行う部分を例外処理として専用モジュール化して構成されていることから、状態遷移を共通化することで、回路規模を簡略化することができる。
また、状態遷移を共通化することで、消費電力を削減することができる。
また、共通シーケンス部210と専用モジュール部211とに分けることで、専用モジュールの拡張に柔軟かつ容易に対応することができる。
As described above, the DRAM-IF module group 21-1 according to the present embodiment converts common portions in the state transitions of the various DRAM-IF modules into a common sequence, and performs exceptions for portions that perform different processes in the respective state transitions. Since the processing is configured as a dedicated module, the circuit scale can be simplified by sharing the state transition.
In addition, power consumption can be reduced by sharing state transitions.
Also, by dividing the common sequence unit 210 and the dedicated module unit 211, it is possible to flexibly and easily cope with the expansion of the dedicated module.

次に、図2および図6の半導体メモリ装置1,1Aに設けられた適応的変換器(ADPCVT)31における複数のデータ幅に対応可能な具体的な構成および機能について、図15〜図25に関連付けて説明する。
なお、ここでは、SDR−IFモジュール211−0(または図6の21a)を通しての処理を例に説明する。
Next, specific configurations and functions corresponding to a plurality of data widths in the adaptive converter (ADPCVT) 31 provided in the semiconductor memory devices 1 and 1A of FIGS. 2 and 6 will be described with reference to FIGS. This will be explained in association with each other.
Here, processing through the SDR-IF module 211-0 (or 21a in FIG. 6) will be described as an example.

図15は、本実施形態に係る適応的変換器(Adaptive Converter)の構成例を示すブロック図である。   FIG. 15 is a block diagram illustrating a configuration example of an adaptive converter according to the present embodiment.

適応的変換器31は、図15に示すように、アドレス変換回路311、データ変換回路312、およびコマンド制御回路313を有する。
アドレス変換回路311は、インターフェースモジュール(ここではSDR−IFモジュール211−0(21a))で発行されたアドレスを、モード解釈部25でモード信号Smdに応じてRAMアレイ30のアドレスADRを発行する。
データ変換回路312は、インターフェースモジュール(ここではSDR−IFモジュール211−0(21a))によるデータを、モード解釈部25でモード信号Smdに応じてRAMアレイ30のデータDTとして出力する。
コマンド制御回路313は、インターフェースモジュール(ここではSDR−IFモジュール211−0(21a))によるコマンドを、モード解釈部25でモード信号Smdに応じてRAMアレイ30のコマンドACMDとして出力する。
As shown in FIG. 15, the adaptive converter 31 includes an address conversion circuit 311, a data conversion circuit 312, and a command control circuit 313.
The address conversion circuit 311 issues an address issued by the interface module (here, the SDR-IF module 211-0 (21a)), and the mode interpreter 25 issues the address ADR of the RAM array 30 according to the mode signal Smd.
The data conversion circuit 312 outputs data from the interface module (here, the SDR-IF module 211-0 (21a)) as data DT of the RAM array 30 in accordance with the mode signal Smd by the mode interpreter 25.
The command control circuit 313 outputs a command from the interface module (here, the SDR-IF module 211-0 (21a)) as a command ACMD of the RAM array 30 in response to the mode signal Smd by the mode interpretation unit 25.

そして、適応的変換器31は、データ幅を任意に可変することが可能である。
適応的変換器31は、データ幅の可変機能部として、複数の場合の制御回路を有しているが、ここでは、大きく分けて、メモリコントローラ100の外部データバス幅とRAMアレイ30のデータバス幅が同じ場合、メモリコントローラ100の外部データバス幅が2のN乗の場合、メモリコントローラの外部データバス幅が2のN乗でない場合についての処理について説明する。
The adaptive converter 31 can arbitrarily vary the data width.
The adaptive converter 31 includes a plurality of control circuits as data width variable function units. Here, the adaptive converter 31 is roughly divided into an external data bus width of the memory controller 100 and a data bus of the RAM array 30. Processing when the width is the same, when the external data bus width of the memory controller 100 is 2 N, and when the external data bus width of the memory controller is not 2 N, will be described.

この3つの処理に対応する具体例としては、上述したように、RAMアレイ30のデータバス幅が128ビット幅とすると、第1例として、適応的変換器31は、たとえば128ビット幅のデータを受けると、そのままのデータ幅としてRAMアレイ30に供給する。
第2例として、適応的変換器31は、外部からたとえば32ビット幅のデータ(2のN乗のデータ)を受けると、128ビット幅のデータに変換してRAMアレイ30に供給する。
第3例として適応的変換器31は、たとえば10ビット幅のデータ(2のN乗でないデータ)を受けると、16ビット幅のデータに変換した後、128ビット幅のデータに変換してRAMアレイ30に供給する。
以下、第1例〜第3例についてさらに詳述する。
As a specific example corresponding to these three processes, as described above, if the data bus width of the RAM array 30 is 128 bits, as an example, the adaptive converter 31 converts the data of 128 bits wide, for example. When received, it is supplied to the RAM array 30 as the data width as it is.
As a second example, the adaptive converter 31 receives, for example, 32-bit width data (2 to the Nth power) from the outside, converts the data into 128-bit width data, and supplies it to the RAM array 30.
As a third example, the adaptive converter 31 receives, for example, 10-bit width data (data not 2 to the power of N), converts the data into 16-bit width data, and then converts the data into 128-bit width data. 30.
Hereinafter, the first to third examples will be further described in detail.

<第1例>
第1例は、適応的変換器31が、たとえば128ビット幅のデータを受けると、そのままの128ビットデータ幅としてRAMアレイ30に出力して書き込み、また、読み出しを行う場合の例である。ここではバースト長BL(Burst Length)=4である。
図16は、本実施形態に係る適応的変換器の第1例における書き込み動作を説明するための図である。
<First example>
In the first example, when the adaptive converter 31 receives, for example, data having a 128-bit width, the adaptive converter 31 outputs the same 128-bit data width to the RAM array 30 for writing and reading. Here, the burst length BL (Burst Length) = 4.
FIG. 16 is a diagram for explaining a write operation in the first example of the adaptive converter according to the present embodiment.

[書き込み]
この場合、コマンド制御回路313は、モード解釈部25で識別したバースト長BLとビット幅の情報をもとに、RAMアレイ30にライトコマンドWRITEを発行する。
同様に、アドレス変換回路311は、モード解釈部25で識別したバースト長BLとビット幅の情報をもとに、RAMアレイ30にアドレスを発行する。
データ変換回路312は、SDR−IFモジュール211−0(21a)からのデータをそのままRAMアレイ30に渡す。
[writing]
In this case, the command control circuit 313 issues a write command WRITE to the RAM array 30 based on the burst length BL and bit width information identified by the mode interpretation unit 25.
Similarly, the address conversion circuit 311 issues an address to the RAM array 30 based on the burst length BL and bit width information identified by the mode interpretation unit 25.
The data conversion circuit 312 passes the data from the SDR-IF module 211-0 (21a) to the RAM array 30 as it is.

[読み出し]
図17は、本実施形態に係る適応的変換器の第1例における読み出し動作を説明するための図である。
[reading]
FIG. 17 is a diagram for explaining a read operation in the first example of the adaptive converter according to the present embodiment.

この場合、コマンド制御回路313は、モード解釈部25で識別したバースト長BLとビット幅の情報をもとに、RAMアレイ30にリードコマンドREADを発行する。
アドレス変換回路311は、モード解釈部25で識別したバースト長BLとビット幅の情報をもとに、RAMアレイ30にアドレスを発行する。
データ変換回路312は、RAMアレイ30の読み出しデータをSDR−IFモジュール211−0(21a)そのまま渡す。
In this case, the command control circuit 313 issues a read command READ to the RAM array 30 based on the burst length BL and bit width information identified by the mode interpretation unit 25.
The address conversion circuit 311 issues an address to the RAM array 30 based on the burst length BL and bit width information identified by the mode interpretation unit 25.
The data conversion circuit 312 passes the read data of the RAM array 30 as it is, the SDR-IF module 211-0 (21a).

<第2例>
第2例は、適応的変換器31が、外部からたとえば32ビット幅のデータ(2のN乗のデータ)を受けると、128ビット幅のデータに変換してRAMアレイ30に出力して書き込み、または読み出す場合の例である。この場合も、バースト長BL=4である。
<Second example>
In the second example, when the adaptive converter 31 receives, for example, 32-bit width data (2 N power data) from the outside, the adaptive converter 31 converts the data into 128-bit width data, outputs it to the RAM array 30, and writes it. Or it is an example in the case of reading. Also in this case, the burst length BL = 4.

[データマスク有りの場合の書き込み]
図18は、本実施形態に係る適応的変換器の第2例におけるデータマスク有りの場合の書き込み動作を説明するための図である。
[Write with data mask]
FIG. 18 is a diagram for explaining a write operation in the second example of the adaptive converter according to the present embodiment when there is a data mask.

この場合、コマンド制御回路313は、モード解釈部25で識別したバースト長BLとビット幅の情報をもとに、RAMアレイ30にライトコマンドWRITEを発行する。たとえば、データマスク制御を利用する場合、ライトコマンドWRITEを連続して発行する。
アドレス変換回路311は、モード解釈部25で識別したバースト長とビット幅の情報をもとに、RAMアレイ30にアドレスを発行する。
データ変換回路312は、データマスク制御により、該当データのみRAMアレイ30に書き込む。
In this case, the command control circuit 313 issues a write command WRITE to the RAM array 30 based on the burst length BL and bit width information identified by the mode interpretation unit 25. For example, when data mask control is used, write commands WRITE are issued continuously.
The address conversion circuit 311 issues an address to the RAM array 30 based on the burst length and bit width information identified by the mode interpretation unit 25.
The data conversion circuit 312 writes only relevant data into the RAM array 30 by data mask control.

[データマスク無しの場合の書き込み]
図19は、本実施形態に係る適応的変換器の第2例におけるデータマスク無しの場合の書き込み動作を説明するための図である。
[Write without data mask]
FIG. 19 is a diagram for explaining the write operation in the second example of the adaptive converter according to this embodiment when there is no data mask.

この場合、コマンド制御回路313は、モード解釈部25で識別したバースト長とビット幅の情報をもとに、RAMアレイ30リード/ライトコマンドREAD/WRITEを発行する。
アドレス変換回路311は、モード解釈部25で識別したバースト長とビット幅の情報をもとに、RAMアレイ30にアドレスを発行する。
データ変換回路312は、データマスク制御をしない場合、一度RAMアレイ30のデータを読み出し、今回書き込むデータと合わせて書き込みを行う。
In this case, the command control circuit 313 issues a RAM array 30 read / write command READ / WRITE based on the burst length and bit width information identified by the mode interpretation unit 25.
The address conversion circuit 311 issues an address to the RAM array 30 based on the burst length and bit width information identified by the mode interpretation unit 25.
When data mask control is not performed, the data conversion circuit 312 reads data from the RAM array 30 once, and performs writing together with data to be written this time.

[読み出し]
図20は、本実施形態に係る適応的変換器の第2例における読み出し動作を説明するための図である。
この場合、キャスレイテンシ(Cas Latency)CL=2、バースト長BL=4である。
[reading]
FIG. 20 is a diagram for explaining a read operation in the second example of the adaptive converter according to the present embodiment.
In this case, Cas Latency CL = 2 and burst length BL = 4.

この場合、コマンド制御回路313は、モード解釈部25で識別したバースト長とビット幅の情報をもとに、RAMアレイ30にリードコマンドREADを発行する。
アドレス変換回路311は、モード解釈部25で識別したバースト長とビット幅の情報をもとに、RAMアレイ30にアドレスを発行する。
データ変換回路312は、RAMアレイ30から読み出したデータをパラレルデータからシリアルデータに変換してSDR−IFモジュール211−0(21a)に出力する。
In this case, the command control circuit 313 issues a read command READ to the RAM array 30 based on the burst length and bit width information identified by the mode interpretation unit 25.
The address conversion circuit 311 issues an address to the RAM array 30 based on the burst length and bit width information identified by the mode interpretation unit 25.
The data conversion circuit 312 converts the data read from the RAM array 30 from parallel data to serial data, and outputs the data to the SDR-IF module 211-0 (21a).

<第3例>
第3例は、適応的変換器31が、たとえば10ビット幅のデータ(2のN乗でないデータ)を受けると、16ビット幅のデータに変換した後、128ビット幅のデータに変換してRAMアレイ30に出力して書き込み、または読み出す場合の例である。この場合も、バースト長BL=4である。
<Third example>
In the third example, when the adaptive converter 31 receives, for example, 10-bit width data (data not 2 to the power of N), the adaptive converter 31 converts the data into 16-bit width data, and then converts the data into 128-bit width data. This is an example of outputting to the array 30 for writing or reading. Also in this case, the burst length BL = 4.

図21は、本実施形態に係る適応的変換器の第3例における変換後の書き込み、読み出しパターンを示す図である。
図22は、本実施形態に係る適応的変換器の第3例におけるアドレス変換テーブルの一例を示す図である。
図23は、本実施形態に係る適応的変換器の第3例における読み出すアドレスについて示す図である。
FIG. 21 is a diagram showing a write / read pattern after conversion in the third example of the adaptive converter according to the present embodiment.
FIG. 22 is a diagram illustrating an example of an address conversion table in the third example of the adaptive converter according to the present embodiment.
FIG. 23 is a diagram illustrating addresses to be read in the third example of the adaptive converter according to the present embodiment.

10ビット幅のデータを効率良く128ビット幅のRAMアレイ30に格納する場合、まず、10ビットを16ビットに置換え、その16ビットを128ビット幅のRAMアレイに格納する。
この場合、格納のパターンとして図21に示すような5つのパターンが存在するため、RAMアレイへの書き込み、読み出しには、このパターンを考慮して制御する。
図21の例では、第1パターンPTN1は、データ<1>の全部とデータ<2>の一部を含む。
第2パターンPTN2は、データ<2>の残りとデータ<3>の全部とデータ<4>の一部を含む。
第3パターンPTN3は、データ<4>の残りとデータ<5>の一部を含む。
第4パターンPTN4は、データ<5>の残りとデータ<6>の全部とデータ<7>の一部を含む。
第5パターンPTN5は、データ<7>の残りとデータ<8>の一部を含む。
In order to efficiently store 10-bit width data in the 128-bit width RAM array 30, first, 10 bits are replaced with 16 bits, and the 16 bits are stored in the 128-bit width RAM array.
In this case, since there are five patterns as shown in FIG. 21 as storage patterns, writing and reading to the RAM array are controlled in consideration of these patterns.
In the example of FIG. 21, the first pattern PTN1 includes all of the data <1> and a part of the data <2>.
Second pattern PTN2 includes the remainder of data <2>, all of data <3>, and part of data <4>.
Third pattern PTN3 includes the remainder of data <4> and a portion of data <5>.
The fourth pattern PTN4 includes the rest of the data <5>, all of the data <6>, and a part of the data <7>.
The fifth pattern PTN5 includes the remainder of the data <7> and a part of the data <8>.

[アドレス制御]
バースト長4(BL=4)のSDRAMの場合、SDR−IFモジュール221−0(21a)からの2アドレス分を1つのデータブロックとして扱い、これらのデータブロックが図21のパターンで書き込み、読み出しされる。
まず、SDR−IFモジュール211−0(21a)からのアドレスが図21のうちのどのパターンに該当するのか検出するため、図22にアドレス変換テーブルに示すように、アドレスの下位3ビット目から1ビット目を抽出する。
アドレス変換回路311は、書き込みアドレスの場合、RAMアレイ30へのアドレスは右のテーブルとカウントEnのタイミングに従いアドレスを発行する。
読み出しアドレスの場合、アドレス変換回路311は、図22のアドレス変換テーブルに従いアドレスを発行する。
[Address control]
In the case of SDRAM with a burst length of 4 (BL = 4), two addresses from the SDR-IF module 221-0 (21a) are handled as one data block, and these data blocks are written and read in the pattern of FIG. The
First, in order to detect which pattern in FIG. 21 the address from the SDR-IF module 211-0 (21a) corresponds to, as shown in the address conversion table in FIG. Extract the bit.
In the case of a write address, the address conversion circuit 311 issues an address to the RAM array 30 according to the timing of the right table and the count En.
In the case of a read address, the address conversion circuit 311 issues an address according to the address conversion table of FIG.

[アドレス変換テーブル]
図22のアドレス変換テーブルにおいては、SDR−IFモジュールのアドレスの幅をNとする場合を例として示している。
図22のアドレス変換テーブルの内容の以下の通りである。
[Address translation table]
In the address conversion table of FIG. 22, a case where the address width of the SDR-IF module is N is shown as an example.
The contents of the address conversion table of FIG. 22 are as follows.

パターンPTN1に対応するSDR−IFモジュール211−0のアドレス[3:1]が「000」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5である。
パターンPTN2に対応するSDR−IFモジュール211−0のアドレス[3:1]が「001」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5、アドレス「N-1:4]*5+1である。
パターンPTN3に対応するSDR−IFモジュール211−0のアドレス[3:1]が「010」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5+1である。
パターンPTN4に対応するSDR−IFモジュール211−0のアドレス[3:1]が「011」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5+1、アドレス「N-1:4]*5+2である。
パターンPTN5に対応するSDR−IFモジュール211−0のアドレス[3:1]が「100」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5+2、アドレス「N-1:4]*5+3である。
パターンPTN6に対応するSDR−IFモジュール211−0のアドレス[3:1]が「101」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5+3である。
パターンPTN7に対応するSDR−IFモジュール211−0のアドレス[3:1]が「110」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5+3、アドレス「N-1:4]*5+4である。
パターンPTN8に対応するSDR−IFモジュール211−0のアドレス[3:1]が「111」の場合のRAMアレイ30のアドレスは、アドレス「N-1:4]*5+4である。
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN1 is “000”, the address of the RAM array 30 is the address “N-1: 4] * 5.
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN2 is “001”, the address of the RAM array 30 is the address “N-1: 4] * 5 and the address“ N-1: 4] * 5 + 1.
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN3 is “010”, the address of the RAM array 30 is the address “N−1: 4] * 5 + 1.
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN4 is “011”, the address of the RAM array 30 is the address “N−1: 4] * 5 + 1 and the address“ N− 1: 4] * 5 + 2.
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN5 is “100”, the address of the RAM array 30 is the address “N-1: 4] * 5 + 2 and the address“ N− 1: 4] * 5 + 3.
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN6 is “101”, the address of the RAM array 30 is the address “N−1: 4] * 5 + 3.
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN7 is “110”, the address of the RAM array 30 is the address “N-1: 4] * 5 + 3, and the address“ N− 1: 4] * 5 + 4.
When the address [3: 1] of the SDR-IF module 211-0 corresponding to the pattern PTN8 is “111”, the address of the RAM array 30 is the address “N-1: 4] * 5 + 4.

[書き込み]
図24は、本実施形態に係る適応的変換器の第3例における書き込み動作を説明するための図である。
[writing]
FIG. 24 is a diagram for explaining a write operation in the third example of the adaptive converter according to the present embodiment.

10ビットから16ビットへの変換は、入力の各ビット毎にパラレルからシリアルに変換し、8データ分の2ビットをそれぞれペアにして順に並べる。
コマンド制御回路313は、モード解釈部25で識別したバースト長とビット幅のモード信号、カウントEnの情報をもとに、RAMアレイ30にライトコマンドWRITEを発行する。
アドレス変換回路311は、モード解釈部25で識別したバースト長とビット幅の情報、カウントEnの情報をもとに、RAMアレイ30にアドレスを発行する。
データ変換回路312は、データマスク制御を行い、該当データを書き込む。
The conversion from 10 bits to 16 bits is performed by converting each input bit from parallel to serial, and arranging two bits for 8 data in pairs.
The command control circuit 313 issues a write command WRITE to the RAM array 30 based on the burst length and bit width mode signal identified by the mode interpreter 25 and the information of the count En.
The address conversion circuit 311 issues an address to the RAM array 30 based on the burst length and bit width information identified by the mode interpretation unit 25 and the count En information.
The data conversion circuit 312 performs data mask control and writes the corresponding data.

[読み出し]CL=2、BL=4
・連続アドレス読み出しの場合
図25は、本実施形態に係る適応的変換器の第3例における連続アドレス読み出し動作を説明するための図である。
[Reading] CL = 2, BL = 4
In the case of continuous address reading FIG. 25 is a diagram for explaining the continuous address reading operation in the third example of the adaptive converter according to the present embodiment.

この場合、モード解釈部25で識別したバースト長、ビット幅(データ幅)、SDR−IFモジュール211−0(21a)からのアドレスをもとに、RAMアレイ30のアドレスを指定し、データを読み出す。
RAMアレイ30の読み出しデータが一つのパターンの全てのデータが含まれる<1>、<3>、<6>、<8>から始まる場合、読み出したデータから8データ分のブロックを抜き出し、シリアル/パラレル変換し、順次展開する。
次のデータは、8データ分のデータブロックが2つのブロックにまたがるため、1つ目のデータを保持しておき、2つ目のデータブロックと合わせて、シリアル/パラレル変換し、順次展開することにより、効率よく読み出しすることができる。
In this case, based on the burst length, bit width (data width) identified by the mode interpretation unit 25, and the address from the SDR-IF module 211-0 (21a), the address of the RAM array 30 is designated and data is read out. .
When the read data of the RAM array 30 includes all the data of one pattern, when starting from <1>, <3>, <6>, <8>, a block corresponding to 8 data is extracted from the read data, Convert to parallel and expand sequentially.
For the next data, since the data block for 8 data spans two blocks, the first data is held, serial / parallel converted together with the second data block, and sequentially expanded Thus, it is possible to read efficiently.

・単発アドレス読み出しの場合
図26は、本実施形態に係る適応的変換器の第3例における単発アドレス読み出し動作を説明するための図である。
In the case of single address read FIG. 26 is a diagram for explaining the single address read operation in the third example of the adaptive converter according to the present embodiment.

この場合、モード解釈部25で識別したバースト長、ビット幅(データ幅) バースト長、データ幅、SDR−IFモジュール211−0(21a)からのアドレスをもとに、RAMアレイ30のアドレスを指定し、データを読み出す。
RAMアレイ30の読み出しデータが<2>、<4>、<5>、<7>から始まる場合、8データ分のデータブロックが2つのブロックにまたがるため、1つ目のデータを保持しておき、2つ目のデータブロックと合わせて、シリアル/パラレル変換し、順次展開する。
In this case, the address of the RAM array 30 is designated based on the burst length, bit width (data width), burst length, data width, and address from the SDR-IF module 211-0 (21a) identified by the mode interpreter 25. And read the data.
When the read data of the RAM array 30 starts from <2>, <4>, <5>, <7>, the data block for 8 data spans two blocks, so the first data is retained. Together with the second data block, serial / parallel conversion is performed and the data blocks are sequentially expanded.

以上のように、本実施形態に係る適応的変換器31はデータ幅の可変機能部として、大きく分けて、メモリコントローラ100の外部データバス幅とRAMアレイ30のデータバス幅が同じ場合、メモリコントローラ100の外部データバス幅が2のN乗の場合、メモリコントローラの外部データバス幅が2のN乗でない場合について適応的にデータ幅を可変またはそのままに処理することが可能であることから、本半導体メモリ装置1のデータ幅以外のデータが入力された場合でも効率よくRAMアレイ30にデータを格納することができ、また、読み出すことができる。   As described above, the adaptive converter 31 according to the present embodiment is roughly divided into data width variable function units. When the external data bus width of the memory controller 100 and the data bus width of the RAM array 30 are the same, the memory controller When the external data bus width of 100 is 2 to the Nth power, the data width can be adaptively processed without changing the external data bus width of the memory controller. Even when data other than the data width of the semiconductor memory device 1 is input, the data can be efficiently stored in the RAM array 30 and can be read out.

また、本実施形態においては、各インターフェースモジュール側と適応的変換器31との間(IF部3)のI/O幅(データバス幅)は、通常のSDRAMやDDR、SRAM等のバス幅である32ビットや20ビットより広い幅、たとえば64ビット(または128ビット)幅に設定されている。
また、本実施形態においては、適応的変換器31とRAMアレイ30との間にバス幅は128ビットに固定されている。
In this embodiment, the I / O width (data bus width) between each interface module side and the adaptive converter 31 (IF unit 3) is a bus width of a normal SDRAM, DDR, SRAM, or the like. A width wider than a certain 32 bits or 20 bits, for example, a width of 64 bits (or 128 bits) is set.
In this embodiment, the bus width between the adaptive converter 31 and the RAM array 30 is fixed to 128 bits.

半導体メモリ装置1,1AのI/O幅が32ビットであると、たとえば図27(A)に示すように、I/O幅が64ビットのコントロールデバイス100とI/O幅が32ビットのSDRAMが2個接続される。
これに対して、本実施形態においては、図27(B)に示すように、I/O幅が64ビットのマルチIFとして形成されていることから、メモリ装置が1つで済む。すなわちMメモリ員数を削減することができる。
If the I / O width of the semiconductor memory devices 1 and 1A is 32 bits, for example, as shown in FIG. 27A, a control device 100 having an I / O width of 64 bits and an SDRAM having an I / O width of 32 bits. Are connected.
In contrast, in the present embodiment, as shown in FIG. 27B, the I / O width is formed as a 64-bit multi-IF, so only one memory device is required. That is, the number of M memories can be reduced.

また、たとえば、SDRAMに蓄積されたデータをコントロールデバイス100Bで変換し、SRAMに格納する場合、図28(A)に示すように、コントロールデバイス100BにはSDRAMとSRAMの2つのメモリ装置が接続される。
これに対して、本実施形態においては、上述したように、適応的変換器31でモード信号に応じたバス幅の切り換えを行うことができることから、モード信号の切り換えを制御することにより、図28(B)に示すように、SDRAMとSRAMのインターフェース(IF)を兼用することができ、図29および図30に示すように、記憶領域を分割使用することができる。
図30の例では、モード信号Smdからメモリ領域の分割情報を得て、適応的変換器31でRAMアレイ30の書き込み(ライト)、読み出し(リード)アドレスを制御し、SDRAMデータ領域とSRAMデータ領域とを区別する。
For example, when data stored in the SDRAM is converted by the control device 100B and stored in the SRAM, as shown in FIG. 28A, two memory devices, SDRAM and SRAM, are connected to the control device 100B. The
On the other hand, in the present embodiment, as described above, the adaptive converter 31 can switch the bus width in accordance with the mode signal. Therefore, by controlling the switching of the mode signal, FIG. As shown in FIG. 29B, the interface (IF) between the SDRAM and the SRAM can be used, and the storage area can be divided and used as shown in FIGS.
In the example of FIG. 30, the division information of the memory area is obtained from the mode signal Smd, the adaptive converter 31 controls the write (write) and read (read) addresses of the RAM array 30, and the SDRAM data area and the SRAM data area To distinguish.

また、インターフェース(IF)の異なるコントロールデバイスに接続されたメモリ装置の内容をコントロールデバイス間でやり取りする場合、図31(A)に示すように、それぞれのメモリ装置が必要となる。
これに対して、本実施形態においては、上述したように、モード信号の切り換えを制御することにより、SDRAMとDDRのインターフェース(IF)を兼用することができる。たとえば異なるインターフェース(IF)のデュアルポートRAM(Dual-Port-RAM)として使用できる。
Further, when the contents of the memory devices connected to the control devices having different interfaces (IF) are exchanged between the control devices, each memory device is required as shown in FIG.
On the other hand, in the present embodiment, as described above, by controlling the switching of the mode signal, the SDRAM (DDR) interface (IF) can be shared. For example, it can be used as a dual-port RAM with different interfaces (IF).

このように、I/O幅の広いマルチIFメモリ装置は、上述したように接続することにより基板上のメモリ員数を減らすことができる。
また、異なるIFでメモリに蓄積された内容をやり取りする場合、1つのメモリ装置で行うことができる。
As described above, the multi-IF memory device having a wide I / O width can reduce the number of memories on the substrate by connecting as described above.
Further, when the contents stored in the memory are exchanged with different IFs, it can be performed by one memory device.

前述したように、各インターフェースモジュールは、それぞれ対応するメモリタイプの動作タイミングでの入出力をメモリコントローラ100に対して実現するものであるが、ここで、SDRに対応するSDR−IFモジュール211−0と、DDRに対応するDDR−IFモジュール211−1の動作を例に挙げて説明する。   As described above, each interface module implements input / output at the operation timing of the corresponding memory type to the memory controller 100. Here, the SDR-IF module 211-0 corresponding to the SDR is used. The operation of the DDR-IF module 211-1 corresponding to DDR will be described as an example.

まず、図32および図33に関連付けてSDR,DDRのリード/ライト処理のタイミングについて説明する。   First, the timing of SDR and DDR read / write processing will be described with reference to FIGS. 32 and 33.

図32(A)および(B)は、通常のSDR−SDRAMのリードサイクルタイミングとライトサイクルタイミングの一例を示している。特にこれは、キャスレイテンシ(Cas Latency)CL=2、バースト長(Burst Length)BL=4とした場合における、システムクロックCLK、コマンドCMD、データ入出力DQのタイミング例を示している。   FIGS. 32A and 32B show an example of read cycle timing and write cycle timing of a normal SDR-SDRAM. In particular, this shows a timing example of the system clock CLK, the command CMD, and the data input / output DQ when Cas Latency CL = 2 and Burst Length BL = 4.

SDRAMは、入力されるクロックCLKの立ち上がりエッジで各コマンド(制御信号)CMDをラッチし、またクロックCLKに同期してデータの入出力を行う。クロックCLKの立ち上がりエッジのタイミングをT1、T2・・・で示している。   The SDRAM latches each command (control signal) CMD at the rising edge of the input clock CLK, and inputs / outputs data in synchronization with the clock CLK. The timing of the rising edge of the clock CLK is indicated by T1, T2,.

図32(A)のリードサイクルタイミングとしては、ホスト側(たとえばメモリコントローラ100に相当するメモリ制御デバイス)から供給されるリードコマンドREADをたとえばタイミングT1でラッチする。キャスレイテンシCL=2の場合、2クロック後のタイミングT3以降において、リードコマンドREADに応じて読み出したデータQ0,Q1,Q2,Q3を、ホスト側に出力することになる。   As the read cycle timing in FIG. 32A, a read command READ supplied from the host side (for example, a memory control device corresponding to the memory controller 100) is latched at timing T1, for example. When the CAS latency CL = 2, the data Q0, Q1, Q2, and Q3 read in response to the read command READ are output to the host side after the timing T3 after two clocks.

また、図32(B)のライトサイクルタイミングとしては、ホスト側から供給されるライトコマンドWRITEをたとえばタイミングT1でラッチする。また、ホスト側から供給されるデータQ0,Q1,Q2,Q3を、タイミングT1以降ラッチして、書き込み処理をすることになる。   Also, as the write cycle timing of FIG. 32B, the write command WRITE supplied from the host side is latched at timing T1, for example. Further, the data Q0, Q1, Q2, and Q3 supplied from the host side are latched after the timing T1, and the writing process is performed.

一方、図33(A)および(B)は、DDR−SDRAMのリードサイクルタイミングとライトサイクルタイミングの一例を示している。この場合も、キャスレイテンシCL=2、バースト長BL=4とした場合とし、システムクロックCLK1,CLK2、コマンドCMD、データ入出力DQ、データストローブ信号DQSのタイミング例を示している。クロックCLK2は、クロックCLK1の位相反転クロックである。
DDR−SDRAMは、SDR−SDRAMと同様に、入力されるクロックCLKの立ち上がりエッジでコマンドを入力して制御するが、データ入出力のタイミングがSDR−SDRAMと異なる。
DDR−SDRAMでは、高速データ転送を実現するために、位相反転させた2つのクロックCLK1,CLK2と、データストローブ信号DQSを用いる。データストローブ信号DQSはクロックCLK1に同期し、データ入出力DQは、データストローブ信号DQSの立ち上がりと立ち下がりの両エッジに同期することになる。
On the other hand, FIGS. 33A and 33B show examples of the read cycle timing and the write cycle timing of the DDR-SDRAM. In this case as well, the case of CAS latency CL = 2 and burst length BL = 4 is shown, and timing examples of system clocks CLK1, CLK2, command CMD, data input / output DQ, and data strobe signal DQS are shown. The clock CLK2 is a phase inversion clock of the clock CLK1.
The DDR-SDRAM is controlled by inputting a command at the rising edge of the input clock CLK, similarly to the SDR-SDRAM, but the data input / output timing is different from that of the SDR-SDRAM.
The DDR-SDRAM uses two clocks CLK1 and CLK2 whose phases are inverted and a data strobe signal DQS in order to realize high-speed data transfer. The data strobe signal DQS is synchronized with the clock CLK1, and the data input / output DQ is synchronized with both rising and falling edges of the data strobe signal DQS.

図33(A)のリードサイクルタイミングでは、たとえばタイミングT1としてクロックCLK1の立ち上がりに同期してコマンド処理を行う。キャスレイテンシCL=2の場合、2クロック後のタイミングT3から読出データを出力するが、この場合、データストローブ信号DQSの両エッジに同期して、データQ0,Q1,Q2,Q3が出力される。   In the read cycle timing of FIG. 33A, for example, command processing is performed in synchronization with the rise of the clock CLK1 as timing T1. When CAS latency CL = 2, read data is output from timing T3 after two clocks. In this case, data Q0, Q1, Q2, and Q3 are output in synchronization with both edges of the data strobe signal DQS.

また、図33(B)のライトサイクルタイミングでは、ホスト側から供給されるライトコマンドをたとえばタイミングT1でラッチする。また、データストローブ信号DQSの両エッジに同期して、データQ0,Q1,Q2,Q3の書き込み処理が行われる。   In the write cycle timing of FIG. 33B, the write command supplied from the host side is latched at timing T1, for example. In addition, data Q0, Q1, Q2, and Q3 are written in synchronization with both edges of the data strobe signal DQS.

なお、DDR2,DDR3・・・は基本的にはDDRと同様の動作であり、選択できるキャスレイテンシCLと、動作周波数が異なるものである。   DDR2, DDR3,... Are basically the same operation as DDR, and have a different operating frequency from the selectable cast latency CL.

たとえばSDR、DDRといったメモリタイプの違いによって、このような処理タイミングの相違が存在する。
そして本例の半導体メモリ装置1では、このような違いを吸収して、各種メモリタイプとして動作すべく、インターフェースモジュール群21の各IFモジュールが機能する。
For example, there are differences in processing timing due to differences in memory types such as SDR and DDR.
In the semiconductor memory device 1 of this example, each IF module of the interface module group 21 functions so as to absorb such a difference and operate as various memory types.

図34はSDR−IFモジュール211−0が機能する場合の入出力動作タイミングを示す図であり、図35はDDR−IFモジュール211−1が機能する場合の入出力動作タイミングを示す図である。   FIG. 34 is a diagram showing input / output operation timing when the SDR-IF module 211-0 functions, and FIG. 35 is a diagram showing input / output operation timing when the DDR-IF module 211-1 functions.

図34および図35は、RAMアレイ30が、アドレス入力からデータ読み出され出力されるまでのアクセスタイムtAC=3nsecという性能とされている場合を例に挙げている。またキャスレイテンシCL=2が求められる場合を示している。   34 and 35 illustrate a case where the RAM array 30 has a performance of an access time tAC = 3 nsec from the address input to the data read and output. Moreover, the case where the cast latency CL = 2 is obtained is shown.

図34は、たとえばメモリコントローラ100が半導体メモリ装置1をSDRとみなして読み出し要求を行った場合のタイミングを示している。すなわち半導体メモリ装置1がSDRモードとされてSDR−IFモジュール211−0が機能する場合である。   FIG. 34 shows the timing when, for example, the memory controller 100 issues a read request by regarding the semiconductor memory device 1 as an SDR. That is, the semiconductor memory device 1 is set to the SDR mode and the SDR-IF module 211-0 functions.

図34(A)は基本クロックBFを示し、基本クロックBFは、その周波数がたとえば100MHzに設定される。この基本クロックBFは、メモリコントローラ100が半導体メモリ装置1に供給するシステムクロックCLKに同期した同位相かつ同周波数のクロックである。
また図34(B)のクロック2BFは、基本クロックBFの2倍の周波数のクロックであり、また図34(C)のクロック2BF+πは、クロック2BFを180°位相シフトした反転クロックである。
これらのクロックBF、2BF、2BF+πは、入力されるシステムクロックCLKに基づいてPLL部24が生成し、SDR−IFモジュール211−0に対して処理クロック群として供給される。
FIG. 34A shows the basic clock BF, and the frequency of the basic clock BF is set to 100 MHz, for example. The basic clock BF is a clock having the same phase and the same frequency as that of the system clock CLK supplied from the memory controller 100 to the semiconductor memory device 1.
The clock 2BF in FIG. 34B is a clock having a frequency twice that of the basic clock BF, and the clock 2BF + π in FIG. 34C is an inverted clock obtained by shifting the clock 2BF by 180 °.
These clocks BF, 2BF, and 2BF + π are generated by the PLL unit 24 based on the input system clock CLK, and supplied to the SDR-IF module 211-0 as a processing clock group.

図34(D)は、SDR−IFモジュール211−0がIOバッファ22を介して行うメモリコントローラ100に対する入出力を示している。
図34(E)は、SDR−IFモジュール211−0がRAMアレイ30(適応的変換器31)に対してアドレスを発行するタイミングを示している。
図34(F)は、RAMアレイ30からの読み出しデータがSDR−IFモジュール211−0に転送されてくるタイミングを示している。
図34(G)は、SDR−IFモジュール211−0が、読み出しデータを展開してIOバッファ22に受け渡すタイミングを示している。
FIG. 34D shows input / output to / from the memory controller 100 performed by the SDR-IF module 211-0 via the IO buffer 22.
FIG. 34E shows the timing at which the SDR-IF module 211-0 issues an address to the RAM array 30 (adaptive converter 31).
FIG. 34F shows the timing at which read data from the RAM array 30 is transferred to the SDR-IF module 211-0.
FIG. 34G shows the timing when the SDR-IF module 211-0 expands the read data and delivers it to the IO buffer 22.

たとえばタイミングT1において、メモリコントローラ100からのリードコマンドが取り込まれたとする。この場合、SDR−IFモジュール211−0は、コマンド解釈や読み出しアドレスの認識処理を行い、5nsec後のタイミングT2において、RAMアレイ30に対するアドレス発行を行う。
RAMアレイ30はアクセスタイムtAC=3nsecであるため、3nsec後に読出データがSDR−IFモジュール21aに転送されてくる。するとSDR−IFモジュール211−0は、読出データQ0,Q1,Q2,Q3を展開して出力する。
この場合、4.5nsec後のタイミングT3以降、基準クロックBFの立ち上がりタイミングで各読出データQ0,Q1,Q2,Q3を展開し、IOバッファ22を介してメモリコントローラ100に出力する。
For example, assume that a read command is fetched from the memory controller 100 at timing T1. In this case, the SDR-IF module 211-0 performs command interpretation and read address recognition processing, and issues an address to the RAM array 30 at timing T2 after 5 nsec.
Since the RAM array 30 has an access time tAC = 3 nsec, read data is transferred to the SDR-IF module 21a after 3 nsec. Then, the SDR-IF module 211-0 expands and outputs the read data Q0, Q1, Q2, Q3.
In this case, the read data Q0, Q1, Q2, and Q3 are expanded at the rising timing of the reference clock BF after the timing T3 after 4.5 nsec, and output to the memory controller 100 via the IO buffer 22.

このような動作により、キャスレイテンシCL=2としてのSDR−SDRAMと同等の読出動作が、半導体メモリ装置1によって実現される。
換言すれば、メモリコントローラ100は、半導体メモリ装置1をSDRとみなしてコマンド発行を行えばよく、一方、半導体メモリ装置1はSDR−IFモジュール211−0の処理により、コマンドに応じてSDRとしての動作を要求されるキャスレイテンシで行う。
With such an operation, the semiconductor memory device 1 realizes a read operation equivalent to that of the SDR-SDRAM with the CAS latency CL = 2.
In other words, the memory controller 100 may issue a command by regarding the semiconductor memory device 1 as an SDR. On the other hand, the semiconductor memory device 1 performs an SDR as an SDR according to a command by processing of the SDR-IF module 211-0. Perform the operation with the required cast latency.

なお、この図34はRAMアレイ30のアクセスタイムtAC=3nsecとした場合の例であるが、アクセスタイムtACが遅い場合は、SDR−IFモジュール211−0における処理を高速化して対応する。
たとえば、アクセスタイムtAC=5nsecであって、キャスレイテンシCL=2が要求されるのであれば、SDR−IFモジュール211−0は読出データの展開出力を2.5nsec後から行うことで、タイミングT3からの読出データQ0,Q1,Q2,Q3の出力が可能となる。
またたとえば、アクセスタイムtAC=8nsecであって、キャスレイテンシCL=2が要求されるのであれば、SDR−IFモジュール211−0は、タイミングT1のリードコマンドのラッチから2.5nsec後にRAMアレイ30に対してアドレス発行を行う。そして8nsec後に転送されてくる読出データの展開出力を、2nsec後のタイミングT3からの実行するようにすればよい。
FIG. 34 shows an example in which the access time tAC of the RAM array 30 is set to 3 nsec. However, when the access time tAC is late, the processing in the SDR-IF module 211-0 is speeded up.
For example, if the access time tAC = 5 nsec and the CAS latency CL = 2 is required, the SDR-IF module 211-0 performs the output of the read data after 2.5 nsec, so that the timing T3 The read data Q0, Q1, Q2, and Q3 can be output.
Further, for example, if the access time tAC = 8 nsec and the CAS latency CL = 2 is required, the SDR-IF module 211-0 reads the RAM array 30 after 2.5 nsec from the read command latch at the timing T 1. An address is issued for this. Then, the expanded output of the read data transferred after 8 nsec may be executed from the timing T3 after 2 nsec.

次に、図35は、メモリコントローラ100が半導体メモリ装置1をDDRとみなして読出要求を行った場合のタイミングを示している。すなわち、図35は、半導体メモリ装置1がDDRモードとされてDDR−IFモジュール211−1が機能する場合を示している。   Next, FIG. 35 shows the timing when the memory controller 100 issues a read request with the semiconductor memory device 1 regarded as a DDR. That is, FIG. 35 shows a case where the semiconductor memory device 1 is set to the DDR mode and the DDR-IF module 211-1 functions.

図35(A)の基本クロックBFは、メモリコントローラ100が半導体メモリ装置1に供給するシステムクロックCLKと同位相で同周波数のクロックであり、その周波数はたとえば133MHzに設定される。
また、図35(B)のクロック2BFは、基本クロックBFの2倍の周波数のクロックであり、図35(C)のクロック2BF+πは、クロック2BFを180°位相シフトした反転クロックである。
これらのクロックBF、2BF、2BF+πは、入力されるシステムクロックCLKに基づいてPLL部24が生成し、DDR−IFモジュール211−1に対して処理クロック群として供給される。
The basic clock BF in FIG. 35A is a clock having the same phase and the same frequency as the system clock CLK supplied to the semiconductor memory device 1 by the memory controller 100, and the frequency is set to 133 MHz, for example.
The clock 2BF in FIG. 35B is a clock having a frequency twice that of the basic clock BF, and the clock 2BF + π in FIG. 35C is an inverted clock obtained by shifting the clock 2BF by 180 °.
These clocks BF, 2BF, and 2BF + π are generated by the PLL unit 24 based on the input system clock CLK, and are supplied as a processing clock group to the DDR-IF module 211-1.

図35(D)は、DDR−IFモジュール211−1がIOバッファ22を介して行うメモリコントローラ100に対する入出力を示している。
図35(E)は、DDR−IFモジュール211−1のアドレス処理タイミングを示している。
図35(F)は、DDR−IFモジュール211−1がRAMアレイ30(適応的変換器31)に対してアドレスを発行するタイミングを示している。
図35(G)は、RAMアレイ30からの読み出しデータがDDR−IFモジュール211−1に転送されてくるタイミングを示している。
図35(H)は、DDR−IFモジュール211−1が、読出データの展開処理のタイミングを示している。
図35(I)は、DDR−IFモジュール211−1が、展開した読出データをIOバッファ22に受け渡すタイミングを示している。
FIG. 35D shows input / output with respect to the memory controller 100 performed by the DDR-IF module 211-1 via the IO buffer 22.
FIG. 35E shows the address processing timing of the DDR-IF module 211-1.
FIG. 35F shows the timing at which the DDR-IF module 211-1 issues an address to the RAM array 30 (adaptive converter 31).
FIG. 35G shows the timing at which read data from the RAM array 30 is transferred to the DDR-IF module 211-1.
FIG. 35H shows the timing of the read data expansion processing by the DDR-IF module 211-1.
FIG. 35I shows the timing when the DDR-IF module 211-1 delivers the expanded read data to the IO buffer 22.

たとえばタイミングT1において、メモリコントローラ100からのリードコマンドが入力されたとする。DDR−IFモジュール211−1は、アドレス処理を3.76nsecの間に行ってRAMアレイ30に対するアドレス発行を行う。
RAMアレイ30はアクセスタイムtAC=3nsecであるため、3nsec後に読出データがDDR−IFモジュール211−1に転送されてくる。するとDDR−IFモジュール211−1は、0.76nsec後から読出データQ0,Q1,Q2,Q3を展開し、これを5.6nsec後のタイミングT3以降、基準クロックBFの立ち上がりおよび立ち下がりの両エッジのタイミングで各読出データQ0,Q1,Q2,Q3を、IOバッファ22を介してメモリコントローラ100に出力する。
For example, it is assumed that a read command from the memory controller 100 is input at timing T1. The DDR-IF module 211-1 performs address processing for 3.76 nsec and issues an address to the RAM array 30.
Since the RAM array 30 has an access time tAC = 3 nsec, read data is transferred to the DDR-IF module 211-1 after 3 nsec. Then, the DDR-IF module 211-1 develops the read data Q0, Q1, Q2, and Q3 after 0.76 nsec, and after the timing T3 after 5.6 nsec, both rising and falling edges of the reference clock BF The read data Q0, Q1, Q2, and Q3 are output to the memory controller 100 via the IO buffer 22 at the timing shown in FIG.

このような動作により、キャスレイテンシCL=2としてのDDR−SDRAMと同等の読み出し動作が、半導体メモリ装置1によって実現される。
換言すれば、メモリコントローラ100は、半導体メモリ装置1をDDRとみなしてコマンド発行を行えばよく、一方、半導体メモリ装置1はDDR−IFモジュール211−1の処理により、コマンドに応じてDDRとしての動作を要求されるキャスレイテンシで行う。
With such an operation, the semiconductor memory device 1 realizes a read operation equivalent to that of the DDR-SDRAM with the CAS latency CL = 2.
In other words, the memory controller 100 may issue a command by regarding the semiconductor memory device 1 as a DDR. On the other hand, the semiconductor memory device 1 performs processing as the DDR according to the command by the processing of the DDR-IF module 211-1. Perform the operation with the required cast latency.

なお、この図35はRAMアレイ30のアクセスタイムtAC=3nsecとした場合の例であるが、この場合も、アクセスタイムtACが遅い場合は、DDR−IFモジュール21bにおける処理を高速化して対応すればよい。   FIG. 35 shows an example in which the access time tAC of the RAM array 30 is 3 nsec. Also in this case, if the access time tAC is slow, the processing in the DDR-IF module 21b can be handled at high speed. Good.

以上では、SDR−IFモジュール211−0、DDR−IFモジュール211−1が機能する場合の読出動作タイミングを示したが、DDR2−IFモジュール211−2等の他のインターフェースモジュールが機能する場合も、それぞれ対応するメモリタイプに応じた動作が実現されるようにすればよい。
そして図2の構成の場合、メモリタイプに応じたモードにより、1つのインターフェースモジュールが機能する状態となることで、半導体メモリ装置1は、メモリコントローラ100から見て、SDR、DDR、DDR2〜DDR(n)、SRAM、DPRAM、FIFOのいずれかとして動作することができる。
In the above, the read operation timing when the SDR-IF module 211-0 and the DDR-IF module 211-1 function is shown, but when other interface modules such as the DDR2-IF module 211-2 function, An operation corresponding to the corresponding memory type may be realized.
In the case of the configuration of FIG. 2, the semiconductor memory device 1 can be configured to function as SDR, DDR, DDR2-DDR ( n) Can operate as any one of SRAM, DPRAM, and FIFO.

[3.PLL部のモード動作]
ところで、半導体メモリ装置1が各種のメモリタイプとして動作するにあたっては、上述のようにモード解釈部25からのモード信号Smdに応じて、各部がモードに応じた処理を行うことになる。
特に、PLL部24、セレクタ23、IOバッファ22が、モード信号Smdに対応した動作を行う。以下、このモード動作について説明していく。
[3. Mode operation of PLL section]
By the way, when the semiconductor memory device 1 operates as various memory types, each unit performs processing according to the mode in accordance with the mode signal Smd from the mode interpretation unit 25 as described above.
In particular, the PLL unit 24, the selector 23, and the IO buffer 22 perform operations corresponding to the mode signal Smd. Hereinafter, this mode operation will be described.

まず、ここではPLL部24のモード動作を述べる。   First, the mode operation of the PLL unit 24 will be described here.

図36は、PLL部24の具体的な構成例を示している。なお、図示および説明の簡略化のため、ここではクロック出力系として、SDR−IFモジュール211−0、DDR−IFモジュール211−1、DDR2−IFモジュール211−2の3つのインターフェースモジュールに対応する部分のみを参照して、PLL部24のモード動作について説明していく。また、図36においては、共通シーケンス部210は理解を容易にするために省略してある。   FIG. 36 shows a specific configuration example of the PLL unit 24. For simplification of illustration and description, here, as a clock output system, a portion corresponding to three interface modules of the SDR-IF module 211-0, the DDR-IF module 211-1, and the DDR2-IF module 211-2. Only the mode operation of the PLL unit 24 will be described. In FIG. 36, the common sequence unit 210 is omitted for easy understanding.

メモリコントローラ100から供給されるシステムクロックCLKは、バッファアンプ241を介してクロック生成用PLL回路242に供給される。クロック生成用PLL回路242は、たとえば位相比較器、ループフィルタ、VCO(電圧制御発振器)、2逓倍器を備えたPLL(Phase Locked Loop)回路として形成される。
クロック生成用PLL回路242は、システムクロックCLKと、1/2分周器243の出力の位相比較を行いながら、システムクロックCLKに同期した、2倍の周波数のクロック2BFを出力する。このクロック2BFは切換回路245に供給される。
また、クロック2BFは、1/2分周器243により分周されて、システムクロックCLKと同周波数とされた後、位相比較用のクロックとしてクロック生成用PLL回路242にフィードバックされるとともに、この1/2分周器243により分周されたクロックが、システムクロックCLKと同位相で同周波数の基準クロックBFとして切換回路247に供給される。
さらに、クロック生成用PLL回路242から出力されるクロック2BFは、フェイズシフタ244で移相処理が行われ、位相反転されたクロック2BF+πが生成される。このクロック2BF+πは切換回路246に供給される。
The system clock CLK supplied from the memory controller 100 is supplied to the clock generation PLL circuit 242 via the buffer amplifier 241. The clock generation PLL circuit 242 is formed as a PLL (Phase Locked Loop) circuit including a phase comparator, a loop filter, a VCO (voltage controlled oscillator), and a doubler, for example.
The clock generation PLL circuit 242 outputs a clock 2BF having a double frequency synchronized with the system clock CLK while performing a phase comparison between the system clock CLK and the output of the 1/2 frequency divider 243. This clock 2BF is supplied to the switching circuit 245.
The clock 2BF is frequency-divided by a 1/2 frequency divider 243 to have the same frequency as the system clock CLK, and then fed back to the clock generation PLL circuit 242 as a phase comparison clock. The clock divided by the / 2 frequency divider 243 is supplied to the switching circuit 247 as the reference clock BF having the same phase and the same frequency as the system clock CLK.
Further, the clock 2BF output from the clock generation PLL circuit 242 is phase-shifted by the phase shifter 244 to generate a phase-inverted clock 2BF + π. This clock 2BF + π is supplied to the switching circuit 246.

切換回路245,246,247は出力端子として、それぞれS端子、D1端子、D2端子を備える。
S端子はSDR−IFモジュール211−0(21a)に接続される端子である。
D1端子はDDR−IFモジュール211−1(21b)に接続される端子である。
D2端子はDDR2−IFモジュール211−1(21c)に接続される端子である。
また、切換回路245,36,37には、それぞれHレベル電圧Hiが供給される固定電圧端子Fが用意されている。なお、この固定電圧端子Fは、Lレベル電圧とされてもよい。あるいはハイインピーダンス状態とされてもよい。
The switching circuits 245, 246, and 247 have S, D1, and D2 terminals as output terminals, respectively.
The S terminal is a terminal connected to the SDR-IF module 211-0 (21a).
The D1 terminal is a terminal connected to the DDR-IF module 211-1 (21b).
The D2 terminal is a terminal connected to the DDR2-IF module 211-1 (21c).
In addition, the switching circuits 245, 36, and 37 are each provided with a fixed voltage terminal F to which an H level voltage Hi is supplied. The fixed voltage terminal F may be an L level voltage. Or you may be in a high impedance state.

なお上述のようにこの図36では、3つのインターフェースモジュール(211−0,211−1,211−2)に対するクロック出力系のみを示しているため、切換回路245,246,247は3つの出力端子としているが、実際にはこの切換回路245,246,247には、他のインターフェースモジュール(211−3〜211−n、21−2,21−3,21−4)に対する出力端子も形成され、選択可能とされている。   As described above, in FIG. 36, only the clock output system for the three interface modules (211-0, 211-1, 211-2) is shown, so that the switching circuits 245, 246, 247 have three output terminals. In reality, however, the switching circuits 245, 246 and 247 are also provided with output terminals for the other interface modules (211-3 to 211-n, 21-2, 21-3, 21-4). It can be selected.

このようなPLL部24に対して、モード解釈部25からのモード信号Smdは、切換回路245,246,247に供給される。切換回路245,246,247は、モード信号Smdに応じて、接続状態を切り換える。   For such a PLL unit 24, the mode signal Smd from the mode interpretation unit 25 is supplied to the switching circuits 245, 246 and 247. The switching circuits 245, 246 and 247 switch the connection state according to the mode signal Smd.

たとえばモード信号SmdがSDRモードを示す信号であった場合、切換回路245,246,247は、出力端子としてそれぞれS端子を選択する。モードで選択されない出力端子(D1端子、D2端子および図示しない他の出力端子)は、固定電圧端子Fに接続される。
この状態を図36で示しているが、これによって、クロック2BF、2BF+π、BFが、それぞれSDR−IFモジュール211−0用の処理クロック群として、各S端子からSDR−IFモジュール211−0に供給されることになる。
たとえば100MHzのシステムクロックCLKがメモリコントローラ100から供給される場合、図34(A)に示した100MHzの基準クロックBFと、2倍周波数のクロック2BF、2BF+πがSDR−IFモジュール211−0に供給される。
そして処理クロック群が供給されることで、SDR−IFモジュール211−0が機能する。
一方、DDR−IFモジュール211−1、DDR2−IFモジュール211−2(および図示しない他のインターフェースモジュール211−3〜211−n、21−2,21−3,21−4)は、処理クロックが供給されない状態となり、動作機能はオフとなる。
For example, when the mode signal Smd is a signal indicating the SDR mode, the switching circuits 245, 246, and 247 select the S terminals as output terminals, respectively. Output terminals not selected in the mode (D1 terminal, D2 terminal and other output terminals not shown) are connected to the fixed voltage terminal F.
This state is shown in FIG. 36, whereby the clocks 2BF, 2BF + π, and BF are supplied to the SDR-IF module 211-0 from each S terminal as a processing clock group for the SDR-IF module 211-0, respectively. Will be.
For example, when the 100 MHz system clock CLK is supplied from the memory controller 100, the 100 MHz reference clock BF shown in FIG. 34A and the double frequency clocks 2BF and 2BF + π are supplied to the SDR-IF module 211-0. The
The SDR-IF module 211-0 functions by supplying the processing clock group.
On the other hand, the DDR-IF module 211-1, the DDR2-IF module 211-2 (and other interface modules 211-3 to 211-n, 21-2, 21-3, 21-4 not shown) have processing clocks. It is not supplied and the operation function is turned off.

またたとえば、モード信号SmdがDDRモードを示す信号であった場合、切換回路245,246,247は、出力端子としてそれぞれD1端子を選択し、他の出力端子(S端子、D2端子および図示しない他の出力端子)は、固定電圧端子Fに接続される。これによって、クロック2BF、2BF+π、BFが、それぞれDDR−IFモジュール211−1用の処理クロック群として、各D1端子からDDR−IFモジュール211−1に供給される。
たとえば133MHzのシステムクロックCLKがメモリコントローラ100から供給される場合、図35(A)に示した133MHzの基準クロックBFと、2倍周波数のクロック2BF、2BF+πがDDR−IFモジュール211−1に供給される。
そして処理クロック群が供給されることで、DDR−IFモジュール211−1が機能し、一方、SDR−IFモジュール211−0、DDR2−IFモジュール211−2(および図示しない他のインターフェースモジュール211−3〜211−n、21−2,21−3,21−4)は、処理クロックが供給されず動作機能はオフとなる。
Further, for example, when the mode signal Smd is a signal indicating the DDR mode, the switching circuits 245, 246 and 247 select the D1 terminal as the output terminal, respectively, and other output terminals (S terminal, D2 terminal and other not shown) Output terminal) is connected to the fixed voltage terminal F. As a result, the clocks 2BF, 2BF + π, and BF are supplied to the DDR-IF module 211-1 from each D1 terminal as a processing clock group for the DDR-IF module 211-1.
For example, when the 133 MHz system clock CLK is supplied from the memory controller 100, the 133 MHz reference clock BF shown in FIG. 35A and the double frequency clocks 2BF and 2BF + π are supplied to the DDR-IF module 211-1. The
By supplying the processing clock group, the DDR-IF module 211-1 functions, while the SDR-IF module 211-0 and the DDR2-IF module 211-2 (and other interface modules 211-3 not shown). ˜ 211-n, 21-2, 21-3, 21-4), the processing clock is not supplied and the operation function is turned off.

たとえば以上のように、PLL部24がインターフェースモジュール211−0〜211−n、21−2,21−3,21−4に対して、モード信号Smdに応じたクロック供給を行うようにすることで、必要な1つのインターフェースモジュールが機能し、他のインターフェースモジュールは動作オフ状態となる。   For example, as described above, the PLL unit 24 supplies the interface modules 211-0 to 211-n, 21-2, 21-3, and 21-4 with a clock according to the mode signal Smd. One necessary interface module functions, and the other interface module is turned off.

[4.セレクタのモード動作]
セレクタ23のモード動作を図37に関連付けて説明する。
図37においては、上記図36の場合と同様に、インターフェースモジュールとしてSDR−IFモジュール211−0、DDR−IFモジュール211−1、DDR2−IFモジュール211−2の3つのインターフェースモジュールに対応する部分のみを示している。また、図37においては、共通シーケンス部210は理解を容易にするために省略してある。
[4. Selector mode operation]
The mode operation of the selector 23 will be described with reference to FIG.
In FIG. 37, as in the case of FIG. 36, only the portions corresponding to the three interface modules of the SDR-IF module 211-0, the DDR-IF module 211-1, and the DDR2-IF module 211-2 are used as interface modules. Is shown. In FIG. 37, the common sequence unit 210 is omitted for easy understanding.

上述したようにメモリコントローラ100とIOバッファ22の間は、コマンドCMD、入出力データDQ、データストローブ信号DQSの入出力を行うが、セレクタ23におけるこれらの信号の転送としては、コマンドCMD、データ入力DQin、データ出力DQout、ストローブ信号入力DQSin、ストローブ信号出力DQSoutの転送を行うことになる。
すなわち、セレクタ23は、メモリコントローラ100からIOバッファ22に入力されるコマンドCMDを、インターフェースモジュール群21に転送する。
また、コマンドCMDがライトコマンドである場合、メモリコントローラ100から書き込みデータがIOバッファ22に入力されるが、セレクタ23は、この書き込みデータをデータ入力DQinとしてインターフェースモジュール群21に転送する。
またコマンドCMDがリードコマンドであった場合、インターフェースモジュール群21によってRAMアレイ30からデータが読み出されるが、セレクタ23は、この読み出しデータをデータ出力DQoutとしてIOバッファ22に転送する。
また、モードがDDR〜DDR(n)の場合、データストローブ信号DQSが用いられるが、セレクタ23は、このデータストローブ信号DQSの入力、出力をストローブ信号入力DQSin、ストローブ信号出力DQSoutとして転送する。
As described above, the command CMD, the input / output data DQ, and the data strobe signal DQS are input / output between the memory controller 100 and the IO buffer 22, and the transfer of these signals in the selector 23 includes command CMD, data input. DQin, data output DQout, strobe signal input DQSin, and strobe signal output DQSout are transferred.
That is, the selector 23 transfers the command CMD input from the memory controller 100 to the IO buffer 22 to the interface module group 21.
When the command CMD is a write command, write data is input from the memory controller 100 to the IO buffer 22. The selector 23 transfers this write data to the interface module group 21 as the data input DQin.
If the command CMD is a read command, data is read from the RAM array 30 by the interface module group 21, but the selector 23 transfers this read data to the IO buffer 22 as a data output DQout.
When the mode is DDR to DDR (n), the data strobe signal DQS is used. The selector 23 transfers the input and output of the data strobe signal DQS as the strobe signal input DQSin and the strobe signal output DQSout.

セレクタ23には、これらの信号に応じて、選択スイッチ回路23a〜23eが設けられている。
選択スイッチ回路23aはコマンドCMDに対応し、インターフェースモジュール群21に対する出力端子としてS端子、D1端子、D2端子が形成されている。
選択スイッチ回路23bはデータ入力DQinに対応し、インターフェースモジュール群21に対する出力端子としてS端子、D1端子、D2端子が形成されている。
選択スイッチ回路23cはデータ出力DQoutに対応し、インターフェースモジュール群21からの入力端子としてS端子、D1端子、D2端子が形成されている。
選択スイッチ回路23dはストローブ信号入力DQSinに対応し、インターフェースモジュール群21に対する出力端子としてD1端子、D2端子が形成されている。
選択スイッチ回路23eはストローブ信号出力DQSoutに対応し、インターフェースモジュール群21からの入力端子としてD1端子、D2端子が形成されている。
The selector 23 is provided with selection switch circuits 23a to 23e according to these signals.
The selection switch circuit 23a corresponds to the command CMD, and an S terminal, a D1 terminal, and a D2 terminal are formed as output terminals for the interface module group 21.
The selection switch circuit 23b corresponds to the data input DQin, and an S terminal, a D1 terminal, and a D2 terminal are formed as output terminals for the interface module group 21.
The selection switch circuit 23c corresponds to the data output DQout, and an S terminal, a D1 terminal, and a D2 terminal are formed as input terminals from the interface module group 21.
The selection switch circuit 23d corresponds to the strobe signal input DQSin, and has a D1 terminal and a D2 terminal as output terminals for the interface module group 21.
The selection switch circuit 23e corresponds to the strobe signal output DQSout, and has a D1 terminal and a D2 terminal as input terminals from the interface module group 21.

なお、この図37では、3つのインターフェースモジュール(211−0,211−1,211−2)に対する入出力系のみを示しているため、選択スイッチ回路23a〜23eには、他のインターフェースモジュール(211−3〜211−n、21−2,21−3,21−4)に対する出力端子または入力端子を示していないが、実際は、他のインターフェースモジュール(211−3〜211−n、21−2,21−3,21−4)に対する出力端子または入力端子も形成され、選択可能とされている。   In FIG. 37, only the input / output system for the three interface modules (211-0, 211-1, 211-2) is shown, and therefore the selection switch circuits 23a to 23e include other interface modules (211). -3 to 211-n, 21-2, 21-3, and 21-4) are not shown, but actually, other interface modules (211-3 to 211-n, 21-2, Output terminals or input terminals for 21-3, 21-4) are also formed and selectable.

セレクタ23の各選択スイッチ回路23a〜23eは、モード解釈部25からのモード信号Smdに応じて、出力端子または入力端子を選択する。
たとえばモード信号SmdがSDRモードを示す信号であった場合、選択スイッチ回路23a、23b、23cは、それぞれS端子を選択する。なお、SDRではデータストローブ信号DQSは使用されないため、選択スイッチ回路23d、23eは非接続状態でよい。
これにより、IOバッファ22とSDR−IFモジュール211−0の間で、コマンドCMD、データ入力DQin、データ出力DQoutの転送が実現される。
Each selection switch circuit 23 a to 23 e of the selector 23 selects an output terminal or an input terminal according to the mode signal Smd from the mode interpretation unit 25.
For example, when the mode signal Smd is a signal indicating the SDR mode, the selection switch circuits 23a, 23b, and 23c each select the S terminal. Since the data strobe signal DQS is not used in SDR, the selection switch circuits 23d and 23e may be disconnected.
Thereby, transfer of the command CMD, the data input DQin, and the data output DQout is realized between the IO buffer 22 and the SDR-IF module 211-0.

またたとえば、モード信号SmdがDDRモードを示す信号であった場合、選択スイッチ回路23a〜23eは、それぞれD1端子を選択する。
図37ではこの状態を示しているが、この状態で、IOバッファ22とDDR−IFモジュール211−1の間で、コマンドCMD、データ入力DQin、データ出力DQout、ストローブ信号入力DQSin、ストローブ信号出力DQSoutの転送が実現される。
For example, when the mode signal Smd is a signal indicating the DDR mode, the selection switch circuits 23a to 23e select the D1 terminal, respectively.
FIG. 37 shows this state. In this state, the command CMD, the data input DQin, the data output DQout, the strobe signal input DQSin, and the strobe signal output DQSout are between the IO buffer 22 and the DDR-IF module 211-1. Is realized.

たとえば以上のように、セレクタ23の選択スイッチ回路23a〜23eがモード信号Smdに応じた接続選択を行うことで、機能している1つのインターフェースモジュールと、IOバッファ22の間での信号転送が行われ、この機能している1つのインターフェースモジュールとメモリコントローラ100の間の信号の入出力が実行される。   For example, as described above, the selection switch circuits 23a to 23e of the selector 23 perform connection selection according to the mode signal Smd, so that signal transfer between one functioning interface module and the IO buffer 22 is performed. Thus, signal input / output between the one functioning interface module and the memory controller 100 is executed.

[5.IOバッファのモード動作]
IOバッファ22のモード動作としては、モード(実行するメモリタイプ)に応じたバッファ電源電圧特性や遅延特性の切換が行われる。
バッファ電源電圧は、メモリタイプによって異なっており、たとえばSDRでは3.3Vまたは2.5V、DDRでは2.5V、DDR2では1.8V、DDR3では1.5Vなどとされている。従って、本例の半導体メモリ装置1の場合、IOバッファ22はモードに応じて動作電源電圧の切換が必要になる。
[5. IO buffer mode operation]
As the mode operation of the IO buffer 22, switching of the buffer power supply voltage characteristic and the delay characteristic according to the mode (memory type to be executed) is performed.
The buffer power supply voltage varies depending on the memory type. For example, 3.3V or 2.5V for SDR, 2.5V for DDR, 1.8V for DDR2, 1.5V for DDR3, and the like. Therefore, in the case of the semiconductor memory device 1 of this example, the IO buffer 22 needs to be switched in the operating power supply voltage depending on the mode.

図38〜図42は、それぞれ電源電圧や遅延特性の切換のためのIOバッファ22の構成例を示している。各図では、タイプA、タイプBとして2つの電源電圧を切り換える動作を説明する。たとえば図中「A」を付したバッファアンプは、電源電圧3.3Vで遅延特性がτ1とされるタイプAのバッファであり、図中「B」を付したバッファアンプは、電源電圧2.5Vで遅延特性が2とされるタイプBのバッファであるとする。
なお、ここではタイプA、タイプBとしての電気特性切換を説明するが、実際には、半導体メモリ装置1が対応可能なメモリタイプの数や種類に応じて、必要なタイプ数の電気特性切換が行われる構成となることはいうまでもない。
また、各図では信号経路として入力系、出力系、双方向系として3つを示しているが、具体的な信号経路は、これらのいずれかに相当すると考えればよい。たとえばコマンドCMDやデータ入力DQinの信号経路としては、それぞれ図の入力系の構成が採られると考えればよい。
また、図38〜図42における内部ロジック40とは、セレクタ23、PLL部24、インターフェースモジュール群21を包括的に示したブロックである。
38 to 42 show configuration examples of the IO buffer 22 for switching the power supply voltage and the delay characteristics, respectively. In each figure, an operation of switching two power supply voltages as type A and type B will be described. For example, a buffer amplifier with “A” in the figure is a type A buffer with a power supply voltage of 3.3 V and a delay characteristic of τ1, and a buffer amplifier with “B” in the figure has a power supply voltage of 2.5 V. Suppose that the type B buffer has a delay characteristic of 2.
Here, switching of electrical characteristics as type A and type B will be described, but in actuality, switching of electrical characteristics of the required number of types is possible depending on the number and types of memory types that the semiconductor memory device 1 can handle. It goes without saying that the configuration is performed.
In each figure, three signal paths are shown as an input system, an output system, and a bidirectional system. However, specific signal paths may be considered to correspond to any of these. For example, it can be considered that the signal paths of the command CMD and the data input DQin each have the input system configuration shown in the figure.
The internal logic 40 in FIGS. 38 to 42 is a block that comprehensively shows the selector 23, the PLL unit 24, and the interface module group 21.

まず図38の例を説明する。
IOバッファ22には、入力系として、タイプAバッファ44,タイプBバッファ48、スイッチ41、53が設けられる。
またIOバッファ22には、出力系として、タイプAバッファ45,タイプBバッファ49,スイッチ42,54が設けられる。
またIOバッファ22には、双方向系として、タイプAバッファ46,タイプA・3ステートバッファ47、タイプBバッファ50,タイプB・3ステートバッファ51、スイッチ43,55,56が設けられる。
モード指示信号Mdは、バッファアンプ52を介してモード解釈部25に供給される。
First, an example of FIG. 38 will be described.
The IO buffer 22 is provided with a type A buffer 44, a type B buffer 48, and switches 41 and 53 as input systems.
The IO buffer 22 is provided with a type A buffer 45, a type B buffer 49, and switches 42 and 54 as an output system.
The IO buffer 22 is provided with a type A buffer 46, a type A / 3-state buffer 47, a type B buffer 50, a type B / 3-state buffer 51, and switches 43, 55, and 56 as bidirectional systems.
The mode instruction signal Md is supplied to the mode interpretation unit 25 via the buffer amplifier 52.

また、半導体メモリ装置1の外部からの導入される電源ラインとしては、タイプAバッファ用電源ライン70と、タイプBバッファ用電源ライン71と、内部ロジック用電源ライン72と、モードバッファ用電源ライン73が形成されている。
たとえば、タイプAバッファ用電源ライン70は、3.3Vの電源ラインとされ、このタイプAバッファ用電源ライン70は、タイプAバッファ44,45,46、タイプA・3ステートバッファ47、スイッチ41,42,43に対する電力供給を行う。
また、タイプBバッファ用電源ライン71は、たとえば2.5Vの電源ラインとされ、このタイプBバッファ用電源ライン71は、タイプBバッファ48,49,50、タイプB・3ステートバッファ51に対する電力供給を行う。
内部ロジック用電源ライン72は、内部ロジック40内の各回路部(インターフェースモジュール群21やPLL部24)やモード解釈部25に動作電源電圧を供給するとともに、スイッチ53,54,55,56のスイッチング動作のための動作電源電圧の供給を行う。
モードバッファ用電源ライン73は、バッファアンプ52に動作電源電圧を供給する。
As power lines introduced from the outside of the semiconductor memory device 1, a type A buffer power line 70, a type B buffer power line 71, an internal logic power line 72, and a mode buffer power line 73 are provided. Is formed.
For example, the type A buffer power line 70 is a 3.3 V power line, and the type A buffer power line 70 includes type A buffers 44, 45, 46, type A 3-state buffer 47, switch 41, Power is supplied to 42 and 43.
The type B buffer power supply line 71 is, for example, a 2.5 V power supply line. The type B buffer power supply line 71 supplies power to the type B buffers 48, 49, 50 and the type B 3 state buffer 51. I do.
The internal logic power supply line 72 supplies an operation power supply voltage to each circuit unit (the interface module group 21 and the PLL unit 24) and the mode interpretation unit 25 in the internal logic 40, and switches the switches 53, 54, 55, and 56. Supply operation power supply voltage for operation.
The mode buffer power supply line 73 supplies an operation power supply voltage to the buffer amplifier 52.

なお、この例ではスイッチ41、42、43にはタイプAバッファ用電源ライン70による動作電源電圧の供給が行われるが、これはスイッチ41、42,43のスイッチング動作を可能とする電源電圧が供給されればよく、他の電源ラインからスイッチ41、42,43の動作電源電圧を供給してもよい。   In this example, the operation power supply voltage is supplied to the switches 41, 42, and 43 through the type A buffer power supply line 70, which is supplied with the power supply voltage that enables the switching operations of the switches 41, 42, and 43. The operation power supply voltage of the switches 41, 42, and 43 may be supplied from another power supply line.

各スイッチ41,42,43,53,54,55,56は、タイプAに対応するa端子と、タイプBに対応するb端子を切換可能な構成とされる。
そして各スイッチ41,42,43,53,54,55,56はモード解釈部25からのモード信号Smdにより、接続端子を切り換える。
Each of the switches 41, 42, 43, 53, 54, 55, and 56 is configured to be able to switch between an a terminal corresponding to type A and a b terminal corresponding to type B.
Each switch 41, 42, 43, 53, 54, 55, 56 switches the connection terminal according to the mode signal Smd from the mode interpretation unit 25.

たとえばモード信号SmdによりタイプAに相当するメモリタイプが指示される場合は、各スイッチ41,42,43,53,54,55,56はa端子を選択する。これによって、IOバッファ22では、タイプAバッファ44,45,46、タイプA・3ステートバッファ47が機能して各種信号の入出力を行うことになり、つまりタイプAに相当するメモリタイプに応じた入出力バッファ動作が実現される。   For example, when a memory type corresponding to type A is indicated by the mode signal Smd, each switch 41, 42, 43, 53, 54, 55, 56 selects the a terminal. As a result, in the IO buffer 22, the type A buffers 44, 45, and 46 and the type A 3 state buffer 47 function to input / output various signals, that is, according to the memory type corresponding to the type A. Input / output buffer operation is realized.

またモード信号SmdによりタイプBに相当するメモリタイプが指示される場合は、各スイッチ41,42,43,53,54,55,56はb端子を選択する。これによって、IOバッファ22では、タイプBバッファ48,49,50、タイプB・3ステートバッファ51が機能して各種信号の入出力を行うことになり、つまりタイプBに相当するメモリタイプに応じた入出力バッファ動作が実現される。   When the mode signal Smd indicates a memory type corresponding to type B, each of the switches 41, 42, 43, 53, 54, 55, and 56 selects the b terminal. As a result, in the IO buffer 22, the type B buffers 48, 49, 50 and the type B 3 state buffer 51 function to input / output various signals, that is, according to the memory type corresponding to the type B. Input / output buffer operation is realized.

なお、ここでは、タイプA、タイプBとして、2つの電気特性タイプの切換というモデルで説明したが、実際には、搭載されるインターフェースモジュール21の数や種類によってバッファ電気特性として切換を実行すべきタイプ数はより多数となることが想定される。
たとえば電源電圧や遅延特性の異なる電気特性タイプとして、タイプC、タイプD・・・というように多数のタイプが必要となる。その場合、各タイプに応じたバッファアンプが上記タイプA,Bと同様に搭載され、スイッチ41,42,43,53,54,55,56により、それらが選択される構成とされればよい。
以降、図39〜図42で他の構成を述べるが、このようにより多数の電気特性タイプに対応するように構成を拡張的に考えるべきであることは同様である。
Here, as a type A and a type B, a description has been given of a model of switching between two electrical characteristic types. It is assumed that the number of types will be larger.
For example, many types such as type C, type D,... Are required as electrical characteristic types having different power supply voltages and delay characteristics. In that case, a buffer amplifier corresponding to each type may be mounted in the same manner as the above types A and B, and the switches 41, 42, 43, 53, 54, 55, and 56 may be selected.
In the following, other configurations will be described with reference to FIGS. 39 to 42, and it is the same that the configuration should be considered in an expanded manner so as to correspond to a larger number of electrical characteristic types.

続いてIOバッファ22の他の構成例を図38で説明する。なお、図38と同一部分は同一符号を付して重複説明を避ける。
この図39の例では、半導体メモリ装置1に外部から導入する電源ラインを3本としている。すなわちバッファ用電源ライン74,モードバッファ用電源ライン73、内部ロジック用電源ライン72である。
Next, another configuration example of the IO buffer 22 will be described with reference to FIG. Note that the same parts as those in FIG.
In the example of FIG. 39, three power supply lines are introduced into the semiconductor memory device 1 from the outside. That is, the buffer power line 74, the mode buffer power line 73, and the internal logic power line 72.

そしてバッファ用電源ライン74は、スイッチ41,42,43への電源ラインとされるとともに、電源ラインスイッチ57によって、接続先がAタイプ系とBタイプ系に切り換えられるようにしている。
モード信号Smdは、各スイッチ41,42,43,53,54,55,56と、電源ラインスイッチ57に供給される。
バッファ用電源ライン74には、電子機器の回路基板に半導体メモリ装置1がマウントされる際、この半導体メモリ装置1がどのようなメモリタイプとして使用されるかに応じて、所定の電源電圧が供給される。
たとえばその電子機器において、半導体メモリ装置1をSDRとして扱う場合、このバッファ用電源ライン74は、回路基板配線によって3.3Vの電源ラインに固定接続されることになる。一方、たとえばその電子機器において、半導体メモリ装置1をDDRとして扱う場合、このバッファ用電源ライン74は、回路基板配線によって2.5Vの電源ラインに固定接続されることになる。
The buffer power line 74 is a power line to the switches 41, 42, and 43, and the connection destination is switched between the A type system and the B type system by the power line switch 57.
The mode signal Smd is supplied to each switch 41, 42, 43, 53, 54, 55, 56 and the power line switch 57.
When the semiconductor memory device 1 is mounted on the circuit board of the electronic device, a predetermined power supply voltage is supplied to the buffer power line 74 according to the memory type used for the semiconductor memory device 1. Is done.
For example, in the electronic device, when the semiconductor memory device 1 is handled as SDR, the buffer power supply line 74 is fixedly connected to the 3.3V power supply line by circuit board wiring. On the other hand, for example, in the electronic device, when the semiconductor memory device 1 is handled as DDR, the buffer power line 74 is fixedly connected to the 2.5 V power line by circuit board wiring.

そして、たとえばモード信号SmdによりタイプAに相当するメモリタイプが指示される場合は、各スイッチ41,42,43,53,54,55,56はa端子を選択し、電源ラインスイッチ57もa端子を選択する。
この場合、バッファ用電源ライン74は、3.3V電源ラインとされているため、タイプAバッファ44,45,46、タイプA・3ステートバッファ47には3.3V電源電圧が供給される。従ってIOバッファ22では、タイプAバッファ44,45,46、タイプA・3ステートバッファ47が機能して各種信号の入出力を行うことになり、タイプAに相当するメモリタイプに応じた入出力バッファ動作が実現される。
For example, when the memory type corresponding to type A is indicated by the mode signal Smd, each switch 41, 42, 43, 53, 54, 55, 56 selects the a terminal, and the power line switch 57 is also the a terminal. Select.
In this case, since the buffer power supply line 74 is a 3.3V power supply line, a 3.3V power supply voltage is supplied to the type A buffers 44, 45, 46 and the type A / 3 state buffer 47. Accordingly, in the IO buffer 22, the type A buffers 44, 45 and 46 and the type A / 3-state buffer 47 function to input / output various signals, and an input / output buffer corresponding to the memory type corresponding to the type A Operation is realized.

またモード信号SmdによりタイプBに相当するメモリタイプが指示される場合は、各スイッチ41,42,43,53,54,55,56はb端子を選択し、電源ラインスイッチ57もb端子を選択する。
この場合、バッファ用電源ライン74は、2.5V電源ラインとされているため、タイプBバッファ48,49,50、タイプB・3ステートバッファ51には2.5V電源電圧が供給される。従ってIOバッファ22では、タイプBバッファ48,49,50、タイプB・3ステートバッファ51が機能して各種信号の入出力を行うことになり、タイプBに相当するメモリタイプに応じた入出力バッファ動作が実現される。
When the memory type corresponding to type B is indicated by the mode signal Smd, each switch 41, 42, 43, 53, 54, 55, 56 selects the b terminal, and the power line switch 57 also selects the b terminal. To do.
In this case, since the buffer power supply line 74 is a 2.5 V power supply line, a 2.5 V power supply voltage is supplied to the type B buffers 48, 49, 50 and the type B 3-state buffer 51. Accordingly, in the IO buffer 22, the type B buffers 48, 49, 50 and the type B 3 state buffer 51 function to input / output various signals, and an input / output buffer corresponding to the memory type corresponding to the type B is provided. Operation is realized.

続いて図40の例を説明する。
この図40の例は、半導体メモリ装置1に外部から導入する電源ラインを、共通電源ライン76のみとしている。そしてIOバッファ22内にDC/DCコンバータ(DDC)58が設けられている。
DC/DCコンバータ58は、共通電源ライン76からの電源電圧に対して電圧変換を行い、各電源ラインにそれぞれ所定電圧の供給を行う。
すなわちDC/DCコンバータ58は、スイッチ用電源ライン75により、スイッチ41、42,43に対する電源電圧の供給を行う。
またDC/DCコンバータ58は、タイプAバッファ用電源ライン70により、タイプAバッファ44,45,46、タイプA・3ステートバッファ47に対する3.3Vの電源電圧の供給を行う。
またDC/DCコンバータ58は、タイプBバッファ用電源ライン71により、タイプBバッファ48,49,50、タイプB・3ステートバッファ51に対する2.5Vの電源電圧の供給を行う。
またDC/DCコンバータ58は、モードバッファ用電源ライン73により、バッファアンプ52に対する電源電圧の供給を行う。
またDC/DCコンバータ58は、内部ロジック用電源ライン72により、内部ロジック40、スイッチ53,54,55,56、モード解釈部25に対する電源電圧の供給を行う。
Subsequently, an example of FIG. 40 will be described.
In the example of FIG. 40, the power supply line introduced from the outside into the semiconductor memory device 1 is only the common power supply line 76. A DC / DC converter (DDC) 58 is provided in the IO buffer 22.
The DC / DC converter 58 performs voltage conversion on the power supply voltage from the common power supply line 76 and supplies a predetermined voltage to each power supply line.
That is, the DC / DC converter 58 supplies the power supply voltage to the switches 41, 42, and 43 through the switch power supply line 75.
The DC / DC converter 58 supplies a 3.3 V power supply voltage to the type A buffers 44, 45, 46 and the type A 3 state buffer 47 through the type A buffer power line 70.
The DC / DC converter 58 supplies a power supply voltage of 2.5 V to the type B buffers 48, 49, 50 and the type B 3 state buffer 51 through the type B buffer power supply line 71.
The DC / DC converter 58 supplies the power supply voltage to the buffer amplifier 52 through the mode buffer power supply line 73.
The DC / DC converter 58 supplies a power supply voltage to the internal logic 40, the switches 53, 54, 55, and 56 and the mode interpretation unit 25 through the internal logic power supply line 72.

モード解釈部25からのモード信号Smdは、各スイッチ41,42,43,53,54,55,56と、DC/DCコンバータ58に供給される。DC/DCコンバータ58は、タイプAバッファ用電源ライン70への電源電圧出力と、タイプBバッファ用電源ライン71への電源電圧出力を、モード信号Smdに応じて選択的に実行する。   The mode signal Smd from the mode interpreter 25 is supplied to the switches 41, 42, 43, 53, 54, 55, 56 and the DC / DC converter 58. The DC / DC converter 58 selectively executes power supply voltage output to the type A buffer power supply line 70 and power supply voltage output to the type B buffer power supply line 71 in accordance with the mode signal Smd.

そして、たとえばモード信号SmdによりタイプAに相当するメモリタイプが指示される場合は、各スイッチ41,42,43,53,54,55,56はa端子を選択し、またDC/DCコンバータ58は、スイッチ用電源ライン75、モードバッファ用電源ライン73、内部ロジック用電源ライン72への各動作電源電圧の供給を行い、タイプAバッファ用電源ライン70への3.3Vの電源電圧の供給を行う。
従ってIOバッファ22では、タイプAバッファ44,45,46、タイプA・3ステートバッファ47が機能して各種信号の入出力を行うことになり、タイプAに相当するメモリタイプに応じた入出力バッファ動作が実現される。
For example, when the memory type corresponding to type A is indicated by the mode signal Smd, each switch 41, 42, 43, 53, 54, 55, 56 selects the a terminal, and the DC / DC converter 58 The operation power supply voltage is supplied to the switch power supply line 75, the mode buffer power supply line 73, and the internal logic power supply line 72, and the 3.3 A power supply voltage is supplied to the type A buffer power supply line 70. .
Accordingly, in the IO buffer 22, the type A buffers 44, 45 and 46 and the type A / 3-state buffer 47 function to input / output various signals, and an input / output buffer corresponding to the memory type corresponding to the type A Operation is realized.

またモード信号SmdによりタイプBに相当するメモリタイプが指示される場合は、各スイッチ41,42,43,53,54,55,56はb端子を選択し、またDC/DCコンバータ58は、スイッチ用電源ライン75、モードバッファ用電源ライン73、内部ロジック用電源ライン72への各動作電源電圧の供給を行い、タイプBバッファ用電源ライン71への2.5Vの電源電圧の供給を行う。
従ってIOバッファ22では、タイプBバッファ48,49,50、タイプB・3ステートバッファ51が機能して各種信号の入出力を行うことになり、タイプBに相当するメモリタイプに応じた入出力バッファ動作が実現される。
When the memory type corresponding to type B is indicated by the mode signal Smd, each switch 41, 42, 43, 53, 54, 55, 56 selects the b terminal, and the DC / DC converter 58 The operation power supply voltage is supplied to the power supply line 75, the mode buffer power supply line 73, and the internal logic power supply line 72, and the 2.5V power supply voltage is supplied to the type B buffer power supply line 71.
Accordingly, in the IO buffer 22, the type B buffers 48, 49, 50 and the type B 3 state buffer 51 function to input / output various signals, and an input / output buffer corresponding to the memory type corresponding to the type B is provided. Operation is realized.

次に図41の例を説明する。ただし、この図41の例は、IOバッファ22についてはモード信号Smdによる内部的な切換を行わない構成例である。
この場合、IOバッファ22には、入力系として、共通バッファ81が設けられる。また出力系として、共通バッファ82が設けられる。また双方向系として、共通バッファ83と共通3ステートバッファ84が設けられる。
共通バッファ81,82,83および共通3ステートバッファ84は、印加電圧にて電圧レンジも遅延も許容できるバッファアンプである。
Next, an example of FIG. 41 will be described. However, the example of FIG. 41 is a configuration example in which the IO buffer 22 is not internally switched by the mode signal Smd.
In this case, the IO buffer 22 is provided with a common buffer 81 as an input system. A common buffer 82 is provided as an output system. As a bidirectional system, a common buffer 83 and a common 3-state buffer 84 are provided.
The common buffers 81, 82, and 83 and the common three-state buffer 84 are buffer amplifiers that can allow a voltage range and a delay with an applied voltage.

そして半導体メモリ装置1に外部から導入する電源ラインは、バッファ用電源ライン74,モードバッファ用電源ライン73、内部ロジック用電源ライン72の3本である。
バッファ用電源ライン74は、共通バッファ81,82,83および共通3ステートバッファ84に電力供給を行う電源ラインとして形成される。
内部ロジック用電源ライン72は、内部ロジック40内の各部と、モード解釈部25に電力供給を行う電源ラインとして形成される。
モードバッファ用電源ライン73は、バッファアンプ52に電力供給を行う電源ラインとして形成される。
The power supply lines introduced into the semiconductor memory device 1 from the outside are the three power supply lines, ie, the buffer power supply line 74, the mode buffer power supply line 73, and the internal logic power supply line 72.
The buffer power supply line 74 is formed as a power supply line for supplying power to the common buffers 81, 82, 83 and the common three-state buffer 84.
The internal logic power supply line 72 is formed as a power supply line for supplying power to each part in the internal logic 40 and the mode interpretation unit 25.
The mode buffer power supply line 73 is formed as a power supply line for supplying power to the buffer amplifier 52.

バッファ用電源ライン74には、電子機器の回路基板に半導体メモリ装置1がマウントされる際、この半導体メモリ装置1がどのようなメモリタイプとして使用されるかに応じて、所定の電源電圧が供給される。
たとえばその電子機器において、半導体メモリ装置1をSDRとして扱う場合、このバッファ用電源ライン74は、回路基板配線によって3.3Vの電源ラインに固定接続されることになる。
一方、たとえばその電子機器において、半導体メモリ装置1をDDRとして扱う場合、このバッファ用電源ライン74は、回路基板配線によって2.5Vの電源ラインに固定接続されることになる。
When the semiconductor memory device 1 is mounted on the circuit board of the electronic device, a predetermined power supply voltage is supplied to the buffer power line 74 according to the memory type used for the semiconductor memory device 1. Is done.
For example, in the electronic device, when the semiconductor memory device 1 is handled as SDR, the buffer power supply line 74 is fixedly connected to the 3.3V power supply line by circuit board wiring.
On the other hand, for example, in the electronic device, when the semiconductor memory device 1 is handled as DDR, the buffer power line 74 is fixedly connected to the 2.5 V power line by circuit board wiring.

この構成の場合、IOバッファ22は、モード解釈部25からのモード信号Smdに基づく切換動作を行う必要はない。モード信号Smdによる切換動作は、内部ロジック40内のセレクタ23およびPLL部24において行われることになる。
たとえば半導体メモリ装置1をSDRとして扱う場合、バッファ用電源ライン74は3.3Vの電源ラインとされ、共通バッファ81,82,83および共通3ステートバッファ84が3.3Vの電源電圧で動作する。
またたとえば、半導体メモリ装置1をDDRとして扱う場合、バッファ用電源ライン74は2.5Vの電源ラインとされ、共通バッファ81,82,83および共通3ステートバッファ84が2.5Vの電源電圧で動作する。
In the case of this configuration, the IO buffer 22 does not need to perform a switching operation based on the mode signal Smd from the mode interpretation unit 25. The switching operation by the mode signal Smd is performed in the selector 23 and the PLL unit 24 in the internal logic 40.
For example, when the semiconductor memory device 1 is handled as SDR, the buffer power supply line 74 is a 3.3V power supply line, and the common buffers 81, 82, and 83 and the common three-state buffer 84 operate with a power supply voltage of 3.3V.
Further, for example, when the semiconductor memory device 1 is handled as DDR, the buffer power supply line 74 is a 2.5V power supply line, and the common buffers 81, 82, 83 and the common 3-state buffer 84 operate with a power supply voltage of 2.5V. To do.

次に図42の例を説明する。
この例は、上記図41と同様に共通バッファ81,82,83および共通3ステートバッファ84を備えるものであるが、半導体メモリ装置1に外部から導入する電源ラインは、共通電源ライン76のみとする。そしてIOバッファ22内にDC/DCコンバータ85が設けられている。
DC/DCコンバータ85は、共通電源ライン76からの電源電圧に対して電圧変換を行い、各電源ラインにそれぞれ所定電圧の電力供給を行う。
すなわち、DC/DCコンバータ85は、バッファ用電源ライン74により、共通バッファ81,82,83および共通3ステートバッファ84に対する電源電圧の供給を行う。
また、DC/DCコンバータ85は、モードバッファ用電源ライン73により、バッファアンプ52に対する電源電圧の供給を行う。
また、DC/DCコンバータ85は、内部ロジック用電源ライン72により、内部ロジック40、モード解釈部25に対する電源電圧の供給を行う。
Next, the example of FIG. 42 will be described.
This example includes common buffers 81, 82, 83 and a common three-state buffer 84 as in FIG. 41. However, the power supply line introduced from the outside into the semiconductor memory device 1 is only the common power supply line 76. . A DC / DC converter 85 is provided in the IO buffer 22.
The DC / DC converter 85 performs voltage conversion on the power supply voltage from the common power supply line 76 and supplies power of a predetermined voltage to each power supply line.
That is, the DC / DC converter 85 supplies the power supply voltage to the common buffers 81, 82, 83 and the common three-state buffer 84 through the buffer power supply line 74.
The DC / DC converter 85 supplies a power supply voltage to the buffer amplifier 52 through the mode buffer power supply line 73.
The DC / DC converter 85 supplies a power supply voltage to the internal logic 40 and the mode interpretation unit 25 through the internal logic power supply line 72.

モード解釈部25からのモード信号Smdは、IOバッファ22内においてはDC/DCコンバータ85に供給される。DC/DCコンバータ85は、バッファ用電源ライン74へ供給する電源電圧を、モード信号Smdに応じて切り換える。   The mode signal Smd from the mode interpretation unit 25 is supplied to the DC / DC converter 85 in the IO buffer 22. The DC / DC converter 85 switches the power supply voltage supplied to the buffer power supply line 74 in accordance with the mode signal Smd.

たとえばモード信号SmdによりSDRモードが指示される場合は、DC/DCコンバータ85は、モードバッファ用電源ライン73、内部ロジック用電源ライン72への各動作電源電圧の供給を行うとともに、バッファ用電源ライン74へ印加する電源電圧を3.3Vとする。
これにより共通バッファ81,82,83および共通3ステートバッファ84が、SDRに応じた入出力バッファ動作を行う。
For example, when the SDR mode is instructed by the mode signal Smd, the DC / DC converter 85 supplies each operation power supply voltage to the mode buffer power supply line 73 and the internal logic power supply line 72 and also supplies the buffer power supply line. The power supply voltage applied to 74 is set to 3.3V.
As a result, the common buffers 81, 82, 83 and the common three-state buffer 84 perform an input / output buffer operation according to the SDR.

またたとえばモード信号SmdによりDDRモードが指示される場合は、DC/DCコンバータ85は、モードバッファ用電源ライン73、内部ロジック用電源ライン72への各動作電源電圧の供給を行うとともに、バッファ用電源ライン74へ印加する電源電圧を2.5Vとする。
これにより共通バッファ81,82,83および共通3ステートバッファ84が、DDRに応じた入出力バッファ動作を行う。
For example, when the DDR mode is instructed by the mode signal Smd, the DC / DC converter 85 supplies each operation power supply voltage to the mode buffer power supply line 73 and the internal logic power supply line 72 and also supplies the buffer power supply. The power supply voltage applied to the line 74 is set to 2.5V.
As a result, the common buffers 81, 82, 83 and the common three-state buffer 84 perform input / output buffer operations according to DDR.

以上、IOバッファ22としては図38〜図42のような構成を採ることで、各モード(メモリタイプ)に応じた入出力バッファ動作を実行できることになる。   As described above, by adopting the configuration as shown in FIGS. 38 to 42 as the IO buffer 22, an input / output buffer operation corresponding to each mode (memory type) can be executed.

[6.半導体メモリ装置の他の構成例]
本実施の形態の半導体メモリ装置1の構成を図2に示したが、半導体メモリ装置1としては、他の構成例も考えられる。図43に他の構成例を例示する。なお、図2と同一部分は同一符号を付し、説明を省略する。
[6. Other Configuration Examples of Semiconductor Memory Device]
Although the configuration of the semiconductor memory device 1 according to the present embodiment is shown in FIG. 2, other configuration examples are conceivable as the semiconductor memory device 1. FIG. 43 illustrates another configuration example. The same parts as those in FIG. 2 are denoted by the same reference numerals, and description thereof is omitted.

図43の構成例は、各インターフェースモジュール211−0〜211−n、21−2,21−3,21−4のそれぞれに対応するように専用のIOバッファを設ける用にした例である。
すなわち、SDR−IFモジュール211−0用のIOバッファ22a、DDR−IFモジュー211−1用のIOバッファ22b、DDR2−IFモジュール211−2用のIOバッファ22c、DDR(n)−IFモジュール211−n用のIOバッファ22d、SRAM−IFモジュール21−2用のIOバッファ22e、DPRAM−IFモジュール21−3用のIOバッファ22f、FIFO−IFモジュール21−4用のIOバッファ22gが設けられる。
また、システムクロックCLKに対応する入力バッファ22hが設けられ、システムクロックCLKは入力バッファ22hを介してPLL部24に供給される。
またモード指示信号Mdに対応する入力バッファ22iが設けられ、モード指示信号Mdは入力バッファ22iを介してモード解釈部25に供給される。
The configuration example of FIG. 43 is an example in which a dedicated IO buffer is provided so as to correspond to each of the interface modules 211-0 to 211-n, 21-2, 21-3, and 21-4.
That is, the IO buffer 22a for the SDR-IF module 211-0, the IO buffer 22b for the DDR-IF module 211-1, the IO buffer 22c for the DDR2-IF module 211-2, and the DDR (n) -IF module 211- An n-type IO buffer 22d, an SRAM-IF module 21-2 IO buffer 22e, a DPRAM-IF module 21-3 IO buffer 22f, and a FIFO-IF module 21-4 IO buffer 22g are provided.
An input buffer 22h corresponding to the system clock CLK is provided, and the system clock CLK is supplied to the PLL unit 24 via the input buffer 22h.
An input buffer 22i corresponding to the mode instruction signal Md is provided, and the mode instruction signal Md is supplied to the mode interpretation unit 25 through the input buffer 22i.

この場合、IOバッファ22a〜22gは、それぞれ対応するインターフェースモジュール211−0〜211−n、21−2,21−3,21−4に応じた専用の入出力信号系やバッファアンプ、および接続端子を有する。
たとえばSDR−IFモジュール211−0に対応するIOバッファ22aは、コマンドCMDの入力端子および入力バッファと、データ入力DQinについての入力端子および入力バッファと、データ出力DQoutについての出力端子および出力バッファを有する。もちろんIOバッファ22a内の各バッファは、SDRに応じた電気特性とされる。
またたとえばDDR−IFモジュール211−1に対応するIOバッファ22bは、コマンドCMDの入力端子および入力バッファと、データ入力DQinについての入力端子および入力バッファと、データ出力DQoutについての出力端子および出力バッファと、データストローブ信号DQSについての入出力端子および入出力バッファを有する。もちろんIOバッファ22b内の各バッファは、DDRに応じた電気特性とされる。
In this case, the IO buffers 22a to 22g are dedicated input / output signal systems, buffer amplifiers, and connection terminals corresponding to the corresponding interface modules 211-0 to 211-n, 21-2, 21-3, and 21-4, respectively. Have
For example, the IO buffer 22a corresponding to the SDR-IF module 211-0 has an input terminal and an input buffer for the command CMD, an input terminal and an input buffer for the data input DQin, and an output terminal and an output buffer for the data output DQout. . Of course, each buffer in the IO buffer 22a has electrical characteristics corresponding to the SDR.
Further, for example, the IO buffer 22b corresponding to the DDR-IF module 211-1 includes an input terminal and an input buffer for the command CMD, an input terminal and an input buffer for the data input DQin, and an output terminal and an output buffer for the data output DQout. Have an input / output terminal and an input / output buffer for data strobe signal DQS. Of course, each buffer in the IO buffer 22b has electrical characteristics according to DDR.

このような構成の場合、この半導体メモリ装置1を電子機器の回路基板にマウントするにあたっては、半導体メモリ装置1をどのメモリタイプで用いるかに応じて、メモリコントローラ100と接続するIOバッファを、IOバッファ22a〜22gのうちから選択することになる。
たとえば、その電子機器において半導体メモリ装置1をDDRとして使用する場合、IOバッファ22bの端子がメモリコントローラ100と接続されるように、たとえば基板配線の設計を行う。すると、その場合図44に示すように、IOバッファ22bを介してメモリコントローラ100aとDDR−IFモジュール211−1の間で各種信号の入出力が行われる状態となる。このとき他のIOバッファ22a、22c〜22gは使用されない。
当然、モード指示信号MdはDDRモードを示す信号とされ、モード解釈部25はDDRモードとしてのモード信号SmdをPLL部24に与える。これによりPLL部24はDDR−IFモジュール211−1に処理クロック群を与えてDDR−IFモジュール211−1を機能させるとともに、他のインターフェースモジュール211−0,211−n、21−2〜21−4についてはクロック供給を停止し、動作オフ状態とさせる。
これにより、半導体メモリ装置1はDDRとして機能する。
そしてこの構成の場合、図2で示したセレクタ23は不要となる。
In the case of such a configuration, when mounting the semiconductor memory device 1 on a circuit board of an electronic device, depending on which memory type the semiconductor memory device 1 is used, an IO buffer connected to the memory controller 100 is provided as an IO buffer. One of the buffers 22a to 22g is selected.
For example, when the semiconductor memory device 1 is used as the DDR in the electronic device, the substrate wiring is designed so that the terminal of the IO buffer 22b is connected to the memory controller 100, for example. In this case, as shown in FIG. 44, various signals are input / output between the memory controller 100a and the DDR-IF module 211-1 via the IO buffer 22b. At this time, the other IO buffers 22a and 22c to 22g are not used.
Naturally, the mode instruction signal Md is a signal indicating the DDR mode, and the mode interpretation unit 25 supplies the PLL unit 24 with the mode signal Smd as the DDR mode. As a result, the PLL unit 24 gives a processing clock group to the DDR-IF module 211-1, causing the DDR-IF module 211-1 to function, and other interface modules 211-0, 211-n, 21-2-21- For 4, the clock supply is stopped and the operation is turned off.
Thereby, the semiconductor memory device 1 functions as a DDR.
In the case of this configuration, the selector 23 shown in FIG. 2 is not necessary.

なお、IOバッファ22a〜22gの電源供給構成によっては、モード信号Smdにより、IOバッファ22bに、たとえば2.5Vのバッファ動作電源が供給されるようにする。あるいはIOバッファ22a〜22gに共通の電源ラインが形成されている場合、基板設計により、その電源ラインが、2.5V系の電源ラインに接続されるようにすればよい。   Depending on the power supply configuration of the IO buffers 22a to 22g, for example, 2.5 V buffer operation power is supplied to the IO buffer 22b by the mode signal Smd. Alternatively, when a common power supply line is formed in the IO buffers 22a to 22g, the power supply line may be connected to a 2.5V power supply line depending on the board design.

なお、図43および図44は、図2の構成に対応した他の構成例ではあるが、図6の構成に対応する同様の他の構成例として図45および図46に示すように構成することも可能であることはいうまでもない。なお、基本的な概念は図43および図44の場合と同様であることから、その詳細な説明は省略する。   43 and 44 are other configuration examples corresponding to the configuration of FIG. 2, but the configuration shown in FIGS. 45 and 46 is the same as another configuration example corresponding to the configuration of FIG. Needless to say, it is possible. Since the basic concept is the same as in the case of FIGS. 43 and 44, detailed description thereof is omitted.

以上、実施の形態について説明してきたが、実施の形態の半導体メモリ装置1を用いることで、回路規模の簡略化を実現し、消費電力の増大を抑止しつつ、各種のメモリタイプのメモリとして使用でき、しかも、本装置のデータ幅以下のデータが入力された場合も対応可能となり、また、機器製造や設計の効率化や、製造の安定化を実現できる。そして、I/O幅の広いマルチIFメモリ装置として構成されることから、基板上のメモリ員数を減らすことができる。
また、異なるIFでメモリに蓄積された内容をやり取りする場合、1つのメモリ装置で行うことができる。
たとえばあるメモリタイプのメモリを搭載している電子機器において、そのメモリタイプのメモリの供給が不安定になった場合、そのメモリを半導体メモリ装置1に置き換え、それまでのメモリと同様の動作を実行させることで、メモリ制御回路や周辺回路の設計変更なしに、引き続き機器製造を継続できる。
また、新規に電子機器の設計を行う場合には、搭載するメモリチップとして半導体メモリ装置1を採用することで、自由度の高い設計や効率的な設計が可能となり、また将来メモリ自体の仕様変更(メモリタイプの変更)を行いたい場合にも容易に対応できることになる。
As described above, the embodiment has been described. By using the semiconductor memory device 1 according to the embodiment, the circuit scale can be simplified and the increase in power consumption can be suppressed, and the memory can be used as various types of memory. In addition, it is possible to cope with the case where data less than the data width of this apparatus is input, and it is possible to realize the efficiency of device manufacturing and design and the stabilization of manufacturing. And since it is configured as a multi-IF memory device with a wide I / O width, the number of memories on the substrate can be reduced.
Further, when the contents stored in the memory are exchanged with different IFs, it can be performed by one memory device.
For example, in an electronic device equipped with a memory type memory, when the supply of the memory type memory becomes unstable, the memory is replaced with the semiconductor memory device 1 and the same operation as the previous memory is executed. By doing so, it is possible to continue device manufacturing without changing the design of the memory control circuit and the peripheral circuit.
In addition, when designing a new electronic device, by adopting the semiconductor memory device 1 as a memory chip to be mounted, a highly flexible design and an efficient design are possible, and the specification of the memory itself will be changed in the future. Even when it is desired to change the memory type, it can be easily handled.

なお、本発明の半導体メモリ装置は実施の形態の構成に限定されるものではなく、更なる変形例は各種考えられる。
搭載するインターフェースモジュールは、少なくとも2つ以上であり、少なくとも2種類以上のメモリタイプとして機能できるようにすればよい。
The semiconductor memory device of the present invention is not limited to the configuration of the embodiment, and various modifications can be considered.
There are at least two interface modules to be mounted, and it may be configured to function as at least two types of memory types.

本発明の実施の形態に係る半導体メモリ装置の基本的な概略構成についての説明図である。It is explanatory drawing about the basic schematic structure of the semiconductor memory device which concerns on embodiment of this invention. 本実施の形態に係る半導体メモリ装置の具体的な回路構成例を示す図である。It is a figure which shows the specific circuit structural example of the semiconductor memory device which concerns on this Embodiment. 本実施の形態に係るDRAM−IFモジュール群の構成例を示すブロック図である。It is a block diagram which shows the structural example of the DRAM-IF module group which concerns on this Embodiment. 4はSDRAMの状態遷移図である。4 is a state transition diagram of the SDRAM. DDR−SDRAMの状態遷移図である。It is a state transition diagram of DDR-SDRAM. 共通シーケンス部と専用モジュール部に分けずにここのIFモジュールを設けた半導体メモリ装置の構成例を示す図である。It is a figure which shows the structural example of the semiconductor memory device which provided the IF module here without dividing into a common sequence part and an exclusive module part. 共通シーケンス部と専用モジュール部を設けたDRAM−IFモジュール群の状態遷移を示す図である。It is a figure which shows the state transition of the DRAM-IF module group which provided the common sequence part and the exclusive module part. 実施の形態の半導体メモリ装置の動作状態の一例の説明図である。FIG. 10 is an explanatory diagram illustrating an example of an operation state of the semiconductor memory device according to the embodiment; 初期化の状態遷移を説明するための図である。It is a figure for demonstrating the state transition of initialization. 書き込みの状態遷移を説明するための図である。It is a figure for demonstrating the write state transition. オートプリチャージ付き書き込みの状態遷移を説明するための図である。It is a figure for demonstrating the state transition of the write with auto precharge. 読み出しの状態遷移を説明するための図である。It is a figure for demonstrating the state transition of reading. オートプリチャージ付き読み出しの状態遷移を説明するための図である。It is a figure for demonstrating the state transition of the read with an auto precharge. オートリフレッシュの状態遷移について説明するための図である。It is a figure for demonstrating the state transition of an auto refresh. 本実施形態に係る適応的変換器(Adaptive Converter)の構成例を示すブロック図である。It is a block diagram which shows the structural example of the adaptive converter (Adaptive Converter) which concerns on this embodiment. 本実施形態に係る適応的変換器の第1例における書き込み動作を説明するための図である。It is a figure for demonstrating the write-in operation | movement in the 1st example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第1例における読み出し動作を説明するための図である。It is a figure for demonstrating the read-out operation | movement in the 1st example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第2例におけるデータマスク有りの場合の書き込み動作を説明するための図である。It is a figure for demonstrating the write-in operation | movement in case the data mask exists in the 2nd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第2例におけるデータマスク無しの場合の書き込み動作を説明するための図である。It is a figure for demonstrating the write-in operation | movement in the case of no data mask in the 2nd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第2例における読み出し動作を説明するための図である。It is a figure for demonstrating the read-out operation | movement in the 2nd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第3例における変換後の書き込み、読み出しパターンを示す図である。It is a figure which shows the write-in and read-out pattern after conversion in the 3rd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第3例におけるアドレス変換テーブルの一例を示す図である。It is a figure which shows an example of the address conversion table in the 3rd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第3例における読み出すアドレスについて示す図である。It is a figure shown about the address read in the 3rd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第3例における書き込み動作を説明するための図である。It is a figure for demonstrating the write-in operation | movement in the 3rd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第3例における連続アドレス読み出し動作を説明するための図である。It is a figure for demonstrating the continuous address read-out operation | movement in the 3rd example of the adaptive converter which concerns on this embodiment. 本実施形態に係る適応的変換器の第3例における単発アドレス読み出し動作を説明するための図である。It is a figure for demonstrating the single address read-out operation | movement in the 3rd example of the adaptive converter based on this embodiment. メモリ員数を減らす半導体メモリ装置(マルチIFメモリ装置)の第1例を説明するための図である。It is a figure for demonstrating the 1st example of the semiconductor memory device (multi-IF memory device) which reduces a memory number. メモリ員数を減らす半導体メモリ装置(マルチIFメモリ装置)の第2例を説明するための図である。It is a figure for demonstrating the 2nd example of the semiconductor memory device (multi-IF memory device) which reduces a memory number. 第2例に対応する適応的変換器とRAMアレイとの関係を示す図である。It is a figure which shows the relationship between the adaptive converter corresponding to a 2nd example, and a RAM array. 第2例のタイミングチャートの一例を示す図である。It is a figure which shows an example of the timing chart of a 2nd example. メモリ員数を減らす半導体メモリ装置(マルチIFメモリ装置)の第3例を説明するための図である。It is a figure for demonstrating the 3rd example of the semiconductor memory device (multi-IF memory device) which reduces a memory number. SDRのリード/ライトサイクルタイミングの説明図である。It is explanatory drawing of the read / write cycle timing of SDR. DDRのリード/ライトサイクルタイミングの説明図である。FIG. 6 is an explanatory diagram of DDR read / write cycle timing. 実施の形態のSDR−IFモジュール機能時の動作の説明図である。It is explanatory drawing of the operation | movement at the time of the SDR-IF module function of embodiment. 実施の形態のDDR−IFモジュール機能時の動作の説明図である。It is explanatory drawing of the operation | movement at the time of the DDR-IF module function of embodiment. 実施の形態のPLL部のモード動作の説明図である。It is explanatory drawing of the mode operation | movement of the PLL part of embodiment. 実施の形態のセレクタのモード動作の説明図である。It is explanatory drawing of the mode operation | movement of the selector of embodiment. 実施の形態のIOバッファのモード動作の説明図である。It is explanatory drawing of the mode operation | movement of IO buffer of embodiment. 実施の形態のIOバッファのモード動作の説明図である。It is explanatory drawing of the mode operation | movement of IO buffer of embodiment. 実施の形態のIOバッファのモード動作の説明図である。It is explanatory drawing of the mode operation | movement of IO buffer of embodiment. 実施の形態のIOバッファのモード動作の説明図である。It is explanatory drawing of the mode operation | movement of IO buffer of embodiment. 実施の形態のIOバッファのモード動作の説明図である。It is explanatory drawing of the mode operation | movement of IO buffer of embodiment. 実施の形態の半導体メモリ装置の他の構成例のブロック図である。It is a block diagram of the other structural example of the semiconductor memory device of an embodiment. 実施の形態の半導体メモリ装置の他の構成例の動作状態の説明図である。It is explanatory drawing of the operation state of the other structural example of the semiconductor memory device of embodiment. 実施の形態の半導体メモリ装置のさらに他の構成例のブロック図である。It is a block diagram of the further another structural example of the semiconductor memory device of the embodiment. 実施の形態の半導体メモリ装置のさらに他の構成例の動作状態の説明図である。It is explanatory drawing of the operation state of the further another structural example of the semiconductor memory device of embodiment.

符号の説明Explanation of symbols

1,1A・・・半導体メモリ装置、2・・・インターフェース部、3・・・メモリアレイ部、21・・・インターフェースモジュール群、21−1・・・DRAM−インターフェース(IF)モジュール群、210・・・共通シーケンス部、2101・・・コマンド検出部、2102・・・共通状態遷移部、2103・・・スイッチ群、211・・・専用モジュール部、211−0,21a・・・SDR−IFモジュール、211−1,21b・・・DDR−IFモジュール、211−2,21c・・・DDR2−IFモジュール、211−n,21e・・・DDR(n)−IFモジュール、21−2,21f・・・SRAM−IFモジュール、21−3,21g・・・DPRAM−IFモジュール、21−4,21h・・・FIFO−IFモジュール、22・・・IOバッファ、23・・・セレクタ、24・・・PLL部、25・・・モード解釈部、30・・・RAMアレイ、31・・・適応的変換器(Adaptive Converter)。   DESCRIPTION OF SYMBOLS 1,1A ... Semiconductor memory device, 2 ... Interface part, 3 ... Memory array part, 21 ... Interface module group, 21-1 ... DRAM-interface (IF) module group, 210 ..Common sequence unit, 2101 ... command detection unit, 2102 ... common state transition unit, 2103 ... switch group, 211 ... dedicated module unit, 211-0, 21a ... SDR-IF module , 211-1, 21b ... DDR-IF module, 211-2, 21c ... DDR2-IF module, 211-n, 21e ... DDR (n) -IF module, 21-2, 21f ... · SRAM-IF module, 21-3, 21g ... DPRAM-IF module, 21-4, 21h ... FIFO-IF Joule, 22 ... IO buffer, 23 ... selectors, 24 ... PLL unit, 25 ... mode interpretation unit, 30 ... RAM array, 31 ... adaptive converter (Adaptive Converter).

Claims (12)

所定のデータバス幅でアクセスされるメモリアレイが形成されたメモリアレイ部と、
外部装置と上記メモリアレイ部との間のインターフェースを行うインターフェース部と、
上記インターフェース部と上記メモリアレイ間のデータおよび制御信号の変換機能を有し、上記メモリアレイの仕様に応じた変換機能を有する変換器と、を有し、
上記インターフェース部は、
複数のメモリタイプにそれぞれ対応し、選択的に上記外部装置と上記メモリアレイ部との間のインターフェース処理に適用される複数のインターフェースモジュールを含み、
上記インターフェース部におけるデータバス幅が所定メモリタイプに応じて設定されるデータバス幅より広いデータバス幅に設定されている
半導体メモリ装置。
A memory array part in which a memory array to be accessed with a predetermined data bus width is formed;
An interface unit for performing an interface between the external device and the memory array unit;
A converter having a function of converting data and control signals between the interface unit and the memory array, and a converter having a conversion function according to the specifications of the memory array;
The interface part is
A plurality of interface modules respectively corresponding to a plurality of memory types and selectively applied to interface processing between the external device and the memory array unit;
A semiconductor memory device, wherein a data bus width in the interface unit is set to a data bus width wider than a data bus width set according to a predetermined memory type.
上記変換器は、
インターフェースの種別情報を含むモード信号から上記メモリアレイの分割情報得て当該メモリアレイのアクセスを制御し、当該メモリアレイにおける異なるメモリタイプに応じたデータ領域を区別する
請求項1記載の半導体メモリ装置。
The converter is
The semiconductor memory device according to claim 1, wherein division information of the memory array is obtained from a mode signal including interface type information to control access to the memory array, and data areas corresponding to different memory types in the memory array are distinguished.
上記変換器は、
上記メモリアレイのアクセスデータの情報に基づいて、上記メモリアレイのコマンド、アドレスを発行し、データ幅を可変してまたは非可変で出力するデータ幅可変機能を有する
請求項1記載の半導体メモリ装置。
The converter is
The semiconductor memory device according to claim 1, further comprising a data width variable function for issuing a command and an address of the memory array based on information on access data of the memory array, and outputting the data width in a variable or non-variable manner.
上記インターフェース部は、
モード指定信号から上記メモリタイプの別を示すモードの解釈を行い、かつデータの少なくともバースト長およびビット幅の識別を行い、当該識別結果を上記メモリアレイのアクセス情報として上記変換器に出力する解釈部を有し、
上記変換器は、
上記解釈部のモード解釈並びにバースト長とビット幅の情報に基づいて上記メモリアレイへのコマンド、アドレスを発行し、データ幅を可変してまたは非可変で出力する
請求項1記載の半導体メモリ装置。
The interface part is
Interpreter that interprets the mode indicating the type of memory from the mode designation signal, identifies at least the burst length and bit width of the data, and outputs the identification result to the converter as access information of the memory array Have
The converter is
2. The semiconductor memory device according to claim 1, wherein a command and an address are issued to the memory array based on mode interpretation of the interpreter and burst length and bit width information, and the data width is variable or non-variable. 3.
上記変換器は、
外部データバス幅と上記メモリアレイのデータバス幅が異なる場合、データ幅の可変処理を行う
請求項4記載の半導体メモリ装置。
The converter is
5. The semiconductor memory device according to claim 4, wherein when the external data bus width is different from the data bus width of the memory array, the data width variable processing is performed.
上記変換器は、
上記外部データバス幅が2のN乗の場合であって、データマスク有りの書き込みコマンドを受けると、書き込みコマンドを連続して発行し、データマスク制御により該当データのみを上記メモリアレイに書き込む
請求項5記載の半導体メモリ装置。
The converter is
When the external data bus width is 2 to the Nth power and a write command with a data mask is received, the write command is issued continuously, and only the corresponding data is written into the memory array by data mask control. 6. The semiconductor memory device according to 5.
上記変換器は、
上記外部データバス幅が2のN乗の場合であって、データマスク無しの書き込みコマンドを受けると、読み出しコマンドおよび書き込みコマンドを発行し、上記メモリアレイからアドレス指定のデータを読み出し、当該読み出しデータと書き込むべきデータと合わせて書き込みを行う
請求項5記載の半導体メモリ装置。
The converter is
When the external data bus width is the Nth power of 2 and when a write command without a data mask is received, a read command and a write command are issued, addressed data is read from the memory array, and the read data and 6. The semiconductor memory device according to claim 5, wherein writing is performed together with data to be written.
上記変換器は、
上記外部データバス幅が2のN乗の場合であって、読み出しコマンドを受けると、上記メモリアレイから読み出したデータをパラレルデータからシリアルデータに変換して、メモリタイプに対応する上記インターフェースモジュールに出力する
請求項5記載の半導体メモリ装置。
The converter is
When the external data bus width is 2 to the Nth power and a read command is received, the data read from the memory array is converted from parallel data to serial data and output to the interface module corresponding to the memory type The semiconductor memory device according to claim 5.
上記変換器は、
上記外部データバス幅が2のN乗でない場合であって、書き込みコマンドを受けると、当該2のN乗でないデータを2のN乗の幅に置換え、上記バースト長およびビット幅の情報、および所定のカウント情報をもとにアドレスを発行し、該当データを上記メモリアレイに書き込む
請求項5記載の半導体メモリ装置。
The converter is
When the external data bus width is not 2 to the Nth power and a write command is received, the data that is not the second power of N is replaced with a width of the second power of N, the burst length and bit width information, and the predetermined data The semiconductor memory device according to claim 5, wherein an address is issued based on the count information and the corresponding data is written to the memory array.
上記変換器は、
上記外部データバス幅が2のN乗でない場合であって、書き込みコマンドを受けると、当該2のN乗でないデータを、入力から各ビットごとにパラレルからシリアルに変換して所定データ分の複数ビットをそれぞれペアにして順に並べて2のN乗の幅に置換え、上記バースト長およびビット幅の情報、および所定のカウント情報をもとにアドレスを発行し、該当データを上記メモリアレイに書き込む
請求項9記載の半導体メモリ装置。
The converter is
When the external data bus width is not 2 to the N-th power and a write command is received, the non-N-th power of 2 is converted from parallel to serial for each bit from the input, and a plurality of bits corresponding to predetermined data And sequentially replacing each of them in pairs and replacing them with the N-th power width, issuing an address based on the burst length and bit width information, and predetermined count information, and writing the corresponding data into the memory array. The semiconductor memory device described.
上記変換器は、
上記外部データバス幅が2のN乗でない場合であって、読み出しコマンドを受けると、上記メモリアレイの読み出しデータが一つのブロックに全てが含まれるデータから始まる場合、読み出したデータから上記所定データ分のブロックを抜き出し、シリアルからパラレルに変換して順次展開し、
次のデータは、上記所定データ分のデータブロックが2つのブロックにまたがるため、1つ目のデータを保持しておき、2つ目のデータブロックと合わせて、シリアルからパラレルに変換し、順次展開して読み出す
請求項10記載の半導体メモリ装置。
The converter is
When the external data bus width is not 2 to the power of N and when a read command is received, if the read data of the memory array starts with data that is all contained in one block, the predetermined data is read from the read data. Are extracted, converted from serial to parallel, and expanded sequentially.
As the next data, the data block for the predetermined data spans two blocks, so the first data is held, converted from serial to parallel together with the second data block, and sequentially expanded The semiconductor memory device according to claim 10.
上記変換器は、
上記外部データバス幅が2のN乗でない場合であって、読み出しコマンドを受けると、上記メモリアレイの読み出しデータが上記所定データ分のデータブロックが2つのブロックにまたがるデータの場合は、1つ目のデータを保持しておき、2つ目のデータブロックと合わせて、シリアルからパラレルに変換し、順次展開して読み出す
請求項10記載の半導体メモリ装置。
The converter is
If the external data bus width is not 2 to the Nth power and a read command is received, the read data of the memory array is the first when the data block for the predetermined data spans two blocks. The semiconductor memory device according to claim 10, wherein the data is stored, converted together with the second data block from serial to parallel, sequentially expanded and read.
JP2008021711A 2008-01-31 2008-01-31 Semiconductor memory device Pending JP2009181473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008021711A JP2009181473A (en) 2008-01-31 2008-01-31 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008021711A JP2009181473A (en) 2008-01-31 2008-01-31 Semiconductor memory device

Publications (1)

Publication Number Publication Date
JP2009181473A true JP2009181473A (en) 2009-08-13

Family

ID=41035380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008021711A Pending JP2009181473A (en) 2008-01-31 2008-01-31 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP2009181473A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181666A (en) * 2008-01-31 2009-08-13 Sony Corp Semiconductor memory device and operation method thereof
JP2009181669A (en) * 2008-01-31 2009-08-13 Sony Corp Semiconductor memory device and operation method thereof
US11587599B2 (en) 2020-05-29 2023-02-21 Kioxia Corporation Memory system, memory chip, and controller for two different voltage ranges

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009181666A (en) * 2008-01-31 2009-08-13 Sony Corp Semiconductor memory device and operation method thereof
JP2009181669A (en) * 2008-01-31 2009-08-13 Sony Corp Semiconductor memory device and operation method thereof
US11587599B2 (en) 2020-05-29 2023-02-21 Kioxia Corporation Memory system, memory chip, and controller for two different voltage ranges

Similar Documents

Publication Publication Date Title
JP4561782B2 (en) Semiconductor memory device and method of operating semiconductor memory device
JP2009181666A (en) Semiconductor memory device and operation method thereof
US8593893B2 (en) Semiconductor memory device and read wait time adjustment method thereof, memory system, and semiconductor device
JP4561783B2 (en) Semiconductor memory device and method of operating semiconductor memory device
US9218871B2 (en) Semiconductor memory device, information processing system including the same, and controller
CN111066084B (en) Apparatus and method for providing active and inactive clock signals
KR100719377B1 (en) Semiconductor memory device reading out data pattern
US11262941B2 (en) Apparatuses and methods including memory commands for semiconductor memories
JP2008112434A (en) Method and circuit for transmitting memory clock signal
JP2007048281A (en) Wrapper circuit and method for interfacing between non-muxed type memory controller and muxed type memory
US9607667B1 (en) Memory device and electronic apparatus including the same
JP2009181669A (en) Semiconductor memory device and operation method thereof
JP2009181667A (en) Semiconductor memory device and operation method thereof
US9030895B2 (en) Memory device with pin register to set input/output direction and bitwidth of data signals
JP2009181473A (en) Semiconductor memory device
CN103489476A (en) Memory device and method for operating the same
JP2009181668A (en) Semiconductor memory device and operation method thereof
US20090319708A1 (en) Electronic system and related method with time-sharing bus
JP2008251060A (en) Semiconductor memory device
JP2007018161A (en) Memory controller