JP2000242517A - Semiconductor storage device - Google Patents

Semiconductor storage device

Info

Publication number
JP2000242517A
JP2000242517A JP11039051A JP3905199A JP2000242517A JP 2000242517 A JP2000242517 A JP 2000242517A JP 11039051 A JP11039051 A JP 11039051A JP 3905199 A JP3905199 A JP 3905199A JP 2000242517 A JP2000242517 A JP 2000242517A
Authority
JP
Japan
Prior art keywords
bus
writing
signal
memory
read
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
JP11039051A
Other languages
Japanese (ja)
Inventor
Keiji Takebe
部 啓 二 建
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP11039051A priority Critical patent/JP2000242517A/en
Publication of JP2000242517A publication Critical patent/JP2000242517A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

(57)【要約】 (修正有) 【課題】 回路面積の増大を抑制し、かつテスト時間の
短縮が可能な半導体記憶装置を提供する。 【解決手段】 E2 PROM4に書き込みむときは、C
PU1をバス10に接続して所定バイト分書き込む信号
を与え、タイミング発生回路6を非動作状態にする。E
2 PROM4が書き込みを開始すると、CPU1のバス
10への接続を解除し、タイミング発生回路6を接続す
る。E2 PROM4が所定バイト分書き込んでいる間、
タイミング発生回路6がROM2の読み出しやRAM3
の書き込み及び読み出しに必要な信号を与え、テストを
行う。ROM2及びRAM3から読み出されたデータは
データ圧縮器7に格納される。E2 PROM4の書き込
みが終了すると、タイミング発生回路6を非動作状態に
しCPU1をバス10に接続して、次の所定バイトの書
き込みに必要な信号を与える。
(57) [Summary] (with correction) [PROBLEMS] To provide a semiconductor memory device capable of suppressing an increase in circuit area and reducing test time. SOLUTION: When writing data to an E 2 PROM 4, C
The PU 1 is connected to the bus 10 to supply a signal for writing a predetermined number of bytes, and the timing generation circuit 6 is brought into a non-operation state. E
2 When the PROM 4 starts writing, the connection of the CPU 1 to the bus 10 is released, and the timing generation circuit 6 is connected. While the E 2 PROM 4 is writing predetermined bytes,
The timing generation circuit 6 reads the ROM 2 or the RAM 3
A signal necessary for writing and reading of data is given to perform a test. The data read from the ROM 2 and the RAM 3 is stored in the data compressor 7. When the writing of the E 2 PROM 4 is completed, the timing generation circuit 6 is deactivated, the CPU 1 is connected to the bus 10, and a signal necessary for writing the next predetermined byte is given.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、テストに必要な回
路を内蔵する半導体記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor memory device having a circuit necessary for a test.

【0002】[0002]

【従来の技術】1チップ上に、中央処理装置(以下、C
PUという)やメモリを含むMCU(Micro Controller
Unit )には、図3に示されるような構成を有するもの
がある。このMCU20は、同一チップ上にCPU2
1、ROM(Read Only Memory)22、RAM(Random
Access Memory)23、E2 PROM(Electrical Era
sable Programmable Read Only Memory )27、周辺回
路24が配置されており、相互にバス25により接続さ
れている。バス25は、一般にチップ面積上の制約から
1系統のみ設けられている。そして、チップの周辺部に
は多数の端子26が設けられている。この端子26に
は、電源端子VDD、接地端子GND、クロック端子CL
K、リセット端子/RST、入出力端子I/Oの他に、
外部からROM22、RAM23、E2 PROMをアク
セスできるように、制御端子が含まれている。
2. Description of the Related Art A central processing unit (hereinafter referred to as C) is mounted on one chip.
MCU (Micro Controller) including PU and memory
Unit) has a configuration as shown in FIG. The MCU 20 includes a CPU 2 on the same chip.
1. ROM (Read Only Memory) 22, RAM (Random)
Access Memory) 23, E 2 PROM (Electrical Era)
A sable programmable read only memory (27) and a peripheral circuit 24 are arranged and connected to each other by a bus 25. The bus 25 is generally provided with only one system due to restrictions on the chip area. A large number of terminals 26 are provided on the periphery of the chip. The terminal 26 includes a power terminal VDD, a ground terminal GND, and a clock terminal CL.
K, reset terminal / RST, input / output terminal I / O,
A control terminal is included so that the ROM 22, RAM 23, and E 2 PROM can be accessed from outside.

【0003】このようなMCU20では、制御端子を介
してROM22のデータを読み出し、さらにE2 PRO
M27及びRAM23にデータの書き込み及び読み出し
を行うことによりテストが可能である。
In such an MCU 20, data in the ROM 22 is read out via a control terminal, and furthermore, E 2 PRO
A test can be performed by writing and reading data to and from the M27 and the RAM 23.

【0004】ところが、MCUの中には例えばカード型
MCUのように外部からメモリをアクセスすることがで
きないものがある。図4に示されたMCU30は、端子
37として電源端子VDD、接地端子GND、クロック端
子CLK、リセット端子/RST、入出力端子I/Oの
みを有し、外部からROM32やRAM33をアクセス
するための制御端子を備えていない。
However, some MCUs, such as a card type MCU, cannot access a memory from the outside, for example. The MCU 30 shown in FIG. 4 has only a power supply terminal VDD, a ground terminal GND, a clock terminal CLK, a reset terminal / RST, and an input / output terminal I / O as terminals 37, and is used to access the ROM 32 and the RAM 33 from outside. No control terminal is provided.

【0005】このような場合には、ROM32やRAM
33、E2 PROM38を外部からアクセスしてテスト
することはできない。そこで、第1の手法としてROM
32の一部にテスト用プログラムを格納しておき、外部
のCPUを用いてソフトウェア処理を行いROM32、
RAM33及びE2 PROM38をテストすることが考
えられる。この手法によれば、新たな回路の付加を必要
としないが、テスト時間が長いという問題がある。
In such a case, a ROM 32 or a RAM
33. It is not possible to access and test the E 2 PROM 38 from outside. Therefore, as a first method, ROM
A test program is stored in a part of the ROM 32, and software processing is performed by using an external CPU.
It is conceivable to test the RAM 33 and the E 2 PROM 38. According to this method, it is not necessary to add a new circuit, but there is a problem that the test time is long.

【0006】あるいは第2の手法として、図5に示され
たように、同一チップ上にCPU31、ROM32、R
AM33、E2 PROM38、周辺回路34の他に、テ
スト用のアドレスやデータを発生するためのタイミング
発生器36を内蔵するというハードウェアの付加により
対処するものも存在した。この手法によれば、テスト時
間は第1の手法よりも短縮される。
[0006] Alternatively, as a second method, as shown in FIG. 5, a CPU 31, a ROM 32, an R
In addition to the AM 33, the E 2 PROM 38, and the peripheral circuit 34, there is also a countermeasure by adding hardware such as incorporating a timing generator 36 for generating a test address and data. According to this method, the test time is shorter than in the first method.

【0007】しかし、タイミング発生器36を用いてE
2 PROM38に書き込みを行ったとしても、この書き
込みに要する時間はROM32やRAM33のアクセス
時間と比較して極めて長い。よって、第2の手法を用い
たとしても十分にテスト時間を短縮するこはできなかっ
た。
However, using the timing generator 36,
Even write to 2 PROM38, time required for the writing is very long compared to the ROM32 and RAM33 access time. Therefore, even if the second method was used, the test time could not be sufficiently reduced.

【0008】第3の手法として、E2 PROM38にデ
ータの書き込みを行う処理と、ROM32からのデータ
の読み出しあるいはRAM33へのデータの書き込み及
び読み出しを並列して行うことも考えられる。しかし、
この手法ではバス35に2系統が要求され、さらにテス
ト用に付加される回路にもE2 PROM38用とROM
32及びRAM33用とが独立して必要である。従っ
て、チップ面積が増大しコストの増加を避けることはで
きなかった。
[0008] As a third method, a process of writing data to the E 2 PROM38, is also conceivable to carry out in parallel writing and reading of data to read or RAM33 data from ROM 32. But,
In this method, two systems are required for the bus 35, and the circuits added for the test are also used for the E 2 PROM 38 and the ROM.
32 and the RAM 33 are required independently. Therefore, an increase in chip area and an increase in cost cannot be avoided.

【0009】[0009]

【発明が解決しようとする課題】以上のように従来は、
外部制御端子を持たずに1チップ内で閉じているMCU
をテストする場合、テスト時間の短縮と回路面積の増大
とはトレードオフの関係にあり、テスト時間を短縮する
ためには回路面積を増大せざるを得ないという問題があ
った。
As described above, conventionally,
MCU closed in one chip without external control terminal
, There is a trade-off between the reduction of the test time and the increase of the circuit area, and there is a problem that the circuit area must be increased in order to reduce the test time.

【0010】本発明は上記事情に鑑み、回路面積の増大
を抑制し、かつテスト時間の短縮が可能な半導体記憶装
置を提供することを目的とする。
In view of the above circumstances, it is an object of the present invention to provide a semiconductor memory device capable of suppressing an increase in circuit area and reducing a test time.

【0011】[0011]

【課題を解決するための手段】本発明の半導体記憶装置
は、ー系統のバスと、前記バスに接続され、書き込みを
開始すると書き込み開始信号を出力し書き込みが終了す
ると書き込み終了信号を出力する電気的消去及びプログ
ラム可能読み出し専用メモリと、前記バスに接続された
読み出し専用メモリと、接続要求信号を与えられると前
記バスに接続し、前記電気的消去及びプログラム可能読
み出し専用メモリに対して書き込みに必要なデータを転
送し、接続解除要求信号を与えられると前記バスへの接
続を解除する演算処理部と、前記電気的消去及びプログ
ラム可能読み出し専用メモリが前記書き込み開始信号を
出力すると、前記演算処理部に前記接続解除要求信号を
与えるとともにイネーブル信号を出力し、前記電気的消
去及びプログラム可能読み出し専用メモリが前記書き込
み終了信号を出力すると、前記前記演算処理部に前記接
続要求信号を与えるとともにディスイネーブル信号を出
力する制御回路と、前記制御回路が前記イネーブル信号
を出力すると動作状態になり前記バスに接続され、前記
読み出し専用メモリに読み出しに必要な信号を与え、前
記制御回路が前記ディスイネーブル信号を出力すると非
動作状態になり前記バスへの接続を解除されるタイミン
グ発生器とを備えることを特徴としている。
According to the present invention, there is provided a semiconductor memory device which is connected to a bus of one system and outputs a write start signal when writing is started and outputs a write end signal when writing is completed. A read-only memory connected to the bus, a read-only memory connected to the bus, and a bus connected to the bus when given a connection request signal, and necessary for writing to the electrically-erasable and programmable read-only memory. An arithmetic processing unit that transfers the data and transfers the connection to the bus when a disconnection request signal is given; and the arithmetic processing unit when the electrically erasable and programmable read-only memory outputs the write start signal. And an enable signal is output to the electrical erasure and program When the read-only memory outputs the write end signal, the control circuit supplies the connection request signal to the arithmetic processing unit and outputs a disable signal, and the control circuit outputs an enable signal to enter an operation state. A timing generator that is connected to the bus, provides a signal necessary for reading to the read-only memory, and becomes inactive when the control circuit outputs the disable signal and is disconnected from the bus. It is characterized by:

【0012】前記読み出し専用メモリには、テストに必
要なプログラムが予め格納されており、前記演算処理部
によって前記プログラムが読み出されるものであっても
よい。
A program necessary for a test may be stored in the read-only memory in advance, and the program may be read by the arithmetic processing unit.

【0013】また、前記電気的消去及びプログラム可能
読み出し専用メモリと、前記読み出し専用メモリとから
読み出されたデータを与えられて圧縮し格納するデータ
圧縮器をさらに備えてもよい。
[0013] The electronic erasure and programmable read only memory may further include a data compressor for receiving, compressing and storing data read from the read only memory.

【0014】さらに、前記バスに接続され、前記タイミ
ング発生器から書き込み及び読み出しに必要な信号を与
えられて書き込み及び読み出しを行う書き込み及び読み
出しメモリを備えることもできる。
[0014] Further, a write and read memory connected to the bus and receiving and writing signals required for writing and reading from the timing generator may be provided.

【0015】[0015]

【発明の実施の形態】以下、本発明のー実施の形態につ
いて図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0016】本実施の形態による半導体記憶装置は、図
1に示されるような構成を備えている。この装置は、C
PU1、ROM2、RAM3、E2 PROM4及びバス
10を同一チップ上に備え、さらにテスト用回路として
制御回路5、タイミング発生器6、バッファ8及びデー
タ圧縮器7を有している。
The semiconductor memory device according to the present embodiment has a configuration as shown in FIG. This device is C
A PU 1, a ROM 2, a RAM 3, an E 2 PROM 4 and a bus 10 are provided on the same chip, and a control circuit 5, a timing generator 6, a buffer 8 and a data compressor 7 are provided as test circuits.

【0017】バス10は、チップ面積の増大を防ぐため
ー系統のみ設けられ、後述する手順によりCPU1とタ
イミング発生器6のいずれか一方がバス10に接続さ
れ、他方は切り離される。
The bus 10 is provided with only one system to prevent an increase in chip area, and one of the CPU 1 and the timing generator 6 is connected to the bus 10 and the other is disconnected according to a procedure described later.

【0018】CPU1は、バス10に接続されている
間、E2 PROM4のテストに必要なアドレス、書き込
みデータ、書き込み又は読み出し制御信号、タイミング
信号等を、バス10を介してE2 PROM4に与える。
[0018] CPU1 while it is connected to the bus 10, the test address required to E 2 PROM 4, write data, write or read control signal, the timing signal or the like, gives the E 2 PROM 4 via the bus 10.

【0019】ROM2は、その一部にテスト用プログラ
ムを格納したテスト用ROM2aを含み、テスト時には
このテスト用プログラムがCPU1によって読み出され
る。そして、ROM2のうちテスト用ROM2a以外の
領域に格納されたデータが、タイミング発生器6から読
み出しに必要な各種制御信号に従って読み出される。
The ROM 2 includes a test ROM 2a in which a test program is stored, and the test program is read by the CPU 1 during a test. Then, data stored in an area of the ROM 2 other than the test ROM 2a is read from the timing generator 6 in accordance with various control signals necessary for reading.

【0020】RAM3は、タイミング発生器6からテス
トに必要なデータを与えられて書き込みを行い、タイミ
ング発生器6によって読み出される。
The RAM 3 is supplied with data necessary for the test from the timing generator 6, performs writing, and is read by the timing generator 6.

【0021】E2 PROM4は、CPU1から書き込み
に必要なデータを与えられて、1バイト等の所定ブロッ
ク毎に書き込みを行っていき、書き込み終了後にCPU
1により読み出される。
The E 2 PROM 4 is supplied with data necessary for writing from the CPU 1 and writes data in predetermined blocks such as one byte.
1 is read.

【0022】制御回路5は、テストを行うために必要な
各種制御を行うもので、例えばCPU1及びタイミング
発生器6のいずれか一方をバス10に接続し他方を切り
離す制御や、タイミング発生器6を動作状態又は非動作
状態にする制御を行う。
The control circuit 5 performs various controls necessary for conducting a test. For example, one of the CPU 1 and the timing generator 6 is connected to the bus 10 and the other is disconnected. Control is performed to set an operation state or a non-operation state.

【0023】バッファ8は、制御回路5の制御に基づい
て動作し、タイミング発生器6からの出力をバス10に
転送する。
The buffer 8 operates under the control of the control circuit 5 and transfers the output from the timing generator 6 to the bus 10.

【0024】データ圧縮器7は、ROM2、RAM3及
びE2 PROM4から読み出されたデータを与えられて
圧縮し格納する。
The data compressor 7 receives the data read from the ROM 2, RAM 3, and E 2 PROM 4 and compresses and stores the data.

【0025】このような構成を備えた本実施の形態によ
る半導体記憶装置では、CPU1とタイミング発生器6
とのバス10への接続を切り換えることで、書き込み時
間が長いE2 PROM4が書き込みを行っている最中に
ROM2やRAM3のテストを行い、複数のメモリのテ
スト処理を並行して行う点に特徴がある。以下に、その
処理の手順について述べる。
In the semiconductor memory device according to the present embodiment having such a configuration, the CPU 1 and the timing generator 6
By switching the connection to the bus 10, the ROM 2 and the RAM 3 are tested while the E 2 PROM 4 having a long writing time is performing writing, and the test processing of a plurality of memories is performed in parallel. There is. The procedure of the processing will be described below.

【0026】(1) 先ず、テスト開始時にはCPU1
がバス10に接続され、タイミング発生器6は非動作状
態にあり、バス10に接続されていない。テスト用RO
M2aに格納されているテスト用プログラムをCPU1
が読み出し、テスト処理を開始する。そして、E2 PR
OM4の1バイト等の所定ブロックを単位とする書き込
みに必要なアドレス、書き込みデータ、タイミング信
号、書き込み信号等の各種制御信号を、CPU1がE2
PROM4に与える。
(1) First, at the start of the test, the CPU 1
Is connected to the bus 10, the timing generator 6 is in a non-operating state, and is not connected to the bus 10. Test RO
The test program stored in M2a
Reads out and starts a test process. And E 2 PR
Address required for writing in units of predetermined blocks such as 1-byte OM4, write data, timing signals, various control signals such as write signal, CPU 1 is E 2
Give to PROM4.

【0027】(2) E2 PROM4は、書き込み状態
に入ると同時に、Ready/Busy(以下、R/Bという)信
号を制御回路5に出力し、所定ブロック分の書き込み処
理を開始する。
(2) The E2 PROM 4 outputs a Ready / Busy (hereinafter referred to as R / B) signal to the control circuit 5 at the same time as entering the write state, and starts the write processing for a predetermined block.

【0028】(3) 制御回路5はR/B信号を与えら
れると、CPU1に対してバス10を開放することを要
求する/Bus Request(以下、/BUSREQという)信
号を出力する。
(3) Upon receiving the R / B signal, the control circuit 5 outputs a / Bus Request (hereinafter referred to as / BUSREQ) signal requesting the CPU 1 to release the bus 10.

【0029】(4) CPU1は/BUSREQ信号を
与えられると、バス10への接続を切り離して開放し、
開放したことを示す/Bus Acknoledge (以下、/BUS
ACKという)信号を制御回路5に出力する。
(4) Upon receiving the / BUSREQ signal, the CPU 1 disconnects and opens the connection to the bus 10,
/ Bus Acknoledge (hereinafter / BUS)
ACK) is output to the control circuit 5.

【0030】(5) 制御回路5は/BUSACK信号
を与えられ、タイミング発生器6及びバッファ8にイネ
ーブル信号ENを出力して共に動作状態にする。これに
より、タイミング発生器6はバス10に接続される。
(5) The control circuit 5 is supplied with the / BUSACK signal, outputs an enable signal EN to the timing generator 6 and the buffer 8, and puts both into an operating state. Thereby, the timing generator 6 is connected to the bus 10.

【0031】(6) タイミング発生器6からROM2
の読み出しに必要なタイミング信号等の各種制御信号が
ROM2に与えられ、格納されているデータが読み出さ
れてバス10に転送される。この読み出されたデータ
は、データ圧縮器7に与えられて圧縮された状態で格納
される。
(6) From the timing generator 6 to the ROM 2
Various control signals such as timing signals necessary for reading the data are supplied to the ROM 2, and the stored data is read and transferred to the bus 10. The read data is supplied to the data compressor 7 and stored in a compressed state.

【0032】(7) また、RAM3のテストに必要な
書き込み用データ、書き込み制御信号、タイミング信号
等の各種制御信号がタイミング発生器6によって発生さ
れ、RAM3に与えられる。これにより、RAM3への
データの書き込みが行われる。書き込み終了後は、タイ
ミング発生器6から読み出しに必要な各種信号がRAM
3に与えられ、書き込んだデータが読み出される。この
データは、データ圧縮器7により圧縮されて格納され
る。ここで、E2 PROM4への所定ブロック分の書き
込みが行われている最中に、ROM2とRAM3のいず
れか一方のみをテストしてもよく、両者を順にテストし
てもよい。
(7) Various control signals such as write data, a write control signal, and a timing signal required for testing the RAM 3 are generated by the timing generator 6 and supplied to the RAM 3. As a result, data is written to the RAM 3. After the writing is completed, various signals necessary for reading are read from the timing generator 6 to the RAM.
3, and the written data is read. This data is compressed by the data compressor 7 and stored. Here, while the writing of a predetermined block into the E2 PROM 4 is being performed, only one of the ROM 2 and the RAM 3 may be tested, or both may be tested sequentially.

【0033】(8) E2 PROM4の所定ブロック分
のデータ書き込みが終了すると、E2 PROM4がR/
B信号のレベルを元に戻し、書き込みが終了したことを
制御回路5に伝える。
(8) When the data writing for the predetermined block of the E 2 PROM 4 is completed, the E 2 PROM 4
The level of the B signal is returned to the original level, and the completion of the writing is notified to the control circuit 5.

【0034】(9) 制御回路5は、このR/B信号の
戻りを受けて、タイミング発生器6及びバッファ8にデ
ィスイネーブル信号を与えて非動作状態にし、バス10
から切り離す。これにより、ROM2及び/又はRAM
3のテスト処理が一時中断する。
(9) In response to the return of the R / B signal, the control circuit 5 supplies a disable signal to the timing generator 6 and the buffer 8 to deactivate the bus, and the bus 10
Disconnect from Thereby, the ROM 2 and / or the RAM
The test process of No. 3 is temporarily suspended.

【0035】(10) 制御回路5が/BUSREQ信
号を元のレベルに戻し、CPU1に対してバス10に接
続することを要求する。
(10) The control circuit 5 returns the / BUSREQ signal to the original level, and requests the CPU 1 to connect to the bus 10.

【0036】(11) CPU1がバス10に接続し、
/BUSACK信号を元のレベルに戻してこのことを制
御回路5に伝える。そして、E2 PROM4に対し、次
の所定ブロック分の書き込みに必要な各種データを一括
して転送する。
(11) The CPU 1 connects to the bus 10,
The / BUSACK signal is returned to the original level and this is transmitted to the control circuit 5. Then, various data necessary for writing the next predetermined block is transferred to the E 2 PROM 4 at a time.

【0037】(12) E2 PROM4は与えられたデ
ータを用いて、書き込み動作を再び開始する。
(12) The E2 PROM 4 restarts the write operation using the given data.

【0038】以降、上記(2)〜(12)の動作を、E
2 PROM4への書き込みが完了するまで繰り返す。こ
こで、ROM2のデータの読み出し及び/又はRAM3
へのデータの書き込み及び読み出し動作は、一時中断し
た箇所から再開される。
Hereinafter, the operations of (2) to (12) are described as E
2 Repeat until writing to PROM 4 is completed. Here, reading of data from ROM 2 and / or RAM 3
The operation of writing data to and reading data from the memory are resumed from the point where the operation was interrupted.

【0039】(13) CPU1がE2 PROM4に書
き込んだデータを読み出して、全ビット毎に期待値と比
較して良品か否かを判定し、その結果を出力する。全ビ
ット比較するのは、書き込み時間と比べて読み出しに要
する時間はきわめて短いからである。
(13) The CPU 1 reads out the data written in the E 2 PROM 4, compares it with the expected value for every bit, determines whether or not the product is non-defective, and outputs the result. The reason why all bits are compared is that the time required for reading is extremely shorter than the writing time.

【0040】(14) データ圧縮器7に格納されたR
OM2、RAM3のデータに対し、CPU1が期待値と
比較して良品か否かの判定を行い、その結果を出力す
る。
(14) R stored in the data compressor 7
The CPU 1 compares the data in the OM 2 and the RAM 3 with expected values to determine whether or not the data is non-defective, and outputs the result.

【0041】図2に、R/B信号、/BUSREQ、/
BUSACK、EN信号のタイムチャートを示す。E2
PROM4が書き込み動作を開始すると、R/B信号が
ハイレベルからロウレベルに立ち下がる。制御回路5が
CPU1に対してバス10の開放を要求する/BUSR
EQ信号が、ハイレベルからロウレベルに立ち下がる。
CPU1がバス10への接続を解除すると、開放したこ
とを示す/BUSACK信号が、時点t1においてハイ
レベルからロウレベルに立ち下がる。制御回路5が、ロ
ウレベルからハイレベルに立ち上がるイネーブル信号E
Nをタイミング発生器6及びバッファ8に与えると、タ
イミング発生器6がバス10に接続される。
FIG. 2 shows R / B signals, / BUSREQ,
4 shows a time chart of the BUSACK and EN signals. E 2
When the PROM 4 starts the write operation, the R / B signal falls from the high level to the low level. The control circuit 5 requests the CPU 1 to release the bus 10 / BUSR
The EQ signal falls from the high level to the low level.
When the CPU 1 releases the connection to the bus 10, the / BUSACK signal indicating that the connection has been released falls from the high level to the low level at time t1. The control circuit 5 generates an enable signal E rising from a low level to a high level.
When N is given to the timing generator 6 and the buffer 8, the timing generator 6 is connected to the bus 10.

【0042】次に、E2 PROM4が書き込み動作を終
了し、R/B信号がロウレベルからハイレベルに戻る。
このR/B信号の戻りを受けた制御回路5が、ハイレベ
ルからロウレベルに立ち下がるイネーブル信号ENをタ
イミング発生器6及びバッファ8に与える。これによ
り、タイミング発生器6がバス10から切り離される。
制御回路5がCPU1に対してバス10に接続すること
を要求する/BUSREQ信号のレベルが、ロウからハ
イに戻る。CPU1がバス10に接続すると、接続した
ことを示す/BUSACK信号が、時点t2においてロ
ウレベルからハイレベルに戻る。時点t3になると、再
び時点t1と同様な動作が開始される。
Next, the E 2 PROM 4 ends the write operation, and the R / B signal returns from the low level to the high level.
The control circuit 5 receiving the return of the R / B signal supplies the enable signal EN, which falls from the high level to the low level, to the timing generator 6 and the buffer 8. As a result, the timing generator 6 is disconnected from the bus 10.
The level of the / BUSREQ signal requesting the control circuit 5 to connect the CPU 1 to the bus 10 returns from low to high. When the CPU 1 connects to the bus 10, the / BUSACK signal indicating the connection returns from the low level to the high level at time t2. At time t3, the same operation as at time t1 is started again.

【0043】ここで、時点t1から時点t2までの間、
バス10にはタイミング発生器6が接続されており、E
2 PROM4への所定ブロック分の書き込みを行ってい
る最中に他のROM2及び/又はRAM3のテストが行
われる。
Here, from time t1 to time t2,
The timing generator 6 is connected to the bus 10 and
2 While the writing of a predetermined block into the PROM 4 is being performed, another ROM 2 and / or RAM 3 is tested.

【0044】時点t2から時点t3までの間は、バス1
0にはCPU1が接続され、CPU1からE2 PROM
4に書き込みに必要がデータが転送される。
Between the time point t2 and the time point t3, the bus 1
0 CPU1 is connected to, E 2 PROM from CPU1
Data necessary for writing is transferred to No. 4.

【0045】このように、本実施の形態によれば、E2
PROM4への書き込み動作と、ROM2の読み出し及
び/又はRAM3への書き込み及び読み出し動作とを並
列して進めていくことができる。よって、従来よりもテ
スト時間を短縮することが可能である。また、バス10
やテスト用付加回路を2系統に増設することなく、1系
統のままで並列処理を行うことができるので、回路面積
の増大を防止することが可能である。
As described above, according to the present embodiment, E 2
The write operation to the PROM 4 and the read operation to the ROM 2 and / or the write and read operation to the RAM 3 can proceed in parallel. Therefore, it is possible to shorten the test time as compared with the related art. In addition, bus 10
The parallel processing can be performed with one system without adding additional test and additional circuits to two systems, so that an increase in circuit area can be prevented.

【0046】上述した実施の形態はー例であり、本発明
を限定するものではない。例えば、上記実施の形態では
2 PROM4とテスト用プログラムを格納したROM
2の他に、RAM3を備えている。しかし、RAMは備
えていない装置に対しても本発明を適用することができ
る。
The above-described embodiment is an example, and does not limit the present invention. For example, in the above embodiment, the E 2 PROM 4 and the ROM storing the test program are used.
2 and a RAM 3. However, the present invention can be applied to a device that does not include a RAM.

【0047】[0047]

【発明の効果】以上説明したように、本発明の半導体記
憶装置によれば、ー系統のバスに対する演算処理部とタ
イミング発生回路との接続を切り替えることで、演算処
理部を用いた電気的消去及びプログラム可能読み出し専
用メモリへの書き込み動作と、タイミング発生回路を用
いた読み出し専用メモリの読み出し動作とを並列して行
うことで、回路面積の増大を伴うことなくテスト時間を
短縮することができる。
As described above, according to the semiconductor memory device of the present invention, the electrical erasure using the arithmetic processing unit is switched by switching the connection between the arithmetic processing unit and the timing generation circuit for the primary system bus. In addition, by performing the write operation to the programmable read-only memory and the read operation to the read-only memory using the timing generation circuit in parallel, the test time can be reduced without increasing the circuit area.

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

【図1】本発明のー実施の形態による半導体記憶装置の
構成を示したブロック図。
FIG. 1 is a block diagram showing a configuration of a semiconductor memory device according to an embodiment of the present invention.

【図2】同半導体記憶装置における各制御信号の波形を
示すタイムチャート。
FIG. 2 is a time chart showing waveforms of control signals in the semiconductor memory device.

【図3】従来のMCUの概略構成を示したブロック図。FIG. 3 is a block diagram showing a schematic configuration of a conventional MCU.

【図4】従来の他のMCUの概略構成を示したブロック
図。
FIG. 4 is a block diagram showing a schematic configuration of another conventional MCU.

【図5】従来のさらに他のMCUの概略構成を示したブ
ロック図。
FIG. 5 is a block diagram showing a schematic configuration of another conventional MCU.

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

1 CPU 2 ROM 2a テスト用ROM 3 RAM 4 E2 PROM 5 制御回路 6 タイミング発生器 7 データ圧縮器1 CPU 2 ROM 2a test ROM 3 RAM 4 E 2 PROM 5 control circuit 6 timing generator 7 data compressor

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】ー系統のバスと、 前記バスに接続され、書き込みを開始すると書き込み開
始信号を出力し書き込みが終了すると書き込み終了信号
を出力する電気的消去及びプログラム可能読み出し専用
メモリと、 前記バスに接続された読み出し専用メモリと、 接続要求信号を与えられると前記バスに接続し、前記電
気的消去及びプログラム可能読み出し専用メモリに対し
て書き込みに必要なデータを転送し、接続解除要求信号
を与えられると前記バスへの接続を解除する演算処理部
と、 前記電気的消去及びプログラム可能読み出し専用メモリ
が前記書き込み開始信号を出力すると、前記演算処理部
に前記接続解除要求信号を与えるとともにイネーブル信
号を出力し、前記電気的消去及びプログラム可能読み出
し専用メモリが前記書き込み終了信号を出力すると、前
記前記演算処理部に前記接続要求信号を与えるとともに
ディスイネーブル信号を出力する制御回路と、 前記制御回路が前記イネーブル信号を出力すると動作状
態になり前記バスに接続され、前記読み出し専用メモリ
に読み出しに必要な信号を与え、前記制御回路が前記デ
ィスイネーブル信号を出力すると非動作状態になり前記
バスへの接続を解除されるタイミング発生器と、 を備えることを特徴とする半導体記憶装置。
An electrically erasable and programmable read-only memory connected to the bus and outputting a write start signal when writing is started and outputting a write end signal when writing is completed; and A read-only memory connected to the bus, receiving the connection request signal, connecting to the bus, transferring data necessary for writing to the electrically erasable and programmable read-only memory, and providing a disconnection request signal An operation processing unit that disconnects the connection to the bus when the electrical erasing and programmable read-only memory outputs the write start signal, and provides the operation processing unit with the disconnection request signal and an enable signal. Output and the electrically erasable and programmable read only memory completes the write. A control circuit that supplies the connection request signal to the arithmetic processing unit and outputs a disable signal when the signal is output; and a control circuit that is activated when the control circuit outputs the enable signal, is connected to the bus, and is connected to the bus. A timing generator which supplies a signal necessary for reading to a dedicated memory, and which is inactivated when the control circuit outputs the disable signal and is disconnected from the bus. apparatus.
【請求項2】前記電気的消去及びプログラム可能読み出
し専用メモリと、前記読み出し専用メモリとから読み出
されたデータを与えられて圧縮し格納するデータ圧縮器
をさらに備えることを特徴とする請求項1記載の半導体
記憶装置。
2. The system of claim 1, further comprising: a read only memory that is electrically erasable and programmable; and a data compressor that receives, compresses, and stores data read from the read only memory. 13. The semiconductor memory device according to claim 1.
【請求項3】前記バスに接続され、前記タイミング発生
器から書き込み及び読み出しに必要な信号を与えられて
書き込み及び読み出しを行う書き込み及び読み出しメモ
リをさらに備えることを特徴とする請求項1又は2記載
の半導体記憶装置。
3. The memory according to claim 1, further comprising a write and read memory connected to said bus and receiving and writing signals required for writing and reading from said timing generator to perform writing and reading. Semiconductor storage device.
JP11039051A 1999-02-17 1999-02-17 Semiconductor storage device Pending JP2000242517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11039051A JP2000242517A (en) 1999-02-17 1999-02-17 Semiconductor storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11039051A JP2000242517A (en) 1999-02-17 1999-02-17 Semiconductor storage device

Publications (1)

Publication Number Publication Date
JP2000242517A true JP2000242517A (en) 2000-09-08

Family

ID=12542340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11039051A Pending JP2000242517A (en) 1999-02-17 1999-02-17 Semiconductor storage device

Country Status (1)

Country Link
JP (1) JP2000242517A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006059355A (en) * 2004-08-16 2006-03-02 Saifun Semiconductors Ltd Nonvolatile memory device controlled by microcontroller
JP2008192271A (en) * 2007-02-08 2008-08-21 Nec Electronics Corp Semiconductor device and its test method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006059355A (en) * 2004-08-16 2006-03-02 Saifun Semiconductors Ltd Nonvolatile memory device controlled by microcontroller
JP2008192271A (en) * 2007-02-08 2008-08-21 Nec Electronics Corp Semiconductor device and its test method

Similar Documents

Publication Publication Date Title
US7233541B2 (en) Storage device
US7725621B2 (en) Semiconductor device and data transfer method
JP2000065899A (en) Semiconductor device and data rewriting method thereof
US20140237207A1 (en) Method and system for enhanced performance in serial peripheral interface
US5884074A (en) Microcomputer utilizing flash memory for data storage
GB2276744A (en) Memory module with parity bit emulation.
US8015329B2 (en) Data transfer coherency device and methods thereof
US7533275B2 (en) Data processing apparatus and memory card using the same
US7149944B2 (en) Semiconductor integrated circuit device equipped with read sequencer and write sequencer
CN111447121B (en) Test method, device, equipment and storage medium of PCIE controller
JP3484296B2 (en) Semiconductor integrated circuit
JP2000242517A (en) Semiconductor storage device
CN100375946C (en) device identification
JP3189816B2 (en) Semiconductor storage device
CN117093535A (en) A power-on recovery method for system-on-chip and related systems
CN116719583B (en) Starting method, programmable logic device, computing equipment and storage medium
JP2580999B2 (en) DMA controller
CN220252843U (en) Verification device for electronic fuse operation logic
JPH0520474A (en) One chip microcomputer
JP2003099164A (en) Connection method between boards
JP2877505B2 (en) LSI mounting board and data processing device
JP2002024081A (en) Semiconductor integrated circuit device
JP2002215413A (en) Firmware transfer method and inter-module data transmission system
JP3071044B2 (en) Test method for semiconductor integrated circuit with microcomputer
JP2819329B2 (en) Program storage device