JPH04238278A - Semi-conductor device - Google Patents

Semi-conductor device

Info

Publication number
JPH04238278A
JPH04238278A JP3005217A JP521791A JPH04238278A JP H04238278 A JPH04238278 A JP H04238278A JP 3005217 A JP3005217 A JP 3005217A JP 521791 A JP521791 A JP 521791A JP H04238278 A JPH04238278 A JP H04238278A
Authority
JP
Japan
Prior art keywords
cpu core
semiconductor device
circuit
cpu
peripheral
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.)
Withdrawn
Application number
JP3005217A
Other languages
Japanese (ja)
Inventor
Hiroyuki Fujiyama
藤山 博之
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3005217A priority Critical patent/JPH04238278A/en
Publication of JPH04238278A publication Critical patent/JPH04238278A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To test a semi-conductor in which a CPU core and peripheral circuits are provided in the same chip, for a short time, to reduce a testing cost, and to specify a fault point of the semi-conductor device accurately for a short time in a semi-conductor device in which a CPU core and peripheral circuits are built. CONSTITUTION:A semi-conductor device comprises a CPU core 1, peripheral circuits 2, 3, 4, 5 connected to that CPU core 1 and for carrying out the predetermined function, and multiple external terminals 7a, 7b; 71, 72 for sending and receiving the signal between the described CPU core 1 and the described peripheral circuits 2, 3, 4, 5 and the outside, and an internal interface circuit 6 provided between the described CPU core 1 and the described peripheral circuits 2, 3, 4, 5 and for separating one of the described CPU core 1 and the described peripheral circuits 2, 3, 4, 5 and connecting the other to the described external terminals 7a, 7b; 71, 72 on the basis of the special mode signal TES; TES 1; TES 2.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、半導体装置に関し、特
に、内部にCPUコアおよび周辺回路を内蔵した半導体
装置に関する。近年、汎用マイクロプロセッサ(CPU
コア)および周辺回路を同一のチップ内に集積し、特定
のユーザの要望に適した半導体装置を提供することが行
われている。このような半導体装置は、例えば、CPU
コアと周辺回路とをそれぞれ試験する必要があるため、
試験に要する時間が長くなり、その結果、該半導体装置
のコスト高を招くことになっている。そこで、CPUコ
アと周辺回路とを同一のチップ内に設けた半導体装置の
試験を短時間に行うことが要望されている。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor device, and more particularly to a semiconductor device having a built-in CPU core and peripheral circuits. In recent years, general-purpose microprocessors (CPUs)
A semiconductor device suitable for a specific user's needs is provided by integrating a core (core) and peripheral circuits into the same chip. Such a semiconductor device is, for example, a CPU.
Since it is necessary to test the core and peripheral circuits separately,
The time required for testing becomes longer, and as a result, the cost of the semiconductor device increases. Therefore, there is a demand for testing a semiconductor device in which a CPU core and peripheral circuits are provided in the same chip in a short time.

【0002】0002

【従来の技術】従来、汎用マイクロプロセッサは、それ
自身で一つのLSIチップとして構成され、そして、他
の周辺機能を持つLSIや回路と組み合わせることによ
って、目的とする所定の機能を有するシステムを構成す
るようになっていた。しかし、システムの小型化や低コ
スト化を考慮した場合、これらのシステムの機能や回路
を一つのLSIチップにまとめた方が有利となる。そこ
で、近年のLSI集積技術の進歩に伴い、こうした周辺
回路をまとめた複合周辺LSIや、汎用回路と共にシス
テムを開発するユーザ自身の回路を内蔵したASIC(
特定用途向け集積回路)等が一般化して来ている。さら
に、最近では、例えば、ロボットやレーザプリンタ等を
制御するためにワンチップにCPUコアと幾つかの周辺
回路を集積したマイクロコントローラが提供されている
[Prior Art] Conventionally, a general-purpose microprocessor is configured by itself as an LSI chip, and is combined with LSIs and circuits having other peripheral functions to configure a system having a desired predetermined function. I was supposed to. However, when considering miniaturization and cost reduction of the system, it is advantageous to combine the functions and circuits of these systems into one LSI chip. Therefore, with the recent advances in LSI integration technology, composite peripheral LSIs that combine these peripheral circuits, and ASICs that incorporate user's own circuits to develop systems along with general-purpose circuits, have become available.
Integrated circuits (integrated circuits for specific applications) are becoming more common. Furthermore, recently, microcontrollers have been provided in which a CPU core and several peripheral circuits are integrated on a single chip to control, for example, robots, laser printers, and the like.

【0003】0003

【発明が解決しようとする課題】上述したように、近年
、CPUコアと周辺回路とを同一のチップ内に設けた半
導体装置(LSI)が提供されているが、このようなL
SIの出荷時の試験等において、複合周辺LSIやAS
ICでは、外部のCPU等の制御回路より所定の動作を
実行させ、その結果を外部で判断することにより、LS
Iの品質を試験することが可能である。
[Problems to be Solved by the Invention] As mentioned above, in recent years, semiconductor devices (LSI) in which a CPU core and peripheral circuits are provided in the same chip have been provided.
During SI shipping tests, complex peripheral LSIs and AS
In an IC, the LS
It is possible to test the quality of I.

【0004】しかし、CPU(CPUコア)自身がLS
Iに内蔵されている場合には、CPU自身の試験を行い
、さらに、そのCPUを利用して同一のLSIに内蔵さ
れた周辺回路の試験を行うようになっている。そのため
、LSIの故障時において、CPU側か周辺回路側かの
どちらに原因が存在しているかの判断が難しくなってい
る。ところで、一般に、周辺回路よりCPUの試験時間
の方がはるかに長くかかるが、CPUの試験を行った後
でしか周辺回路の試験を行うことができないため、周辺
回路に故障があった場合にCPUの試験に要した時間が
無駄になってしまい、結果的に試験コストが増大すると
いう弊害も発生する。
[0004] However, the CPU (CPU core) itself
When the LSI is built in, the CPU itself is tested, and furthermore, the CPU is used to test peripheral circuits built into the same LSI. Therefore, when an LSI fails, it is difficult to determine whether the cause is on the CPU side or on the peripheral circuit side. By the way, it generally takes much longer to test the CPU than the peripheral circuits, but since the peripheral circuits can only be tested after the CPU has been tested, if there is a failure in the peripheral circuits, the CPU The time required for the test is wasted, and as a result, the test cost increases.

【0005】本発明は、上述した従来の半導体装置が有
する課題に鑑み、CPUコアと周辺回路とを同一のチッ
プ内に設けた半導体装置の試験を短時間に行って試験コ
ストを低減すると共に、半導体装置における故障個所の
特定を短時間で正確に行うことを目的とする。
In view of the above-mentioned problems with conventional semiconductor devices, the present invention reduces testing costs by testing a semiconductor device in which a CPU core and peripheral circuits are provided in the same chip in a short time. The purpose is to accurately identify failure locations in semiconductor devices in a short time.

【0006】[0006]

【課題を解決するための手段】図1は本発明に係る半導
体装置の全体的構成を示すブロック図であり、ASSP
(Application Specific Sta
ndard Product) のブロック構成を示す
ものである。本発明によれば、CPUコア1と、該CP
Uコア1に接続されて所定の機能を実行する周辺回路2
,3,4,5 と、前記CPUコア1および前記周辺回
路2,3,4,5 と、外部との信号授受を行う複数の
外部端子7a,7b,71,72 と、前記CPUコア
1と前記周辺回路2,3,4,5 との間に設けられ、
特別モード用信号TES(TES1,TES2)によっ
て、前記CPUコア1または前記周辺回路7a,7b,
71,72 の内の一方を切り離し、他方を前記外部端
子7a,7b,71,72 に接続する内部インターフ
ェース回路6とを具備することを特徴とする半導体装置
が提供される。
[Means for Solving the Problem] FIG. 1 is a block diagram showing the overall configuration of a semiconductor device according to the present invention.
(Application Specific Sta.
ndard Product). According to the present invention, the CPU core 1 and the CPU
Peripheral circuit 2 that is connected to U core 1 and executes a predetermined function
, 3, 4, 5, the CPU core 1 and the peripheral circuits 2, 3, 4, 5, a plurality of external terminals 7a, 7b, 71, 72 for exchanging signals with the outside, and the CPU core 1 and the peripheral circuits 2, 3, 4, 5. provided between the peripheral circuits 2, 3, 4, 5;
The special mode signal TES (TES1, TES2) causes the CPU core 1 or the peripheral circuits 7a, 7b,
There is provided a semiconductor device characterized in that it includes an internal interface circuit 6 which disconnects one of the terminals 71, 72 and connects the other to the external terminals 7a, 7b, 71, 72.

【0007】[0007]

【作用】本発明のカウンタによれば、CPUコア1と周
辺回路2,3,4,5との間に設けられた内部インター
フェース回路6により、特別モード用信号TES;TE
S1,TES2 に応じて、CPUコア1または周辺回
路7a,7b;71,72 の内の一方が切り離され、
他方が外部端子7a,7b;71,72 に接続される
ようになっている。ここで、特別モード用信号TES;
TES1,TES2 は、外部から供給するだけでなく
、例えば、レジスタに設定しておき、内部から供給する
ように構成してもよい。
[Operation] According to the counter of the present invention, the internal interface circuit 6 provided between the CPU core 1 and the peripheral circuits 2, 3, 4, and
According to S1, TES2, one of the CPU core 1 or peripheral circuits 7a, 7b; 71, 72 is disconnected,
The other end is connected to external terminals 7a, 7b; 71, 72. Here, the special mode signal TES;
TES1 and TES2 may be configured not only to be supplied from the outside, but also to be set in registers and supplied from the inside, for example.

【0008】図1において、参照符号1は半導体装置に
内蔵されるCPUコアを示し、2〜5は半導体装置に内
蔵される周辺回路を示す。具体的に、参照符号2は浮動
小数点演算器(FPU)、3はタイマ、4は通信コント
ローラ(DLC)、そして、5は割込みコントローラ(
IRC)を示す。同図に示されるように、各周辺回路2
,3,4 は、アドレスバス, データバス, リード
/ライト制御信号等により、内部インタフェース回路6
を介してCPUコア1に接続されている。また、それぞ
れの周辺回路2,3,4 からの割込み要求は割込みコ
ントローラ5に接続され、インタフェース回路6を介し
てCPUコア1に供給されるようになっている。
In FIG. 1, reference numeral 1 indicates a CPU core built into the semiconductor device, and 2 to 5 indicate peripheral circuits built into the semiconductor device. Specifically, reference numeral 2 is a floating point unit (FPU), 3 is a timer, 4 is a communication controller (DLC), and 5 is an interrupt controller (
IRC). As shown in the figure, each peripheral circuit 2
, 3, 4 are connected to the internal interface circuit 6 by the address bus, data bus, read/write control signals, etc.
It is connected to the CPU core 1 via. Further, interrupt requests from the respective peripheral circuits 2, 3, and 4 are connected to an interrupt controller 5, and supplied to the CPU core 1 via an interface circuit 6.

【0009】例えば、周辺回路2,3,4,5 の試験
を行う場合に、内部インタフェース回路6によって、外
部から供給される特別モード用信号TES;TES1,
TES2 で内部のCPUコア1が停止され、信号的に
も切り離され、且つ、周辺回路2,3,4,5 とCP
Uコア1とを接続する配線が外部端子7a,7b;71
,72 に接続される。そして、この外部端子7a,7
b;71,72 を介して半導体装置に内蔵されている
CPUコア1と同等の機能を持つ外部のCPU(或いは
、ハードまたはソフトによるCPUのモデル)によって
、直接に半導体装置内部の周辺回路2,3,4,5 が
試験されるようになっている。
For example, when testing the peripheral circuits 2, 3, 4, 5, the internal interface circuit 6 uses special mode signals TES; TES1, TES1,
At TES2, the internal CPU core 1 is stopped, signal-wise disconnected, and peripheral circuits 2, 3, 4, 5 and the CPU
The wiring connecting to the U core 1 is the external terminal 7a, 7b; 71
, 72. And these external terminals 7a, 7
b; Peripheral circuits 2 and 72 inside the semiconductor device are directly controlled by an external CPU (or a hardware or software model of the CPU) having the same function as the CPU core 1 built into the semiconductor device. 3, 4, and 5 are to be tested.

【0010】これによって、半導体装置の試験を短時間
に行って試験コストを低減することができ、また、半導
体装置の故障時においても故障個所の特定を短時間で正
確に行うことができる。
[0010] Accordingly, it is possible to test a semiconductor device in a short time and reduce the test cost, and even when a semiconductor device fails, the location of the failure can be accurately identified in a short time.

【0011】[0011]

【実施例】以下、図面を参照して本発明に係る半導体装
置の実施例を説明する。図2は本発明の半導体装置の一
実施例の要部を示すブロック回路図である。同図に示さ
れるように、CPUコア1と周辺回路20との間には、
内部インターフェース回路6が設けられていて、外部端
子7cから供給される試験モード用信号TES によっ
て、周辺回路20をCPUコア1から切り離し、該周辺
回路20を外部端子7a,7b に接続するようになっ
ている。すなわち、内部インターフェース回路6は、2
つのスリー・ステート・バファ6a,6b で構成され
、試験モード用信号TES によって、周辺回路20を
CPUコア1から切り離すようになっている。具体的に
、例えば、図2中において、外部端子7cを介して供給
される試験モード信号TES がアサート(高レベル“
1”:有効)されている期間、CPUコア1からの出力
信号はすべてハイインピーダンス状態となり、電気的に
周辺回路20から切り離される。さらに、CPUコア1
から周辺回路20へ出力される信号は、外部端子7aを
介して供給される外部からの入力に切り替えられ、また
、周辺回路20からCPUコア1へ供給される信号は、
外部端子7bを介して外部へ出力されることになる。
Embodiments Hereinafter, embodiments of a semiconductor device according to the present invention will be described with reference to the drawings. FIG. 2 is a block circuit diagram showing essential parts of an embodiment of the semiconductor device of the present invention. As shown in the figure, between the CPU core 1 and the peripheral circuit 20,
An internal interface circuit 6 is provided, and a test mode signal TES supplied from an external terminal 7c disconnects the peripheral circuit 20 from the CPU core 1 and connects the peripheral circuit 20 to external terminals 7a and 7b. ing. That is, the internal interface circuit 6 has two
The peripheral circuit 20 is configured to be separated from the CPU core 1 by a test mode signal TES. Specifically, for example, in FIG. 2, the test mode signal TES supplied via the external terminal 7c is asserted (high level "
1": Valid), all output signals from the CPU core 1 are in a high impedance state and are electrically disconnected from the peripheral circuit 20. Furthermore, the CPU core 1
The signal output from the peripheral circuit 20 to the peripheral circuit 20 is switched to the external input supplied via the external terminal 7a, and the signal supplied from the peripheral circuit 20 to the CPU core 1 is switched to the external input supplied via the external terminal 7a.
It will be output to the outside via the external terminal 7b.

【0012】ここで、周辺回路20に接続される外部端
子7a,7bとしては、専用の端子を設けるようにして
もよいが、半導体装置の端子の内、周辺回路20とは直
接関係のないもの(例えば、CPUコア1用の端子)を
利用するようにしてもよい。また、周辺回路20として
は、図1を参照して説明したように、例えば、浮動小数
点演算器(FPU)2, タイマ3,通信コントローラ
(DLC)4, および, 割込みコントローラ(IR
C)5等が含まれる。
Here, as the external terminals 7a and 7b connected to the peripheral circuit 20, dedicated terminals may be provided, but among the terminals of the semiconductor device, those that are not directly related to the peripheral circuit 20. (For example, a terminal for CPU core 1) may be used. Further, as described with reference to FIG. 1, the peripheral circuits 20 include, for example, a floating point unit (FPU) 2, a timer 3, a communication controller (DLC) 4, and an interrupt controller (IR).
C) 5 etc. are included.

【0013】図3は図2の半導体装置に対して外部CP
Uを使用して試験を行っている様子を示すブロック図で
ある。同図に示されるように、試験モード用信号TES
 によって、CPUコア1から切り離された周辺回路2
0(例えば、FPU2,DLC3,IRC5等) は、
外部に設けられた試験時制御用外部CPU100 によ
って制御されるようになっている。この試験時制御用外
部CPU100 は、CPUコア1と同等の機能を持つ
外部のCPU(或いは、ハードまたはソフトによるCP
Uのモデル)であり、該CPU自体は既に試験等が行わ
れて、正常に動作することが確認されている。すなわち
、例えば、半導体装置(チップ)の外部にある試験時制
御用外部CPU100 のアドレス信号, データ信号
, 入出力制御信号, および, 割り込み制御信号等
を各周辺回路20に接続することで、チップ内部の周辺
回路20をチップ外部のCPU(試験時制御用外部CP
U100)によって制御することができるようになる。
FIG. 3 shows an external CP for the semiconductor device of FIG.
FIG. 2 is a block diagram showing how a test is performed using the U. As shown in the figure, the test mode signal TES
Peripheral circuit 2 separated from CPU core 1 by
0 (for example, FPU2, DLC3, IRC5, etc.) is
It is controlled by an external CPU 100 for test control provided externally. This external CPU 100 for control during testing is an external CPU (or a hardware or software CPU) that has the same function as the CPU core 1.
The CPU itself has already been tested and confirmed to operate normally. That is, for example, by connecting the address signals, data signals, input/output control signals, interrupt control signals, etc. of the external CPU 100 for test control outside the semiconductor device (chip) to each peripheral circuit 20, the inside of the chip can be controlled. The peripheral circuit 20 is connected to a CPU external to the chip (external CPU for control during testing).
U100).

【0014】図4は本発明の半導体装置の他の実施例の
要部を示すブロック図である。上述した本発明の半導体
装置の一実施例では、周辺回路20をCPUコア1から
切り離し、該周辺回路20を外部端子7a,7b を介
して外部CPU100 等と接続するようになっている
が、図4に示す本発明の半導体装置の他の実施例では、
切り離したCPUコア1を外部端子に接続して外部から
制御できるようにしたものである。
FIG. 4 is a block diagram showing the main parts of another embodiment of the semiconductor device of the present invention. In one embodiment of the semiconductor device of the present invention described above, the peripheral circuit 20 is separated from the CPU core 1 and the peripheral circuit 20 is connected to the external CPU 100 etc. via the external terminals 7a and 7b. In another embodiment of the semiconductor device of the present invention shown in No. 4,
The separated CPU core 1 is connected to an external terminal so that it can be controlled from the outside.

【0015】図4(a) に示されるように、特別モー
ド用の外部端子73,74 から供給される2ビットの
特別モード(例えば、試験モード)用信号TES1,T
ES2 により、内部インターフェース回路60を構成
している接続制御回路60,61 を制御して、外部端
子71,72 をCPUコア1または周辺回路20に接
続するようになっている。具体的に、図4(b) に示
されるように、2ビットの試験モード用信号(TES1
,TES2) が(0,0) の場合にはCPUコア1
と周辺回路20とが接続(端子aと端子bが接続)され
て通常の動作を行い、(1,0) の場合にはCPUコ
ア1が周辺回路20と切り離されて外部端子71,72
 に接続(端子aと端子cが接続)され、そして、(0
,1) の場合には周辺回路20がCPUコア1と切り
離されて外部端子71,72 に接続(端子cと端子b
が接続)されるようになっている。
As shown in FIG. 4(a), 2-bit special mode (for example, test mode) signals TES1 and T are supplied from special mode external terminals 73 and 74.
The ES2 controls the connection control circuits 60, 61 configuring the internal interface circuit 60 to connect the external terminals 71, 72 to the CPU core 1 or the peripheral circuit 20. Specifically, as shown in Figure 4(b), the 2-bit test mode signal (TES1
, TES2) is (0,0), CPU core 1
and the peripheral circuit 20 are connected (terminal a and terminal b are connected) to perform normal operation, and in the case of (1, 0), the CPU core 1 is disconnected from the peripheral circuit 20 and the external terminals 71 and 72 are connected.
(terminal a and terminal c are connected), and (0
, 1), the peripheral circuit 20 is disconnected from the CPU core 1 and connected to external terminals 71, 72 (terminal c and terminal b).
connection).

【0016】すなわち、試験モード用信号(TES1,
TES2) が(1,0) の場合、通常CPUコア1
から周辺回路20へ出力される信号は、周辺回路20で
はなく接続制御回路61を介して外部端子71へ出力さ
れ、また、通常周辺回路20からCPUコア1へ供給さ
れる信号は、周辺回路20からではなく外部端子72か
ら接続制御回路62を介してCPUコア1へ供給され、
外部からCPUコア1を試験(制御)することができる
ようになっている。同様に、試験モード用信号(TES
1,TES2) が(0,1) の場合、通常周辺回路
20からCPUコア1へ出力される信号は、CPUコア
1ではなく接続制御回路62を介して外部端子72へ出
力され、また、通常CPUコア1から周辺回路20へ供
給される信号は、CPUコア1からではなく外部端子7
1から接続制御回路61を介して周辺回路20へ供給さ
れ、外部から周辺回路20を試験(制御)することがで
きるようになっている。ここで、試験モード用信号を直
接に外部から供給せずに、予め外部から書き込み可能な
制御用のレジスタを半導体装置内部に設け試験開始時の
周辺回路(2,3,4,5) の初期設定を行う場合に
試験モードを指示する設定を行うことによって、半導体
装置内部から試験モード用信号を供給するように構成し
てもよい。
That is, test mode signals (TES1,
If TES2) is (1,0), usually CPU core 1
The signals output from the peripheral circuit 20 to the peripheral circuit 20 are output to the external terminal 71 via the connection control circuit 61 instead of the peripheral circuit 20, and the signals normally supplied from the peripheral circuit 20 to the CPU core 1 are output from the peripheral circuit 20 to the external terminal 71. It is supplied to the CPU core 1 from the external terminal 72 via the connection control circuit 62 rather than from the
The CPU core 1 can be tested (controlled) from the outside. Similarly, the test mode signal (TES
1, TES2) is (0, 1), the signal normally output from the peripheral circuit 20 to the CPU core 1 is output to the external terminal 72 via the connection control circuit 62 instead of the CPU core 1, and The signal supplied from the CPU core 1 to the peripheral circuit 20 is not sent from the CPU core 1 but from the external terminal 7.
1 to the peripheral circuit 20 via the connection control circuit 61, so that the peripheral circuit 20 can be tested (controlled) from the outside. Here, without directly supplying the test mode signal from the outside, a control register that can be written from the outside is provided inside the semiconductor device in advance to control the initial state of the peripheral circuits (2, 3, 4, 5) at the start of the test. The configuration may be such that the test mode signal is supplied from inside the semiconductor device by making a setting that instructs the test mode when performing the settings.

【0017】図5は図4の内部インターフェース回路に
おける接続制御回路の一例を示す論理回路図である。同
図に示されるように、接続制御回路61(62)は、試
験モード用信号TES1,TES2 が供給される A
NDゲート601,603, NORゲート602,お
よび, 3つのゲート回路604,605,606 で
構成されている。ここで、 ANDゲート601,60
3 の一方の入力には、それぞれ試験モード用信号TE
S1,TES2 の反転レベル信号が供給されている。 また、接続制御回路61(62)としては、図5に示す
回路以外に様々な構成とすることができるのはもちろん
である。
FIG. 5 is a logic circuit diagram showing an example of a connection control circuit in the internal interface circuit of FIG. As shown in the figure, the connection control circuit 61 (62) is supplied with test mode signals TES1 and TES2.
It is composed of ND gates 601, 603, NOR gate 602, and three gate circuits 604, 605, 606. Here, AND gates 601, 60
3 is connected to one input of the test mode signal TE.
Inverted level signals of S1 and TES2 are supplied. Furthermore, it goes without saying that the connection control circuit 61 (62) may have various configurations other than the circuit shown in FIG.

【0018】次に示す表は、試験モード用信号(TES
1,TES2) とゲート回路604,605,606
(ゲート回路d,e,f)の状態の関係を示すものであ
る。
The following table shows test mode signals (TES
1, TES2) and gate circuits 604, 605, 606
This shows the relationship between the states of (gate circuits d, e, f).

【0019】[0019]

【表1】 上記した表に示されるように、2ビットの試験モード用
信号(TES1,TES2) が(0,0) の場合、
ゲート回路dだけがオンとなり、端子aと端子bが導通
してCPUコア1と周辺回路20とが接続される。そし
て、試験モード用信号(TES1,TES2) が(1
,0) の場合、ゲート回路eだけがオンとなって端子
aと端子cが導通し、また、試験モード用信号(TES
1,TES2) が(0,1) の場合、ゲート回路f
だけがオンとなって端子cと端子bが導通し、これによ
って、CPUコア1と周辺回路20とが分離されて、そ
の一方が外部端子に接続されて外部から試験(制御)が
行えるようになっている。
[Table 1] As shown in the table above, when the 2-bit test mode signals (TES1, TES2) are (0, 0),
Only the gate circuit d is turned on, terminals a and b are electrically connected, and the CPU core 1 and peripheral circuit 20 are connected. Then, the test mode signals (TES1, TES2) are (1
, 0), only the gate circuit e is turned on, terminals a and c are electrically connected, and the test mode signal (TES
1, TES2) is (0, 1), the gate circuit f
Only one terminal is turned on and terminals c and b are electrically connected, thereby separating the CPU core 1 and the peripheral circuit 20, and connecting one of them to an external terminal so that testing (control) can be performed from the outside. It has become.

【0020】図6は図5の接続制御回路の変形例を示す
論理回路図であり、図5の接続制御回路における3つの
ゲート回路604,605,606 を双方向性のゲー
ト回路 604′,605′,606′で構成するよう
にしたものである。ここで、ゲート回路 604′,6
05′,606′には、書込・読出指示信号(R/W信
号)が供給されていて、図4における外部端子71,7
2 に接続された信号を入力信号または出力信号に切り
替えるようになっている。尚、R/W信号は、データバ
スの信号方向を指示する信号であり、一般のCPUは必
らず持ってる信号である。
FIG. 6 is a logic circuit diagram showing a modification of the connection control circuit of FIG. 5, in which the three gate circuits 604, 605, 606 in the connection control circuit of FIG. ', 606'. Here, the gate circuit 604', 6
A write/read instruction signal (R/W signal) is supplied to external terminals 71 and 7 in FIG.
The signal connected to 2 is switched to an input signal or an output signal. Note that the R/W signal is a signal that indicates the signal direction of the data bus, and is a signal that a general CPU always has.

【0021】以上、説明した実施例は、CPUコアを内
蔵する半導体装置(ASSP)において、内部のCPU
コアを電気的に切断し、外部のCPUと接続可能なイン
タフェース回路を内蔵することで、試験時に内部のCP
Uコアを使用せずに、外部に用意したCPUにより周辺
回路の制御が可能となり、内部CPUの故障の有無にか
かわらず、周辺回路の試験が可能である。さらに、出荷
試験時において、時間のかかるCPUの試験より先に、
周辺回路の試験を行う事ができ、早期に不良チップの選
別が可能となり、試験コストの低減に有効である。
[0021] The embodiments described above are applicable to a semiconductor device (ASSP) having a built-in CPU core.
By electrically disconnecting the core and incorporating an interface circuit that can be connected to an external CPU, the internal CPU can be disconnected during testing.
The peripheral circuits can be controlled by an external CPU without using the U core, and the peripheral circuits can be tested regardless of whether or not the internal CPU has failed. Furthermore, during shipping testing, prior to the time-consuming CPU testing,
Peripheral circuits can be tested, and defective chips can be identified early, which is effective in reducing testing costs.

【0022】図7は本発明の半導体装置に対して汎用C
PU−ICEを利用して試験を行う様子を示す図である
。一般に、汎用CPUには、該CPUを使用したシステ
ムでユーザがデバッグおよびソフト開発等を容易に行え
るようにインサーキットエミュレータ(ICE)がサポ
ートされている。このICEは、システム中のCPUの
ソケットにCPUとおなじピン配列をもった回路にCP
Uおよびメモリ等を搭載したツールであり、CPUの品
種ごとに用意されている。しかし、従来のCPUコアを
内蔵した半導体装置では、汎用CPUに比較して需要が
少なく、個別にICEを開発するとコスト的に高くつい
てしまう。しかし、本発明の半導体装置では、上述した
内蔵インタフェース回路を使用し、内蔵されたCPUコ
アを特別(試験)モード用信号によって周辺回路と切り
離し、外部にがおうCPUコアと同等の機能を持つIC
Eを使用することで、半導体装置内部の周辺回路が変更
されてもICEをあらためて開発する手間を省くことが
できる。
FIG. 7 shows a general-purpose C
FIG. 2 is a diagram showing how a test is performed using PU-ICE. Generally, a general-purpose CPU is supported by an in-circuit emulator (ICE) so that a user can easily debug, develop software, etc. in a system using the CPU. This ICE connects the CPU to a circuit with the same pin arrangement as the CPU in the CPU socket in the system.
It is a tool equipped with U and memory, etc., and is prepared for each type of CPU. However, demand for conventional semiconductor devices with built-in CPU cores is lower than that for general-purpose CPUs, and developing an ICE individually would result in high costs. However, in the semiconductor device of the present invention, the built-in interface circuit described above is used, the built-in CPU core is separated from the peripheral circuits by a special (test) mode signal, and an IC having the same function as the external CPU core is connected.
By using E, even if the peripheral circuit inside the semiconductor device is changed, it is possible to save the effort of developing the ICE anew.

【0023】このように、本発明の半導体装置によれば
、切り離されたCPUコア1として汎用CPU用に提供
されたインサーキットエミュレータ400 を使用する
ことができ、該インサーキットエミュレータ400 を
利用して半導体装置に内蔵された周辺回路20(2,3
,4,5) を駆動してシステムのデバッグやソフト開
発等を容易に行うことができるようになっている。すな
わち、図7に示されるように、ターゲットシステム20
0 におけるASSP(本発明が対象とする半導体装置
) 用ソケット201 に対して、汎用CPU用に提供
されたインサーキットエミュレータ400 を使用した
ASSPボード300 からのピンを差し込むことによ
り、該ASSPボード300 を当該ASSP用のイン
サーキットエミュレータ(ICE)として使用すること
が可能となる。
As described above, according to the semiconductor device of the present invention, the in-circuit emulator 400 provided for a general-purpose CPU can be used as the separated CPU core 1, and the in-circuit emulator 400 can be used to Peripheral circuit 20 (2, 3
, 4, 5), it is now possible to easily perform system debugging, software development, etc. That is, as shown in FIG.
By inserting the pins from the ASSP board 300 using the in-circuit emulator 400 provided for general-purpose CPUs into the ASSP (semiconductor device targeted by the present invention) socket 201 in 0, the ASSP board 300 can be installed. It becomes possible to use it as an in-circuit emulator (ICE) for the ASSP.

【0024】[0024]

【発明の効果】以上、詳述したように、本発明の半導体
装置によれば、CPUコアと周辺回路とを同一のチップ
内に設けた半導体装置の試験を短時間に行って試験コス
トを低減すると共に、半導体装置における故障個所の特
定を短時間で正確に行うことができる。
Effects of the Invention As detailed above, according to the semiconductor device of the present invention, a semiconductor device in which a CPU core and peripheral circuits are provided in the same chip can be tested in a short time, thereby reducing test costs. At the same time, it is possible to accurately identify a failure location in a semiconductor device in a short time.

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

【図1】本発明に係る半導体装置の全体的構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing the overall configuration of a semiconductor device according to the present invention.

【図2】本発明の半導体装置の一実施例の要部を示すブ
ロック回路図である。
FIG. 2 is a block circuit diagram showing essential parts of an embodiment of the semiconductor device of the present invention.

【図3】図2の半導体装置に対して外部CPUを使用し
て試験を行っている様子を示すブロック図である。
3 is a block diagram showing how the semiconductor device of FIG. 2 is tested using an external CPU; FIG.

【図4】本発明の半導体装置の他の実施例の要部を示す
ブロック図である。
FIG. 4 is a block diagram showing main parts of another embodiment of the semiconductor device of the present invention.

【図5】図4の内部インターフェース回路における接続
制御回路の一例を示す論理回路図である。
FIG. 5 is a logic circuit diagram showing an example of a connection control circuit in the internal interface circuit of FIG. 4;

【図6】図5の接続制御回路の変形例を示す論理回路図
である。
FIG. 6 is a logic circuit diagram showing a modification of the connection control circuit of FIG. 5;

【図7】本発明の半導体装置に対して汎用CPU−IC
Eを利用して制御を行う様子を示す図である。
[Fig. 7] A general-purpose CPU-IC for the semiconductor device of the present invention.
FIG. 3 is a diagram illustrating how control is performed using E.

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

1…CPUコア 2…浮動小数点演算器(FPU:周辺回路)3…通信コ
ントローラ(DLC:周辺回路)4…タイマ(周辺回路
) 5…割り込みコントローラ(IRC:周辺回路)6,6
0…内部インターフェース回路 7,7a,7b,7c,71,72…外部端子100 
…試験時制御用外部CPU 200 …ターゲットシステム 300 …ASSPボード(半導体装置用のインサーキ
ットエミュレータ) 400 …汎用CPU−ICE
1...CPU core 2...Floating point arithmetic unit (FPU: peripheral circuit) 3...Communication controller (DLC: peripheral circuit) 4...Timer (peripheral circuit) 5...Interrupt controller (IRC: peripheral circuit) 6, 6
0...Internal interface circuit 7, 7a, 7b, 7c, 71, 72...External terminal 100
...External CPU for control during testing 200 ...Target system 300 ...ASSP board (in-circuit emulator for semiconductor devices) 400 ...General-purpose CPU-ICE

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】  CPUコア(1) と、該CPUコア
に接続されて所定の機能を実行する周辺回路(2,3,
4,5) と、前記CPUコアおよび前記周辺回路と外
部との信号授受を行う複数の外部端子(7a,7b;7
1,72) と、前記CPUコアと前記周辺回路との間
に設けられ、特別モード用信号(TES;TES1,T
ES2) によって、前記CPUコアまたは前記周辺回
路の内の一方を切り離し、他方を前記外部端子に接続す
る内部インターフェース回路(6) とを具備すること
を特徴とする半導体装置。
Claim 1: A CPU core (1), and peripheral circuits (2, 3, 3,
4, 5) and a plurality of external terminals (7a, 7b; 7) for exchanging signals between the CPU core and the peripheral circuits and the outside.
1, 72) and a special mode signal (TES; TES1, T
ES2) An internal interface circuit (6) for disconnecting one of the CPU core or the peripheral circuit and connecting the other to the external terminal.
【請求項2】  前記CPUコア(1) は第1の特別
モード用信号により前記周辺回路(7a,7b;71,
72) と切り離されて前記外部端子(7a,7b;7
1,72) に接続され、且つ、該周辺回路は第2の特
別モード用信号により該CPUコアと切り離されて該外
部端子に接続されるようになっている請求項1の半導体
装置。
2. The CPU core (1) controls the peripheral circuits (7a, 7b; 71,
72) and the external terminals (7a, 7b; 7
1, 72), and the peripheral circuit is separated from the CPU core and connected to the external terminal by a second special mode signal.
【請求項3】  前記第1の特別モード用信号および前
記第2の特別モード用信号は、それぞれ特別モード用外
部端子(73,74) に供給される論理レベルの異な
る2ビットの信号(TES1,TES2) により構成
されている請求項2の半導体装置。
3. The first special mode signal and the second special mode signal are 2-bit signals (TES1, TES1, 3. The semiconductor device according to claim 2, comprising: TES2).
【請求項4】  前記内部インターフェース回路(6)
 は、書込・読出指示信号(R/W)によって、前記外
部端子に接続された信号を入力信号または出力信号に切
り替えるようになっている請求項1の半導体装置。
4. The internal interface circuit (6)
2. The semiconductor device according to claim 1, wherein the signal connected to the external terminal is switched to an input signal or an output signal by a write/read instruction signal (R/W).
【請求項5】  前記半導体装置は、前記切り離された
CPUコア(1) として汎用CPU用に提供されたイ
ンサーキットエミュレータ(400) を使用して制御
されるようになっている請求項1の半導体装置。
5. The semiconductor device according to claim 1, wherein the semiconductor device is controlled using an in-circuit emulator (400) provided for a general-purpose CPU as the separated CPU core (1). Device.
【請求項6】  前記半導体装置に対して、前記汎用C
PU用に提供されたインサーキットエミュレータ(40
0) を使用して当該半導体装置用のインサーキットエ
ミュレータ(300) が提供されるようになっている
請求項5の半導体装置。
6. For the semiconductor device, the general-purpose C
In-circuit emulator provided for PU (40
6. The semiconductor device according to claim 5, wherein an in-circuit emulator (300) for the semiconductor device is provided using: 0).
【請求項7】  CPUコア(1) と周辺回路(2,
3,4,5) とを内蔵する半導体装置であって、試験
モード用信号(TES;TES1,TES2) によっ
て、前記CPUコアと前記周辺回路とを切り離し、該C
PUコアまたは該周辺回路を外部から個別に試験を行う
ようにしたことを特徴とする半導体装置。
[Claim 7] CPU core (1) and peripheral circuits (2,
3, 4, 5), wherein the CPU core and the peripheral circuit are separated by a test mode signal (TES; TES1, TES2), and the CPU core and the peripheral circuit are
A semiconductor device characterized in that a PU core or its peripheral circuits are individually tested from the outside.
【請求項8】  前記CPUコア(1) は前記周辺回
路用に設けた外部端子を介して該CPUコアだけの試験
が行われ、且つ、前記周辺回路(2,3,4,5) は
CPUコア用に設けた外部端子を介して該周辺回路だけ
の試験が行われるようになっている請求項7の半導体装
置。
8. The CPU core (1) tests only the CPU core via an external terminal provided for the peripheral circuit, and the peripheral circuit (2, 3, 4, 5) 8. The semiconductor device according to claim 7, wherein only the peripheral circuit is tested via an external terminal provided for the core.
【請求項9】  前記切り離された周辺回路(2,3,
4,5) は、外部に設けられたCPU(100) に
より制御されて試験が行われるようになっている請求項
7の半導体装置。
9. The separated peripheral circuit (2, 3,
8. The semiconductor device according to claim 7, wherein the test is performed under the control of an externally provided CPU (100).
JP3005217A 1991-01-21 1991-01-21 Semi-conductor device Withdrawn JPH04238278A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3005217A JPH04238278A (en) 1991-01-21 1991-01-21 Semi-conductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3005217A JPH04238278A (en) 1991-01-21 1991-01-21 Semi-conductor device

Publications (1)

Publication Number Publication Date
JPH04238278A true JPH04238278A (en) 1992-08-26

Family

ID=11605025

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3005217A Withdrawn JPH04238278A (en) 1991-01-21 1991-01-21 Semi-conductor device

Country Status (1)

Country Link
JP (1) JPH04238278A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000011489A1 (en) * 1998-08-19 2000-03-02 Hitachi, Ltd. Method of manufacturing ic cards
JP2009198247A (en) * 2008-02-20 2009-09-03 Mitsumi Electric Co Ltd Multifunction semiconductor integrated circuit with built-in timer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000011489A1 (en) * 1998-08-19 2000-03-02 Hitachi, Ltd. Method of manufacturing ic cards
US6615390B1 (en) * 1998-08-19 2003-09-02 Hitachi, Ltd. Method of manufacturing IC cards
JP2009198247A (en) * 2008-02-20 2009-09-03 Mitsumi Electric Co Ltd Multifunction semiconductor integrated circuit with built-in timer

Similar Documents

Publication Publication Date Title
US6425101B1 (en) Programmable JTAG network architecture to support proprietary debug protocol
US6067633A (en) Design and methodology for manufacturing data processing systems having multiple processors
US5546563A (en) Single chip replacement upgradeable computer motherboard with enablement of inserted upgrade CPU chip
US5416919A (en) Semiconductor integrated circuit with functional blocks capable of being individually tested externally
JP3433404B2 (en) Integrated circuit with test circuit and test method
US5551012A (en) Single socket upgradeable computer motherboard with automatic detection and socket reconfiguration for inserted CPU chip
JP3165158B2 (en) Parallel test method and system for CPU cache and instruction unit
EP1205848A1 (en) Embedded microcontroller bound-out chip as preprocessor for a logic analyser
KR100513820B1 (en) Bus-to-bus bridge circuit with integrated loopback test capability and method of use
US6334198B1 (en) Method and arrangement for controlling multiply-activated test access port control modules
US6928586B1 (en) Method and apparatus for saving peripheral device states of a microcontroller
US20160313396A1 (en) Serial Wire Debug Bridge
US5940783A (en) Microprocessor and method of testing the same
US5515501A (en) Redundant maintenance architecture
JPH04238278A (en) Semi-conductor device
US6954879B1 (en) Method and apparatus for communicating configuration data for a peripheral device of a microcontroller via a scan path
JPH10187283A (en) Computer bus extension
JPH09160802A (en) Testing device
JP2614871B2 (en) Logic integrated circuit
KR20180089632A (en) Semiconductor device and method for testing semiconductor device
JP2002110925A (en) System lsi
TW202219767A (en) Automatic detection circuit for integrated circuit and automatic detection method for the same
JPH08255145A (en) Processor built-in lsi and its software debugging method
JP2861001B2 (en) I / O circuit
JPH05250204A (en) Lsi asic microcomputer

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980514