Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6210389B2 - - Google Patents
[go: Go Back, main page]

JPS6210389B2 - - Google Patents

Info

Publication number
JPS6210389B2
JPS6210389B2 JP54140644A JP14064479A JPS6210389B2 JP S6210389 B2 JPS6210389 B2 JP S6210389B2 JP 54140644 A JP54140644 A JP 54140644A JP 14064479 A JP14064479 A JP 14064479A JP S6210389 B2 JPS6210389 B2 JP S6210389B2
Authority
JP
Japan
Prior art keywords
data
timing signal
signal
test
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
Application number
JP54140644A
Other languages
Japanese (ja)
Other versions
JPS5664667A (en
Inventor
Tsutomu Myazaki
Sumitoshi Shirasaka
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.)
CHO ERU ESU AI GIJUTSU KENKYU KUMIAI
Original Assignee
CHO ERU ESU AI GIJUTSU KENKYU KUMIAI
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 CHO ERU ESU AI GIJUTSU KENKYU KUMIAI filed Critical CHO ERU ESU AI GIJUTSU KENKYU KUMIAI
Priority to JP14064479A priority Critical patent/JPS5664667A/en
Publication of JPS5664667A publication Critical patent/JPS5664667A/en
Publication of JPS6210389B2 publication Critical patent/JPS6210389B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Testing Or Measuring Of Semiconductors Or The Like (AREA)
  • Semiconductor Integrated Circuits (AREA)

Description

【発明の詳細な説明】 この発明は各部の機能試験を行なう際の試験時
間の短縮化を図つた半導体集積回路装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a semiconductor integrated circuit device that is capable of shortening test time when performing functional tests of various parts.

1チツプ化されたCPU等の半導体集積回路装
置の機能試験は、回路装置内部の多様化、高集積
化に伴つてその試験項目が膨大な量となつてい
る。
Functional testing of semiconductor integrated circuit devices such as a single-chip CPU has become increasingly complex due to the diversification and higher integration of circuit devices.

第1図は従来の半導体集積回路装置の1例とし
てCPUの構成を示すブロツク図である。図にお
いてバスバツフア1はCPU外部に接続された外
部回路を起動するとともに、内部バスライン2お
よび外部バライン3それぞれに対してデータの入
出力の切り換えを行なうものである。また上記内
部バスライン2にはROMおよびRAMからなるメ
モリ4が接続される。プログラムカウンタ
(PC)5は上記メモリ4のアドレス指定を行ない
CPUの実行アドレスを決定する。演算回路
(ALU)6はそれぞれ上記内部バスライン2に接
続されたAレジスタ(AR)7およびBレジスタ
(BR)8の内容を算術、論理演算する。タイミン
グ信号発生回路9は外部から供給されるクロツク
パルスCPに基づいて、上記バスバツフア1、メ
モリ4、PC5、ALU6、AR7、BR8それぞれ
を制御するための各タイミング信号を発生すると
ともに、CPU外部に接続されたメモモリ等を制
御するためのタイミング信号を順次発生する。
FIG. 1 is a block diagram showing the configuration of a CPU as an example of a conventional semiconductor integrated circuit device. In the figure, a bus buffer 1 activates an external circuit connected to the outside of the CPU, and also switches data input/output to and from an internal bus line 2 and an external buffer line 3, respectively. Further, a memory 4 consisting of ROM and RAM is connected to the internal bus line 2. The program counter (PC) 5 specifies the address of the memory 4 mentioned above.
Determine the CPU execution address. An arithmetic unit (ALU) 6 performs arithmetic and logical operations on the contents of an A register (AR) 7 and a B register (BR) 8 connected to the internal bus line 2, respectively. The timing signal generation circuit 9 generates timing signals for controlling the bus buffer 1, memory 4, PC5, ALU6, AR7, and BR8, respectively, based on the clock pulse CP supplied from the outside, and also connects to the outside of the CPU. It sequentially generates timing signals to control the memory, etc.

ここで上記のように構成された従来のCPUに
おいて、メモリ4のROM領域内に記憶されてい
るデータが正しいものであるかどうかを試験する
場合の動作を説明する。ただしこの場合、試験の
前提条件として、メモリ4のRAM領域内には
ROM領域内に記憶されているデータを読み出す
のに必要な命令群が予め記憶されているものとす
る。先ず第2図に示すようにクロツクバルスCP
がタイミング信号発生回路9に入力すると、PC
5にタイミング信号が送られ、この後PC5がメ
モリ4のROMデータ読出命令が記憶されている
RAM領域のアドレスPを指定する。そして次の
クロツクパルスCPがタイミング信号発生回路9
に入力すると、今度はメモリ4にタイミング信号
が送られ、この後メモリ4は上記アドレスPによ
り指定されたRAM領域内のデータIを読み出
す。そして上記読み出されたデータIは内部バス
ライン2に送られる。さらに次のクロツクパルス
CPがタイミング信号発生回路9に入力すると、
再びPC5にタイミング信号が送られ、この後PC
5は上記データIをセツトしてROM領域のアド
レスIを指定する。またさらに次のクロツクパル
スCPがタイミング信号発生回路9に入力する
と、再びメモリ4にタイミング信号が送られ、こ
の後メモリ4は上記アドレスIにより指定された
ROM領域内のデータRを読み出す。そしてこの
読み出されたデータRは内部バスライン2に送ら
れる。さらに、このデータRはこの後バスバツフ
ア1および外部バスライン3を介て外部に送ら
れ、正しいデータか否かが試験される。以下同様
にしてROM領域内のデータが順次読み出されて
外部に送られることにより、メモリ4の試験が行
なわれる。
Here, the operation of the conventional CPU configured as described above when testing whether the data stored in the ROM area of the memory 4 is correct will be described. However, in this case, as a prerequisite for the test, the RAM area of memory 4 contains
It is assumed that a group of instructions necessary to read data stored in the ROM area are stored in advance. First, as shown in Figure 2, the clock pulse CP
is input to the timing signal generation circuit 9, the PC
A timing signal is sent to PC 5, after which the PC 5 stores the ROM data read command in memory 4.
Specify the address P of the RAM area. Then, the next clock pulse CP is generated by the timing signal generation circuit 9.
, a timing signal is sent to the memory 4, and then the memory 4 reads out the data I in the RAM area designated by the address P. The read data I is then sent to the internal bus line 2. Yet another clock pulse
When CP is input to the timing signal generation circuit 9,
The timing signal is sent to PC5 again, and then the PC
5 sets the above data I and specifies the address I of the ROM area. When the next clock pulse CP is input to the timing signal generation circuit 9, the timing signal is again sent to the memory 4, and after this, the memory 4 is designated by the above address I.
Read data R in the ROM area. This read data R is then sent to the internal bus line 2. Further, this data R is then sent to the outside via bus buffer 1 and external bus line 3, and tested to see if it is correct data. Thereafter, data in the ROM area is sequentially read out and sent to the outside in the same manner, thereby testing the memory 4.

ところで上記従来のCPUでは、メモリ4から
1つのデータを読み出すのにクロツクパルスCP
を4回入力しなければならない。すなわちメモリ
4の1つのデータを試験するために4ステツプの
シーケンスが必要であり、ROM領域内のデータ
が多くなれば試験時間が長くなつてしまうといつ
た欠点がある。またメモリ4のみでなくALU6
を試験する場合にも、先ず必要なデータをメモリ
4に記憶させ、しかる後ALU6の演算命令を実
行させることによつて行なうため、試験ステツプ
数も多くなりその試験時間が長くなつてしまうこ
とになる。
By the way, in the conventional CPU mentioned above, it takes a clock pulse CP to read one piece of data from the memory 4.
must be entered four times. That is, a four-step sequence is required to test one piece of data in the memory 4, and the test time becomes longer as the amount of data in the ROM area increases. Also, not only memory 4 but also ALU6
When testing, the necessary data is first stored in the memory 4, and then the arithmetic instructions of the ALU 6 are executed, which increases the number of test steps and increases the test time. Become.

この発明は上記のような事情を考慮してなされ
たもので、その目的は、機能試験時における試験
ステツプ数を少なくして試験時間の短縮化が可能
な半導体集積回路装置を提供することにある。
This invention has been made in consideration of the above circumstances, and its purpose is to provide a semiconductor integrated circuit device that can shorten test time by reducing the number of test steps during a functional test. .

以下、図面を参照してこの発明の一実施例を説
明する。第3図はこの発明の半導体集積回路装置
を1チツプのCPUに実施した場合のブロツク構
成図であり、従来と対応する箇所には同じ符号を
付している。この実施例回路が従来のものと基本
的に異なるところは、タイミング信号発生回路9
からバスバツフア1、メモリ4、PC5、AR7、
BR8それぞれに送られるタイミング信号の各経
路に各データマルチプレクサ10〜14を挿入
し、これら各データマルチプレクサ10〜14の
一方入力端にタイミング信号発生回路9からのタ
イミング信号を供給し、他方入力端に他のタイミ
ング信号を供給して、上記バスバツフア1ないし
BR8それぞれを2系統のタイミング信号で作動
させるようにしたものである。図において端子
T1,T2にはこのCPUの試験モードを選択するた
めのモード選択信号MS0,MS1それぞれが供給さ
れるようになつていて、この両信号はデコーダ1
5に送られる。デコーダ15は上記モード選択信
号MS0,MS1のレベル状態に応じて、非試験モー
ド、メモリ4のROM試験モード、メモリ4の
RAM試験モードおよびALU試験モードの4つの
モードを選択するもので、非試験モード選択時の
場合にはモード信号MNORMが、ROM試験モード
選択時にはモード信号MROMが、RAM試験モード
選択時にはモード信号MRAMが、ALU試験モード
選択時にはモード信号MALUがそれぞれ高レベル
に設定される。上記モード信号MNORMは上記デー
タマルチプレクサ10,12〜14それぞれの制
御端に送られる。また上記モード信号MROMはオ
アゲート16に、モード信号MRAMはこのオアゲ
ート16、上記データマルチプレクサ11の制御
端、アンドゲート17およびインバータ18それ
ぞれに送られる。そして上記オアゲート16の出
力信号はアンドゲート19に送られる。さらに上
記モード信号MALUはアンドゲート20,21に
送られる。前記タイミング信号発生回路9で発生
するタイミング信号TAは上記データマルチプレ
クサ10の一方入力端に、タイミング信号TB
上記データマルチプレクサ11の一方入力端に、
タイミング信号TCは上記データマルチプレクサ
12の一方入力端に、タイミング信号TDは上記
データマルチプレクサ13の一方入力端に、タイ
ミング信号TEは上記データマルチプレクサ13
の一方入力端にそれぞれ送られる。さらに前記タ
イミング信号発生回路9で発生するバス入出力切
換用のタイミング信号TFは、上記モード信号MN
ORMがその制御端に入力するトライステートバツ
フア22を介して端子T3から外部に出力される
とともに、この端子T3には外部から内部バスラ
イン2を入出力切換するためのタイミング信号
Tfが供給され、このタイミング信号Tfはバツフ
ア23を介して上記データマルチプレクサ10の
他方入力端に送られる。またさらに前記タイミン
グ信号発生回路9で発生する外部メモリ制御用の
タイミング信号TGは、上記インバータ18によ
るモード信号MRAMの反転信号がその制御端に入
力するトライステートバツフア24を介して端子
T4から外部に出力されるとともに、この端子T4
には外部からCPU内部のメモリ4を制御するた
めのタイミング信号Tgが供給され、このタイミ
ング信号Tgはバツフア25を介して上記アンド
ゲート17に送られ、さらにこのアンドゲート1
7の出力信号は上記データマルチプレクサ11の
他方入力端に送られる。同様に前記タイミング信
号発生回路9で発生する外部メモリセツト用のタ
イミング信号THは、上記モード信号MNORMがそ
の制御端に入力するトライステートバツフア26
を介して端子T5から外部に出力されるととも
に、この端子T5には外部からCPU内部のPC5,
AR7,BR8を制御するためのタイミング信号
Thが供給され、このタイミング信号Thはバツフ
ア27を介して上記3つのアンドゲート19〜2
1およびD型フリツプフロツプ28のクロツク端
に送られる。上記フリツプフロツプ28はその
出力信号がデータ入力端に供給されるようになつ
ていて、上記タイミング信号Thが送られる毎に
そのQ出力信号は反転するようになつている。上
記フリツプフロツプ28のQ出力信号は上記アン
ドゲート21に送られる。また端子T6には外部
からクロツクパルスCPが供給され、このクロツ
クパルスはタイミング信号発生回路9に送られ
る。そして上記アンドゲート17,19,20,
21の各出力信号はデータマルチプレクサ11〜
14の各他方入力端に送られ、さらにデータマル
チプレクサ10〜14の各出力信号は前記バスバ
ツフア1、メモリ4、PC5、AR7、BR8それ
ぞれに送られる。
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 3 is a block configuration diagram when the semiconductor integrated circuit device of the present invention is implemented in a one-chip CPU, and portions corresponding to those of the conventional device are given the same reference numerals. The basic difference between this embodiment circuit and the conventional circuit is that the timing signal generation circuit 9
From bus buffer 1, memory 4, PC5, AR7,
Each data multiplexer 10-14 is inserted in each path of the timing signal sent to each BR8, and the timing signal from the timing signal generation circuit 9 is supplied to one input terminal of each of these data multiplexers 10-14, and the timing signal is supplied to the other input terminal. By supplying other timing signals, the bus buffer 1 or
Each BR8 is operated by two systems of timing signals. In the diagram, the terminal
Mode selection signals MS 0 and MS 1 for selecting the test mode of this CPU are supplied to T 1 and T 2 , respectively, and both signals are sent to the decoder 1.
Sent to 5. The decoder 15 selects a non-test mode, a ROM test mode for the memory 4 , and a ROM test mode for the memory 4, depending on the level states of the mode selection signals MS 0 and MS 1 .
It selects four modes: RAM test mode and ALU test mode. When non-test mode is selected, mode signal M NORM is selected, when ROM test mode is selected, mode signal M ROM is selected, and when RAM test mode is selected, mode signal M NORM is selected. When the M RAM selects the ALU test mode, the mode signal M ALU is set to a high level. The mode signal M NORM is sent to the control end of each of the data multiplexers 10, 12-14. The mode signal M ROM is sent to the OR gate 16, and the mode signal M RAM is sent to the OR gate 16, the control end of the data multiplexer 11, the AND gate 17, and the inverter 18, respectively. The output signal of the OR gate 16 is sent to the AND gate 19. Further, the mode signal M ALU is sent to AND gates 20 and 21. The timing signal T A generated by the timing signal generation circuit 9 is applied to one input terminal of the data multiplexer 10, and the timing signal T B is applied to one input terminal of the data multiplexer 11.
The timing signal T C is connected to one input terminal of the data multiplexer 12, the timing signal T D is connected to one input terminal of the data multiplexer 13, and the timing signal T E is connected to one input terminal of the data multiplexer 13.
are respectively sent to one input terminal of the . Further, the timing signal T F for bus input/output switching generated by the timing signal generation circuit 9 is the mode signal M N
The ORM is output to the outside from the terminal T3 via the tri-state buffer 22 inputted to its control terminal, and a timing signal for switching input/output of the internal bus line 2 from the outside is output to the terminal T3.
Tf is supplied, and this timing signal Tf is sent to the other input terminal of the data multiplexer 10 via the buffer 23. Furthermore, the timing signal T G for external memory control generated by the timing signal generation circuit 9 is transmitted to a terminal via a tri-state buffer 24 to which an inverted signal of the mode signal M RAM by the inverter 18 is input.
This terminal T 4 is output externally from T 4 .
is supplied with a timing signal Tg for controlling the memory 4 inside the CPU from the outside, and this timing signal Tg is sent to the AND gate 17 via the buffer 25, and further to the AND gate 1.
The output signal of 7 is sent to the other input terminal of the data multiplexer 11. Similarly, the timing signal T H for external memory set generated by the timing signal generation circuit 9 is transmitted to the tri-state buffer 26 to which the mode signal M NORM is input to the control terminal.
It is output to the outside from terminal T5 via
Timing signal to control AR7 and BR8
Th is supplied, and this timing signal Th is passed through a buffer 27 to the three AND gates 19 to 2.
1 and the clock edge of the D-type flip-flop 28. The output signal of the flip-flop 28 is supplied to the data input terminal, and its Q output signal is inverted every time the timing signal Th is sent. The Q output signal of the flip-flop 28 is sent to the AND gate 21. A clock pulse CP is also supplied to the terminal T6 from the outside, and this clock pulse is sent to the timing signal generating circuit 9. And the above AND gate 17, 19, 20,
Each output signal of 21 is sent to the data multiplexer 11~
14, and each output signal of the data multiplexers 10-14 is sent to the bus buffer 1, memory 4, PC5, AR7, and BR8, respectively.

次に上記のように構成された装置の動作を説明
する。先ず予め端子T6にクロツクパルスCPを供
給し、これがタイミング信号発生回路9に入力す
ると、タイミング信号発生回路9はタイミング信
号TA〜THを所定のタイミングに従つて発生す
る。この状態でCPUを通常動作させるために、
端子T1,T2に供給する2つのモード選択信号
MS0,MS1のレベルをともに低レベルに設定す
る。上記信号MS0,MS1がともに低レベルに設定
されると、デコーダ15は非試験モードを選択し
てモード信号MNORMのみを高レベルに設定する。
モード信号MNORMが高レベルに設定されると、こ
の信号MNORMがその制御端に入力する4つのデー
タマルチプレクサ10,12,13,14は、そ
れぞれタイミング信号発生回路9で発生するタイ
ミング信号TA,TC,TD,TEを選択出力する。
またこのとき低レベルとなつているモード信号M
RAMがその制御端に入力するデータマルチプレク
サ11も、タイミング信号発生回路9で発生する
タイミング信号TBを選択出力する。さらにこの
ときその制御端に高レベルのモード信号MNORM
その制御端に入力する2つのトライステートバツ
フア22,26およびインバータ18の出力信号
がその制御端に入力するトライステートバツフア
24が動作し、それぞれタイミング信号発生回路
9で発生するタイミング信号TF,TG,THが、
それぞれ端子T3,T4,T5を介して外部に出力さ
れる。この結果、各データマルチプレクサ10〜
14の出力信号すなわちタイミング信号TA〜TE
が入力するバスバツフア1、メモリ4、PC5、
AR7、BR8は通常動作を行なうことになる。
Next, the operation of the apparatus configured as described above will be explained. First, a clock pulse CP is supplied to the terminal T6 in advance, and when this is input to the timing signal generating circuit 9, the timing signal generating circuit 9 generates timing signals T A to T H according to predetermined timing. In order to operate the CPU normally in this state,
Two mode selection signals supplied to terminals T 1 and T 2
Set both MS 0 and MS 1 levels to low level. When the signals MS 0 and MS 1 are both set to low level, the decoder 15 selects the non-test mode and sets only the mode signal M NORM to high level.
When the mode signal M NORM is set to a high level, the four data multiplexers 10, 12, 13, and 14 to which this signal M NORM is input to their control terminals each receive a timing signal T A generated by the timing signal generation circuit 9. , T C , T D , and T E are selectively output.
Also, the mode signal M which is at a low level at this time
The data multiplexer 11 to which the RAM is input at its control end also selectively outputs the timing signal T B generated by the timing signal generation circuit 9. Furthermore, at this time, the two tri-state buffers 22 and 26 to which the high-level mode signal M NORM is input to their control terminals and the tri-state buffer 24 to which the output signal of the inverter 18 is input are activated. The timing signals T F , T G , T H generated by the timing signal generation circuit 9 are as follows.
The signals are output to the outside via terminals T 3 , T 4 and T 5 , respectively. As a result, each data multiplexer 10~
14 output signals, that is, timing signals T A to T E
input bus buffer 1, memory 4, PC 5,
AR7 and BR8 will perform normal operation.

次にメモリ4のROM領域内に記憶されている
データが正しいものであるかどうかのROM試験
を行なう場合には、モード選択信号MS0を低レベ
ル、MS1を高レベルに設定する。このような設定
状態において、デコーダ15はROM試験モード
を選択してモード信号MROMのみを高レベルに設
定する。このモード信号MROMが高レベルに設定
されると、オアゲート16を介してアンドゲート
19の一方入力信号が高レベルとなりこのアンド
ゲート19が開く。またこのときモード信号MNO
RMは低レベルとなつているので、データマルチプ
レクサ10は端子T3に供給されるタイミング信
号Tfを選択出力することになる。この状態で先
ずタイミング信号Tfを端子T3に供給してバスバ
ツフア1をデータ入力側に切り換えるとともに、
第4図に示すように外部バスライン3にROM領
域の任意のアドレスIを供給し、その後端子T5
にタイミング信号Thを供給する。このとき上記
したようにアンドゲート19は開いているため、
信号Thはこのアンドゲート19を介してデータ
マルチプレクサ12に入力する。さらにこのとき
このデータマルチプレクサ12の制御端に入力し
ているモード信号MNORMは低レベルになつている
ため、このデータマルチプレクサ12は上記タイ
ミング信号Tfを選択してPC5に出力する。上記
信号Tfが入力すると、PC5は内部バスライン2
のデータすなわち上記アドレスIをセツトする。
そして次のクロツクパルスCPのタイミングで
は、メモリ4が上記アドレスIより指定された
ROM領域内のデータRを読み出す。そしてこの
読み出されたデータRは内部バスライン2に出力
される。そしてこの後、端子T3にタイミング信
号Tfを供給することによつてバスバツフア1を
データ力側に切り換え、上記データRを外部に出
力する。そしてさらにこの後CPU外部でこのデ
ータRが正しいデータか否かが判定される。
Next, when performing a ROM test to determine whether the data stored in the ROM area of the memory 4 is correct, the mode selection signal MS 0 is set to a low level and the mode selection signal MS 1 is set to a high level. In this setting state, the decoder 15 selects the ROM test mode and sets only the mode signal M_ROM to a high level. When this mode signal M ROM is set to a high level, one input signal of an AND gate 19 becomes a high level through an OR gate 16, and this AND gate 19 is opened. Also at this time, the mode signal M NO
Since RM is at a low level, the data multiplexer 10 selectively outputs the timing signal Tf supplied to the terminal T3 . In this state, first, supply the timing signal Tf to the terminal T3 to switch the bus buffer 1 to the data input side, and
As shown in FIG. 4, an arbitrary address I in the ROM area is supplied to the external bus line 3, and then the terminal T5
A timing signal Th is supplied to. At this time, as mentioned above, the AND gate 19 is open, so
The signal Th is input to the data multiplexer 12 via this AND gate 19. Furthermore, at this time, since the mode signal M NORM input to the control terminal of the data multiplexer 12 is at a low level, the data multiplexer 12 selects the timing signal Tf and outputs it to the PC 5. When the above signal Tf is input, PC5 outputs internal bus line 2.
, that is, the above address I is set.
Then, at the timing of the next clock pulse CP, memory 4 is specified by the above address I.
Read data R in the ROM area. This read data R is then output to the internal bus line 2. Then, by supplying the timing signal Tf to the terminal T3 , the bus buffer 1 is switched to the data output side, and the data R is outputted to the outside. Thereafter, it is determined whether this data R is correct data or not outside the CPU.

このようにメモリ4のROM領域からデータを
読み出してそのデータが正しいか否かを判定する
ROM試験の場合、従来のようにRAM領域内のデ
ータを読み出すことなしにROM領域を独立的に
作動させるようにしているので、1つのデータを
読み出すにはクロツクパルスCPを2回入力すれ
ば良く、従来の4ステツプから2ステツプに試験
ステツプ数を減少させることができる。したがつ
てROM試験に要する時間は従来に比較して大幅
に短縮することができる。
In this way, read data from the ROM area of memory 4 and determine whether the data is correct or not.
In the case of ROM testing, the ROM area is operated independently without reading the data in the RAM area as in the past, so to read one piece of data, you only need to input the clock pulse CP twice. The number of test steps can be reduced from the conventional 4 steps to 2 steps. Therefore, the time required for the ROM test can be significantly reduced compared to the conventional method.

ALU6の試験を行なう場合には、モード選択
信号MS0,MS1をともに高レベルに設定する。こ
のような設定状態において、デコーダ15は
ALU試験モードを選択してモード信号MALUのみ
を高レベルに設定する。このモード信号MALU
高レベルに設定されると、2つのアンドゲート2
0,21がともに開く。またこのとき上記と同様
にモード信号MNORMは低レベルとなつているの
で、データマルチプレクサ10は端子T3に供給
されるタイミング信号Tfを選択出力することに
なる。この状態で先ずタイミング信号Tfを端子
T3に供給してバスバツフア1をデータ入力側に
切り換えるとともに、第5図に示すように外部バ
スライン3にデータD1を供給し、さらに端子T5
にタイミング信号Thを供給する。このとき上記
したようにアンドゲート20が開いているため、
信号Thはこのアンドゲート20を介してデータ
マルチプレクサ13に入力する。さらにこのとき
データマルチプレクサ13の制御端に入力してい
るモード信号MNORMは低レベルになつているた
め、このデータマルチプレクサ13は上記タイミ
ング信号Thを選択してAR7に出力する。上記信
号Thが入力すると、AR7は内部バスライン2の
データD1をセツトする。一方上記Thが入力する
とフリツプフロツプ28のQ出力信号が高レベル
に立上る。AR7がデータD1をセツト後、今度は
外部バスライン3に他のデータD2を供給し、さ
らに端子T5にもう一度タイミング信号Thを供給
する。このときフリツプフロツプ28のQ出力信
号は高レベル、モード信号MALUも高レベルとな
りアンドゲート21は開いているため、信号Th
はこのアンドゲート21を介してデータマルチプ
レクサ14に入力する。このときデータマルチプ
レクサ14に入力しているモード信号MNORMは低
レベルになつているため、このデータマルチプレ
クサ14は上記タイミング信号Thを選択してBR
8に出力する。上記信号Thが入力すると、BR8
は内部バスライン2のデータD2をセツトする。
この結果AR7、BR8にはデータD1,D2がセツ
トされる。そして次のクロツクパルスCPのタイ
ミングでは、ALU6が加算演算制御される場合
には、ALU6は上記2つのデータD1,D2を加算
する。そしてこの加算されたデータD3は内部バ
スライン2に出力される。そしてこの後、端子
T3にタイミング信号Tfを供給することによつて
バスバツフア1をデータ出力側に切換え、上記デ
ータD3を外部に出力する。そして外部でこのデ
ータD3が正しいデータか否かが判定される。
When testing the ALU 6, both mode selection signals MS 0 and MS 1 are set to high level. In such a setting state, the decoder 15
Select the ALU test mode and set only the mode signal M ALU to high level. When this mode signal M ALU is set to high level, two AND gates 2
0 and 21 both open. Also, at this time, since the mode signal M NORM is at a low level as described above, the data multiplexer 10 selectively outputs the timing signal Tf supplied to the terminal T3 . In this state, first connect the timing signal Tf to the terminal.
T 3 is supplied to switch the bus buffer 1 to the data input side, and data D 1 is supplied to the external bus line 3 as shown in FIG .
A timing signal Th is supplied to. At this time, as mentioned above, since the AND gate 20 is open,
The signal Th is input to the data multiplexer 13 via this AND gate 20. Furthermore, at this time, since the mode signal M NORM input to the control terminal of the data multiplexer 13 is at a low level, the data multiplexer 13 selects the timing signal Th and outputs it to the AR7. When the signal Th is input, AR7 sets data D1 on internal bus line 2. On the other hand, when the above Th is input, the Q output signal of the flip-flop 28 rises to a high level. After the AR7 sets the data D1 , it supplies another data D2 to the external bus line 3, and also supplies the timing signal Th to the terminal T5 once again. At this time, the Q output signal of the flip-flop 28 is at a high level, the mode signal M ALU is also at a high level, and the AND gate 21 is open, so the signal Th
is input to the data multiplexer 14 via this AND gate 21. At this time, the mode signal M NORM input to the data multiplexer 14 is at a low level, so the data multiplexer 14 selects the timing signal Th and BR
Output to 8. When the above signal Th is input, BR8
sets data D2 on internal bus line 2.
As a result, data D 1 and D 2 are set in AR7 and BR8. Then, at the timing of the next clock pulse CP, if the ALU 6 is under addition operation control, the ALU 6 adds the above two data D 1 and D 2 . This added data D3 is then output to the internal bus line 2. And after this, the terminal
By supplying the timing signal Tf to T3 , the bus buffer 1 is switched to the data output side, and the data D3 is outputted to the outside. Then, it is determined externally whether this data D3 is correct data.

このようにALU6の演算動作を試験するALU
試験の場合にも、メモリを動作させることなく、
AR7、BR8、ALU6を独立的に作動させるよ
うにしているので、その試験ステツプ数もわずか
3ステツプで済み、従来に比較してその試験に要
する時間は大幅に短縮することができる。
ALU that tests the calculation operation of ALU6 in this way
Even in the case of testing, without operating the memory,
Since the AR7, BR8, and ALU6 are operated independently, the number of test steps is only three, and the time required for the test can be significantly shortened compared to conventional methods.

またメモリ4のRAM領域の試験、すなわち
RAM試験を行なう場合には、モード選択信号
MS0を高レベル、MS1を低レベルにそれぞれ設定
することにより開始されるが、その説明は省略す
る。
Also test the RAM area of memory 4, i.e.
When performing a RAM test, the mode selection signal
The process starts by setting MS 0 to a high level and MS 1 to a low level, but their explanation will be omitted.

このように上記実施例ではCPUにおいて試験
を行なう箇所のみを、外部からのタイミング信号
によつて独立的に作動させるようにしたので、そ
の試験ステツプ数を減少させることができ、試験
時間を短縮することが可能になる。
In this way, in the above embodiment, only the parts of the CPU to be tested are operated independently by timing signals from the outside, so the number of test steps can be reduced and the test time can be shortened. becomes possible.

第6図はこの発明の他の実施例の構成を示すブ
ロツク図である。上記実施例では非試験、ROM
試験、RAM試験およびALU試験の各試験モード
を選択するための特別な端子T1,T2をCPUに設
けた場合を説明したが、これは第6図に示すよう
にこの信号MS0,MS1をバスライン3,2を介し
てデコーダ30に送るようにしても良い。ただし
この場合デコーダ30には上記2つの信号MS0
MS1をいつたん記憶するための記憶部を設ける必
要があるとともに、この記憶部を制御するための
制御端子TXを設ける必要がある。このようにバ
スライン3,2を用いれば、試験モードが多くな
つた場合にその端子の数を節減できる効果は極め
て大きい。
FIG. 6 is a block diagram showing the structure of another embodiment of the invention. In the above example, non-test, ROM
We have explained the case where the CPU is provided with special terminals T 1 and T 2 for selecting each test mode of test, RAM test, and ALU test. 1 may be sent to the decoder 30 via the bus lines 3 and 2. However, in this case, the decoder 30 receives the above two signals MS 0 ,
It is necessary to provide a storage section for temporarily storing MS 1 , and it is also necessary to provide a control terminal Tx for controlling this storage section. If the bus lines 3 and 2 are used in this manner, the effect of reducing the number of terminals when the number of test modes increases is extremely large.

なおこの発明は上記した実施例に限定されるも
のではなく、たとえば上記実施例では半導体集積
回路装置としてCPUの場合を説明したが、これ
は他のどんなものにでも適用可能なことはいうま
でもない。
The present invention is not limited to the embodiments described above; for example, in the embodiments described above, a CPU is used as a semiconductor integrated circuit device, but it goes without saying that this invention can be applied to any other device. do not have.

以上説明したようにこの発明によれば、機能試
験時における試験ステツプ数を少なくして試験時
間の短縮化が可能な半導体集積回路装置を提供す
ることができる。
As described above, according to the present invention, it is possible to provide a semiconductor integrated circuit device that can reduce the number of test steps during a functional test and shorten the test time.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来のCPUのブロツク構成図、第2
図はその動作を示すタイミングチヤート、第3図
はこの発明に係る半導体集積回路装置の一実施例
を示すブロツク構成図、第4図および第5図はそ
れぞれ上記実施例装置の動作を示すタイミングチ
ヤート、第6図はこの発明の他の実施例を示すブ
ロツク構成図である。 1…バスバツフア、2…内部バスライン、3…
外部バスライン、4…メモリ、5…プログラムカ
ウンタ(PC)、6…演算回路(ALU)7…Aレ
ジスタ(AR)、8…Bレジスタ(BR)、9…タイ
ミング信号発生回路、10〜14…データマルチ
プレクサ、15…デコーダ、16…オアゲート、
17,19,20,21…アンドゲート、18…
インバータ、22,24,26…トライステート
バツフア、23,25,27…バツフア、28…
D型フリツプフロツプ、30…デコーダ、T1
T6,TX…端子。
Figure 1 is a block diagram of a conventional CPU, Figure 2 is a block diagram of a conventional CPU.
3 is a block diagram showing an embodiment of the semiconductor integrated circuit device according to the present invention, and FIGS. 4 and 5 are timing charts showing the operation of the device of the above embodiment, respectively. , FIG. 6 is a block diagram showing another embodiment of the present invention. 1...Bus buffer, 2...Internal bus line, 3...
External bus line, 4... Memory, 5... Program counter (PC), 6... Arithmetic circuit (ALU), 7... A register (AR), 8... B register (BR), 9... Timing signal generation circuit, 10 to 14... Data multiplexer, 15...decoder, 16...or gate,
17, 19, 20, 21...and gate, 18...
Inverter, 22, 24, 26... tri-state buffer, 23, 25, 27... buffer, 28...
D-type flip-flop, 30...decoder, T 1 ~
T 6 , T X ...terminals.

Claims (1)

【特許請求の範囲】[Claims] 1 タイミング信号発生部で発生する各タイミン
グ信号に応じて順次作動する複数の機能部を有す
る半導体集積回路装置において、上記複数の各機
能部への上記タイミング信号供給経路それぞれに
信号選択回路を設け、この信号選択回路それぞれ
に外部からのタイミング信号を供給してこのタイ
ミング信号によつて上記各機能部を独立的に作動
させるようにしたことを特徴とする半導体集積回
路装置。
1. In a semiconductor integrated circuit device having a plurality of functional units that sequentially operate in response to each timing signal generated by a timing signal generation unit, a signal selection circuit is provided in each of the timing signal supply paths to each of the plurality of functional units, A semiconductor integrated circuit device characterized in that a timing signal is supplied from the outside to each of the signal selection circuits, and each of the functional sections is operated independently by the timing signal.
JP14064479A 1979-10-31 1979-10-31 Semiconductor integrated circuit system Granted JPS5664667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14064479A JPS5664667A (en) 1979-10-31 1979-10-31 Semiconductor integrated circuit system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14064479A JPS5664667A (en) 1979-10-31 1979-10-31 Semiconductor integrated circuit system

Publications (2)

Publication Number Publication Date
JPS5664667A JPS5664667A (en) 1981-06-01
JPS6210389B2 true JPS6210389B2 (en) 1987-03-05

Family

ID=15273452

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14064479A Granted JPS5664667A (en) 1979-10-31 1979-10-31 Semiconductor integrated circuit system

Country Status (1)

Country Link
JP (1) JPS5664667A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3247834A1 (en) * 1982-12-23 1984-06-28 Siemens AG, 1000 Berlin und 8000 München CIRCUIT BLOCK

Also Published As

Publication number Publication date
JPS5664667A (en) 1981-06-01

Similar Documents

Publication Publication Date Title
US5781558A (en) Diagnostic memory access
US4975641A (en) Integrated circuit and method for testing the integrated circuit
EP0180196B1 (en) Programmable counter/timer device
JP2632731B2 (en) Integrated circuit device
US5406567A (en) Off-line test circuit of a semiconnector integrated logic circuit
JPH03167487A (en) Test facilitating circuit
US6463562B1 (en) Semiconductor device including macros and its testing method
JPS6210389B2 (en)
US5341380A (en) Large-scale integrated circuit device
KR100207511B1 (en) A plurality of test mode setting methods and apparatuses therefor
US5850509A (en) Circuitry for propagating test mode signals associated with a memory array
JPH0769399B2 (en) LSI test method
JPH01239485A (en) Large-scale integrated circuit
JP2877505B2 (en) LSI mounting board and data processing device
JPS6041140A (en) Debugging device of read-only memory built in semiconductor integrated circuit
JPH05151017A (en) Microcomputer
US5717698A (en) Method and apparatus for testing a network with a programmable logic matrix
KR930011426B1 (en) I.c. device having microprogram
JPS63262575A (en) Integrated circuit for processing digital signal
KR19980021249A (en) Parallel interface unit
JP2935710B2 (en) Test equipment for processor integrated circuit devices
EP0173257A2 (en) Integrated circuit device
JPH0212436A (en) semiconductor equipment
JPH06300821A (en) Lsi having controller incorporated
JPH0575985B2 (en)