【0001】
【発明の属する技術分野】
この発明は、電気的に書換可能なメモリを内蔵している半導体集積回路に関するものである。
【0002】
【従来の技術】
図5は従来の半導体集積回路を示す構成図であり、図において、1はLSI、2はフラッシュメモリ11の製品検査を実施する際にコマンドを発行するテスタ、3はLSI1の内部バス、4はフラッシュメモリ11のテスト機能を有するメモリ装置、11は電気的に書換可能なフラッシュメモリ、12はテスタ2からコマンドの発行を受けると、そのコマンドに応じてフラッシュメモリ11に対するデータの書込処理又は消去処理を実行する処理実行部、13は処理実行部12による処理の動作判定を実施し、その判定結果をステータスレジスタ14に格納する動作判定部、14は動作判定部13の判定結果を格納するステータスレジスタである。
【0003】
次に動作について説明する。
フラッシュメモリ11の製品検査を実施する場合、図6に示すように、テスタ2が内部バス3を介して、例えば、データの消去を指示するコマンドをメモリ装置4に出力する。
メモリ装置4の処理実行部12は、テスタ2からデータの消去を指示するコマンドの発行を受けると、そのフラッシュメモリ11に格納されているデータの消去を実行する。
【0004】
なお、処理実行部12は、テスタ2からコマンドの発行を受けると、図6に示すように、内部動作中であることをテスタ2に知らせるため、ライトイネーブル信号WEBの立ち上がりに同期して、レディ/ビジー信号の信号レベルをHレベルからLレベルに遷移させる。
テスタ2は、レディ/ビジー信号の信号レベルがHレベルからLレベルに遷移すると、メモリ装置4が内部動作中であることを認識して待機状態となる。
【0005】
メモリ装置4の動作判定部13は、処理実行部12がデータの消去を開始すると、例えば、ベリファイチェック等を実施することにより、処理実行部12による処理の動作判定を実施して、その判定結果をステータスレジスタ14に格納する。例えば、処理実行部12による処理の動作が正常である場合、フラッシュメモリ11が良品であることを示す“80”のコードを判定結果としてステータスレジスタ14に格納する。一方、処理実行部12による処理の動作が正常でない場合、フラッシュメモリ11が不良品であることを示す“A0”のコードを判定結果としてステータスレジスタ14に格納する。
【0006】
なお、処理実行部12は、動作判定部13の動作判定が完了すると、図6に示すように、非動作中であることをテスタ2に知らせるためレディ/ビジー信号の信号レベルをLレベルからHレベルに遷移させる。
テスタ2は、レディ/ビジー信号の信号レベルがLレベルからHレベルに遷移すると、Lレベルのアウトプットイネーブル信号OEBをメモリ装置4に出力することにより、ステータスレジスタ14に格納されている判定結果を読み出して、フラッシュメモリ11が良品であるか、不良品であるかを判定する。
【0007】
ここで、メモリ装置4の内部動作時間は、コマンドの種類によっても異なるが、例えば、コマンドがデータの消去を指示するコマンドである場合、フラッシュメモリ11の全領域が512Kバイト程度であるとすると、数秒程度(約4〜5秒)の時間になる。
【0008】
【発明が解決しようとする課題】
従来の半導体集積回路は以上のように構成されているので、メモリ装置4が内部動作中になると、テスタ2が待機状態に移行し、この間、フラッシュメモリ11以外のブロック(例えば、LSI1に搭載されているRAM)の良品判定を実施することができない。このため、テスタ2のテスト効率が劣化するなどの課題があった。
【0009】
この発明は上記のような課題を解決するためになされたもので、テスタのテスト効率を高めることができる半導体集積回路を得ることを目的とする。
【0010】
【課題を解決するための手段】
この発明に係る半導体集積回路は、処理実行手段が書込処理又は消去処理を開始すると、その書込処理又は消去処理が完了するまでの間、メモリ以外のその他の回路ブロックに対してコマンドを発行して、その他の回路ブロックのテストを行うようにしたものである。
【0011】
この発明に係る半導体集積回路は、処理実行手段が書込処理又は消去処理を開始すると、処理実行手段を内部バスと切り離して、メモリ以外のその他の回路ブロックを内部バスに接続するようにしたものである。
【0012】
この発明に係る半導体集積回路は、メモリがフラッシュメモリであるようにしたものである。
【0013】
この発明に係る半導体集積回路は、処理実行手段が書込処理又は消去処理を開始すると、その処理実行手段を内部バスと切り離して、RAMに対してコマンドを発行して、そのRAMの読み出しテストを実施するようにしたものである。
【0014】
この発明に係る半導体集積回路は、処理実行手段が書込処理又は消去処理を開始すると、その処理実行手段を内部バスと切り離して、タイマーに対してコマンドを発行して、そのタイマーのカウントテストを実施するようにしたものである。
【0015】
【発明の実施の形態】
以下、この発明の実施の一形態を説明する。
実施の形態1.
図1はこの発明の実施の形態1による半導体集積回路を示す構成図であり、図において、21はLSI、22はフラッシュメモリ31の製品検査を実施する際にコマンドを発行し、また、メモリ装置24が内部動作中になるとRAM37にコマンドを発行して、そのRAM37の読み出しテストを実施するテスタ(コマンド発行手段)、23はLSI21の内部バス、24はフラッシュメモリ31のテスト機能を有するメモリ装置、31は電気的に書換可能なフラッシュメモリ(メモリ)である。
【0016】
32はテスタ22からコマンドの発行を受けると、そのコマンドに応じてフラッシュメモリ31に対するデータの書込処理又は消去処理を実行する処理実行部(処理実行手段)、33は処理実行部32による処理の動作判定を実施し、その判定結果をステータスレジスタ34に格納する動作判定部(動作判定手段)、34は動作判定部33の判定結果を格納するステータスレジスタ、35はテスタ22から出力されるバス切換信号の信号レベルがHレベルのときに限りオン状態になるスイッチ、36はテスタ22から出力されるバス切換信号の信号レベルがLレベルのときに限りオン状態になるスイッチ、37は第2の検査対象であるRAM(メモリ以外のその他の回路ブロック)である。
【0017】
次に動作について説明する。
フラッシュメモリ31の製品検査を実施する場合、図2に示すように、テスタ22が内部バス23を介して、例えば、データの消去を指示するコマンドをメモリ装置24に出力する。
なお、テスタ22から出力されるバス切換信号の信号レベルは、レディ/ビジー信号の信号レベルがHレベルのときはHレベル、レディ/ビジー信号の信号レベルがLレベルのときはLレベルとなるが、この段階では、メモリ装置24は非動作中であるため、レディ/ビジー信号の信号レベルがHレベルである。このため、バス切換信号の信号レベルがHレベルとなり、スイッチ35がオン状態になるため(スイッチ36はオフ状態)、テスタ22により発行されたコマンドは、内部バス23を介してメモリ装置24に出力される。
【0018】
メモリ装置24の処理実行部32は、テスタ22からデータの消去を指示するコマンドの発行を受けると、そのフラッシュメモリ31に格納されているデータの消去を開始する。なお、テスタ22からデータの書込を指示するコマンドの発行を受けると、そのフラッシュメモリ31に対してデータの書込を開始する。
メモリ装置24の動作判定部33は、処理実行部32がデータの消去を開始すると、例えば、ベリファイチェック等を実施することにより、処理実行部32による処理の動作判定を実施し、その判定結果をステータスレジスタ34に格納する。例えば、処理実行部32による処理の動作が正常である場合、フラッシュメモリ31が良品であることを示す“80”のコードを判定結果としてステータスレジスタ34に格納する。一方、処理実行部32による処理の動作が正常でない場合、フラッシュメモリ31が不良品であることを示す“A0”のコードを判定結果としてステータスレジスタ34に格納する。
【0019】
なお、メモリ装置24の処理実行部32は、テスタ22からコマンドの発行を受けると、上述したようにデータの消去を開始するが、この際、内部動作中であることをテスタ22に知らせるため、ライトイネーブル信号WEBの立ち上がりに同期して、レディ/ビジー信号の信号レベルをHレベルからLレベルに遷移させる。
【0020】
テスタ22は、レディ/ビジー信号の信号レベルがHレベルからLレベルに遷移すると、メモリ装置24が内部動作中であることを認識する。
そして、メモリ装置24が内部動作中であることを認識すると、メモリ装置24の動作が完了するまでの間、第2の検査対象であるRAM37の読み出してテストを行うため、バス切換信号の信号レベルをLレベルにして、スイッチ36をオン状態、スイッチ35をオフ状態にする。
【0021】
これにより、メモリ装置24が内部バス23から切り離されて、RAM37が内部バス23に接続されるので、テスタ22は、RAM37にコマンドを発行して、そのRAM37の読み出しテストを実施する。
なお、RAM37の読み出しテストは、テスタクロックにもよるが、約数100ms〜1秒程度で終了するため、動作判定部33の動作判定が完了する前に終了することができる。
【0022】
テスタ22は、その後、動作判定部33の動作判定が完了して、処理実行部32がレディ/ビジー信号の信号レベルをLレベルからHレベルに遷移させると、Lレベルのアウトプットイネーブル信号OEBをメモリ装置24に出力することにより、ステータスレジスタ34に格納されている判定結果を読み出して、フラッシュメモリ31が良品であるか、不良品であるかを判定する。
【0023】
以上で明らかなように、この実施の形態1によれば、処理実行部32が書込処理又は消去処理を開始すると、その書込処理又は消去処理が完了するまでの間、RAM37に対してコマンドを発行して、そのRAM37の読み出しテストを行うように構成したので、テスタ22のテスト効率を高めることができる効果を奏する。
【0024】
実施の形態2.
上記実施の形態1では、テスタ22がレディ/ビジー信号の信号レベルに応じてバス切換信号の信号レベルを変更するものについて示したが、図3に示すように、処理実行部32から出力されるレディ/ビジー信号をスイッチ35,36に与えるようにしてもよい。
これにより、バス切換信号が不要になるため、LSI21とテスタ22におけるバス切換信号用の専用ピンを削除することができる効果を奏する。
【0025】
実施の形態3.
上記実施の形態1では、第2の検査対象がRAM37であるものについて示したが、図4に示すように、第2の検査対象をタイマー38としてもよい。
この場合、テスタ22は、メモリ装置24が内部動作中になると、タイマー38に対してコマンドを発行して、そのタイマー38のカウントテストを実施する。例えば、コマンド発行前後のタイマー38のカウント値を確認して、正常にカウント値が更新されているか否かを検査する。
この実施の形態3によれば、メモリ装置24が内部動作中のとき、タイマー38のカウントテストを実施することができるため、テスタ22のテスト効率を高めることができる効果を奏する。
【0026】
【発明の効果】
以上のように、この発明によれば、処理実行手段が書込処理又は消去処理を開始すると、その書込処理又は消去処理が完了するまでの間、メモリ以外のその他の回路ブロックに対してコマンドを発行して、その他の回路ブロックのテストを行うように構成したので、テスタのテスト効率を高めることができる効果がある。
【0027】
この発明によれば、処理実行手段が書込処理又は消去処理を開始すると、処理実行手段を内部バスと切り離して、メモリ以外のその他の回路ブロックを内部バスに接続するように構成したので、構成の複雑化を招くことなく、メモリ以外のブロックをテストすることができる効果がある。
【0028】
この発明によれば、メモリがフラッシュメモリであるように構成したので、フラッシュメモリの製品検査を実施することができる効果がある。
【0029】
この発明によれば、処理実行手段が書込処理又は消去処理を開始すると、その処理実行手段を内部バスと切り離して、RAMに対してコマンドを発行して、そのRAMの読み出しテストを実施するように構成したので、フラッシュメモリの製品検査の際、RAMの読み出しテストを実施することができる効果がある。
【0030】
この発明によれば、処理実行手段が書込処理又は消去処理を開始すると、その処理実行手段を内部バスと切り離して、タイマーに対してコマンドを発行して、そのタイマーのカウントテストを実施するように構成したので、フラッシュメモリの製品検査の際、タイマーのカウントテストを実施することができる効果がある。
【図面の簡単な説明】
【図1】この発明の実施の形態1による半導体集積回路を示す構成図である。
【図2】各種信号のタイミングを示す説明図である。
【図3】この発明の実施の形態2による半導体集積回路を示す構成図である。
【図4】この発明の実施の形態3による半導体集積回路を示す構成図である。
【図5】従来の半導体集積回路を示す構成図である。
【図6】各種信号のタイミングを示す説明図である。
【符号の説明】
21 LSI、22 テスタ(コマンド発行手段)、23 内部バス、24 メモリ装置、31 フラッシュメモリ(メモリ)、32 処理実行部(処理実行手段)、33 動作判定部(動作判定手段)、34 ステータスレジスタ、35スイッチ、36 スイッチ、37 RAM(メモリ以外のその他の回路ブロック)、38 タイマー(メモリ以外のその他の回路ブロック)。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a semiconductor integrated circuit having a built-in electrically rewritable memory.
[0002]
[Prior art]
FIG. 5 is a configuration diagram showing a conventional semiconductor integrated circuit. In the figure, 1 is an LSI, 2 is a tester that issues a command when performing a product inspection of the flash memory 11, 3 is an internal bus of the LSI 1, and 4 is A memory device having a test function for the flash memory 11; 11 an electrically rewritable flash memory; and 12 a write or erase of data in the flash memory 11 according to the command when a command is issued from the tester 2. A process execution unit 13 for executing the process performs an operation determination of the process by the process execution unit 12, and stores the determination result in the status register 14. A status storage unit 14 stores the determination result of the operation determination unit 13. It is a register.
[0003]
Next, the operation will be described.
When the product inspection of the flash memory 11 is performed, the tester 2 outputs, for example, a command for instructing data erasure to the memory device 4 via the internal bus 3 as shown in FIG.
Upon receiving a command to erase data from the tester 2, the process execution unit 12 of the memory device 4 erases the data stored in the flash memory 11.
[0004]
When the command is issued from the tester 2, the process execution unit 12 synchronizes with the rising of the write enable signal WEB to notify the tester 2 that the internal operation is being performed, as shown in FIG. / The signal level of the busy signal is changed from H level to L level.
When the signal level of the ready / busy signal transitions from the H level to the L level, the tester 2 recognizes that the memory device 4 is operating internally and enters a standby state.
[0005]
When the process execution unit 12 starts erasing data, the operation determination unit 13 of the memory device 4 performs an operation determination of the process by the process execution unit 12 by performing, for example, a verify check, and determines the determination result. Is stored in the status register 14. For example, when the operation of the process by the process execution unit 12 is normal, a code of “80” indicating that the flash memory 11 is non-defective is stored in the status register 14 as a determination result. On the other hand, when the operation of the process by the process execution unit 12 is not normal, the code of “A0” indicating that the flash memory 11 is defective is stored in the status register 14 as a determination result.
[0006]
When the operation determining unit 13 completes the operation determination, the process execution unit 12 changes the signal level of the ready / busy signal from the L level to the H level to notify the tester 2 that the operation is not performed, as shown in FIG. Transition to a level.
When the signal level of the ready / busy signal transitions from the L level to the H level, the tester 2 outputs an L level output enable signal OEB to the memory device 4 to thereby determine the determination result stored in the status register 14. By reading, it is determined whether the flash memory 11 is a good product or a bad product.
[0007]
Here, the internal operation time of the memory device 4 varies depending on the type of the command. For example, when the command is a command for instructing data erasure, if the entire area of the flash memory 11 is about 512 Kbytes, It takes about several seconds (about 4 to 5 seconds).
[0008]
[Problems to be solved by the invention]
Since the conventional semiconductor integrated circuit is configured as described above, when the memory device 4 is operating internally, the tester 2 shifts to a standby state, during which the blocks other than the flash memory 11 (for example, mounted on the LSI 1). Non-defective product) cannot be determined. For this reason, there is a problem that the test efficiency of the tester 2 is deteriorated.
[0009]
The present invention has been made to solve the above problems, and has as its object to obtain a semiconductor integrated circuit that can increase the test efficiency of a tester.
[0010]
[Means for Solving the Problems]
In the semiconductor integrated circuit according to the present invention, when the processing execution means starts the writing or erasing processing, a command is issued to other circuit blocks other than the memory until the writing or erasing processing is completed. Then, other circuit blocks are tested.
[0011]
In a semiconductor integrated circuit according to the present invention, when a process execution unit starts a writing process or an erasing process, the process execution unit is separated from an internal bus and other circuit blocks other than the memory are connected to the internal bus. It is.
[0012]
In a semiconductor integrated circuit according to the present invention, the memory is a flash memory.
[0013]
In the semiconductor integrated circuit according to the present invention, when the processing execution means starts the writing processing or the erasing processing, the processing execution means is disconnected from the internal bus, a command is issued to the RAM, and the reading test of the RAM is performed. It is intended to be implemented.
[0014]
In the semiconductor integrated circuit according to the present invention, when the processing execution means starts the writing processing or the erasing processing, the processing execution means is disconnected from the internal bus, a command is issued to the timer, and the count test of the timer is performed. It is intended to be implemented.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described.
Embodiment 1 FIG.
FIG. 1 is a configuration diagram showing a semiconductor integrated circuit according to a first embodiment of the present invention. In the figure, reference numeral 21 denotes an LSI, 22 denotes a command for executing a product inspection of a flash memory 31, and a memory device. A tester (command issuing means) for issuing a command to the RAM 37 to execute a read test of the RAM 37 when the internal memory 24 is operating, a reference numeral 23 for an internal bus of the LSI 21, a memory device 24 having a test function for the flash memory 31, Reference numeral 31 denotes an electrically rewritable flash memory (memory).
[0016]
When a command is issued from the tester 22, a process execution unit (process execution unit) 32 executes a process of writing or erasing data in the flash memory 31 in response to the command, and a process execution unit 33 executes processing of the process execution unit 32. An operation determination unit (operation determination unit) for performing an operation determination and storing the determination result in the status register 34, a status register 34 for storing the determination result of the operation determination unit 33, and a bus switch 35 output from the tester 22. A switch that is turned on only when the signal level of the signal is H level, a switch 36 that is turned on only when the signal level of the bus switching signal output from the tester 22 is L level, and 37 is a second test The target RAM (other circuit blocks other than the memory).
[0017]
Next, the operation will be described.
When the product inspection of the flash memory 31 is performed, the tester 22 outputs, for example, a command to instruct data erasure to the memory device 24 via the internal bus 23 as shown in FIG.
The signal level of the bus switching signal output from the tester 22 is H level when the signal level of the ready / busy signal is H level, and is L level when the signal level of the ready / busy signal is L level. At this stage, since the memory device 24 is not operating, the signal level of the ready / busy signal is at the H level. As a result, the signal level of the bus switching signal becomes H level and the switch 35 is turned on (the switch 36 is turned off), so that the command issued by the tester 22 is output to the memory device 24 via the internal bus 23. Is done.
[0018]
When the processing execution unit 32 of the memory device 24 receives the command from the tester 22 to instruct data erasure, it starts erasing data stored in the flash memory 31. When receiving a command to instruct data writing from tester 22, data writing to flash memory 31 is started.
When the process execution unit 32 starts erasing data, the operation determination unit 33 of the memory device 24 performs an operation determination of the process by the process execution unit 32 by performing, for example, a verify check, and determines the determination result. It is stored in the status register 34. For example, when the operation of the process by the process executing unit 32 is normal, a code of “80” indicating that the flash memory 31 is non-defective is stored in the status register 34 as a determination result. On the other hand, when the operation of the process by the process execution unit 32 is not normal, the code of “A0” indicating that the flash memory 31 is defective is stored in the status register 34 as a determination result.
[0019]
When the process execution unit 32 of the memory device 24 receives the command from the tester 22, it starts erasing the data as described above. At this time, in order to inform the tester 22 that the internal operation is being performed, In synchronization with the rise of the write enable signal WEB, the signal level of the ready / busy signal changes from the H level to the L level.
[0020]
When the signal level of the ready / busy signal changes from the H level to the L level, the tester 22 recognizes that the memory device 24 is operating internally.
When the memory device 24 recognizes that the internal operation of the memory device 24 is in progress, it reads out the RAM 37 to be inspected and performs a test until the operation of the memory device 24 is completed. Is set to the L level, the switch 36 is turned on, and the switch 35 is turned off.
[0021]
As a result, the memory device 24 is disconnected from the internal bus 23 and the RAM 37 is connected to the internal bus 23. Therefore, the tester 22 issues a command to the RAM 37 and performs a read test of the RAM 37.
Note that the read test of the RAM 37 is completed in about several hundreds of milliseconds to one second, depending on the tester clock, and thus can be completed before the operation determination of the operation determination unit 33 is completed.
[0022]
After that, the tester 22 completes the operation determination of the operation determining unit 33, and when the processing executing unit 32 changes the signal level of the ready / busy signal from the L level to the H level, the tester 22 changes the output enable signal OEB of the L level. By outputting the result to the memory device 24, the determination result stored in the status register 34 is read, and it is determined whether the flash memory 31 is a non-defective product or a defective product.
[0023]
As is apparent from the above, according to the first embodiment, when the process execution unit 32 starts the writing process or the erasing process, the command is sent to the RAM 37 until the writing process or the erasing process is completed. Is issued to perform a read test of the RAM 37, so that the test efficiency of the tester 22 can be improved.
[0024]
Embodiment 2 FIG.
In the first embodiment, the case where the tester 22 changes the signal level of the bus switching signal in accordance with the signal level of the ready / busy signal has been described. However, as shown in FIG. A ready / busy signal may be given to the switches 35 and 36.
This eliminates the need for a bus switching signal, and has the effect of eliminating the bus switching signal dedicated pins in the LSI 21 and the tester 22.
[0025]
Embodiment 3 FIG.
In the first embodiment, the case where the second inspection target is the RAM 37 is described. However, the second inspection target may be the timer 38 as shown in FIG.
In this case, when the memory device 24 is operating internally, the tester 22 issues a command to the timer 38 and performs a count test of the timer 38. For example, the count value of the timer 38 before and after the command is issued is checked to check whether the count value is updated normally.
According to the third embodiment, since the count test of the timer 38 can be performed when the memory device 24 is operating internally, the test efficiency of the tester 22 can be improved.
[0026]
【The invention's effect】
As described above, according to the present invention, when the processing execution unit starts the writing process or the erasing process, the command is sent to other circuit blocks other than the memory until the writing process or the erasing process is completed. Is issued to test the other circuit blocks, so that there is an effect that the test efficiency of the tester can be improved.
[0027]
According to the present invention, when the processing execution means starts the writing processing or the erasing processing, the processing execution means is separated from the internal bus, and other circuit blocks other than the memory are connected to the internal bus. This makes it possible to test blocks other than the memory without complicating the operation.
[0028]
According to the present invention, since the memory is configured to be a flash memory, there is an effect that a product inspection of the flash memory can be performed.
[0029]
According to the present invention, when the processing execution means starts the writing processing or the erasing processing, the processing execution means is disconnected from the internal bus, a command is issued to the RAM, and a reading test of the RAM is performed. Therefore, there is an effect that a read test of the RAM can be performed at the time of product inspection of the flash memory.
[0030]
According to this invention, when the processing execution means starts the writing processing or the erasing processing, the processing execution means is disconnected from the internal bus, a command is issued to the timer, and a count test of the timer is performed. Therefore, there is an effect that a count test of a timer can be performed at the time of product inspection of a flash memory.
[Brief description of the drawings]
FIG. 1 is a configuration diagram showing a semiconductor integrated circuit according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing timings of various signals.
FIG. 3 is a configuration diagram showing a semiconductor integrated circuit according to a second embodiment of the present invention;
FIG. 4 is a configuration diagram showing a semiconductor integrated circuit according to a third embodiment of the present invention.
FIG. 5 is a configuration diagram showing a conventional semiconductor integrated circuit.
FIG. 6 is an explanatory diagram showing timings of various signals.
[Explanation of symbols]
21 LSI, 22 tester (command issuing unit), 23 internal bus, 24 memory device, 31 flash memory (memory), 32 processing execution unit (processing execution unit), 33 operation determination unit (operation determination unit), 34 status register, 35 switches, 36 switches, 37 RAM (other circuit blocks other than memory), 38 timers (other circuit blocks other than memory).