JP2013196721A - Semiconductor memory device - Google Patents

Semiconductor memory device Download PDF

Info

Publication number
JP2013196721A
JP2013196721A JP2012061823A JP2012061823A JP2013196721A JP 2013196721 A JP2013196721 A JP 2013196721A JP 2012061823 A JP2012061823 A JP 2012061823A JP 2012061823 A JP2012061823 A JP 2012061823A JP 2013196721 A JP2013196721 A JP 2013196721A
Authority
JP
Japan
Prior art keywords
latch
write
data
bit
information data
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
JP2012061823A
Other languages
Japanese (ja)
Inventor
Naotaka Yumoto
尚孝 湯本
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.)
Lapis Semiconductor Co Ltd
Original Assignee
Lapis Semiconductor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lapis Semiconductor Co Ltd filed Critical Lapis Semiconductor Co Ltd
Priority to JP2012061823A priority Critical patent/JP2013196721A/en
Publication of JP2013196721A publication Critical patent/JP2013196721A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Read Only Memory (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor memory device capable of suppressing noise generation when performing error correction encoding for information data and writing it.SOLUTION: An error correction encoding processing is performed for each N bit of information data to be written. The information data to which parity data obtained by the processing is added is temporarily captured into a latch unit as follows, so as to perform synchronous writing to a memory array. That is, while capturing and outputting the parity data, the latch unit captures the information data of N-bits in a time-division manner for each bit group each consisting of the number of bits that is smaller than N-bits, and sequentially outputs it. Then, a write bias voltage corresponding to each bit of the parity data and information data, which are output from the latch unit, is generated and applied to the memory array.

Description

本発明は、半導体メモリ装置、特に誤り訂正符号を付加したデータが書き込まれる不揮発性の半導体メモリ装置に関する。   The present invention relates to a semiconductor memory device, and more particularly to a nonvolatile semiconductor memory device in which data to which an error correction code is added is written.

現在、読出専用の記憶装置、いわゆるROM(Read-Only Memory)として、電気的にデータの書き込みが行え、紫外線等で消去可能なEP(Erasable Programmable)ROM、書き込み出荷型のプロダクション・プログラムドROM、電気的消去が可能で随時書き替え可能なEEP(Electrically Erasable & Programmable)ROM等が知られている。しかしながら、このようなデータの書き換えが可能なROMでは、そのデータ書き込み時において誤ったデータが書き込まれる場合があった。   At present, as a read-only storage device, so-called ROM (Read-Only Memory), an EP (Erasable Programmable) ROM that can electrically write data and can be erased by ultraviolet rays, a write shipment type production programmed ROM, An EEPROM (Electrically Erasable & Programmable) ROM that can be electrically erased and rewritten as needed is known. However, in such a ROM capable of rewriting data, erroneous data may be written when the data is written.

そこで、例え誤ったデータが書き込まれても、読み出し時においてその誤ったデータを修正できるようにすべく、書き込み対象となる情報データにパリティビットと称される誤り訂正符号(ECC;Error Correct Code)を付加したものを書き込むようにした半導体メモリ装置が提案された(例えば、特許文献1の図1参照)。この半導体メモリ装置には、書き込み対象となる情報データに基づき上記パリティビットを発生するパリティビット発生回路、並びに読み出された情報データに生じている誤りを訂正する誤り訂正回路が設けられている。また、この半導体メモリ装置には、書き込み対象となる情報データにパリティビットを付加したものを1つの書込用の符号ブロックとして形成させるべく、これら情報データ及びパリティビットを同期したタイミングで取り込むラッチ(バッファ)が設けられている。   Therefore, even if erroneous data is written, in order to be able to correct the erroneous data at the time of reading, an error correcting code (ECC) called a parity bit is added to the information data to be written. There has been proposed a semiconductor memory device in which a device with a symbol added is written (see, for example, FIG. 1 of Patent Document 1). This semiconductor memory device is provided with a parity bit generation circuit for generating the parity bit based on information data to be written, and an error correction circuit for correcting an error occurring in the read information data. Further, in this semiconductor memory device, in order to form information data to be written with a parity bit added as one code block for writing, a latch (in which these information data and the parity bit are fetched at a synchronized timing ( Buffer).

また、近年、このような半導体メモリ装置として、大量のデータを高速に読み出す為に、書込又は読出のアクセス単位となる符号ブロック長が例えば128ビット(又は256ビット)の如く長大となるものが製品化されている。ところが、1回分の書込アクセスの単位となる符号ブロック長が長大となると、上記した如きラッチへの取り込み時にその符号ブロックのビット数分のデータのレベルが一斉に反転した場合に、電源又は接地ラインに一時的に大電流が流れ込み、それに伴う急峻な電圧降下によってノイズが発生するという問題が生じた。   Also, in recent years, as such a semiconductor memory device, in order to read a large amount of data at a high speed, a code block length as an access unit for writing or reading becomes long, for example, 128 bits (or 256 bits). It has been commercialized. However, if the code block length that is a unit of one write access becomes long, when the data level for the number of bits of the code block is reversed at the same time when fetching into the latch as described above, the power supply or ground There was a problem that a large current temporarily flowed into the line, and noise was generated due to a sharp voltage drop.

特開2000−348497号公報JP 2000-348497 A

本発明は、情報データを誤り訂正符号化して書き込む際のノイズ発生を抑制させることが可能な半導体メモリ装置を提供することを目的とする。   An object of the present invention is to provide a semiconductor memory device capable of suppressing noise generation when information data is error-correction encoded and written.

本発明に係る半導体メモリ装置は、書込対象となる情報データをN(Nは正の整数)ビット単位にて誤り訂正符号化して書き込むメモリアレイを備えた半導体メモリ装置であって、前記Nビットの情報データを取り込んで記憶しつつ出力する誤り符号化ラッチ部と、前記誤り符号化ラッチ部から出力された前記Nビットの情報データに対して誤り訂正符号処理を施してパリティデータを生成する誤り訂正符号回路と、前記パリティデータを取り込んで記憶しつつ出力する第1書込ラッチ部と、前記Nビット分の情報データを、夫々が前記Nビットよりも小なるビット数からなるビット群毎に時分割にて取り込んで記憶しつつ順次出力する第2書込ラッチ部と、前記第1書込ラッチ部から出力された前記パリティデータ及び前記第2書込ラッチ部から出力された前記情報データの各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成して前記メモリアレイに印加する書込バイアス回路と、を有する。   A semiconductor memory device according to the present invention is a semiconductor memory device including a memory array in which information data to be written is written by error correction encoding in units of N (N is a positive integer) bits, and the N bits An error encoding latch unit that captures and outputs the information data and outputs the parity data by performing error correction code processing on the N-bit information data output from the error encoding latch unit A correction code circuit, a first write latch unit that captures and outputs the parity data, and outputs the N bits of information data for each bit group each having a number of bits smaller than the N bits. A second write latch unit that sequentially captures and outputs in a time-sharing manner, and the parity data and the second write latch output from the first write latch unit Having a write bias circuit for applying to the memory array and generates a write bias voltage corresponding to the logic level of the bit per each bit of output the information data from.

又、本発明に係る半導体メモリ装置は、書込対象となる情報データをN(Nは正の整数)ビット単位にて誤り訂正符号化して書き込むメモリアレイを備えた半導体メモリ装置であって、前記Nビットの情報データを、夫々が前記Nビットよりも小なるビット数からなるビット群毎に時分割にて取り込んで記憶しつつ順次出力する誤り符号化ラッチ部と、前記誤り符号化ラッチ部から出力された前記Nビットの情報データに対して誤り訂正符号処理を施してパリティデータを生成する誤り訂正符号回路と、前記パリティデータを取り込んで記憶しつつ出力する書込ラッチ部と、前記書込ラッチ部から出力された前記パリティデータ及び前記誤り符号化ラッチ部から出力された前記情報データの各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成して前記メモリアレイに印加する書込バイアス回路と、を有する。   The semiconductor memory device according to the present invention is a semiconductor memory device comprising a memory array in which information data to be written is written by error correction encoding in units of N (N is a positive integer) bits. N-bit information data, each of which is obtained by time division for each bit group having a number of bits smaller than the N bits, and is stored in an error encoding latch unit and sequentially output from the error encoding latch unit An error correction code circuit that generates parity data by performing error correction code processing on the output N-bit information data; a write latch unit that captures and stores the parity data; and the write For each bit of the parity data output from the latch unit and the information data output from the error encoding latch unit, a write corresponding to the logical level of the bit And it generates a bias voltage having a write bias circuit for applying to the memory array.

本発明においては、書込対象となる情報データに対してNビット毎に誤り訂正符号化処理を施して得られたパリティデータを付加したものを、以下の如く一旦、ラッチ部に取り込むことにより同期化してメモリアレイに書き込むようにしている。つまり、かかるラッチ部にて、パリティデータを取り込んで出力させつつ、Nビット分の情報データを、夫々がNビットよりも小なるビット数からなるビット群毎に時分割にて取り込んで順次出力させる。そして、かかるラッチ部から出力されたパリティデータ及び情報データの各ビットに対応した書込バイアス電圧を生成してメモリアレイに印加するのである。   In the present invention, the information data to be written is added with parity data obtained by performing error correction coding processing every N bits, and is synchronized by temporarily fetching into the latch section as follows. And writing to the memory array. That is, the latch unit captures and outputs the parity data, and N-bit information data is captured in time division for each bit group having a number of bits smaller than N bits and sequentially output. . Then, a write bias voltage corresponding to each bit of the parity data and information data output from the latch unit is generated and applied to the memory array.

かかる構成によれば、ラッチ部に取り込まれて同時に出力される1回分のデータのビット数は、1回分の書込アクセスの単位となる情報データのビット長であるNビットよりも小となる。これにより、ラッチ部から出力されたデータの論理レベルが一斉に反転した場合であっても、電源又は接地ラインに一時的に流れ込む電流量が少なくなる。よって、電源又は接地ラインに流れ込む電流量が急峻に増加することに起因する急峻な電圧降下が生じにくくなり、この急峻な電圧降下に伴って発生するノイズが抑制される。   According to such a configuration, the number of bits of one-time data that is taken into the latch unit and simultaneously output is smaller than N bits, which is the bit length of information data that is a unit of one-time write access. As a result, even if the logic levels of the data output from the latch units are reversed all at once, the amount of current that temporarily flows into the power supply or ground line is reduced. Therefore, a steep voltage drop due to a steep increase in the amount of current flowing into the power supply or ground line is less likely to occur, and noise generated with this steep voltage drop is suppressed.

本発明に係る半導体メモリ装置としてのROM100の内部構成を示すブロック図である。1 is a block diagram showing an internal configuration of a ROM 100 as a semiconductor memory device according to the present invention. ECCラッチ7の内部構成の一例を示す図である。3 is a diagram illustrating an example of an internal configuration of an ECC latch 7. FIG. 書込ラッチ8の内部構成の一例を示す図である。2 is a diagram showing an example of an internal configuration of a write latch 8. FIG. 図1に示されるROM100におけるデータ書き込み時の動作を示すタイムチャートである。2 is a time chart showing an operation at the time of data writing in the ROM 100 shown in FIG. ROM100にデータを書き込む際のシステム構成を示す図である。2 is a diagram showing a system configuration when data is written to a ROM 100. FIG. ROM100の変形例を示すブロック図である。It is a block diagram which shows the modification of ROM100. 図6に示されるROM100におけるデータ書き込み時の動作を示すタイムチャートである。It is a time chart which shows the operation | movement at the time of the data writing in ROM100 shown by FIG.

本発明に係る半導体メモリ装置は、Nビット分の情報データを取り込んで記憶しつつ出力する誤り符号化ラッチ部(7)と、この誤り符号化ラッチ部から出力されたNビットの情報データ(LD)に対して誤り訂正符号処理を施してパリティデータ(DP)を生成する誤り訂正符号回路(9)と、このパリティデータを取り込んで記憶しつつ出力する第1書込ラッチ部(10)と、Nビット分の情報データを、夫々がNビットよりも小なるビット数からなるビット群毎に時分割にて取り込んで記憶しつつ順次出力する第2書込ラッチ部(8)と、第1書込ラッチ部(10)から出力されたパリティデータ(WDP)及び第2書込ラッチ部(8)から出力された情報データ(WD)の各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成してメモリアレイ(14)に印加する書込バイアス回路(11、12)と、を有する。   The semiconductor memory device according to the present invention includes an error encoding latch unit (7) that captures and outputs N bits of information data, and outputs N bits of information data (LD) output from the error encoding latch unit. ) To perform error correction code processing to generate parity data (DP), a first write latch unit (10) that captures and outputs this parity data, and A second write latch section (8) for sequentially outputting the N-bit information data while fetching and storing it in a time-sharing manner for each bit group having a number of bits smaller than N bits; Write via corresponding to the logical level of each bit of the parity data (WDP) output from the latch latch unit (10) and the information data (WD) output from the second write latch unit (8) Having a write bias circuit (11, 12) to be applied to the memory array (14) to generate a voltage.

又、本発明に係る半導体メモリ装置は、Nビット分の情報データを、夫々がNビットよりも小なるビット数からなるビット群毎に時分割にて取り込んで記憶しつつ順次出力する誤り符号化ラッチ部(7)と、この誤り符号化ラッチ部から出力されたNビットの情報データ(LD)に対して誤り訂正符号処理を施してパリティデータを生成する誤り訂正符号回路(9)と、このパリティデータを取り込んで記憶しつつ出力する書込ラッチ部(10)から出力されたパリティデータ(WDP)及び誤り符号化ラッチ部(7)から出力された情報データ(LD)の各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成してメモリアレイ(14)に印加する書込バイアス回路(11、12)と、を有する。   In addition, the semiconductor memory device according to the present invention is an error encoding method in which N bits of information data are time-divisionally captured and stored in units of bits each having a number of bits smaller than N bits. A latch unit (7), an error correction code circuit (9) for performing error correction code processing on the N-bit information data (LD) output from the error encoding latch unit to generate parity data, and For each bit of the parity data (WDP) output from the write latch unit (10) that outputs and stores the parity data, and the information data (LD) output from the error encoding latch unit (7) And a write bias circuit (11, 12) for generating a write bias voltage corresponding to the logic level of the bit and applying it to the memory array (14).

図1は、本発明に係る半導体メモリ装置としてのデータ書込可能なROM100の内部構成を示すブロック図である。   FIG. 1 is a block diagram showing an internal configuration of a ROM 100 capable of writing data as a semiconductor memory device according to the present invention.

図1において、アドレスバッファ1は、書込制御部2(後述する)から論理レベル1の書込バイアス指令信号CEBが供給されている間に亘り、ROM100の外部端子PA0-22を介して供給された23ビットのアドレスデータAD[0:22]を取り込んで記憶する。そして、アドレスバッファ1は、取り込んだアドレスデータAD[0:22]の内の第3ビットをアドレスデータA[2]として書込制御部2に供給すると共に、第1〜第3ビットをアドレスデータA[0:2]としてラッチセレクタ3に供給する。更に、アドレスバッファ1は、かかるアドレスデータAD[0:22]の内の第4〜第23ビットをアドレスデータA[3:22]としてYデコーダ(カラムデコーダ)4及びXデコーダ(ローデコーダ)5に夫々供給する。 In FIG. 1, the address buffer 1 is supplied via an external terminal PA 0-22 of the ROM 100 while a write bias command signal CEB of logic level 1 is supplied from a write control unit 2 (described later). The acquired 23-bit address data AD [0:22] is captured and stored. Then, the address buffer 1 supplies the third bit in the fetched address data AD [0:22] to the write control unit 2 as the address data A [2], and sends the first to third bits to the address data. This is supplied to the latch selector 3 as A [0: 2]. Further, the address buffer 1 uses the 4th to 23rd bits in the address data AD [0:22] as address data A [3:22] as a Y decoder (column decoder) 4 and an X decoder (row decoder) 5. Respectively.

ラッチセレクタ3は、書込制御部2から書込モードを示す論理レベル0の書込モード信号PGMBが供給されている間に亘り活性状態となる。この活性状態時においてラッチセレクタ3は、上記AD[0:2]に基づき、ECCラッチ7の第1〜第8ラッチ群(後述する)の内の1つを選択させるべき8ビットのラッチ選択信号LE[0:7]を生成し、これをECCラッチ7及び書込ラッチ8に供給する。ラッチ選択信号LE[0:7]の各ビット、つまりLE[0]、LE[1]、LE[2]、・・・、LE[6]、LE[7]は、以下の如き対応関係にて各ラッチ群毎にそのラッチ群を活性化させるか否かを示す論理レベルを有する。   The latch selector 3 becomes active while the write mode signal PGMB having the logic level 0 indicating the write mode is supplied from the write control unit 2. In this active state, the latch selector 3 selects an 8-bit latch selection signal for selecting one of first to eighth latch groups (described later) of the ECC latch 7 based on the AD [0: 2]. LE [0: 7] is generated and supplied to the ECC latch 7 and the write latch 8. Each bit of the latch selection signal LE [0: 7], that is, LE [0], LE [1], LE [2],..., LE [6], LE [7] has the following correspondence relationship. Each latch group has a logic level indicating whether to activate the latch group.

LE[0]:第1ラッチ群
LE[1]:第2ラッチ群
LE[2]:第3ラッチ群
LE[3]:第4ラッチ群
LE[4]:第5ラッチ群
LE[5]:第6ラッチ群
LE[6]:第7ラッチ群
LE[7]:第8ラッチ群
LE [0]: First latch group LE [1]: Second latch group LE [2]: Third latch group LE [3]: Fourth latch group LE [4]: Fifth latch group LE [5]: Sixth latch group LE [6]: Seventh latch group LE [7]: Eighth latch group

入力バッファ6は、論理レベル1の書込バイアス指令信号CEBが供給されている間に亘り、外部端子PD0-15を介して供給された16ビットの情報データDA[0:15]を取り込んで記憶する。そして、入力バッファ6は、取り込んだ情報データDA[0:15]を情報データD[0:15]としてECCラッチ7及び書込ラッチ8に供給すると共に、かかる情報データD[0:15]の内の第1〜第8ビットのD[0:7]を書込制御部2に供給する。 The input buffer 6 takes in 16-bit information data DA [0:15] supplied via the external terminals PD 0-15 while the logic level 1 write bias command signal CEB is supplied. Remember. Then, the input buffer 6 supplies the fetched information data DA [0:15] as information data D [0:15] to the ECC latch 7 and the write latch 8 and also stores the information data D [0:15]. The first to eighth bits D [0: 7] are supplied to the write control unit 2.

ECCラッチ7は、誤り訂正符号化用に設けられた誤り訂正符号ラッチであり、例えば128ビット分のデータが格納される128個の第1〜第128ラッチを備える。   The ECC latch 7 is an error correction code latch provided for error correction coding, and includes, for example, 128 first to 128th latches for storing 128-bit data.

図2は、ECCラッチ7の内部構成の一例を示す図である。   FIG. 2 is a diagram illustrating an example of the internal configuration of the ECC latch 7.

上記した128個の第1〜第128ラッチは、図2に示す如き、夫々が16ビット分からなる8つの第1〜第8ラッチ群E1〜E8に区分けされている。   The 128 first to 128th latches described above are divided into eight first to eighth latch groups E1 to E8 each of 16 bits as shown in FIG.

第1ラッチ群E1:(8n−7)番目のラッチ
第2ラッチ群E2:(8n−6)番目のラッチ
第3ラッチ群E3:(8n−5)番目のラッチ
第4ラッチ群E4:(8n−4)番目のラッチ
第5ラッチ群E5:(8n−3)番目のラッチ
第6ラッチ群E6:(8n−2)番目のラッチ
第7ラッチ群E7:(8n−1)番目のラッチ
第8ラッチ群E8:(8n)番目のラッチ
n:1〜16の整数
First latch group E1: (8n-7) th latch Second latch group E2: (8n-6) th latch Third latch group E3: (8n-5) th latch Fourth latch group E4: (8n -4) 5th latch E5: (8n-3) th latch 6th latch group E6: (8n-2) th latch 7th latch group E7: (8n-1) th latch 8th Latch group E8: (8n) th latch
n: an integer from 1 to 16

この際、第1ラッチ群E1は、書込制御部2から論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[0]が供給された場合に、入力バッファ6から供給された16ビットの情報データD[0:15]を取り込んでこれを記憶する。更に、第1ラッチ群E1は、この取り込んだ情報データD[0:15]をデータLD[0:15]としてECC回路9に供給する。第2ラッチ群E2は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[1]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]をデータLD[16:31]としてECC回路9に供給する。第3ラッチ群E3は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[2]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]をデータLD[32:47]としてECC回路9に供給する。第4ラッチ群E4は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[3]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]をデータLD[48:63]としてECC回路9に供給する。第5ラッチ群E5は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[4]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]をデータLD[64:79]としてECC回路9に供給する。第6ラッチ群E6は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[5]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]をデータLD[80:95]としてECC回路9に供給する。第7ラッチ群E7は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[6]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]をデータLD[96:111]としてECC回路9に供給する。第8ラッチ群E8は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[7]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]をデータLD[112:127]としてECC回路9に供給する。   At this time, the first latch group E1 is supplied with the logic mode 0 write mode signal PGMB from the write controller 2, and when the logic level 1 latch selection signal LE [0] is supplied. The 16-bit information data D [0:15] supplied from the input buffer 6 is taken in and stored. Further, the first latch group E1 supplies the fetched information data D [0:15] to the ECC circuit 9 as data LD [0:15]. The second latch group E2 is supplied with the logic level 0 write mode signal PGMB and when the logic level 1 latch selection signal LE [1] is supplied, the information data D [0:15] described above. ] Is stored and stored, and the fetched 16-bit information data D [0:15] is supplied to the ECC circuit 9 as data LD [16:31]. The third latch group E3 is supplied with the logic mode 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [2] is supplied, the information data D [0:15 described above. ] Is stored and stored, and the fetched 16-bit information data D [0:15] is supplied to the ECC circuit 9 as data LD [32:47]. The fourth latch group E4 is supplied with the logic mode 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [3] is supplied, the information data D [0:15 described above. ] Is stored, and the acquired 16-bit information data D [0:15] is supplied to the ECC circuit 9 as data LD [48:63]. The fifth latch group E5 is supplied with the logic level 0 write mode signal PGMB and when the logic level 1 latch selection signal LE [4] is supplied, the information data D [0:15 described above. ] Is stored, and the fetched 16-bit information data D [0:15] is supplied to the ECC circuit 9 as data LD [64:79]. The sixth latch group E6 is supplied with the logic level 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [5] is supplied, the information data D [0:15 described above. ] And stores this, the supplied 16-bit information data D [0:15] is supplied to the ECC circuit 9 as data LD [80:95]. The seventh latch group E7 is supplied with the logic mode 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [6] is supplied, the information data D [0:15 described above. ] Is stored, and the acquired 16-bit information data D [0:15] is supplied to the ECC circuit 9 as data LD [96: 111]. The eighth latch group E8 is supplied with the logic level 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [7] is supplied, the information data D [0:15] described above. ] And stores this, the supplied 16-bit information data D [0:15] is supplied to the ECC circuit 9 as data LD [112: 127].

つまり、ECCラッチ7は、第1〜第8ラッチ群E1〜E8の内で、上記したラッチ選択信号LE[0:7]にて選択された1のラッチ群Eに、入力バッファ6から供給された16ビットの情報データD[0:15]を取り込んでこれを記憶しつつ出力する。そして、ECCラッチ7は、これら第1〜第8ラッチ群E1〜E8に順に記憶された、合計128ビット分のデータをデータLD[0:127]としてECC回路9に供給するのである。   That is, the ECC latch 7 is supplied from the input buffer 6 to one latch group E selected by the above-described latch selection signal LE [0: 7] among the first to eighth latch groups E1 to E8. 16-bit information data D [0:15] is taken in and stored and output. Then, the ECC latch 7 supplies the data for a total of 128 bits stored in order in the first to eighth latch groups E1 to E8 to the ECC circuit 9 as data LD [0: 127].

ECC回路9は、論理レベル1の書込バイアス指令信号CEBが供給されている間に亘り活性状態となり、128ビットのデータLD[0:127]に対して誤り訂正符号化処理を施す誤り訂正符号回路である。ECC回路9は、かかる誤り訂正符号化処理によって、データLD[0:127]に対応した8ビットのパリティデータDP[0:7]を生成し、これを書込ラッチ10に供給する。   The ECC circuit 9 is in an active state while the logic level 1 write bias command signal CEB is supplied, and performs error correction coding on the 128-bit data LD [0: 127]. Circuit. The ECC circuit 9 generates 8-bit parity data DP [0: 7] corresponding to the data LD [0: 127] by the error correction encoding process, and supplies this to the write latch 10.

書込ラッチ10は、書込制御部2から論理レベル0の書込モード信号PGMBが供給されている間に亘り活性状態となる。この活性状態時において書込ラッチ10は、書込制御部2から供給された論理レベル1のパリティデータラッチ信号PGMATDに応じて、上記したパリティデータDP[0:7]を取り込んで記憶し、これを書込パリティデータWDP[0:7]として書込バイアス回路11に供給する。   The write latch 10 becomes active while the write mode signal PGMB of logic level 0 is supplied from the write control unit 2. In this active state, the write latch 10 captures and stores the parity data DP [0: 7] described above in accordance with the logic level 1 parity data latch signal PGMATD supplied from the write control unit 2. Is supplied to the write bias circuit 11 as write parity data WDP [0: 7].

書込バイアス回路11は、書込バイアスの印加を促す論理レベル0の書込バイアス印加信号PGMDBが書込制御部2から供給されている間に亘り、8ビットのパリティデータDP[0:7]の各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成し、マルチプレクサ13に供給する。   The write bias circuit 11 supplies 8-bit parity data DP [0: 7] while the write bias application signal PGMDB having a logic level 0 urging application of the write bias is supplied from the write control unit 2. A write bias voltage corresponding to the logical level of each bit is generated and supplied to the multiplexer 13.

書込ラッチ8は、ECCラッチ7と同様に、128ビット分のデータが格納される128個の第1〜第128ラッチを備える。   Like the ECC latch 7, the write latch 8 includes 128 first to 128th latches for storing 128-bit data.

図3は、書込ラッチ8の内部構成の一例を示す図である。   FIG. 3 is a diagram showing an example of the internal configuration of the write latch 8.

上記した128個の第1〜第128ラッチは、図3に示す如き、夫々が16ビット分からなる8つの第1〜第8ラッチ群W1〜W8に区分けされている。   The 128 first to 128th latches described above are divided into eight first to eighth latch groups W1 to W8 each having 16 bits as shown in FIG.

第1ラッチ群W1:(8n−7)番目のラッチ
第2ラッチ群W2:(8n−6)番目のラッチ
第3ラッチ群W3:(8n−5)番目のラッチ
第4ラッチ群W4:(8n−4)番目のラッチ
第5ラッチ群W5:(8n−3)番目のラッチ
第6ラッチ群W6:(8n−2)番目のラッチ
第7ラッチ群W7:(8n−1)番目のラッチ
第8ラッチ群W8:(8n)番目のラッチ
n:1〜16の整数
First latch group W1: (8n-7) th latch Second latch group W2: (8n-6) th latch Third latch group W3: (8n-5) th latch Fourth latch group W4: (8n -4) 5th latch group W5: (8n-3) th latch 6th latch group W6: (8n-2) th latch 7th latch group W7: (8n-1) th latch 8th Latch group W8: (8n) th latch
n: an integer from 1 to 16

この際、第1ラッチ群W1は、書込制御部2から論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[0]が供給された場合に、入力バッファ6から供給された16ビットの情報データD[0:15]を取り込んでこれを記憶する。更に、第1ラッチ群W1は、この取り込んだ情報データD[0:15]を書込情報データWD[0:15]として書込バイアス回路12に供給する。第2ラッチ群W2は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[1]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]を書込情報データWD[16:31]として書込バイアス回路12に供給する。第3ラッチ群W3は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[2]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]を書込情報データWD[32:47]として書込バイアス回路12に供給する。第4ラッチ群W4は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[3]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]を書込情報データWD[48:63]として書込バイアス回路12に供給する。第5ラッチ群W5は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[4]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]を書込情報データWD[64:79]として書込バイアス回路12に供給する。第6ラッチ群W6は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[5]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]を書込情報データWD[80:95]として書込バイアス回路12に供給する。第7ラッチ群W7は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[6]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]を書込情報データWD[96:111]として書込バイアス回路12に供給する。第8ラッチ群W8は、論理レベル0の書込モード信号PGMBが供給されており、且つ論理レベル1のラッチ選択信号LE[7]が供給された場合に、上記した情報データD[0:15]を取り込んでこれを記憶しつつ、この取り込んだ16ビットの情報データD[0:15]を書込情報データWD[112:127]として書込バイアス回路12に供給する。   At this time, the first latch group W1 is supplied with the logic mode 0 write mode signal PGMB from the write controller 2 and when the logic level 1 latch selection signal LE [0] is supplied. The 16-bit information data D [0:15] supplied from the input buffer 6 is taken in and stored. Further, the first latch group W1 supplies the fetched information data D [0:15] to the write bias circuit 12 as write information data WD [0:15]. The second latch group W2 is supplied with the logic level 0 write mode signal PGMB and when the logic level 1 latch selection signal LE [1] is supplied, the information data D [0:15] described above. ] Is stored, and the acquired 16-bit information data D [0:15] is supplied to the write bias circuit 12 as write information data WD [16:31]. The third latch group W3 is supplied with the logic level 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [2] is supplied, the information data D [0:15 described above. ] Is stored, and the acquired 16-bit information data D [0:15] is supplied to the write bias circuit 12 as write information data WD [32:47]. The fourth latch group W4 is supplied with the logic level 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [3] is supplied, the information data D [0:15 described above. ] Is stored and stored, and the acquired 16-bit information data D [0:15] is supplied to the write bias circuit 12 as write information data WD [48:63]. The fifth latch group W5 is supplied with the logic level 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [4] is supplied, the information data D [0:15 described above. ] Is stored, and the acquired 16-bit information data D [0:15] is supplied to the write bias circuit 12 as write information data WD [64:79]. The sixth latch group W6 is supplied with the logic level 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [5] is supplied, the information data D [0:15 described above. ] Is stored and this 16-bit information data D [0:15] is supplied to the write bias circuit 12 as write information data WD [80:95]. The seventh latch group W7 is supplied with the logic mode 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [6] is supplied, the information data D [0:15 described above. ] Is stored, and the acquired 16-bit information data D [0:15] is supplied to the write bias circuit 12 as write information data WD [96: 111]. The eighth latch group W8 is supplied with the logic level 0 write mode signal PGMB, and when the logic level 1 latch selection signal LE [7] is supplied, the information data D [0:15 described above. ] Is stored, and the acquired 16-bit information data D [0:15] is supplied to the write bias circuit 12 as write information data WD [112: 127].

つまり、書込ラッチ8は、第1〜第8ラッチ群W1〜W8の内で、上記したラッチ選択信号LE[0:7]にて選択された1のラッチ群Wに、入力バッファ6から供給された16ビットの情報データD[0:15]を取り込んでこれを記憶しつつ出力する。そして、書込ラッチ8は、これら第1〜第8ラッチ群W1〜W8に記憶された、合計128ビット分のデータを書込情報データWD[0:127]として書込バイアス回路12に供給するのである。   That is, the write latch 8 is supplied from the input buffer 6 to one latch group W selected by the latch selection signal LE [0: 7] among the first to eighth latch groups W1 to W8. The obtained 16-bit information data D [0:15] is captured and output while being stored. The write latch 8 supplies the data for a total of 128 bits stored in the first to eighth latch groups W1 to W8 to the write bias circuit 12 as write information data WD [0: 127]. It is.

書込バイアス回路12は、書込バイアスの印加を促す論理レベル0の書込バイアス印加信号PGMDBが書込制御部2から供給されている間に亘り、127ビットの書込情報データWD[0:127]の各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成し、マルチプレクサ13に供給する。   The write bias circuit 12 is a 127-bit write information data WD [0: 0] while a write bias application signal PGMDB having a logic level 0 urging application of the write bias is supplied from the write control unit 2. 127], a write bias voltage corresponding to the logic level of each bit is generated and supplied to the multiplexer 13.

Yデコーダ4は、論理レベル1の書込バイアス指令信号CEBが供給されている間に亘り活性状態となり、アドレスラッチ1から供給されたアドレスデータA[3:22]にて示されるアドレスに対応したビット線をアクセス対象とすべきビット線選択信号をマルチプレクサ13に供給する。   The Y decoder 4 becomes active while the logic level 1 write bias command signal CEB is supplied, and corresponds to the address indicated by the address data A [3:22] supplied from the address latch 1. A bit line selection signal for accessing the bit line is supplied to the multiplexer 13.

Xデコーダ5は、論理レベル1の書込バイアス指令信号CEBが供給されている間に亘り活性状態となり、アドレスラッチ1から供給されたアドレスデータA[3:22]にて示されるアドレスに対応した、メモリアレイ14のワード線に対して、読出、書込、消去に必要な各種電圧を印加する。尚、Xデコーダ5は、書込に必要な電圧を、外部供給された書込用電源電圧VPPに基づいて生成する。   The X decoder 5 is activated while the logic level 1 write bias command signal CEB is supplied, and corresponds to the address indicated by the address data A [3:22] supplied from the address latch 1. Various voltages necessary for reading, writing, and erasing are applied to the word lines of the memory array 14. The X decoder 5 generates a voltage required for writing based on the externally supplied power supply voltage VPP for writing.

マルチプレクサ13は、書込バイアス回路11及び12から供給された書込バイアス電圧を、上記ビット線選択信号によって選択されたメモリアレイ14のビット線に印加する。また、マルチプレクサ13は、読出処理部15から供給された読出バイアス電圧を上記ビット線選択信号によって選択されたメモリアレイ14のビット線に印加しつつ、このビット線に送出された電流を読出処理部15に供給する。   The multiplexer 13 applies the write bias voltage supplied from the write bias circuits 11 and 12 to the bit line of the memory array 14 selected by the bit line selection signal. Further, the multiplexer 13 applies the read bias voltage supplied from the read processing unit 15 to the bit line of the memory array 14 selected by the bit line selection signal, and the current sent to the bit line is read processing unit. 15 is supplied.

メモリアレイ14は、複数のビット線及び複数のワード線が交差して配設され、その各交叉部に浮遊ゲートを有する不揮発性のメモリセルトランジスタを配置して構成される。   The memory array 14 is configured by arranging a plurality of bit lines and a plurality of word lines so as to cross each other, and arranging a nonvolatile memory cell transistor having a floating gate at each intersection.

読出処理部15は、ROM100の外部端子P1を介して供給されたアウトプットイネーブル信号OE、及び外部端子P2を介して供給されたチップイネーブル信号CEに応じて、先ず、読出バイアス電圧をマルチプレクサ13に供給しつつ、メモリアレイ15のビット線各々に送出された電流をこのマルチプレクサ13を介して個別に取り込む。次に、読出処理部15は、各ビット線上に送出された電流の値に基づいて、8ワード分(128ビット)の情報データ及びそれに付随する8ビットのパリティデータからなる読出データにおける各ビット毎の論理レベルを判定する。次に、読出処理部15は、かかる読出データ(136ビット)に誤り検出処理を施しつつ、誤りが生じているビットに対してはその誤りを訂正することにより128ビットの訂正読出データを生成する。そして、読出処理部15は、かかる訂正読出データを16ビット分ずつ、情報データDA[0:15]として外部出力する。   In response to the output enable signal OE supplied via the external terminal P1 of the ROM 100 and the chip enable signal CE supplied via the external terminal P2, the read processing unit 15 first supplies the read bias voltage to the multiplexer 13. While being supplied, the current sent to each bit line of the memory array 15 is individually taken in via the multiplexer 13. Next, on the basis of the value of the current sent to each bit line, the read processing unit 15 performs each bit in the read data comprising 8 words (128 bits) of information data and the accompanying 8-bit parity data. Determine the logic level. Next, the read processing unit 15 performs error detection processing on the read data (136 bits) and corrects the error for the bit in which an error has occurred, thereby generating 128-bit corrected read data. . Then, the read processing unit 15 externally outputs the corrected read data for 16 bits as information data DA [0:15].

書込制御部2は、書込電圧検知回路21、書込コマンド検知回路22、制御回路23、書込バイアス印加制御回路24、及びパリティデータラッチ制御回路25を含む。   The write control unit 2 includes a write voltage detection circuit 21, a write command detection circuit 22, a control circuit 23, a write bias application control circuit 24, and a parity data latch control circuit 25.

書込電圧検知回路21は、このROM100の外部端子PVに書込用電源電圧VPPが印加された場合にこれを検知して、論理レベル1の状態から論理レベル0の状態に遷移する書込電圧検知信号VPPHBを書込コマンド検知回路22に供給する。   The write voltage detection circuit 21 detects when the write power supply voltage VPP is applied to the external terminal PV of the ROM 100, and the write voltage that makes a transition from the logic level 1 state to the logic level 0 state is detected. The detection signal VPPHB is supplied to the write command detection circuit 22.

制御回路23は、上記した外部端子P1を介して書込開始信号WSが供給された場合、これに応じて、図4に示す如き所定期間T1の間だけ、書込対象データの取込を開始させるべき論理レベル0の書込データ取込開始信号OEBを書込コマンド検知回路22に供給する。また、制御回路23は、上記外部端子P2を介して書込終了信号WEが供給された場合、これに応じて、図4に示す所定期間T2の間だけ、書込バイアス電圧の印加を促す論理レベル0の書込バイアス指令信号CEBを、アドレスバッファ1、Yデコーダ4、Xデコーダ5、入力バッファ6、ECC回路9及び書込バイアス印加制御回路24に供給する。   When the write start signal WS is supplied via the external terminal P1, the control circuit 23 starts to take in the write target data only for a predetermined period T1 as shown in FIG. A write data fetch start signal OEB of logic level 0 to be made is supplied to the write command detection circuit 22. Further, when the write end signal WE is supplied via the external terminal P2, the control circuit 23 responds to the logic that prompts the application of the write bias voltage only during the predetermined period T2 shown in FIG. A level 0 write bias command signal CEB is supplied to the address buffer 1, Y decoder 4, X decoder 5, input buffer 6, ECC circuit 9, and write bias application control circuit 24.

書込コマンド検知回路22は、外部端子PVに書込用電源電圧VPPが印加されていることを示す論理レベル0の書込電圧検知信号VPPHBが供給され、且つ論理レベル0の書込データ取込開始信号OEBが供給された場合に、先ず、入力バッファ6から供給された情報データD[0:7]が所定の書込コマンドを示すか否かを判定する。ここで、情報データD[0:7]が所定の書込コマンドを示すと判定された場合、書込コマンド検知回路22は、図4に示す如く所定期間T3の間に亘り書込モードを示す論理レベル0の書込モード信号PGMBを生成し、これをラッチセレクタ3、ECCラッチ7、書込ラッチ8及び10、並びに書込バイアス印加制御回路24に供給する。   The write command detection circuit 22 is supplied with a write voltage detection signal VPPHB of a logic level 0 indicating that the write power supply voltage VPP is applied to the external terminal PV, and takes in write data of a logic level 0 When the start signal OEB is supplied, first, it is determined whether or not the information data D [0: 7] supplied from the input buffer 6 indicates a predetermined write command. When it is determined that the information data D [0: 7] indicates a predetermined write command, the write command detection circuit 22 indicates the write mode for a predetermined period T3 as shown in FIG. A logic mode 0 write mode signal PGMB is generated and supplied to the latch selector 3, the ECC latch 7, the write latches 8 and 10, and the write bias application control circuit 24.

書込バイアス印加制御回路24は、書込モードを示す論理レベル0の書込モード信号PGMB、及び書込バイアス電圧の印加を促す論理レベル0の書込バイアス指令信号CEBが共に供給されている場合に、書込バイアスを印加させるべき論理レベル0の書込バイアス印加信号PGMDBを生成し、これを書込バイアス回路11及び12に供給する。   The write bias application control circuit 24 is supplied with a write mode signal PGMB having a logic level 0 indicating a write mode and a write bias command signal CEB having a logic level 0 urging application of a write bias voltage. Then, a logic level 0 write bias application signal PGMDB to which a write bias is to be applied is generated and supplied to the write bias circuits 11 and 12.

パリティデータラッチ制御回路25は、アドレスデータA[0:22]の内の第3ビットであるA[2]が論理レベル1の状態から論理レベル0の状態に遷移した時に、図4に示す如きパルス状のパリティデータラッチ信号PGMATDを生成し、これを書込ラッチ10に供給する。   The parity data latch control circuit 25, as shown in FIG. 4, when A [2], which is the third bit of the address data A [0:22], transitions from the logic level 1 state to the logic level 0 state. A pulse-like parity data latch signal PGMATD is generated and supplied to the write latch 10.

次に、図1に示す構成を有するROM100に対するデータの書き込み動作について説明する。   Next, a data write operation to the ROM 100 having the configuration shown in FIG. 1 will be described.

図5は、かかるROM100にデータを書き込む際のシステム構成を示す図である。   FIG. 5 is a diagram showing a system configuration when data is written to the ROM 100. As shown in FIG.

図5に示すように、ROM100の外部端子PVには書込用電源電圧VPPが固定供給されており、更にその外部端子P1、P2、PA0-22、PD0-15はROMライタ200に接続されている。 As shown in FIG. 5, a write power supply voltage VPP is fixedly supplied to the external terminal PV of the ROM 100, and the external terminals P1, P2, PA 0-22 and PD 0-15 are connected to the ROM writer 200. Has been.

ROMライタ200には、ROM100に書き込むべき情報データが予め記憶されており、使用者からの書込開始指令に応じて、以下の如き手順でROM100に対してデータの書き込みを行う。   In the ROM writer 200, information data to be written in the ROM 100 is stored in advance, and data is written into the ROM 100 in the following procedure in accordance with a writing start command from the user.

先ず、ROMライタ200は、図4に示す如く、初期値「0」(10進数表現)を示す3ビットのアドレスデータAD[0:2]、及び書込対象となる128ビットの情報データが書き込まれるべき番地を20ビットで示すアドレスデータAD[3:22]をROM100の外部端子AD[0:22]に供給する。更に、ROMライタ200は、所定の書込コマンドを示す情報データD[0:7]をROM100の外部端子PD0-7に供給しつつ、データ書込を開始させるべき書込開始信号WSをROM100の外部端子P1に供給する。これにより、ROM100の書込コマンド検知回路22は、図4に示す如き論理レベル0の書込モード信号PGMBを、ラッチセレクタ3、ECCラッチ7、書込ラッチ8及び10、並びに書込バイアス印加制御回路24に供給する。 First, as shown in FIG. 4, the ROM writer 200 writes 3-bit address data AD [0: 2] indicating an initial value “0” (decimal number expression) and 128-bit information data to be written. Address data AD [3:22] indicating the address to be processed in 20 bits is supplied to the external terminal AD [0:22] of the ROM 100. Further, the ROM writer 200 supplies a write start signal WS to start data writing to the ROM 100 while supplying information data D [0: 7] indicating a predetermined write command to the external terminals PD 0-7 of the ROM 100. To the external terminal P1. As a result, the write command detection circuit 22 of the ROM 100 converts the write mode signal PGMB having a logic level 0 as shown in FIG. 4 into the latch selector 3, the ECC latch 7, the write latches 8 and 10, and the write bias application control. Supply to circuit 24.

次に、ROMライタ200は、図4に示す如く、書き込むべき128ビットの情報データの内の第0〜第15ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給する。この際、ラッチセレクタ3は、上記した初期値「0」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第1ラッチ群を選択させるべきラッチ選択信号LE[0]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第1ラッチ群は、図4に示す如く、128ビットデータの内の第0〜第15ビットをデータLD[0:15]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第1ラッチ群は、図4に示す如く、128ビットデータの内の第0〜第15ビットをデータWD[0:15]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, as shown in FIG. 4, the ROM writer 200 supplies the 0th to 15th bits of the 128-bit information data to be written as information data DA [0:15] to the external terminals PD 0-15 of the ROM 100. To do. At this time, the latch selector 3 selects the first latch group among the first to eighth latch groups according to the address data A [0: 2] indicating the initial value “0”. LE [0] is supplied to the ECC latch 7 and the write latch 8. As a result, the first latch group of the ECC latch 7 fetches and stores the 0th to 15th bits of the 128-bit data as data LD [0:15] as shown in FIG. To supply. At the same time, the first latch group of the write latch 8 fetches and stores the 0th to 15th bits of the 128-bit data as data WD [0:15] as shown in FIG. Is supplied to the bias bias circuit 12.

次に、ROMライタ200は、図4に示す如く、書き込むべき128ビットデータの内の第16〜第31ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給すると共に、「1」(十進数表現)を示す3ビットのアドレスデータA[0:2]をROM100の外部端子PA0-2に供給する。この際、ラッチセレクタ3は、上記した「1」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第2ラッチ群を選択させるべきラッチ選択信号LE[1]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第2ラッチ群は、図4に示す如く、上記した如き128ビットデータの内の第16〜第31ビットをデータLD[16:31]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第1ラッチ群は、図4に示す如く、128ビットデータの内の第16〜第31ビットをデータWD[16:31]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, as shown in FIG. 4, the ROM writer 200 supplies the 16th to 31st bits of the 128-bit data to be written to the external terminal PD 0-15 of the ROM 100 as information data DA [0:15]. , 3-bit address data A [0: 2] indicating “1” (decimal number expression) is supplied to the external terminal PA 0-2 of the ROM 100. At this time, the latch selector 3 selects the second latch group among the first to eighth latch groups in accordance with the address data A [0: 2] indicating “1” described above. 1] is supplied to the ECC latch 7 and the write latch 8. As a result, the second latch group of the ECC latch 7 fetches and stores the 16th to 31st bits of the 128-bit data as described above as data LD [16:31], as shown in FIG. This is supplied to the ECC circuit 9. At the same time, the first latch group of the write latch 8 fetches and stores the 16th to 31st bits of the 128-bit data as data WD [16:31] as shown in FIG. Is supplied to the bias bias circuit 12.

次に、ROMライタ200は、図4に示す如く、書き込むべき128ビットデータの内の第32〜第47ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給すると共に、「2」(十進数表現)を示す3ビットのアドレスデータA[0:2]をROM100の外部端子PA0-2に供給する。この際、ラッチセレクタ3は、上記した「2」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第3ラッチ群を選択させるべきラッチ選択信号LE[2]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第3ラッチ群は、図4に示す如く、上記した如き128ビットデータの内の第32〜第47ビットをデータLD[32:47]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第3ラッチ群は、図4に示す如く、128ビットデータの内の第32〜第47ビットをデータWD[32:47]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, as shown in FIG. 4, the ROM writer 200 supplies the 32nd to 47th bits of the 128-bit data to be written to the external terminals PD 0-15 of the ROM 100 as information data DA [0:15]. , 3-bit address data A [0: 2] indicating “2” (decimal number expression) is supplied to the external terminal PA 0-2 of the ROM 100. At this time, the latch selector 3 selects the third latch group among the first to eighth latch groups in accordance with the address data A [0: 2] indicating “2” described above. 2] is supplied to the ECC latch 7 and the write latch 8. As a result, the third latch group of the ECC latch 7 fetches and stores the 32nd to 47th bits of the 128-bit data as described above as data LD [32:47] as shown in FIG. This is supplied to the ECC circuit 9. At the same time, the third latch group of the write latch 8 fetches and stores the 32nd to 47th bits of the 128-bit data as data WD [32:47] as shown in FIG. Is supplied to the bias bias circuit 12.

次に、ROMライタ200は、書き込むべき128ビットデータの内の第48〜第63ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給すると共に、「3」(十進数表現)を示す3ビットのアドレスデータA[0:2]をROM100の外部端子PA0-2に供給する。この際、ラッチセレクタ3は、上記した「3」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第4ラッチ群を選択させるべきラッチ選択信号LE[3]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第4ラッチ群は、上記した如き128ビットデータの内の第48〜第63ビットをデータLD[48:63]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第4ラッチ群は、128ビットデータの内の第48〜第63ビットをデータWD[48:63]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, the ROM writer 200 supplies the 48th to 63rd bits of the 128-bit data to be written as the information data DA [0:15] to the external terminal PD 0-15 of the ROM 100 and “3” (10 3-bit address data A [0: 2] indicating a decimal representation is supplied to the external terminal PA 0-2 of the ROM 100. At this time, the latch selector 3 selects the fourth latch group among the first to eighth latch groups in accordance with the address data A [0: 2] indicating “3” described above. 3] is supplied to the ECC latch 7 and the write latch 8. As a result, the fourth latch group of the ECC latch 7 fetches and stores the 48th to 63rd bits of the 128-bit data as described above as data LD [48:63], and supplies this to the ECC circuit 9. . At the same time, the fourth latch group of the write latch 8 fetches and stores the 48th to 63rd bits of the 128-bit data as data WD [48:63], and supplies this to the write bias circuit 12. To do.

次に、ROMライタ200は、書き込むべき128ビットデータの内の第64〜第79ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給すると共に、「4」(十進数表現)を示す3ビットのアドレスデータA[0:2]をROM100の外部端子PA0-2に供給する。この際、ラッチセレクタ3は、上記した「4」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第5ラッチ群を選択させるべきラッチ選択信号LE[4]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第5ラッチ群は、上記した如き128ビットデータの内の第64〜第79ビットをデータLD[64:79]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第5ラッチ群は、128ビットデータの内の第64〜第79ビットをデータWD[64:79]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, the ROM writer 200 supplies the 64th to 79th bits of the 128-bit data to be written as the information data DA [0:15] to the external terminal PD 0-15 of the ROM 100 and “4” (10 3-bit address data A [0: 2] indicating a decimal representation is supplied to the external terminal PA 0-2 of the ROM 100. At this time, the latch selector 3 selects the fifth latch group of the first to eighth latch groups in accordance with the address data A [0: 2] indicating “4” described above. 4] is supplied to the ECC latch 7 and the write latch 8. As a result, the fifth latch group of the ECC latch 7 fetches and stores the 64th to 79th bits of the 128-bit data as described above as the data LD [64:79], and supplies this to the ECC circuit 9. . At the same time, the fifth latch group of the write latch 8 fetches and stores the 64th to 79th bits of the 128-bit data as data WD [64:79], and supplies this to the write bias circuit 12. To do.

次に、ROMライタ200は、書き込むべき128ビットデータの内の第80〜第95ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給すると共に、「5」(十進数表現)を示す3ビットのアドレスデータA[0:2]をROM100の外部端子PA0-2に供給する。この際、ラッチセレクタ3は、上記した「5」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第6ラッチ群を選択させるべきラッチ選択信号LE[5]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第6ラッチ群は、上記した如き128ビットデータの内の第80〜第95ビットをデータLD[80:95]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第6ラッチ群は、128ビットデータの内の第80〜第95ビットをデータWD[80:95]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, the ROM writer 200 supplies the 80th to 95th bits of the 128-bit data to be written as information data DA [0:15] to the external terminal PD 0-15 of the ROM 100, and “5” (10 3-bit address data A [0: 2] indicating a decimal representation is supplied to the external terminal PA 0-2 of the ROM 100. At this time, the latch selector 3 selects the sixth latch group among the first to eighth latch groups in accordance with the address data A [0: 2] indicating “5” described above. 5] is supplied to the ECC latch 7 and the write latch 8. As a result, the sixth latch group of the ECC latch 7 fetches and stores the 80th to 95th bits of the 128-bit data as described above as the data LD [80:95], and supplies this to the ECC circuit 9. . At the same time, the sixth latch group of the write latch 8 fetches and stores the 80th to 95th bits of the 128-bit data as data WD [80:95], and supplies this to the write bias circuit 12. To do.

次に、ROMライタ200は、書き込むべき128ビットデータの内の第96〜第111ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給すると共に、「6」(十進数表現)を示す3ビットのアドレスデータA[0:2]をROM100の外部端子PA0-2に供給する。この際、ラッチセレクタ3は、上記した「6」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第7ラッチ群を選択させるべきラッチ選択信号LE[6]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第7ラッチ群は、上記した如き128ビットデータの内の第96〜第111ビットをデータLD[96:111]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第7ラッチ群は、128ビットデータの内の第96〜第111ビットをデータWD[96:111]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, the ROM writer 200 supplies the 96th to 111th bits of the 128-bit data to be written as the information data DA [0:15] to the external terminal PD 0-15 of the ROM 100 and “6” (10 3-bit address data A [0: 2] indicating a decimal representation is supplied to the external terminal PA 0-2 of the ROM 100. At this time, the latch selector 3 selects the seventh latch group among the first to eighth latch groups in accordance with the address data A [0: 2] indicating “6” described above. 6] is supplied to the ECC latch 7 and the write latch 8. As a result, the seventh latch group of the ECC latch 7 fetches and stores the 96th to 111th bits of the 128-bit data as described above as the data LD [96: 111], and supplies this to the ECC circuit 9. . At the same time, the seventh latch group of the write latch 8 fetches and stores the 96th to 111th bits of the 128-bit data as data WD [96: 111], and supplies this to the write bias circuit 12. To do.

次に、ROMライタ200は、書き込むべき128ビットデータの内の第112〜第127ビットを情報データDA[0:15]としてROM100の外部端子PD0-15に供給すると共に、「7」(十進数表現)を示す3ビットのアドレスデータA[0:2]をROM100の外部端子PA0-2に供給する。この際、ラッチセレクタ3は、上記した「7」を示すアドレスデータA[0:2]に応じて、第1〜第8ラッチ群の内の第8ラッチ群を選択させるべきラッチ選択信号LE[7]をECCラッチ7及び書込ラッチ8に供給する。これにより、ECCラッチ7の第8ラッチ群は、上記した如き128ビットデータの内の第112〜第127ビットをデータLD[112:127]として取り込んで記憶し、これをECC回路9に供給する。これと同時に、書込ラッチ8の第8ラッチ群は、128ビットデータの内の第112〜第127ビットをデータWD[112:127]として取り込んで記憶し、これを書込バイアス回路12に供給する。 Next, the ROM writer 200 supplies the 112th to 127th bits of the 128-bit data to be written as the information data DA [0:15] to the external terminal PD 0-15 of the ROM 100 and “7” (10 3-bit address data A [0: 2] indicating a decimal representation is supplied to the external terminal PA 0-2 of the ROM 100. At this time, the latch selector 3 selects the eighth latch group among the first to eighth latch groups in accordance with the address data A [0: 2] indicating “7” described above. 7] is supplied to the ECC latch 7 and the write latch 8. As a result, the eighth latch group of the ECC latch 7 fetches and stores the 112th to 127th bits of the 128-bit data as described above as the data LD [112: 127], and supplies this to the ECC circuit 9. . At the same time, the eighth latch group of the write latch 8 fetches and stores the 112th to 127th bits of the 128-bit data as data WD [112: 127], and supplies this to the write bias circuit 12. To do.

上記した如き一連の動作により、書き込み対象となる128ビットの情報データは、16ビット分ずつ8回に分けて順次、ROM100のECCラッチ7及び書込ラッチ8に取り込まれ、ECC回路9及び書込バイアス回路12に送出される。この際、ECC回路9は、第8回目の取り込みによって最終的に得られた128ビットの情報データに対して誤り訂正符号化処理を施し、この際得られた8ビットのパリティデータDP[0:7]を書込ラッチ10に供給する。   Through a series of operations as described above, 128-bit information data to be written is sequentially fetched into 8 times of 16 bits, and sequentially taken into the ECC latch 7 and the write latch 8 of the ROM 100, and the ECC circuit 9 and the write It is sent to the bias circuit 12. At this time, the ECC circuit 9 performs error correction coding processing on the 128-bit information data finally obtained by the eighth capture, and the 8-bit parity data DP [0: 7] is supplied to the write latch 10.

次に、ROMライタ200は、アドレスデータA[0:2]によって示される値を図4に示すように「7」から「0」に切り替える。この際、アドレスデータA[2]が論理レベル1の状態から0の状態に遷移するので、パリティデータラッチ制御回路25は、図4に示す如きパルス状のパリティデータラッチ信号PGMATDを書込ラッチ10に供給する。かかるパリティデータラッチ信号PGMATDに応じて、書込ラッチ10は、ECC回路9から供給されたパリティデータDP[0:7]を取り込んで記憶し、これを書込バイアス回路11に送出する。   Next, the ROM writer 200 switches the value indicated by the address data A [0: 2] from “7” to “0” as shown in FIG. At this time, since the address data A [2] transitions from the logic level 1 state to the 0 state, the parity data latch control circuit 25 outputs the pulse-like parity data latch signal PGMATD shown in FIG. To supply. In response to the parity data latch signal PGMATD, the write latch 10 takes in and stores the parity data DP [0: 7] supplied from the ECC circuit 9 and sends it to the write bias circuit 11.

よって、上記した如き一連の処理により、書込対象となる128ビットの情報データが書込ラッチ8に取り込まれ、これが書込バイアス回路12に供給される。更に、この書込対象となる128ビットの情報データに対応した8ビットのパリティデータDP[0:7]が書込ラッチ11に取り込まれ、これが書込バイアス回路12に供給されるのである。   Therefore, by a series of processes as described above, 128-bit information data to be written is taken into the write latch 8 and supplied to the write bias circuit 12. Further, 8-bit parity data DP [0: 7] corresponding to the 128-bit information data to be written is taken into the write latch 11 and supplied to the write bias circuit 12.

次に、ROMライタ200は、図4に示す如くデータ書込を終了させるべき書込終了信号WEをROM100の外部端子P2に供給する。かかる書込終了信号WEに応じて、ROM100の制御回路23は、図4に示す如く所定期間T2の間だけ論理レベル0の状態となる書込バイアス指令信号CEBを書込バイアス印加制御回路24に供給する。書込バイアス印加制御回路24は、かかる論理レベル0の書込バイアス指令信号CEBに応じて、図4に示す如く、書込バイアスを印加させるべき論理レベル0の書込バイアス印加信号PGMDBを書込バイアス回路11及び12に供給する。書込バイアス回路11及び12は、かかる論理レベル0の書込バイアス印加信号PGMDBに応じて、書込対象となる128ビットの情報データ及び8ビットのパリティデータの各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成し、マルチプレクサ13に供給する。これにより、各ビットの論理レベルに対応した書込バイアス電圧がメモリアレイ14に印加され、上記した128ビットの情報データ及び8ビットのパリティデータからなる合計136ビット長の符号ブロックがメモリアレイ14に書き込まれる。その後、書込バイアス指令信号CEBが論理レベル0から1へ遷移すると、これに応じてECCラッチ7、書込ラッチ8及び10内の全てのラッチがリセットされる。   Next, the ROM writer 200 supplies a write end signal WE to end data writing to the external terminal P2 of the ROM 100 as shown in FIG. In response to the write end signal WE, the control circuit 23 of the ROM 100 sends a write bias command signal CEB that is in a logic level 0 state for a predetermined period T2 to the write bias application control circuit 24 as shown in FIG. Supply. In response to the logic level 0 write bias command signal CEB, the write bias application control circuit 24 writes a logic level 0 write bias application signal PGMDB to which a write bias is to be applied, as shown in FIG. Supply to bias circuits 11 and 12. In response to the write bias application signal PGMDB having a logic level 0, the write bias circuits 11 and 12 have the bit logic level for each bit of 128-bit information data and 8-bit parity data to be written. Is generated and supplied to the multiplexer 13. As a result, a write bias voltage corresponding to the logic level of each bit is applied to the memory array 14, and the above-described code block of a total of 136 bits consisting of 128-bit information data and 8-bit parity data is applied to the memory array 14. Written. Thereafter, when the write bias command signal CEB transitions from the logic level 0 to 1, all the latches in the ECC latch 7 and the write latches 8 and 10 are reset accordingly.

以上の如く、図1に示されるROM100では、先ず、書込対象となる情報データを128ビット単位で誤り訂正符号化して得られた8ビットのパリティデータを第1の書込ラッチ8、128ビットの情報データを第2の書込ラッチ10に取り込む。そして、書込バイアス回路(11、12)によって、これら書込ラッチに取り込まれて出力されたデータ(WD、WDP)の各ビットの論理レベルに対応した電圧値を有する書込バイアス電圧をメモリアレイ14に印加することにより、合計136ビットのデータ(パリティデータ、情報データ)を一度にメモリアレイに書き込む。   As described above, in the ROM 100 shown in FIG. 1, first, 8-bit parity data obtained by error-correcting encoding data data to be written in 128-bit units is converted into the first write latch 8 and 128 bits. Is taken into the second write latch 10. Then, a write bias voltage having a voltage value corresponding to the logical level of each bit of the data (WD, WDP) taken into and output from these write latches by the write bias circuit (11, 12) is stored in the memory array. 14, a total of 136 bits of data (parity data and information data) are written to the memory array at a time.

ここで、128ビット分の情報データ(WD)を取り込むにあたり、書込ラッチ8では、かかる128ビット分の情報データを図4に示すように16ビット分ずつ時分割で取り込みつつ、順次、書込バイアス回路12に送出するようにしている。また、8ビットのパリティデータ(WDP)を取り込むにあたり、書込ラッチ10では、書込ラッチ8において128ビット分の情報データの取り込みが全て終了した後に、かかる8ビットのパリティデータを取り込み、書込バイアス回路11に送出するようにしている。この際、書込バイアス回路(11、12)は、書込ラッチ(8、10)にて128ビットの情報データ及び8ビットのパリティデータの取り込みが全て終了した後のタイミング(PGMDB)で、メモリアレイ14に対して書込バイアス電圧の印加を開始する。   Here, when fetching the 128-bit information data (WD), the write latch 8 sequentially writes the 128-bit information data for 16 bits in a time-sharing manner as shown in FIG. The data is sent to the bias circuit 12. Further, when the 8-bit parity data (WDP) is captured, the write latch 10 captures and writes the 8-bit parity data after the 128-bit information data is completely captured by the write latch 8. The data is sent to the bias circuit 11. At this time, the write bias circuit (11, 12) is configured to store the memory at the timing (PGMDB) after the 128-bit information data and 8-bit parity data are all captured by the write latch (8, 10). Application of a write bias voltage to the array 14 is started.

従って、図1に示すROM100によれば、1回分の書込アクセスの単位となる情報データのビット数が128ビットの如く長大であっても、書込ラッチ8から出力される合計128ビット分のデータの内でその論理レベルが同時に反転するビットの数は最大でも16個となる。要するに、書込ラッチ8に取り込まれて出力される1回分のデータのビット数は、1回分の書込アクセスの単位となる情報データのビット数よりも小となる。これにより、書込ラッチ8から出力されたデータの論理レベルが一斉に反転した場合であっても、電源又は接地ラインに一時的に流れ込む電流量が少なくなる。よって、電源又は接地ラインに流れ込む電流量が急峻に増加することに起因する急峻な電圧降下が生じにくくなり、この急峻な電圧降下に伴って発生するノイズが抑制される。   Therefore, according to the ROM 100 shown in FIG. 1, even if the number of bits of information data as a unit of one write access is as long as 128 bits, a total of 128 bits output from the write latch 8 In the data, the number of bits whose logic levels are simultaneously inverted is 16 at the maximum. In short, the number of bits of one-time data fetched and output by the write latch 8 is smaller than the number of bits of information data that is a unit of one-time write access. As a result, even when the logic levels of the data output from the write latch 8 are reversed all at once, the amount of current that temporarily flows into the power supply or ground line is reduced. Therefore, a steep voltage drop due to a steep increase in the amount of current flowing into the power supply or ground line is less likely to occur, and noise generated with this steep voltage drop is suppressed.

尚、上記ECC回路9では、書込対象となる情報データを128ビット単位で誤り訂正符号化して8ビットのパリティデータを得るようにしているが、誤り訂正符号化の対象となるビット数は128ビットに限定されるものではなく、また、パリティデータのビット数も8ビットに限定されるものではない。また、上記実施例において、書込ラッチ8は、128ビット分の情報データを16ビット分ずつ8回に分けて時分割で取り込むようにしているが、1回あたりの取り込みビット数は16ビットに限定されない。   In the ECC circuit 9, 8-bit parity data is obtained by performing error correction coding on information data to be written in 128-bit units, but the number of bits to be error-corrected coding is 128. It is not limited to bits, and the number of bits of parity data is not limited to 8 bits. In the above-described embodiment, the write latch 8 is configured to capture 128 bits of information data in 16-bit increments 8 times in a time-sharing manner, but the number of capture bits per time is 16 bits. It is not limited.

要するに、ECC回路9は、情報データをNビット(Nは正の整数)単位で誤り訂正符号化してMビット(Mは正の整数)のパリティデータを生成し、書込ラッチ8は、Nビットの情報データをNビットよりも小なるビット数からなるビット群毎に時分割で取り込んで記憶しつつ、順次、書込バイアス回路12に送出するようにすれば良いのである。この際、書込ラッチ8としては、夫々に上記したビット群の記憶が為される複数のラッチ群を含むものを採用し、ラッチセレクタ3としては、アドレスデータに基づいて上記ビット群の取り込み対象となるべきラッチ群の1つを選択させるべきラッチ選択信号を生成するものを採用する。   In short, the ECC circuit 9 generates M-bit (M is a positive integer) parity data by performing error correction coding on information data in units of N bits (N is a positive integer), and the write latch 8 has N bits. This information data may be sequentially sent to the write bias circuit 12 while being fetched and stored in a time-sharing manner for each bit group having a number of bits smaller than N bits. At this time, the write latch 8 includes a plurality of latch groups each storing the above-described bit group, and the latch selector 3 is a target for fetching the bit group based on the address data. A signal that generates a latch selection signal for selecting one of the latch groups to be used is adopted.

図6は、図1に示されるROM100の変形例を示す図であり、図7は、図6に示すROM100にデータを書き込む際の動作を示すタイムチャートである。   FIG. 6 is a diagram showing a modification of the ROM 100 shown in FIG. 1, and FIG. 7 is a time chart showing an operation when data is written to the ROM 100 shown in FIG.

尚、図6に示す構成では、図1に示される書込ラッチ8を省き、ECCラッチ7の第1〜第8ラッチ群から送出されたデータLD[0:127]を直接、書込バイアス回路12に供給するようにした点を除く他の構成は、図1に示すものと同一である。   In the configuration shown in FIG. 6, the write latch 8 shown in FIG. 1 is omitted, and the data LD [0: 127] sent from the first to eighth latch groups of the ECC latch 7 is directly written to the write bias circuit. Except for the point supplied to 12, the other configuration is the same as that shown in FIG.

また、図6に示すROM100にデータを書き込む際のシステム構成についても、図1に示されるROM100にデータを書き込む場合と同様に図5に示すシステム構成を採用する。   Further, the system configuration for writing data to the ROM 100 shown in FIG. 6 is the same as the system configuration shown in FIG. 5 as in the case of writing data to the ROM 100 shown in FIG.

すなわち、情報データの書き込みを行うにあたり、先ず、ROMライタ200は、図7に示す如く、初期値「0」(10進数表現)から「1」づつ順にインクリメントする3ビットのアドレスデータAD[0:2]、及び書込対象となる128ビットのデータが書き込まれるべき番地を20ビットで示すアドレスデータAD[3:22]をROM100の外部端子AD[0:22]に供給する。更に、ROMライタ200は、所定の書込コマンドを示す情報データD[0:7]をROM100の外部端子PD0-7に供給しつつ、データ書込を開始させるべき書込開始信号WSをROM100の外部端子P1に供給する。これにより、ROM100の書込コマンド検知回路22は、図7に示す如き論理レベル0の書込モード信号PGMBを、ラッチセレクタ3、ECCラッチ7、書込ラッチ10、並びに書込バイアス印加制御回路24に供給する。 That is, when writing the information data, first, the ROM writer 200, as shown in FIG. 7, the 3-bit address data AD [0: 0 which is incremented in order from the initial value “0” (decimal number expression) by “1”. 2] and address data AD [3:22] indicating the address in which the 128-bit data to be written is written in 20 bits are supplied to the external terminal AD [0:22] of the ROM 100. Further, the ROM writer 200 supplies a write start signal WS to start data writing to the ROM 100 while supplying information data D [0: 7] indicating a predetermined write command to the external terminals PD 0-7 of the ROM 100. To the external terminal P1. As a result, the write command detection circuit 22 of the ROM 100 outputs a write mode signal PGMB having a logic level 0 as shown in FIG. 7 to the latch selector 3, the ECC latch 7, the write latch 10, and the write bias application control circuit 24. To supply.

ここで、ROMライタ200は、図7に示す如く、書き込むべき128ビットのデータを16ビットずつの情報データDA[0:15]として、順次ROM100の外部端子PD0-15に供給する。この際、ラッチセレクタ3は、図7に示すように初期値「0」、「1」、「2」、・・・、「6」、「7」の如く順次インクリメントされるアドレスデータAD[0:2]に応じて、第1〜第8ラッチ群の内の1つを順次選択させるべきラッチ選択信号LE[0:7]をECCラッチ7に供給する。これにより、先ず、ECCラッチ7の第1ラッチ群が、図7に示す如く、128ビットデータの内の第0〜第15ビットをデータLD[0:15]として取り込んでECC回路9及び書込バイアス回路12に供給する。次に、ECCラッチ7の第2ラッチ群が、図7に示す如く、128ビットデータの内の第16〜第31ビットをデータLD[16:31]として取り込んでECC回路9及び書込バイアス回路12に供給する。次に、ECCラッチ7の第3ラッチ群が、図7に示す如く、128ビットデータの内の第32〜第47ビットをデータLD[32:47]として取り込んでECC回路9及び書込バイアス回路12に供給する。 Here, the ROM writer 200 sequentially supplies 128-bit data to be written as 16-bit information data DA [0:15] to the external terminals PD 0-15 of the ROM 100 as shown in FIG. At this time, as shown in FIG. 7, the latch selector 3 sequentially increases the address data AD [0] such as initial values “0”, “1”, “2”,..., “6”, “7”. : 2], the latch selection signal LE [0: 7] for sequentially selecting one of the first to eighth latch groups is supplied to the ECC latch 7. As a result, first, the first latch group of the ECC latch 7 takes in the 0th to 15th bits of the 128-bit data as the data LD [0:15] and writes the ECC circuit 9 and the write as shown in FIG. This is supplied to the bias circuit 12. Next, as shown in FIG. 7, the second latch group of the ECC latch 7 takes in the 16th to 31st bits of the 128-bit data as data LD [16:31], and the ECC circuit 9 and the write bias circuit. 12 is supplied. Next, as shown in FIG. 7, the third latch group of the ECC latch 7 takes in the 32nd to 47th bits of the 128-bit data as data LD [32:47], and the ECC circuit 9 and the write bias circuit. 12 is supplied.

以下、同様にして、ECCラッチ7の第4〜第8ラッチ群が、128ビットデータの内の第48〜第63ビット、第64〜第79ビット、第80〜第95ビット、第96〜第111ビット、第112〜第127ビットを順次取り込み、夫々をLD[48:63]〜LD[112:127]としてECC回路9及び書込バイアス回路12に供給して行く。   Similarly, the fourth to eighth latch groups of the ECC latch 7 are the 48th to 63rd bits, the 64th to 79th bits, the 80th to 95th bits, and the 96th to 48th bits of the 128-bit data. The 111th bit and the 112th to 127th bits are sequentially fetched and supplied to the ECC circuit 9 and the write bias circuit 12 as LD [48:63] to LD [112: 127], respectively.

以上の如く、図6に示されるROM100では、誤り符号化ラッチ部としてのECCラッチ7により、128ビット分の情報データを、夫々が16ビットからなるビット群毎に時分割にて取り込んで記憶しつつ順次、書込バイアス回路12に直接供給するようにしている。   As described above, in the ROM 100 shown in FIG. 6, the ECC latch 7 serving as an error encoding latch unit captures and stores 128-bit information data in a time-sharing manner for each 16-bit bit group. In turn, it is supplied directly to the write bias circuit 12.

よって、図6に示される構成を採用した場合にも、図1に示される構成を採用した場合と同様に、1回分の書込アクセスの単位となる情報データのビット数が128ビットの如く長大であっても、書込バイアス回路12に供給される128ビット分のデータの内でその論理レベルが同時に反転するビットの数は最大でも16個となる。要するに、ECCラッチ7に取り込まれて出力される1回分のデータのビット数は、1回分の書込アクセスの単位となる情報データのビット数よりも小となる。これにより、ECCラッチ7から出力されたデータの論理レベルが一斉に反転した場合であっても、電源又は接地ラインに一時的に流れ込む電流量が少なくなる。よって、電源又は接地ラインに流れ込む電流量が急峻に増加することに起因する急峻な電圧降下が生じにくくなり、この急峻な電圧降下に伴って発生するノイズが抑制される。更に、図6に示される構成を採用した場合、図1に示される構成で用いられていた書込ラッチ8が不要となるので、その分だけ装置規模を小規模化することが可能となる
尚、上記した誤り符号化ラッチ部としてのECCラッチ7では、128ビット分の情報データを16ビット分ずつ時分割で取り込むようにしているが、1回あたりの取り込みビット数は16ビットに限定されない。
Therefore, even when the configuration shown in FIG. 6 is adopted, as in the case where the configuration shown in FIG. 1 is adopted, the number of bits of information data as a unit of one write access is as long as 128 bits. Even so, the number of bits whose logic levels are simultaneously inverted in the 128-bit data supplied to the write bias circuit 12 is 16 at the maximum. In short, the number of bits of one-time data fetched and output by the ECC latch 7 is smaller than the number of bits of information data as a unit of one-time write access. As a result, even when the logic levels of the data output from the ECC latch 7 are reversed all at once, the amount of current that temporarily flows into the power supply or ground line is reduced. Therefore, a steep voltage drop due to a steep increase in the amount of current flowing into the power supply or ground line is less likely to occur, and noise generated with this steep voltage drop is suppressed. Further, when the configuration shown in FIG. 6 is adopted, the write latch 8 used in the configuration shown in FIG. 1 is not necessary, and the apparatus scale can be reduced accordingly. In the ECC latch 7 as the error encoding latch unit described above, 128-bit information data is fetched by 16 bits in a time-sharing manner, but the number of fetched bits per time is not limited to 16 bits.

要するに、ECCラッチ7としては、Nビット(Nは正の整数)単位で誤り訂正符号化される情報データを、Nビットよりも小なるビット数からなるビット群毎に時分割で取り込んで記憶しつつ、順次、書込バイアス回路12に直接送出するようにすれば良いのである。この際、ラッチセレクタ3としては、アドレスデータに基づいて上記ビット群の取り込み対象となるべきラッチ群の1つを選択させるべきラッチ選択信号を生成するものを採用する。   In short, the ECC latch 7 captures and stores information data that is error-correction-coded in units of N bits (N is a positive integer) in a time division manner for each bit group having a number of bits smaller than N bits. On the other hand, it may be sent directly to the write bias circuit 12 sequentially. At this time, as the latch selector 3, one that generates a latch selection signal for selecting one of the latch groups to be fetched from the bit group based on the address data is employed.

7 ECCラッチ
8、10 書込ラッチ
9 ECC回路
11、12 書込バイアス回路
14 メモリアレイ
7 ECC latch 8, 10 Write latch 9 ECC circuit 11, 12 Write bias circuit 14 Memory array

Claims (6)

書込対象となる情報データをN(Nは正の整数)ビット単位にて誤り訂正符号化して書き込むメモリアレイを備えた半導体メモリ装置であって、
前記Nビット分の情報データを取り込んで記憶しつつ出力する誤り符号化ラッチ部と、
前記誤り符号化ラッチ部から出力された前記Nビットの情報データに対して誤り訂正符号処理を施してパリティデータを生成する誤り訂正符号回路と、
前記パリティデータを取り込んで記憶しつつ出力する第1書込ラッチ部と、
前記Nビット分の情報データを、夫々が前記Nビットよりも小なるビット数からなるビット群毎に時分割にて取り込んで記憶しつつ順次出力する第2書込ラッチ部と、
前記第1書込ラッチ部から出力された前記パリティデータ及び前記第2書込ラッチ部から出力された前記情報データの各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成して前記メモリアレイに印加する書込バイアス回路と、を有することを特徴とする半導体メモリ装置。
A semiconductor memory device including a memory array in which information data to be written is error correction encoded and written in N (N is a positive integer) bits,
An error encoding latch unit that captures and stores the N bits of information data; and
An error correction code circuit that generates parity data by performing error correction code processing on the N-bit information data output from the error encoding latch unit;
A first write latch unit that captures and outputs the parity data;
A second write latch unit for sequentially outputting the N-bit information data while capturing and storing the information data for each bit group having a number of bits smaller than the N bits in a time-sharing manner;
For each bit of the parity data output from the first write latch unit and the information data output from the second write latch unit, a write bias voltage corresponding to the logic level of the bit is generated. And a write bias circuit applied to the memory array.
前記第2書込ラッチ部は、夫々に前記ビット群の記憶を為す複数のラッチ群と、前記ラッチ群の各々の内から前記ビット群の取り込み対象となるべき前記ラッチ群の1を順次選択するラッチ選択信号を生成するラッチセレクタと、を含むことを特徴とする請求項1記載の半導体メモリ装置。   The second write latch unit sequentially selects a plurality of latch groups each for storing the bit group and one of the latch groups to be fetched from the bit group from each of the latch groups. The semiconductor memory device according to claim 1, further comprising: a latch selector that generates a latch selection signal. 前記ラッチセレクタは、アドレスデータに基づいて前記ラッチ選択信号を生成することを特徴とする請求項2記載の半導体メモリ装置。   3. The semiconductor memory device according to claim 2, wherein the latch selector generates the latch selection signal based on address data. 書込対象となる情報データをN(Nは正の整数)ビット単位にて誤り訂正符号化して書き込むメモリアレイを備えた半導体メモリ装置であって、
前記Nビットの情報データを、夫々が前記Nビットよりも小なるビット数からなるビット群毎に時分割にて取り込んで記憶しつつ順次出力する誤り符号化ラッチ部と、
前記誤り符号化ラッチ部から出力された前記Nビットの情報データに対して誤り訂正符号処理を施してパリティデータを生成する誤り訂正符号回路と、
前記パリティデータを取り込んで記憶しつつ出力する書込ラッチ部と、
前記書込ラッチ部から出力された前記パリティデータ及び前記誤り符号化ラッチ部から出力された前記情報データの各ビット毎にそのビットの論理レベルに対応した書込バイアス電圧を生成して前記メモリアレイに印加する書込バイアス回路と、を有することを特徴とする半導体メモリ装置。
A semiconductor memory device including a memory array in which information data to be written is error correction encoded and written in N (N is a positive integer) bits,
An error encoding latch unit that sequentially outputs the N-bit information data while capturing and storing the N-bit information data in a time-sharing manner for each bit group having a number of bits smaller than the N bits;
An error correction code circuit that generates parity data by performing error correction code processing on the N-bit information data output from the error encoding latch unit;
A write latch unit that captures and outputs the parity data; and
Generating a write bias voltage corresponding to a logical level of each bit of the parity data output from the write latch unit and the information data output from the error encoding latch unit; And a write bias circuit applied to the semiconductor memory device.
前記誤り符号化ラッチ部は、夫々に前記ビット群の記憶を為す複数のラッチ群と、前記ラッチ群の各々の内から前記ビット群の取り込み対象となるべき前記ラッチ群の1を順次選択するラッチ選択信号を生成するラッチセレクタと、を含むことを特徴とする請求項4記載の半導体メモリ装置。   The error encoding latch unit sequentially selects a plurality of latch groups each for storing the bit group and one of the latch groups to be fetched from the bit group from each of the latch groups. The semiconductor memory device according to claim 4, further comprising: a latch selector that generates a selection signal. 前記ラッチセレクタは、アドレスデータに基づいて前記ラッチ選択信号を生成することを特徴とする請求項5記載の半導体メモリ装置。   6. The semiconductor memory device according to claim 5, wherein the latch selector generates the latch selection signal based on address data.
JP2012061823A 2012-03-19 2012-03-19 Semiconductor memory device Pending JP2013196721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012061823A JP2013196721A (en) 2012-03-19 2012-03-19 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012061823A JP2013196721A (en) 2012-03-19 2012-03-19 Semiconductor memory device

Publications (1)

Publication Number Publication Date
JP2013196721A true JP2013196721A (en) 2013-09-30

Family

ID=49395471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012061823A Pending JP2013196721A (en) 2012-03-19 2012-03-19 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP2013196721A (en)

Similar Documents

Publication Publication Date Title
KR100842680B1 (en) Ecc controller for use in flash memory device and memory system including the same
JP4988731B2 (en) Flash error correction
US8239725B2 (en) Data storage with an outer block code and a stream-based inner code
KR101750662B1 (en) Circuits, apparatuses, and methods for correcting data errors
US8732553B2 (en) Memory system and control method thereof
JP2008165805A (en) Ecc (error correction code) controller for flash memory device and memory system including same
TW201346923A (en) Erasure correction using single error detection parity
TW202029210A (en) Memory apparatus having hierarchical error correction code
JP6018508B2 (en) Nonvolatile semiconductor memory device and test method thereof
US11231990B2 (en) Device and method for generating error correction information
JP2023120450A (en) Semiconductor storage device and error detection/correction method
US20130104003A1 (en) Memory system and method for recording/reproducing data thereof
KR20080114208A (en) Copy2 programming method of non volatile memory device with error correction function
JP2014033364A (en) Error detection and correction circuit and memory device
JP2011134406A (en) Nonvolatile semiconductor memory device
JP6411282B2 (en) Semiconductor memory and data writing method
US10379926B2 (en) Method and device for monitoring data error status in a memory
JP4742553B2 (en) Storage device
JP2013196721A (en) Semiconductor memory device
KR20130077401A (en) Semiconductor memory device and operating method thereof
US8819331B2 (en) Memory system and memory controller
JP2005011386A (en) Error correction apparatus
US9519539B2 (en) Monitoring data error status in a memory
KR20090048142A (en) Ecc processing unit of non volatile memory device
US20140245101A1 (en) Semiconductor memory