JP3410809B2 - Semiconductor memory - Google Patents

Semiconductor memory

Info

Publication number
JP3410809B2
JP3410809B2 JP08949294A JP8949294A JP3410809B2 JP 3410809 B2 JP3410809 B2 JP 3410809B2 JP 08949294 A JP08949294 A JP 08949294A JP 8949294 A JP8949294 A JP 8949294A JP 3410809 B2 JP3410809 B2 JP 3410809B2
Authority
JP
Japan
Prior art keywords
signal
circuit
precharge
read
input
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.)
Expired - Fee Related
Application number
JP08949294A
Other languages
Japanese (ja)
Other versions
JPH07296598A (en
Inventor
清春 笈川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP08949294A priority Critical patent/JP3410809B2/en
Publication of JPH07296598A publication Critical patent/JPH07296598A/en
Application granted granted Critical
Publication of JP3410809B2 publication Critical patent/JP3410809B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Microcomputers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、MCU内部の大容量メ
モリテスト回路に関するもので、特にMOSメモリ回路
を内蔵する1チップMCU・LSIに使用されるもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a large-capacity memory test circuit inside an MCU, and more particularly to a one-chip MCU / LSI incorporating a MOS memory circuit.

【0002】[0002]

【従来の技術】図12は、従来の1チップMCU・LS
Iを示している。XINは、入力端子、XOUTは、出
力端子である。XIN端子11から入力したクロック
は、内部クロック発生回路13に入力される。内部クロ
ック発生回路13は、このクロックに基づいて、FPH
信号、PH1信号及びPH2信号をそれぞれ生成する。
2. Description of the Related Art FIG. 12 shows a conventional one-chip MCU / LS.
I is shown. XIN is an input terminal and XOUT is an output terminal. The clock input from the XIN terminal 11 is input to the internal clock generation circuit 13. Based on this clock, the internal clock generation circuit 13 outputs the FPH
Signal, PH1 signal, and PH2 signal, respectively.

【0003】CPU17は、BTO信号及びTE信号を
出力する。プリチャ−ジ生成回路14は、PH1信号、
PH2信号、BTO信号及びTE信号に基づいて、A2
信号を生成する。A2信号は、行デコ−ダ回路15及び
列セレクタ/プリチャ−ジ回路22に入力される。
The CPU 17 outputs a BTO signal and a TE signal. The precharge generation circuit 14 uses the PH1 signal,
A2 based on PH2 signal, BTO signal and TE signal
Generate a signal. The A2 signal is input to the row decoder circuit 15 and the column selector / precharge circuit 22.

【0004】セレクタ18には、CPU17内のプログ
ラムカウンタのCALn信号、及び外部端子19のTA
Ln信号がポ−ト20を介して、それぞれ入力される。
セレクタ18は、CPUモ−ド時においては、CPU1
7内のプログラムカウンタのCALn信号を選択し、メ
モリテストモ−ド時においては、外部端子19のTAL
n信号を選択する。
The selector 18 has a CALn signal from a program counter in the CPU 17 and a TA from an external terminal 19.
The Ln signal is input via the port 20.
The selector 18 is the CPU 1 in the CPU mode.
The CALn signal of the program counter in 7 is selected, and in the memory test mode, TAL of the external terminal 19 is selected.
Select the n signal.

【0005】CALn信号又はTALn信号が内部アド
レスALnとなり、この内部アドレスALnが行デコ−
ダ回路16及び列デコ−ダ回路17にそれぞれ入力され
る。行デコ−ダ回路16は、選択ゲ−ト信号SLn,S
Rn及びワ−ド線信号WL0〜WLnをメモリセル回路
/ディスチャ−ジ回路16に供給する。列デコ−ダ17
は、カラム選択信号CL0〜CLnを列セレクタ/プリ
チャ−ジ回路22に供給する。
The CALn signal or the TALn signal becomes the internal address ALn, and this internal address ALn is used for the row decoding.
The data is input to the decoder circuit 16 and the column decoder circuit 17, respectively. The row decoder circuit 16 has selection gate signals SLn and S.
The Rn and word line signals WL0 to WLn are supplied to the memory cell circuit / discharge circuit 16. Row decoder 17
Supplies the column selection signals CL0 to CLn to the column selector / precharge circuit 22.

【0006】メモリセル回路/ディスチャ−ジ回路16
から読み出されたビットデ−タBIT0〜BITnは、
列セレクタ/プリチャ−ジ回路22により選択され、読
み出し回路27に入力される。
Memory cell circuit / discharging circuit 16
The bit data BIT0 to BITn read from
It is selected by the column selector / precharge circuit 22 and input to the read circuit 27.

【0007】セレクタ23には、CPU17からCRD
信号、及び外部端子24のTRD信号がポ−ト25を介
して、それぞれ入力される。セレクタ23は、CPUモ
−ド時においては、CPU17内のCRD信号を選択
し、メモリテストモ−ド時においては、外部端子24の
TRD信号を選択する。
From the CPU 17 to the CRD, the selector 23
The signal and the TRD signal from the external terminal 24 are input via the port 25, respectively. The selector 23 selects the CRD signal in the CPU 17 in the CPU mode, and selects the TRD signal of the external terminal 24 in the memory test mode.

【0008】CRD信号又はTRD信号は、読み出し制
御回路26に入力される。読み出し制御回路26は、ラ
ッチ信号MLATCH及び出力イネ−ブル信号OEを読
み出し回路27に供給する。読み出し回路27から出力
されたデ−タは、デ−タバスMBUSn、ポ−ト28及
び出力端子29を介して外部に出力される。図13は、
図12のプリチャ−ジ生成回路14の構成を詳細に示す
回路図である。このプリチャ−ジ生成回路14は、クロ
ックドインバ−タ114,115、AND112、NO
R113,118、NAND117及びインバ−タ11
3,116,119,120,121から構成されてい
る。CLKOUT信号及びROMTEST信号は、AN
D112のに入力される。BTO信号及びAND112
の出力信号は、NOR113に入力されている。
The CRD signal or TRD signal is input to the read control circuit 26. The read control circuit 26 supplies the latch signal MLATCH and the output enable signal OE to the read circuit 27. The data output from the read circuit 27 is output to the outside through the data bus MBUSn, the port 28 and the output terminal 29. Figure 13
FIG. 13 is a circuit diagram showing in detail the configuration of precharge generation circuit 14 of FIG. 12. The precharge generation circuit 14 includes clocked inverters 114 and 115, an AND 112 and a NO.
R113, 118, NAND 117 and inverter 11
3, 116, 119, 120, 121. The CLKOUT signal and the ROMTEST signal are AN
It is input to D112. BTO signal and AND112
The output signal of is input to the NOR 113.

【0009】NOR113の出力信号は、クロックドイ
ンバ−タ114,115及びインバ−タ116を介して
NAND117に入力されている。クロックドインバ−
タ114は、PH2信号により制御され、クロックドイ
ンバ−タ115は、PH1信号により制御されている。
The output signal of the NOR 113 is input to the NAND 117 via the clocked inverters 114 and 115 and the inverter 116. Clocked Inver
The controller 114 is controlled by the PH2 signal, and the clocked inverter 115 is controlled by the PH1 signal.

【0010】ROMTEST信号及びROMCS信号
は、NOR118に入力され、NOR118の出力信号
は、インバ−タ119を介してNAND117に入力さ
れている。NAND117には、TE信号も入力されて
いる。NAND117の出力信号は、インバ−タ12
0,121を介すことによりA2信号となる。図14
は、図12の読み出し制御回路(ラッチ制御回路を含
む)の構成を詳細に示すものである。ラッチ制御回路
は、NAND122及びインバ−タ123から構成され
ている。PH2信号は、NAND122の一方の入力端
に入力され、TE信号は、NAND122の他方の入力
端に入力されている。NAND122は、インバ−タ1
23を介してMLATCH信号を出力する。
The ROMTEST signal and the ROMCS signal are input to the NOR 118, and the output signal of the NOR 118 is input to the NAND 117 via the inverter 119. The TE signal is also input to the NAND 117. The output signal of the NAND 117 is the inverter 12
An A2 signal is obtained through 0 and 121. 14
12 shows the configuration of the read control circuit (including the latch control circuit) in FIG. 12 in detail. The latch control circuit is composed of a NAND 122 and an inverter 123. The PH2 signal is input to one input end of the NAND 122, and the TE signal is input to the other input end of the NAND 122. The NAND 122 is an inverter 1
The MLATCH signal is output via 23.

【0011】読み出し制御回路は、NAND124,1
26及びインバ−タ125,127により構成されてい
る。ROMCS信号及びRD信号は、NAND124に
入力される。NAND124の出力信号は、インバ−タ
125を介してNAND126に入力される。Ph1信
号も、NAND126に入力される。NAND126
は、インバ−タ127を介して読み出し制御信号OEを
出力する。図15は、図12の回路においてCPUモ−
ド時のタイミングチャ−トを示し、図16は、図12の
回路においてメモリテストモ−ド時のタイミングチャ−
トを示している。
The read control circuit is composed of NANDs 124, 1
26 and inverters 125 and 127. The ROMCS signal and the RD signal are input to the NAND 124. The output signal of the NAND 124 is input to the NAND 126 via the inverter 125. The Ph1 signal is also input to the NAND 126. NAND126
Outputs the read control signal OE via the inverter 127. FIG. 15 shows a CPU mode in the circuit of FIG.
FIG. 16 shows a timing chart at the time of memory test mode in the circuit of FIG.
Is showing

【0012】図15の回路の動作について詳細に説明す
る。まず、CPUモ−ド時のメモリデ−タの読み出し動
作について、図15を参照しながら説明する。
The operation of the circuit of FIG. 15 will be described in detail. First, the read operation of the memory data in the CPU mode will be described with reference to FIG.

【0013】XIN端子11から入力したクロックは、
内部クロック発生回路13に入力される。内部クロック
発生回路13は、このクロックに基づいて、FPH信
号、PH1信号及びPH2信号をそれぞれ生成する。
The clock input from the XIN terminal 11 is
It is input to the internal clock generation circuit 13. The internal clock generation circuit 13 generates the FPH signal, the PH1 signal, and the PH2 signal, respectively, based on this clock.

【0014】CPU17は、BTO信号及びTE信号を
出力する。プリチャ−ジ生成回路14は、PH1信号、
PH2信号、BTO信号及びTE信号に基づいて、A2
信号を生成する。
The CPU 17 outputs a BTO signal and a TE signal. The precharge generation circuit 14 uses the PH1 signal,
A2 based on PH2 signal, BTO signal and TE signal
Generate a signal.

【0015】また、CPUモ−ド時においては、CPU
17内のプログラムカウンタのCALn信号がセレクタ
18により選択され、このCALn信号が内部アドレス
ALnとなり、行デコ−ダ回路15及び列デコ−ダ回路
21に入力される。CALn信号は、PH1信号を2分
周した立ち上がりエッジで変化する信号である。
In the CPU mode, the CPU
The CALn signal of the program counter in 17 is selected by the selector 18, and this CALn signal becomes the internal address ALn and is input to the row decoder circuit 15 and the column decoder circuit 21. The CALn signal is a signal that changes at the rising edge obtained by dividing the PH1 signal by two.

【0016】ALn信号がメモリアドレスエリアに設定
された時、PH2信号の立ち上がりで、ROMCS(メ
モリエリアイネ−ブル)信号がプリチャ−ジ生成回路1
4、行デコ−ダ回路15、列デコ−ダ回路21及び読み
出し制御回路26にそれぞれ入力され、メモリ回路が動
作可能となる。
When the ALn signal is set in the memory address area, the ROMCS (memory area enable) signal is sent to the precharge generation circuit 1 at the rising edge of the PH2 signal.
4, the row decoder circuit 15, the column decoder circuit 21, and the read control circuit 26 are respectively input, and the memory circuit becomes operable.

【0017】期間T1(Ts)では、CPU17内のプ
ログラムカウンタ値が変化し、ALn信号がメモリアド
レスとなる。期間T2では、ROMCS信号が“1”と
なると共に、PRCV(プリチャ−ジ)信号が“0”と
なる。メモリセル回路/ディスチャ−ジ回路16には、
行デコ−ダ回路15からワ−ド線信号WL0〜WLnが
入力される。列セレクタ/プリチャ−ジ回路22には、
列デコ−ダ回路21からカラム選択信号CL0〜CLn
が入力される。また、ディスチャ−ジ信号SLn(SR
n)が“0”となり、ビット線が“1”にプリチャ−ジ
される。
During the period T1 (Ts), the program counter value in the CPU 17 changes and the ALn signal becomes a memory address. In the period T2, the ROMCS signal becomes "1" and the PRCV (precharge) signal becomes "0". The memory cell circuit / discharge circuit 16 includes
Word line signals WL0 to WLn are input from the row decoder circuit 15. In the column selector / precharge circuit 22,
Column select signals CL0 to CLn from the column decoder circuit 21
Is entered. In addition, the discharge signal SLn (SR
n) becomes "0" and the bit line is precharged to "1".

【0018】期間T3では、PRCV信号が“1”にな
ると共に、メモリセル回路/ディスチャ−ジ回路16に
は、行デコ−ダ回路15から選択ゲ−ト信号SLn(S
Rn)信号が入力される。ビット線が、メモリセルのオ
ン・オフ状態により“1”又は“0”へ遷移し、列セレ
クタ/プリチャ−ジ回路22からメモリデ−タの反転信
号MOTVが出力される。
During the period T3, the PRCV signal becomes "1", and the memory cell circuit / discharge circuit 16 causes the row decoder circuit 15 to select the gate signal SLn (S).
Rn) signal is input. The bit line transits to "1" or "0" depending on the on / off state of the memory cell, and the column selector / precharge circuit 22 outputs the inverted signal MOTV of the memory data.

【0019】期間T4では、読み出し制御信号CRD
が、CPU17から出力されると共に、セレクタ23か
ら出力されるRD信号が“1”になる。また、ROMC
S信号が“1”になり、メモリセルデ−タのラッチ信号
MLATCHが“1”となるため、読み出し回路27内
のラッチ回路にメモリセルデ−タがラッチされる。
In the period T4, the read control signal CRD
However, the RD signal outputted from the CPU 23 and the selector 23 becomes "1". Also, ROMC
Since the S signal becomes "1" and the latch signal MLATCH of the memory cell data becomes "1", the memory cell data is latched by the latch circuit in the read circuit 27.

【0020】期間T5では、メモリセルデ−タの読み出
し制御信号OEが“1”となり、ラッチ回路内のメモリ
セルデ−タがデ−タバスMBUSnに出力される。な
お、期間T5は、次のメモリアドレスにおける読み出し
サイクルの期間T1でもある。次に、メモリテストモ−
ド時のメモリデ−タの読み出し動作について、図16を
参照しながら説明する。メモリテストモ−ド時において
は、CALn信号に変って外部端子19からのTALn
信号がセレクタ18により選択され、このTALn信号
が内部アドレスALnとなり、行デコ−ダ回路15及び
列デコ−ダ回路21に入力される。また、CRD信号に
変って外部端子24からのTRD信号がセレクタ23に
より選択され、このTRD信号が内部読み出し制御信号
RDとなり、読み出し制御回路26に入力される。
In the period T5, the read control signal OE of the memory cell data becomes "1", and the memory cell data in the latch circuit is output to the data bus MBUSn. The period T5 is also the period T1 of the read cycle at the next memory address. Next, the memory test mode
The read operation of the memory data at the read time will be described with reference to FIG. In the memory test mode, the TALn signal from the external terminal 19 is changed to the CALn signal.
The signal is selected by the selector 18, and this TALn signal becomes the internal address ALn and is input to the row decoder circuit 15 and the column decoder circuit 21. Further, the TRD signal from the external terminal 24 is selected by the selector 23 in place of the CRD signal, and this TRD signal becomes the internal read control signal RD and is input to the read control circuit 26.

【0021】メモリテストモ−ド時は、CPU17から
出力されているBTO信号が“0”に固定される。プリ
チャ−ジ生成回路14から出力されるA2信号は、CL
KOUT信号(PH1を2分周した信号)により、CP
Uモ−ド時と全く同じタイミングで“1”になる。な
お、メモリテストモ−ドでは、CPUモ−ド時には存在
しなかったアドレスラッチの期間T0が必要となる。
In the memory test mode, the BTO signal output from the CPU 17 is fixed to "0". The A2 signal output from the precharge generation circuit 14 is CL
CP by KOUT signal (PH1 divided signal by 2)
It becomes "1" at exactly the same timing as in U mode. In the memory test mode, the address latch period T0 which does not exist in the CPU mode is required.

【0022】期間T0では、アドレスラッチ信号PHA
DRが入力され、ポ−ト20において外部アドレスデ−
タがラッチされ、TALn信号が変化する。期間T1で
は、セレクタ18からALn信号(=TALn信号)が
メモリアドレスとして出力される。
In the period T0, the address latch signal PHA
DR is input, and the external address data is input at port 20.
Data is latched and the TALn signal changes. In the period T1, the ALn signal (= TALn signal) is output from the selector 18 as a memory address.

【0023】期間T2では、ROMCS信号が“1”と
なると共に、PRCV(プリチャ−ジ)信号が“0”と
なる。メモリセル回路/ディスチャ−ジ回路16には、
行デコ−ダ回路15からワ−ド線信号WL0〜WLnが
入力される。列セレクタ/プリチャ−ジ回路22には、
列デコ−ダ回路21からカラム選択信号CL0〜CLn
が入力される。また、ディスチャ−ジ信号SLn(SR
n)が“0”となり、ビット線が“1”にプリチャ−ジ
される。
In the period T2, the ROMCS signal becomes "1" and the PRCV (precharge) signal becomes "0". The memory cell circuit / discharge circuit 16 includes
Word line signals WL0 to WLn are input from the row decoder circuit 15. In the column selector / precharge circuit 22,
Column select signals CL0 to CLn from the column decoder circuit 21
Is entered. In addition, the discharge signal SLn (SR
n) becomes "0" and the bit line is precharged to "1".

【0024】期間T3では、PRCV信号が“1”にな
ると共に、メモリセル回路/ディスチャ−ジ回路16に
は、行デコ−ダ回路15から選択ゲ−ト信号SLn(S
Rn)信号が入力される。ビット線が、メモリセルのオ
ン・オフ状態により“1”又は“0”へ遷移し、列セレ
クタ/プリチャ−ジ回路22からメモリデ−タの反転信
号MOTVが出力される。
In the period T3, the PRCV signal becomes "1" and the memory cell circuit / discharge circuit 16 causes the row decoder circuit 15 to select the gate signal SLn (S).
Rn) signal is input. The bit line transits to "1" or "0" depending on the on / off state of the memory cell, and the column selector / precharge circuit 22 outputs the inverted signal MOTV of the memory data.

【0025】期間T4では、ポ−ト25のデ−タを
“1”に設定し、セレクタ23からのRD信号(=TR
D信号)を“1”にすると共に、ROMCS信号も
“1”にする。これにより、メモリセルデ−タのラッチ
信号MLATCHが“1”となるため、読み出し回路2
7内のラッチ回路にメモリセルデ−タがラッチされる。
In the period T4, the data of the port 25 is set to "1" and the RD signal (= TR) from the selector 23 is set.
D signal) is set to "1" and the ROMCS signal is also set to "1". As a result, the latch signal MLATCH of the memory cell data becomes "1", so that the read circuit 2
The memory cell data is latched in the latch circuit in 7.

【0026】期間T5では、メモリセルデ−タの読み出
し制御信号OEが“1”となり、ラッチ回路内のメモリ
セルデ−タがデ−タバスMBUSnに出力されると共
に、ポ−ト28にメモリセルデ−タの情報が伝達され
る。
In the period T5, the read control signal OE of the memory cell data becomes "1", the memory cell data in the latch circuit is output to the data bus MBUSn, and the information of the memory cell data is output to the port 28. Transmitted.

【0027】なお、期間T4の後半のタイミングは、次
のメモリアドレスにおけるラッチ期間となり、期間T5
は、次のメモリアドレスにおける内部アドレスが入力さ
れる期間となる。
The latter half of the period T4 is the latch period for the next memory address, and the period T5
Is a period during which the internal address in the next memory address is input.

【0028】[0028]

【発明が解決しようとする課題】上述の1チップMCU
・LSIでは、CPUモ−ド時とメモリテスト時におけ
るメモリセルデ−タの読み出しサイクル時間が全く同じ
になっている。このため、メモリ容量が増大することに
より、MCUの1チップの評価項目(動作機能評価、A
Cマ−ジン評価、DCマ−ジン評価、メモリテスト評価
など)の中で、メモリテスト評価の占める割合が増大
し、チップコストを上昇させる欠点がある。
The above-mentioned one-chip MCU
In the LSI, the read cycle time of the memory cell data is the same in the CPU mode and the memory test. Therefore, as the memory capacity increases, evaluation items (operation function evaluation, A
Among the C-margin evaluation, DC-margin evaluation, memory test evaluation, etc.), the ratio of the memory test evaluation increases, which has the drawback of increasing the chip cost.

【0029】例えば、メモリテスト評価の低周波動作評
価では、XIN端子11から入力するクロックサイクル
Xtal=33kHz、メモリ容量64kバイト(65
536個)とすると、メモリテスト時間は、1アドレス
のサイクル時間(120μs)×65536個=7.9
sとなる。
For example, in the low frequency operation evaluation of the memory test evaluation, the clock cycle Xtal = 33 kHz input from the XIN terminal 11 and the memory capacity 64 kbyte (65
536), the memory test time is the cycle time of one address (120 μs) × 65536 = 7.9.
s.

【0030】従って、メモリテストに約8秒もの時間を
費やしてしまう欠点がある。即ち、通常のMCUテスト
の1チップ評価テスト時間が約10秒程度であるので、
上記メモリテスト時間が追加されると、全評価時間は、
約10秒から約18秒へと増大する。
Therefore, there is a drawback that the memory test takes about 8 seconds. That is, since the one-chip evaluation test time of a normal MCU test is about 10 seconds,
When the above memory test time is added, the total evaluation time is
It increases from about 10 seconds to about 18 seconds.

【0031】このように、従来は、CPUモ−ド時とメ
モリテスト時におけるメモリセルデ−タの読み出しサイ
クル時間が同じであるため、メモリテスト評価の占める
割合が増大し、チップコストを上昇させる欠点がある。
As described above, since the read cycle time of the memory cell data in the CPU mode is the same as that in the memory test, the ratio of the memory test evaluation increases and the chip cost increases. is there.

【0032】本発明は、上記欠点を解決すべくなされた
もので、その目的は、MOSメモリ回路を内蔵する1チ
ップMCU・LSIにおいて、メモリテスト時間を大幅
に削減することである。
The present invention has been made to solve the above-mentioned drawbacks, and an object thereof is to significantly reduce the memory test time in a one-chip MCU / LSI incorporating a MOS memory circuit.

【0033】[0033]

【課題を解決するための手段】上記目的を達成するた
め、本発明の半導体メモリは、メモリセル回路と、前記
メモリセル回路のビット線をプリチャ−ジするためのプ
リチャ−ジ回路と、前記プリチャ−ジ回路の動作を制御
するプリチャ−ジ制御回路と、CPUモ−ド時にはCP
Uからのアドレス信号に基づいて前記メモリセル回路の
メモリセルを選択し、メモリテストモ−ド時には外部か
らのアドレス信号に基づいて前記メモリセル回路のメモ
リセルを選択する手段と、前記メモリセル回路からのデ
−タを読み出すための読み出し回路と、前記読み出し回
路の動作を制御する読み出し制御回路と、前記読み出し
回路から出力さされたデ−タを外部へ取り出すための手
段とを備えており、さらに、前記プリチャ−ジ制御回路
は、CPUモ−ド時に前記プリチャ−ジ回路を制御する
低速プリチャ−ジ制御回路と、前記低速プリチャ−ジ制
御回路よりも高速に動作し、メモリテストモ−ド時に前
記プリチャ−ジ回路を制御する高速プリチャ−ジ制御回
路とを有し、前記読み出し制御回路は、CPUモ−ド時
に前記読み出し回路を制御する低速読み出し制御回路
と、前記低速読み出し制御回路よりも高速に動作し、メ
モリテストモ−ド時に前記読み出し回路を制御する高速
読み出し制御回路を有している。
To achieve the above object, a semiconductor memory according to the present invention comprises a memory cell circuit, a precharge circuit for precharging a bit line of the memory cell circuit, and the precharge circuit. -A precharge control circuit for controlling the operation of the charge circuit, and a CP in the CPU mode
Means for selecting a memory cell of the memory cell circuit based on an address signal from U, and selecting a memory cell of the memory cell circuit based on an address signal from the outside in the memory test mode; A read circuit for reading the data from the read circuit, a read control circuit for controlling the operation of the read circuit, and means for taking the data output from the read circuit to the outside. Further, the precharge control circuit operates at a higher speed than the low speed precharge control circuit and the low speed precharge control circuit for controlling the precharge circuit in the CPU mode, and the memory test mode. And a high-speed precharge control circuit for controlling the precharge circuit, and the read control circuit reads the read time in the CPU mode. And slow readout control circuit for controlling the operating faster than the low speed read control circuit, a memory test mode - and a high-speed read control circuit for controlling the read-out circuit during de.

【0034】前記プリチャ−ジ制御回路は、前記低速プ
リチャ−ジ制御回路から出力される低速プリチャ−ジ信
号と前記高速プリチャ−ジ制御回路から出力される高速
プリチャ−ジ信号とを切り替え、CPUモ−ド時には前
記低速プリチャ−ジ信号を前記プリチャ−ジ回路に供給
し、メモリテストモ−ド時には前記高速プリチャ−ジ信
号を前記プリチャ−ジ回路に供給するセレクタを有し、
前記読み出し制御回路は、前記低速読み出し制御回路か
ら出力される低速読み出し制御信号と前記高速読み出し
制御回路から出力される高速読み出し制御信号とを切り
替え、CPUモ−ド時には前記低速読み出し制御信号を
前記読み出し回路に供給し、メモリテストモ−ド時には
前記高速読み出し制御信号を前記読み出し回路に供給す
るセレクタを有している。
The precharge control circuit switches between the low speed precharge signal output from the low speed precharge control circuit and the high speed precharge signal output from the high speed precharge control circuit, and the CPU mode is controlled. A selector for supplying the low-speed precharge signal to the precharge circuit at the time of memory mode and for supplying the high-speed precharge signal to the precharge circuit at the time of the memory test mode,
The read control circuit switches between a low speed read control signal output from the low speed read control circuit and a high speed read control signal output from the high speed read control circuit, and reads the low speed read control signal in the CPU mode. It has a selector which supplies it to the circuit and supplies the high-speed read control signal to the read circuit in the memory test mode.

【0035】[0035]

【作用】上記構成によれば、プリチャ−ジ制御回路及び
読み出し制御回路に低速用回路と、低速用回路よりも高
速に動作する高速用回路を設け、メモリテスト時におい
ては、高速プリチャ−ジ制御回路及び高速読み出し制御
回路を使用することにより、メモリアドレスのアクセス
タイムを大幅に高速化できる。特に、大容量メモリを内
蔵する1チップMCU・LSIのメモリテスト時間を大
幅に削減することができる。
According to the above structure, the precharge control circuit and the read control circuit are provided with the low speed circuit and the high speed circuit which operates at a higher speed than the low speed circuit, and the high speed precharge control is performed during the memory test. By using the circuit and the high-speed read control circuit, the access time of the memory address can be significantly shortened. In particular, the memory test time of a 1-chip MCU / LSI incorporating a large capacity memory can be significantly reduced.

【0036】[0036]

【実施例】以下、図面を参照しながら、本発明のMCU
内部の大容量メモリテスト装置について詳細に説明す
る。図1は、本発明の一実施例に係わる1チップMCU
・LSIを示している。XINは、入力端子、XOUT
は、出力端子である。XIN端子11から入力したクロ
ックは、内部クロック発生回路13に入力される。内部
クロック発生回路13は、このクロックに基づいて、F
PH信号、PH1信号及びPH2信号をそれぞれ生成す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The MCU of the present invention will be described below with reference to the drawings.
The internal large-capacity memory test device will be described in detail. FIG. 1 shows a one-chip MCU according to an embodiment of the present invention.
-Indicates LSI. XIN is an input terminal, XOUT
Is an output terminal. The clock input from the XIN terminal 11 is input to the internal clock generation circuit 13. Based on this clock, the internal clock generation circuit 13 outputs F
The PH signal, the PH1 signal, and the PH2 signal are generated respectively.

【0037】CPU17は、BTO信号及びTE信号を
出力する。プリチャ−ジ生成回路14は、低速プリチャ
−ジ制御回路14a、高速プリチャ−ジ制御回路14b
及びセレクタ14cから構成されている。
The CPU 17 outputs the BTO signal and the TE signal. The precharge generation circuit 14 includes a low speed precharge control circuit 14a and a high speed precharge control circuit 14b.
And a selector 14c.

【0038】高速プリチャ−ジ制御回路14bは、低速
プリチャ−ジ生成回路14aよりも高速に動作する。セ
レクタ14cは、CPUモ−ド時に低速プリチャ−ジ生
成回路14aのA2A信号を選択し、メモリテスト時に
高速プリチャ−ジ制御回路14bのA2B信号を選択す
る。
The high speed precharge control circuit 14b operates at a higher speed than the low speed precharge generation circuit 14a. The selector 14c selects the A2A signal of the low speed precharge generation circuit 14a in the CPU mode, and selects the A2B signal of the high speed precharge control circuit 14b in the memory test.

【0039】即ち、低速プリチャ−ジ生成回路14a
は、PH1信号、PH2信号及びBTO信号に基づい
て、A2A信号を生成する。高速プリチャ−ジ生成回路
14bは、FPH信号、ROMCS信号に基づいて、A
2B信号を生成する。セレクタ14cは、A2A信号及
びA2B信号を選択し、A2信号を行デコ−ダ回路15
及び列セレクタ/プリチャ−ジ回路22に供給する。
That is, the low-speed precharge generation circuit 14a
Generates an A2A signal based on the PH1 signal, the PH2 signal, and the BTO signal. The high-speed precharge generation circuit 14b, based on the FPH signal and ROMCS signal,
Generate a 2B signal. The selector 14c selects the A2A signal and the A2B signal and outputs the A2 signal to the row decoder circuit 15
And the column selector / precharge circuit 22.

【0040】セレクタ18には、CPU17内のプログ
ラムカウンタのCALn信号、及び外部端子19のTA
Ln信号がポ−ト20を介して、それぞれ入力される。
セレクタ18は、CPUモ−ド時においては、CPU1
7内のプログラムカウンタのCALn信号を選択し、メ
モリテストモ−ド時においては、外部端子19のTAL
n信号を選択する。
The selector 18 has a CALn signal of a program counter in the CPU 17 and a TA of the external terminal 19.
The Ln signal is input via the port 20.
The selector 18 is the CPU 1 in the CPU mode.
The CALn signal of the program counter in 7 is selected, and in the memory test mode, TAL of the external terminal 19 is selected.
Select the n signal.

【0041】CALn信号又はTALn信号が内部アド
レスALnとなり、この内部アドレスALnが行デコ−
ダ回路16及び列デコ−ダ回路17にそれぞれ入力され
る。行デコ−ダ回路16は、選択ゲ−ト信号SLn,S
Rn及びワ−ド線信号WL0〜WLnをメモリセル回路
/ディスチャ−ジ回路16に供給する。列デコ−ダ17
は、カラム選択信号CL0〜CLnを列セレクタ/プリ
チャ−ジ回路22に供給する。
The CALn signal or the TALn signal becomes the internal address ALn, and this internal address ALn is used for the row decoding.
The data is input to the decoder circuit 16 and the column decoder circuit 17, respectively. The row decoder circuit 16 has selection gate signals SLn and S.
The Rn and word line signals WL0 to WLn are supplied to the memory cell circuit / discharge circuit 16. Row decoder 17
Supplies the column selection signals CL0 to CLn to the column selector / precharge circuit 22.

【0042】メモリセル回路/ディスチャ−ジ回路16
から読み出されたビットデ−タBIT0〜BITnは、
列セレクタ/プリチャ−ジ回路22により選択され、読
み出し回路27に入力される。
Memory cell circuit / discharge circuit 16
The bit data BIT0 to BITn read from
It is selected by the column selector / precharge circuit 22 and input to the read circuit 27.

【0043】CPU17は、BTO信号及びTE信号を
出力する。読み出し制御回路26は、低速読み出し制御
回路26a、高速読み出し制御回路26b及びセレクタ
26cから構成されている。
The CPU 17 outputs the BTO signal and the TE signal. The read control circuit 26 includes a low speed read control circuit 26a, a high speed read control circuit 26b, and a selector 26c.

【0044】高速読み出し制御回路26bは、低速読み
出し制御回路26aよりも高速に動作する。セレクタ2
6cは、CPUモ−ド時に低速読み出し制御回路26a
のCRD1信号を選択し、メモリテスト時に高速読み出
し制御回路26bのTRD1信号を選択する。
The high speed read control circuit 26b operates at a higher speed than the low speed read control circuit 26a. Selector 2
6c is a low speed read control circuit 26a in the CPU mode.
CRD1 signal is selected, and the TRD1 signal of the high-speed read control circuit 26b is selected during the memory test.

【0045】即ち、低速読み出し制御回路26aは、C
RD信号、PH2信号及びTE信号に基づいて、CRD
1信号を生成する。高速読み出し制御回路26bは、T
RD信号、FPH信号、PH1信号、PH2信号及びA
2信号に基づいて、TRD1信号を生成する。セレクタ
26cは、CRD1信号及びTRD1信号を選択し、ラ
ッチ信号MLATCH及び出力イネ−ブル信号OEを読
み出し回路27に供給する。読み出し回路27から出力
されたデ−タは、デ−タバスMBUSn、ポ−ト28及
び出力端子29を介して外部に出力される。図2は、図
1のプリチャ−ジ制御回路14の構成を詳細に示すもの
である。低速プリチャ−ジ制御回路14aは、クロック
ドインバ−タ30,31、NAND32及びインバ−タ
33から構成されている。ROMCS信号は、NAND
32の一方の入力端に入力され、BTO信号は、クロッ
クドインバ−タ30,31を介してNAND32の他方
の入力端に入力されている。NAND32は、A2A信
号を出力し、A2A信号は、インバ−タ33を介してセ
レクタ14cに入力されている。
That is, the low-speed read control circuit 26a is C
CRD based on RD signal, PH2 signal and TE signal
1 signal is generated. The high-speed read control circuit 26b is
RD signal, FPH signal, PH1 signal, PH2 signal and A
The TRD1 signal is generated based on the two signals. The selector 26c selects the CRD1 signal and the TRD1 signal, and supplies the latch signal MLATCH and the output enable signal OE to the read circuit 27. The data output from the read circuit 27 is output to the outside through the data bus MBUSn, the port 28 and the output terminal 29. FIG. 2 shows the configuration of the precharge control circuit 14 of FIG. 1 in detail. The low-speed precharge control circuit 14a is composed of clocked inverters 30, 31, a NAND 32 and an inverter 33. ROMCS signal is NAND
The BTO signal is input to one input terminal of the NAND 32, and is input to the other input terminal of the NAND 32 via the clocked inverters 30 and 31. The NAND 32 outputs the A2A signal, and the A2A signal is input to the selector 14c via the inverter 33.

【0046】高速プリチャ−ジ制御回路14bは、イン
バ−タ34,35、AND36及びNOR37から構成
されている。PH1信号は、AND36の一方の入力端
に入力され、FPH信号は、インバ−タ35を介してA
ND36の他方の入力端に入力されている。AND32
の出力は、NOR37の一方の入力端に入力され、RO
MCS信号は、インバ−タ34を介してNOR37の他
方の入力端に入力されている。NOR37は、/A2B
信号を出力し、この/A2B信号は、セレクタ14cに
入力されている。
The high-speed precharge control circuit 14b comprises inverters 34, 35, AND 36 and NOR 37. The PH1 signal is input to one input terminal of the AND 36, and the FPH signal is input to the A through the inverter 35.
It is input to the other input terminal of the ND 36. AND32
The output of is input to one input end of the NOR 37 and RO
The MCS signal is input to the other input end of the NOR 37 via the inverter 34. NOR37 is / A2B
A signal is output, and this / A2B signal is input to the selector 14c.

【0047】セレクタ14cは、クロックドインバ−タ
39,40、インバ−タ40〜42,43及びNOR4
3により構成されている。ROMTEST信号は、クロ
ックドインバ−タ39,40の動作を制御している。ク
ロックドインバ−タ39,40の出力信号(A2A信号
又はA2B信号)は、NOR43の一方の入力端に入力
され、TE信号は、インバ−タ42を介してNOR43
の他方の入力端に入力されている。NOR43の出力
は、インバ−タ44に入力され、インバ−タ44は、A
2信号を出力する。図3は、図1の読み出し制御回路
(ラッチ制御回路を含む)の構成を詳細に示すものであ
る。低速読み出し制御回路26aは、NAND45によ
り構成されている。CRD信号は、NAND45の一方
の入力端に入力され、PH1信号は、NAND45の他
方の入力端に入力されている。NAND45は、/CR
D1信号を出力する。
The selector 14c includes clocked inverters 39 and 40, inverters 40 to 42 and 43, and NOR4.
It is composed of three. The ROMTEST signal controls the operation of the clocked inverters 39 and 40. The output signals (A2A signal or A2B signal) of the clocked inverters 39 and 40 are input to one input terminal of the NOR 43, and the TE signal is transmitted to the NOR 43 via the inverter 42.
Is input to the other input terminal of. The output of the NOR 43 is input to the inverter 44, and the inverter 44 outputs A
2 signals are output. FIG. 3 shows the configuration of the read control circuit (including the latch control circuit) of FIG. 1 in detail. The low-speed read control circuit 26a is composed of a NAND 45. The CRD signal is input to one input end of the NAND 45, and the PH1 signal is input to the other input end of the NAND 45. NAND45 is / CR
Output the D1 signal.

【0048】高速読み出し制御回路26bは、AND4
6、NOR47及びNAND48により構成されてい
る。FPH信号は、AND46の一方の入力端に入力さ
れ、PH2信号は、AND46の他方の入力端に入力さ
れている。AND46の出力は、NOR47の一方の入
力端に入力されている。A2信号は、NOR47の他方
の入力端に入力されている。NOR47の出力は、NA
ND48の一方の入力端に入力され、TRD信号は、N
AND48の他方の入力端に入力されている。NAND
48は、/TRD1を出力する。
The high-speed read control circuit 26b is AND4
6, NOR 47 and NAND 48. The FPH signal is input to one input terminal of the AND 46, and the PH2 signal is input to the other input terminal of the AND 46. The output of the AND 46 is input to one input terminal of the NOR 47. The A2 signal is input to the other input terminal of the NOR 47. The output of NOR47 is NA
The TRD signal input to one input terminal of the ND 48 is
It is input to the other input terminal of the AND 48. NAND
48 outputs / TRD1.

【0049】セレクタ26cは、クロックドインバ−タ
49,50、インバ−タ51〜53,55及びNAND
54により構成されている。ROMTEST信号は、ク
ロックドインバ−タ49,50の動作を制御している。
クロックドインバ−タ49,50の出力信号(/CRD
1信号又は/TRD1信号)は、NAND54の一方の
入力端に入力され、ROMCS信号は、インバ−タ53
を介してNAND54の他方の入力端に入力されてい
る。NAND54の出力は、インバ−タ55に入力され
る。インバ−タ55は、メモリセルデ−タの読み出し制
御信号OEを出力する。
The selector 26c includes a clocked inverter 49, 50, an inverter 51-53, 55 and a NAND.
It is constituted by 54. The ROMTEST signal controls the operation of the clocked inverters 49 and 50.
Output signals of clocked inverters 49 and 50 (/ CRD
1 signal or / TRD1 signal) is input to one input terminal of the NAND 54, and the ROMCS signal is the inverter 53.
It is input to the other input terminal of the NAND 54 via. The output of the NAND 54 is input to the inverter 55. The inverter 55 outputs a read control signal OE for the memory cell data.

【0050】低速ラッチ制御回路26a´は、インバ−
タ56により構成されている。PH2信号は、インバ−
タ56を介してセレクタ26c´に入力されている。高
速ラッチ制御回路26b´は、NAND57により構成
されている。FPH信号は、NAND57の一方の入力
端に入力され、PH1信号は、NAND57の他方の入
力端に入力されている。NAND57の出力は、セレク
タ26c´に入力されている。
The low speed latch control circuit 26a 'includes an inverter.
It is constituted by the data 56. PH2 signal is INVER
It is input to the selector 26c 'via the controller 56. The high speed latch control circuit 26b 'is composed of a NAND 57. The FPH signal is input to one input end of the NAND 57, and the PH1 signal is input to the other input end of the NAND 57. The output of the NAND 57 is input to the selector 26c '.

【0051】セレクタ26c´は、クロックドインバ−
タ58,59、インバ−タ60〜62,64及びNAN
D63により構成されている。ROMTEST信号は、
クロックドインバ−タ58,59の動作を制御してい
る。クロックドインバ−タ58の出力信号又はクロック
ドインバ−タ59の出力信号は、NAND63の一方の
入力端に入力され、TE信号は、インバ−タ62を介し
てNAND63の他方の入力端に入力されている。NA
ND63の出力は、インバ−タ64に入力される。イン
バ−タ64は、メモリセルデ−タのラッチ信号MLAT
CHを出力する。
The selector 26c 'is a clocked inverter.
58, 59, inverters 60-62, 64 and NAN
It is composed of D63. ROMTEST signal is
The operation of the clocked inverters 58 and 59 is controlled. The output signal of the clocked inverter 58 or the output signal of the clocked inverter 59 is input to one input terminal of the NAND 63, and the TE signal is input to the other input terminal of the NAND 63 via the inverter 62. Has been done. NA
The output of the ND 63 is input to the inverter 64. The inverter 64 is a latch signal MLAT of the memory cell data.
Output CH.

【0052】図4は、図1の内部クロック発生回路の構
成を詳細に示すものである。XIN信号は、インバ−タ
65,66を介して2分周回路69に入力されている。
また、XIN信号は、インバ−タ65〜68を介すこと
によりFPH信号となる。2分周回路69の出力信号
は、NOR70の一方の入力端に入力されると共に、イ
ンバ−タ76を介してNOR75の一方の入力端に入力
されている。
FIG. 4 shows in detail the structure of the internal clock generating circuit of FIG. The XIN signal is input to the divide-by-two frequency dividing circuit 69 via the inverters 65 and 66.
Further, the XIN signal becomes an FPH signal through the inverters 65 to 68. The output signal of the divide-by-2 circuit 69 is input to one input end of the NOR 70 and also to one input end of the NOR 75 via the inverter 76.

【0053】NOR70の出力信号は、インバ−タ7
1,72を介すことによりPH1信号となる。また、N
OR70の出力信号は、インバ−タ71〜74を介して
NOR75の他方の入力端に入力されている。NOR7
5の出力信号は、インバ−タ77,78を介すことによ
りPH2信号となる。また、NOR75の出力信号は、
インバ−タ77〜80を介してNOR70の他方の入力
端に入力されている。
The output signal of the NOR 70 is the inverter 7
The PH1 signal is obtained via 1 and 72. Also, N
The output signal of the OR 70 is input to the other input terminal of the NOR 75 via the inverters 71 to 74. NOR7
The output signal of No. 5 becomes the PH2 signal through the inverters 77 and 78. The output signal of NOR75 is
It is input to the other input end of the NOR 70 via the inverters 77-80.

【0054】また、XIN信号は、NAND81の一方
の入力端に入力されている。NAND81の他方の入力
端と出力端との間には、Nチャネル型MOSトランジス
タ82及びPチャネル型MOSトランジスタ83のソ−
ス・ドレインが接続されている。OSCE信号は、イン
バ−タ84,85を介してMOSトランジスタ82のゲ
−トに入力され、インバ−タ84を介してMOSトラン
ジスタ83のゲ−トに入力されている。図5は、図1の
メモリセル回路/ディスチャ−ジ回路16及び列セレク
タ/プリチャ−ジ回路22の構成を詳細に示すものであ
る。メモリセル回路は、例えば互いに直列に接続された
8つのメモリセルM0〜M7を有している。直列接続さ
れたメモリセルM0〜M7の一端は、接地点に接続さ
れ、他端は、選択トランジスタT1,T2を介してビッ
ト線BIT0〜BITnに接続されている。
The XIN signal is input to one input terminal of the NAND 81. Between the other input terminal and the output terminal of the NAND 81, the sources of the N-channel type MOS transistor 82 and the P-channel type MOS transistor 83 are connected.
Drain is connected. The OSCE signal is input to the gate of the MOS transistor 82 via the inverters 84 and 85, and is input to the gate of the MOS transistor 83 via the inverter 84. FIG. 5 shows in detail the configurations of the memory cell circuit / discharge circuit 16 and the column selector / precharge circuit 22 of FIG. The memory cell circuit has, for example, eight memory cells M0 to M7 connected in series with each other. One end of the memory cells M0 to M7 connected in series is connected to the ground point, and the other end is connected to the bit lines BIT0 to BITn via the selection transistors T1 and T2.

【0055】列セレクタ回路22aは、カラム選択トラ
ンジスタCT1〜CTnを有している。各々のビット線
BIT0〜BITnは、カラム選択トランジスタCT1
〜CTnを介して互いに接続され、その共通接続点は、
プリチャ−ジ回路22bに接続されている。
The column selector circuit 22a has column selection transistors CT1 to CTn. Each of the bit lines BIT0 to BITn has a column selection transistor CT1.
~ CTn are connected to each other, and their common connection point is
It is connected to the precharge circuit 22b.

【0056】プリチャ−ジ回路22bは、クロックドイ
ンバ−タ86及びNAND87を有している。ビット線
BIT0〜BITnの共通接続点は、クロックドインバ
−タ86に接続されると共に、Pチャネル型MOSトラ
ンジスタ88を介して電源端子に接続されている。A2
信号は、NAND87の一方の入力端に入力されてい
る。ASEL0信号は、NAND87の他方の入力端に
入力されると共に、クロックドインバ−タ86を制御し
ている。NAND87の出力信号は、MOSトランジス
タ88のゲ−トに入力されている。
The precharge circuit 22b has a clocked inverter 86 and a NAND 87. The common connection point of the bit lines BIT0 to BITn is connected to the clocked inverter 86 and also to the power supply terminal via the P-channel MOS transistor 88. A2
The signal is input to one input terminal of the NAND 87. The ASEL0 signal is input to the other input terminal of the NAND 87 and controls the clocked inverter 86. The output signal of the NAND 87 is input to the gate of the MOS transistor 88.

【0057】メモリセル回路/ディスチャ−ジ回路16
及び列セレクタ/プリチャ−ジ回路22a,22bから
構成されるm個のブロックは、互いに接続され、MOT
V信号を出力する。図6は、図1の読み出し回路の構成
を詳細に示すものである。この読み出し回路は、クロッ
クドインバ−タ89,92及びラッチ回路から構成され
ている。ラッチ回路は、インバ−タ90及びクロックド
インバ−タ91から構成されている。MOTV信号は、
クロックドインバ−タ89を介してラッチ回路に入力さ
れている。クロックドインバ−タ89は、MLATCH
信号により制御されている。ラッチ回路の出力信号は、
クロックドインバ−タ92に入力されている。クロック
ドインバ−タ92は、OE信号により制御されている。
クロックドインバ−タ92からは、MBUSn信号が出
力される。図7は、図1のメモリテスト用アドレス入力
ポ−ト20の構成を詳細に示すものである。このメモリ
テスト用アドレス入力ポ−ト20は、バッファ93、9
7、AND94,99、出力ラッチ回路95、方向制御
回路96及びインバ−タ98により構成されている。
Memory Cell Circuit / Discharge Circuit 16
And the m number of blocks composed of the column selector / precharge circuits 22a and 22b are connected to each other, and the MOT
Output V signal. FIG. 6 shows the configuration of the read circuit of FIG. 1 in detail. This read circuit is composed of clocked inverters 89 and 92 and a latch circuit. The latch circuit is composed of an inverter 90 and a clocked inverter 91. The MOTV signal is
It is input to the latch circuit via the clocked inverter 89. The clocked inverter 89 is MLATCH.
It is controlled by a signal. The output signal of the latch circuit is
It is input to the clocked inverter 92. The clocked inverter 92 is controlled by the OE signal.
The MBUSn signal is output from the clocked inverter 92. FIG. 7 shows the structure of the memory test address input port 20 of FIG. 1 in detail. The memory test address input port 20 is provided with buffers 93, 9
7, AND 94 and 99, an output latch circuit 95, a direction control circuit 96, and an inverter 98.

【0058】外部端子19からの入力信号は、バッファ
93を介してTALn信号となる。バッファ93は、P
HADR信号により制御されている。AND94は、R
OMTEST信号及びPHP(=FPH*PH2)信号
を入力し、PHADR信号を出力する。
The input signal from the external terminal 19 becomes the TALn signal via the buffer 93. The buffer 93 is P
It is controlled by the HADR signal. AND94 is R
The OMTEST signal and the PHP (= FPH * PH2) signal are input and the PHADR signal is output.

【0059】MBUSn信号は、出力ラッチ回路95及
び方向制御回路96に入力されている。出力ラッチ回路
95の出力信号は、バッファ97を介して外部端子19
に伝達される。方向制御回路96の出力信号は、AND
99の一方の入力端に入力されている。ROMTEST
信号は、インバ−タ98を介してAND99の他方の入
力端に入力されている。AND99の出力信号は、バッ
ファ97を制御している。図8は、ROMテストモ−ド
時のデ−タ出力(MBUS出力)用ポ−ト28の構成を
詳細に示すものである。このデ−タ出力用ポ−ト28
は、出力ラッチ回路100、方向制御回路101、バッ
ファ102〜104、インバ−タ105及びOR106
により構成されている。
The MBUSn signal is input to the output latch circuit 95 and the direction control circuit 96. The output signal of the output latch circuit 95 is sent to the external terminal 19 via the buffer 97.
Be transmitted to. The output signal of the direction control circuit 96 is AND
It is input to one input terminal of 99. ROMTEST
The signal is input to the other input terminal of the AND 99 via the inverter 98. The output signal of AND99 controls the buffer 97. FIG. 8 shows the structure of the data output (MBUS output) port 28 in the ROM test mode in detail. This data output port 28
Is an output latch circuit 100, a direction control circuit 101, buffers 102 to 104, an inverter 105, and an OR 106.
It is composed by.

【0060】MBUSn信号は、出力ラッチ回路10
0、方向制御回路101及びバッファ102に入力され
ている。出力ラッチ回路100の出力信号は、バッファ
103.104を介して外部端子29に伝達される。バ
ッファ102の出力信号は、バッファ104を介して外
部端子29に伝達される。バッファ102は、ROMT
EST信号により制御され、バッファ103は、/RO
MTEST信号により制御されている。OR106に
は、方向制御回路101の出力信号及びROMTEST
信号が入力される。バッファ104は、OR106の出
力信号により制御されている。図9は、ROMテストモ
−ド時の読み出し制御信号入力(TRD)用ポ−ト25
の構成を詳細に示すものである。この読み出し制御信号
入力(TRD)用ポ−ト25は、バッファ107、11
0、AND111、出力ラッチ回路108、方向制御回
路109及びインバ−タ112により構成されている。
The MBUSn signal is output to the output latch circuit 10.
0, the direction control circuit 101 and the buffer 102. The output signal of the output latch circuit 100 is transmitted to the external terminal 29 via the buffers 103.104. The output signal of the buffer 102 is transmitted to the external terminal 29 via the buffer 104. The buffer 102 is ROMT
Controlled by the EST signal, the buffer 103 is / RO
It is controlled by the MTEST signal. The output signal of the direction control circuit 101 and ROMTEST are connected to the OR 106.
A signal is input. The buffer 104 is controlled by the output signal of the OR 106. FIG. 9 shows a read control signal input (TRD) port 25 in the ROM test mode.
3 shows the configuration of the above in detail. The read control signal input (TRD) port 25 has buffers 107, 11
0, AND 111, output latch circuit 108, direction control circuit 109, and inverter 112.

【0061】外部端子24からの入力信号は、バッファ
107を介してTRD信号となる。バッファ107は、
ROMTEST信号により制御されている。MBUS0
信号は、出力ラッチ回路108及び方向制御回路109
に入力されている。出力ラッチ回路108の出力信号
は、バッファ110を介して外部端子24に伝達され
る。方向制御回路109の出力信号は、AND111の
一方の入力端に入力されている。ROMTEST信号
は、インバ−タ112を介してAND111の他方の入
力端に入力されている。AND111の出力信号は、バ
ッファ110を制御している。次に、図1の回路の動作
について詳細に説明する。まず、CPUモ−ド時のメモ
リデ−タの読み出し動作について、図10を参照しなが
ら説明する。
The input signal from the external terminal 24 becomes the TRD signal via the buffer 107. The buffer 107 is
It is controlled by the ROMTEST signal. MBUS0
The signals are output latch circuit 108 and direction control circuit 109.
Has been entered in. The output signal of the output latch circuit 108 is transmitted to the external terminal 24 via the buffer 110. The output signal of the direction control circuit 109 is input to one input terminal of the AND 111. The ROMTEST signal is input to the other input terminal of the AND 111 via the inverter 112. The output signal of the AND 111 controls the buffer 110. Next, the operation of the circuit of FIG. 1 will be described in detail. First, the read operation of the memory data in the CPU mode will be described with reference to FIG.

【0062】XIN端子11から入力したクロックは、
内部クロック発生回路13に入力される。内部クロック
発生回路13は、このクロックに基づいて、FPH信
号、PH1信号及びPH2信号をそれぞれ生成する。
The clock input from the XIN terminal 11 is
It is input to the internal clock generation circuit 13. The internal clock generation circuit 13 generates the FPH signal, the PH1 signal, and the PH2 signal, respectively, based on this clock.

【0063】CPU17は、BTO信号及びTE信号を
出力する。プリチャ−ジ生成回路14は、PH1信号、
PH2信号、BTO信号及びTE信号に基づいて、A2
信号を生成する。
The CPU 17 outputs the BTO signal and the TE signal. The precharge generation circuit 14 uses the PH1 signal,
A2 based on PH2 signal, BTO signal and TE signal
Generate a signal.

【0064】なお、プリチャ−ジ生成回路14内におい
ては、メモリテスト信号ROMTESTが“0”である
ため、低速プリチャ−ジ制御回路14aのA2A信号が
選択される。このA2A信号は、A2信号としてプリチ
ャ−ジ生成回路14から出力される。
Since the memory test signal ROMTEST is "0" in the precharge generation circuit 14, the A2A signal of the low speed precharge control circuit 14a is selected. This A2A signal is output from the precharge generation circuit 14 as an A2 signal.

【0065】読み出し制御回路26内においても、メモ
リテスト信号ROMTESTが“0”であるため、低速
読み出し制御回路26aのCRD1信号が選択され、こ
のCRD1信号が、OE信号として読み出し制御回路2
6から出力される。また、メモリテスト信号ROMTE
STが“0”であるため、低速ラッチ回路26a´の出
力信号が選択され、この出力信号が、MLATCH信号
として読み出し制御回路26から出力される。
Since the memory test signal ROMTEST is "0" also in the read control circuit 26, the CRD1 signal of the low speed read control circuit 26a is selected, and this CRD1 signal is used as the OE signal in the read control circuit 2.
It is output from 6. Also, the memory test signal ROMTE
Since ST is "0", the output signal of the low-speed latch circuit 26a 'is selected, and this output signal is output from the read control circuit 26 as the MLATCH signal.

【0066】また、CPUモ−ド時においては、CPU
17内のプログラムカウンタのCALn信号がセレクタ
18により選択され、このCALn信号が内部アドレス
ALnとなり、行デコ−ダ回路15及び列デコ−ダ回路
21に入力される。CALn信号は、PH1信号を2分
周した立ち上がりエッジで変化する信号である。
In the CPU mode, the CPU
The CALn signal of the program counter in 17 is selected by the selector 18, and this CALn signal becomes the internal address ALn and is input to the row decoder circuit 15 and the column decoder circuit 21. The CALn signal is a signal that changes at the rising edge obtained by dividing the PH1 signal by two.

【0067】ALn信号がメモリアドレスエリアに設定
された時、PH2信号の立ち上がりで、ROMCS(メ
モリエリアイネ−ブル)信号がプリチャ−ジ生成回路1
4、行デコ−ダ回路15、列デコ−ダ回路21及び読み
出し制御回路26にそれぞれ入力され、メモリ回路が動
作可能となる。
When the ALn signal is set in the memory address area, the ROMCS (memory area enable) signal is sent to the precharge generation circuit 1 at the rising edge of the PH2 signal.
4, the row decoder circuit 15, the column decoder circuit 21, and the read control circuit 26 are respectively input, and the memory circuit becomes operable.

【0068】期間T1(Ts)では、CPU17内のプ
ログラムカウンタ値が変化し、ALn信号がメモリアド
レスとなる。期間T2では、ROMCS信号が“1”と
なると共に、PRCV(プリチャ−ジ)信号が“0”と
なる。メモリセル回路/ディスチャ−ジ回路16には、
行デコ−ダ回路15からワ−ド線信号WL0〜WLnが
入力される。列セレクタ/プリチャ−ジ回路22には、
列デコ−ダ回路21からカラム選択信号CL0〜CLn
が入力される。また、ディスチャ−ジ信号SLn(SR
n)が“0”となり、ビット線が“1”にプリチャ−ジ
される。
In the period T1 (Ts), the program counter value in the CPU 17 changes and the ALn signal becomes a memory address. In the period T2, the ROMCS signal becomes "1" and the PRCV (precharge) signal becomes "0". The memory cell circuit / discharge circuit 16 includes
Word line signals WL0 to WLn are input from the row decoder circuit 15. In the column selector / precharge circuit 22,
Column select signals CL0 to CLn from the column decoder circuit 21
Is entered. In addition, the discharge signal SLn (SR
n) becomes "0" and the bit line is precharged to "1".

【0069】期間T3では、PRCV信号が“1”にな
ると共に、メモリセル回路/ディスチャ−ジ回路16に
は、行デコ−ダ回路15から選択ゲ−ト信号SLn(S
Rn)信号が入力される。ビット線が、メモリセルのオ
ン・オフ状態により“1”又は“0”へ遷移し、列セレ
クタ/プリチャ−ジ回路22からメモリデ−タの反転信
号MOTVが出力される。
During the period T3, the PRCV signal becomes "1", and the memory cell circuit / discharge circuit 16 causes the row decoder circuit 15 to select the gate signal SLn (S).
Rn) signal is input. The bit line transits to "1" or "0" depending on the on / off state of the memory cell, and the column selector / precharge circuit 22 outputs the inverted signal MOTV of the memory data.

【0070】期間T4では、読み出し制御信号CRD
が、CPU17から出力されると共に、セレクタ23か
ら出力されるRD信号が“1”になる。また、ROMC
S信号が“1”になり、メモリセルデ−タのラッチ信号
MLATCHが“1”となるため、読み出し回路27内
のラッチ回路にメモリセルデ−タがラッチされる。
In the period T4, the read control signal CRD
However, the RD signal outputted from the CPU 23 and the selector 23 becomes "1". Also, ROMC
Since the S signal becomes "1" and the latch signal MLATCH of the memory cell data becomes "1", the memory cell data is latched by the latch circuit in the read circuit 27.

【0071】期間T5では、メモリセルデ−タの読み出
し制御信号OEが“1”となり、ラッチ回路内のメモリ
セルデ−タがデ−タバスMBUSnに出力される。な
お、期間T5は、次のメモリアドレスにおける読み出し
サイクルの期間T1でもある。次に、メモリテストモ−
ド時のメモリデ−タの読み出し動作について、図11を
参照しながら説明する。メモリテストモ−ド時において
は、CALn信号に変って外部端子19からのTALn
信号がセレクタ18により選択され、このTALn信号
が内部アドレスALnとなり、行デコ−ダ回路15及び
列デコ−ダ回路21に入力される。また、CRD信号に
変って外部端子24からのTRD信号がセレクタ23に
より選択され、このTRD信号が内部読み出し制御信号
となり、読み出し制御回路26に入力される。
In the period T5, the read control signal OE of the memory cell data becomes "1", and the memory cell data in the latch circuit is output to the data bus MBUSn. The period T5 is also the period T1 of the read cycle at the next memory address. Next, the memory test mode
The read operation of the memory data at the time of reading will be described with reference to FIG. In the memory test mode, the TALn signal from the external terminal 19 is changed to the CALn signal.
The signal is selected by the selector 18, and this TALn signal becomes the internal address ALn and is input to the row decoder circuit 15 and the column decoder circuit 21. Further, the TRD signal from the external terminal 24 is selected by the selector 23 in place of the CRD signal, and this TRD signal becomes the internal read control signal and is input to the read control circuit 26.

【0072】また、メモリテストモ−ド時においては、
メモリテスト信号ROMTESTが“1”であるため、
プリチャ−ジ制御回路14内では、高速プリチャ−ジ制
御回路14bのA2B信号が選択され、このA2B信号
が、A2信号としてプリチャ−ジ制御回路14から出力
される。
In the memory test mode,
Since the memory test signal ROMTEST is "1",
In the precharge control circuit 14, the A2B signal of the high speed precharge control circuit 14b is selected, and this A2B signal is output from the precharge control circuit 14 as the A2 signal.

【0073】また、読み出し制御回路26内では、メモ
リテスト信号ROMTESTが“1”であるため、高速
読み出し制御回路26bのTRD1信号が選択される。
このTRD1信号は、読み出し制御信号OEとして、読
み出し制御回路26から出力される。なお、メモリセル
デ−タをラッチするタイミングは、PH2信号に基づく
タイミングからPHP(=FPH*PH1)信号に基づ
くタイミングに切り替える。なお、メモリテストモ−ド
では、CPUモ−ド時には存在しなかったアドレスラッ
チの期間T0が必要となる。
Since the memory test signal ROMTEST is "1" in the read control circuit 26, the TRD1 signal of the high speed read control circuit 26b is selected.
The TRD1 signal is output from the read control circuit 26 as the read control signal OE. The timing of latching the memory cell data is switched from the timing based on the PH2 signal to the timing based on the PHP (= FPH * PH1) signal. In the memory test mode, the address latch period T0 which does not exist in the CPU mode is required.

【0074】期間T0では、外部端子19から入力され
た外部アドレスデ−タがポ−ト20においてラッチさ
れ、TALn信号が変化する。期間T1/2では、内部
アドレスALnが確定すると共に、行デコ−ダ回路15
の出力信号WL0〜WLn及び列デコ−ダ回路21の出
力信号CL0〜CLnが確定する。また、高速プリチャ
−ジ制御回路14bから出力されたプリチャ−ジ制御信
号A2Bが選択されると共に、ビット線プリチャ−ジ制
御信号PRCVが“0”になり、ビット線が“1”にプ
リチャ−ジされる。
In the period T0, the external address data input from the external terminal 19 is latched in the port 20 and the TALn signal changes. In the period T1 / 2, the internal address ALn is determined and the row decoder circuit 15
Output signals WL0 to WLn and output signals CL0 to CLn of the column decoder circuit 21 are determined. Further, the precharge control signal A2B output from the high speed precharge control circuit 14b is selected, the bit line precharge control signal PRCV becomes "0", and the bit line is precharged to "1". To be done.

【0075】期間T2/2では、ビット線プリチャ−ジ
制御信号PRCVが“1”になると共に、ディスチャ−
ジ制御信号SLn又はSRnが選択される。従って、メ
モリセルのオン・オフ状態により、ビット線が“0”又
は“1”になり、列セレクタ回路からメモリセルの反転
信号MOTVが得られる。
In the period T2 / 2, the bit line precharge control signal PRCV becomes "1" and the discharge
The control signal SLn or SRn is selected. Therefore, the bit line becomes "0" or "1" depending on the on / off state of the memory cell, and the inverted signal MOTV of the memory cell is obtained from the column selector circuit.

【0076】この期間は、外部端子19から入力される
信号を“1”に固定しているため、読み出し制御信号
は、アドレスラッチタイミング及びビット線プリチャ−
ジタイミング以外の時においては、“1”となる。よっ
て、メモリセルデ−タラッチ信号MLATCHが“1”
となり、メモリセルデ−タがラッチされる。
During this period, since the signal input from the external terminal 19 is fixed at "1", the read control signal is the address latch timing and the bit line precharger.
It becomes "1" at times other than the timing. Therefore, the memory cell data latch signal MLATCH is "1".
And the memory cell data is latched.

【0077】期間T2/2及びT3/2において、メモ
リセルのデ−タ読み出し制御信号OEが“1”となるた
め、メモリセルデ−タは、デ−タバスMBUSnに読み
出される。即ち、期間T2/2、T3/2及びT4/2
を通じて、メモリセルデ−タは、外部端子29に読み出
される。なお、期間T4/2は、次のメモリアドレスに
おける期間T0(ラッチ期間)となる。上述のように、
本発明では、メモリセルのデ−タの読み出しについて、
CPUモ−ド時においては、プイチャ−ジ制御回路及び
読み出し制御回路(ラッチ制御回路を含む)に低速用回
路(システム標準サイクル)を使用し、メモリテスト時
においては、プイチャ−ジ制御回路及び読み出し制御回
路(ラッチ制御回路を含む)に高速用回路(システム標
準サイクルより1/2以上短いサイクル)を使用してお
り、メモリテスト時間の大幅な削減が可能である。
In the periods T2 / 2 and T3 / 2, the data read control signal OE of the memory cell becomes "1", so that the memory cell data is read to the data bus MBUSn. That is, the periods T2 / 2, T3 / 2 and T4 / 2
Through, the memory cell data is read to the external terminal 29. The period T4 / 2 is the period T0 (latch period) at the next memory address. As mentioned above,
In the present invention, regarding the reading of the data of the memory cell,
In the CPU mode, a low speed circuit (system standard cycle) is used for the charge control circuit and the read control circuit (including the latch control circuit), and in the memory test, the charge control circuit and the read circuit. The control circuit (including the latch control circuit) uses a high-speed circuit (a cycle shorter than the system standard cycle by ½ or more), and the memory test time can be significantly reduced.

【0078】[0078]

【発明の効果】以上、説明したように、MCU内部の大
容量メモイテスト装置によれば、次のような効果を奏す
る。プリチャ−ジ制御回路及び読み出し制御回路(ラッ
チ制御回路を含む)に低速用回路と高速用回路を設け、
メモリテスト時においては、高速プリチャ−ジ制御回路
及び高速読み出し制御回路を使用することにより、メモ
リアドレスのアクセスタイムを大幅に高速化できる。
As described above, the large-capacity memory test device inside the MCU has the following effects. The precharge control circuit and the read control circuit (including the latch control circuit) are provided with a low speed circuit and a high speed circuit,
At the time of the memory test, the access time of the memory address can be significantly shortened by using the high speed precharge control circuit and the high speed read control circuit.

【0079】特に、大容量メモリを内蔵する1チップM
CU・LSIのメモリテスト時間が大幅に削減できる。
例えばメモリ容量が64kバイト(65536個)を有
するMCUのメモリテスト評価の低周波動作評価では、
クロックサイクルXtalが33kHz時の読み出しテ
ストにおいて、メモリテスト時間TMTESTは、1ア
ドレスのサイクル時間(120μs)×65536個=
3.95sとなる。このメモリテスト時間TMTEST
は、従来のメモリテスト時間(約8秒)に比べて、半分
(4秒短縮)になっている。
In particular, one chip M containing a large capacity memory
CU / LSI memory test time can be significantly reduced.
For example, in a low frequency operation evaluation of a memory test evaluation of an MCU having a memory capacity of 64 kbytes (65536 pieces),
In the read test when the clock cycle Xtal is 33 kHz, the memory test time TMTEST is the cycle time of one address (120 μs) × 65536 pieces =
It will be 3.95s. This memory test time TMTEST
Is half (4 seconds shorter) than the conventional memory test time (about 8 seconds).

【0080】量産時では、追加評価時間が100時間以
上必要になっていたが、本発明により追加評価時間が5
0時間程度で済むようになった。即ち、大容量メモリを
内蔵する1チップMCUの全評価時間の増大を抑えるこ
とができ、チップコストの低減に貢献できる。
At the time of mass production, the additional evaluation time was required to be 100 hours or more.
It took about 0 hours. That is, it is possible to suppress an increase in the total evaluation time of a one-chip MCU having a large-capacity memory built therein, which can contribute to a reduction in chip cost.

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

【図1】本発明の一実施例に係わる1チップMCU・L
SIを示すブロック図。
FIG. 1 is a one-chip MCU / L according to one embodiment of the present invention.
The block diagram which shows SI.

【図2】図1のプリチャ−ジ制御回路を示す回路図。FIG. 2 is a circuit diagram showing the precharge control circuit of FIG.

【図3】図1の読み出し制御回路を示す回路図。FIG. 3 is a circuit diagram showing a read control circuit of FIG.

【図4】図1の内部クロック発生回路を示す回路図。FIG. 4 is a circuit diagram showing an internal clock generation circuit of FIG.

【図5】図1のメモリセル回路、列セレクタ回路及びプ
リチャ−ジ回路を示す図。
5 is a diagram showing a memory cell circuit, a column selector circuit and a precharge circuit of FIG. 1. FIG.

【図6】図1の読み出し回路を示す回路図。FIG. 6 is a circuit diagram showing the readout circuit of FIG.

【図7】図1のテストモ−ド時のアドレス入力用ポ−ト
を示す回路図。
FIG. 7 is a circuit diagram showing an address input port in the test mode of FIG.

【図8】図1のテストモ−ド時のデ−タ出力用ポ−トを
示す回路図。
FIG. 8 is a circuit diagram showing a data output port in the test mode of FIG.

【図9】図1のテストモ−ド時の読み出し制御信号入力
用ポ−トを示す回路図。
FIG. 9 is a circuit diagram showing a read control signal input port in the test mode of FIG.

【図10】図1の回路のCPUモ−ド時の動作を示すタ
イミング図。
10 is a timing chart showing an operation of the circuit of FIG. 1 in a CPU mode.

【図11】図1の回路のテストモ−ド時の動作を示すタ
イミング図。
FIG. 11 is a timing diagram showing the operation of the circuit of FIG. 1 in a test mode.

【図12】従来の1チップMCU・LSIを示すブロッ
ク図。
FIG. 12 is a block diagram showing a conventional 1-chip MCU / LSI.

【図13】図12のプリチャ−ジ制御回路を示す回路
図。
13 is a circuit diagram showing the precharge control circuit of FIG.

【図14】図12の読み出し制御回路を示す回路図。14 is a circuit diagram showing the read control circuit of FIG.

【図15】図12の回路のCPUモ−ド時の動作を示す
タイミング図。
FIG. 15 is a timing chart showing an operation of the circuit of FIG. 12 in a CPU mode.

【図16】図12の回路のテストモ−ド時の動作を示す
タイミング図。
16 is a timing chart showing the operation of the circuit of FIG. 12 in a test mode.

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

11 …入力端子、 12 …出力端子、 13 …内部クロック発生回路、 14 …プリチャ−ジ制御回路、 14a …低速プリチャ−ジ制御回路、 14b …高速プリチャ−ジ制御回路、 14c …セレクタ、 15 …行デコ−ダ回路、 16 …メモリセル回路/ディスチャ−ジ
回路、 17 …CPU(プログラムカウンタ)、 18,23 …セレクタ、 19,24,29 …外部端子、 20 …アドレス入力用ポ−ト、 21 …列デコ−ダ回路、 22 …列セレクタ/プリチャ−ジ回路、 25 …読み出し制御信号入力用ポ−ト、 26 …読み出し制御回路、 26a …低速読み出し制御回路、 26b …高速読み出し制御回路、 26c …セレクタ、 27 …読み出し回路、 28 …デ−タ出力用ポ−ト、 30,31,38,39,49,50,58,59,8
6,89,91,92,114,115 …クロッ
クドインバ−タ、 32,45,48,54,57,63,81,87,1
17,122,124,126 …NAN
D、 33,34,35,40〜42,44,51〜53,5
5,56,60〜62,64〜68,71〜74,76
〜80,84,85,90,98,105,112,1
16,119〜121,123,125,127…イン
バ−タ、 36,46,94,99,111,112…AND、 37,43,47,70,75,113,118…NO
R、 106 …OR、 69 …2分周回路、 82 …Nチャネル型MOSトランジス
タ、 83,88 …Pチャネル型MOSトランジス
タ、 93,97,102〜104,107,110…バッフ
ァ、 95,100,108 …出力ラッチ回路、 96,101,109 …方向制御回路、 M0〜M7 …メモリセル、 T1,T2 …選択トランジスタ、 CT1〜CTn …カラム選択トランジスタ、 BIT0〜BITn …ビット線。
11 ... Input terminal, 12 ... Output terminal, 13 ... Internal clock generation circuit, 14 ... Precharge control circuit, 14a ... Low speed precharge control circuit, 14b ... High speed precharge control circuit, 14c ... Selector, 15 ... Row Decoder circuit, 16 ... Memory cell circuit / discharging circuit, 17 ... CPU (program counter), 18, 23 ... Selector, 19, 24, 29 ... External terminal, 20 ... Address input port, 21 ... Column decoder circuit, 22 ... Column selector / precharge circuit, 25 ... Read control signal input port, 26 ... Read control circuit, 26a ... Low speed read control circuit, 26b ... High speed read control circuit, 26c ... Selector , 27 ... Read-out circuit, 28 ... Data output port, 30, 31, 38, 39, 49, 50, 58, 9,8
6, 89, 91, 92, 114, 115 ... Clocked inverter, 32, 45, 48, 54, 57, 63, 81, 87, 1
17,122,124,126 ... NAN
D, 33, 34, 35, 40-42, 44, 51-53, 5
5, 56, 60-62, 64-68, 71-74, 76
~ 80, 84, 85, 90, 98, 105, 112, 1
16, 119 to 121, 123, 125, 127 ... Inverter, 36, 46, 94, 99, 111, 112 ... AND, 37, 43, 47, 70, 75, 113, 118 ... NO
R, 106 ... OR, 69 ... Dividing circuit, 82 ... N-channel type MOS transistor, 83, 88 ... P-channel type MOS transistor, 93, 97, 102-104, 107, 110 ... Buffer, 95, 100, 108 Output latch circuit, 96, 101, 109 Direction control circuit, M0 to M7 Memory cells, T1, T2 Select transistors, CT1 to CTn Column select transistors, BIT0 to BITn Bit lines.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メモリセル回路と、前記メモリセル回路
のビット線をプリチャージするためのプリチャージ回路
と、前記プリチャージ回路の動作を制御するプリチャー
ジ制御回路と、CPUモード時にはCPUからのアド
レス信号に基づいて前記メモリセル回路のメモリセルを
選択し、メモリテストモード時には、チップ外部からの
アドレス信号に基づいて前記メモリセル回路のメモリセ
ルを選択する手段と、前記メモリセル回路からのデータ
を読み出すための読み出し回路と、前記読み出し回路の
動作を制御する読み出し制御回路と、前記読み出し回路
から出力されたデータをチップ外部へ取り出すための手
段と、第1のクロック信号及び前記第1のクロック信号
よりも短いサイクルで変化する第2クロック信号を発生
するクロック発生回路とを備え、 前記プリチャージ制御回路は、CPUモード時に、前記
第1のクロック信号に基づいて前記プリチャージ回路
よる前記ビット線のプリチャージタイミングを制御する
低速プリチャージ制御回路とメモリテストモード時
、前記第2クロック信号に基づいて前記プリチャージ
回路による前記ビット線のプリチャージタイミングを制
御する高速プリチャージ制御回路とを有し、 前記読み出し制御回路は、CPUモード時に、前記第1
のクロック信号に基づいて前記読み出し回路による前記
データの読み出しタイミングを制御する低速読み出し制
御回路とメモリテストモード時に、前記第2クロック
信号に基づいて前記読み出し回路による前記データの読
み出しタイミングを制御する高速読み出し制御回路とを
有していることを特徴とする半導体メモリ。
1. A memory cell circuit, a precharge circuit for precharging a bit line of the memory cell circuit, a precharge control circuit for controlling the operation of the precharge circuit, and a CPU from the CPU in the CPU mode. Means for selecting a memory cell of the memory cell circuit based on an address signal, and selecting a memory cell of the memory cell circuit based on an address signal from the outside of the chip in the memory test mode; and data from the memory cell circuit. Circuit for reading the data, a read control circuit for controlling the operation of the read circuit, a means for taking out the data output from the read circuit to the outside of the chip , a first clock signal and the first clock signal
Generates a second clock signal that changes in a shorter cycle than
And a clock generation circuit for the precharge control circuit, when the CPU mode, the
Said precharge circuit based on the first clock signal
And a low-speed precharge control circuit for controlling the precharge timing of the bit line, and a high-speed precharge control for controlling the precharge timing of the bit line by the precharge circuit based on the second clock signal in the memory test mode. And a read control circuit in the CPU mode .
Wherein by said read circuit on the basis of the clock signal
And slow read control circuit for controlling the read timing of data, the memory test mode, the second clock
Read of the data by the read circuit based on a signal
A semiconductor memory having a high-speed read control circuit for controlling a projection timing .
【請求項2】 前記プリチャージ制御回路は、前記低速
プリチャージ制御回路から出力され、前記ビット線のプ
リチャージタイミングを制御する低速プリチャージ信号
前記高速プリチャージ制御回路から出力され、前記
ビット線のプリチャージタイミングを制御する高速プリ
チャージ信号とを切り替え、CPUモード時には前記
低速プリチャージ信号を前記プリチャージ回路に供給
し、メモリテストモード時には前記高速プリチャージ
信号を前記プリチャージ回路に供給するセレクタを有
し、 前記読み出し制御回路は、前記低速読み出し制御回路か
ら出力され、前記データの読み出しタイミングを制御す
る低速読み出し制御信号と前記高速読み出し制御回路
から出力され、前記データの読み出しタイミングを制御
る高速読み出し制御信号とを切り替え、CPUモード
時には前記低速読み出し制御信号を前記読み出し回路
に供給し、メモリテストモード時には前記高速読み出
し制御信号を前記読み出し回路に供給するセレクタを有
していることを特徴とする請求項1に記載の半導体メモ
リ。
2. The precharge control circuit outputs from the low speed precharge control circuit, and outputs the bit line
And slow precharge signal that controls the recharge timing, output from the high-speed pre-charge control circuit, wherein
Switching the precharge timing fast precharge signal that controls the bit line, when the CPU mode, the low speed by supplying a precharge signal to the precharge circuit, the memory test mode, the precharge said fast precharge signal A low-speed read control signal that is output from the low-speed read control circuit and that controls the data read timing, and a high-speed read control circuit that outputs the low-speed read control signal. Control the read timing of the data
Switching between the high-speed read control signal you, at the time of CPU mode, and supplies the low-speed read control signal to the read circuit, the memory test mode, and a selector for supplying the high-speed read control signal to the read circuit The semiconductor memory according to claim 1, wherein:
JP08949294A 1994-04-27 1994-04-27 Semiconductor memory Expired - Fee Related JP3410809B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08949294A JP3410809B2 (en) 1994-04-27 1994-04-27 Semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08949294A JP3410809B2 (en) 1994-04-27 1994-04-27 Semiconductor memory

Publications (2)

Publication Number Publication Date
JPH07296598A JPH07296598A (en) 1995-11-10
JP3410809B2 true JP3410809B2 (en) 2003-05-26

Family

ID=13972257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08949294A Expired - Fee Related JP3410809B2 (en) 1994-04-27 1994-04-27 Semiconductor memory

Country Status (1)

Country Link
JP (1) JP3410809B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100400309B1 (en) 2001-05-04 2003-10-01 주식회사 하이닉스반도체 Interior operation command generating apparatus and method of a semiconductor memory device
KR100809690B1 (en) * 2006-07-14 2008-03-07 삼성전자주식회사 Semiconductor memory device capable of low frequency test operation and test method of the same

Also Published As

Publication number Publication date
JPH07296598A (en) 1995-11-10

Similar Documents

Publication Publication Date Title
US5955905A (en) Signal generator with synchronous mirror delay circuit
JP4499069B2 (en) Column selection line control circuit for synchronous semiconductor memory device and control method therefor
EP0230960B1 (en) Microcomputer having a highspeed operation mode and a low-speed operation mode
EP0242948B1 (en) Refresh operation control circuit for semiconductor device
EP0179651B1 (en) Semiconductor memory device
JPH07226077A (en) Method and device for hidden self-refreshment of synchronous dram
JPH0632216B2 (en) Precharge control circuit for output buffer of memory device
JP3341710B2 (en) Semiconductor storage device
US5848431A (en) Synchronous SRAMs having multiple chip select inputs and a standby chip enable input
EP0443775B1 (en) Signature circuit for non-volatile memory device
KR20040019990A (en) Semiconductor memory device
JPH1069783A (en) Output buffer circuit
EP0827154B1 (en) Dram with variable internal operation frequency
JP3410809B2 (en) Semiconductor memory
EP0952549B1 (en) Edge transition detection disable circuit to alter memory device operating characteristics
JPH0991956A (en) Semiconductor memory
JP2956426B2 (en) Semiconductor storage device
JPH11110963A (en) Semiconductor integrated circuit device
JPH09180443A (en) Semiconductor memory circuit
US6005822A (en) Bank selectable Y-decoder circuit and method of operation
US6363032B2 (en) Programmable counter circuit for generating a sequential/interleave address sequence
US6246633B1 (en) Semiconductor memory device permitting stabilized operation and high-speed access
JPH09139066A (en) Semiconductor memory
US6108245A (en) Write recovery time control circuit in semiconductor memory and control method thereof
US6215729B1 (en) Programmable counter circuit for generating a sequential/interleave address sequence

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080320

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees