JPH022429A - Semiconductor integrated circuit - Google Patents

Semiconductor integrated circuit

Info

Publication number
JPH022429A
JPH022429A JP63147656A JP14765688A JPH022429A JP H022429 A JPH022429 A JP H022429A JP 63147656 A JP63147656 A JP 63147656A JP 14765688 A JP14765688 A JP 14765688A JP H022429 A JPH022429 A JP H022429A
Authority
JP
Japan
Prior art keywords
signal
register
circuit
internal bus
output
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.)
Granted
Application number
JP63147656A
Other languages
Japanese (ja)
Other versions
JP2641503B2 (en
Inventor
Hitoshi Takahashi
均 高橋
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 JP63147656A priority Critical patent/JP2641503B2/en
Publication of JPH022429A publication Critical patent/JPH022429A/en
Application granted granted Critical
Publication of JP2641503B2 publication Critical patent/JP2641503B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To easily execute a test by a previously prepared test pattern even when the combination of units is changed by the specification of a user by constituting a semiconductor integrated circuit so that plural circuit units are mutually connected without connecting them through an internal bus. CONSTITUTION:An output signal S1 from an execution part B2 of a 1st circuit unit B is inputted to a 2nd execution part C2 through a selector C3 and outputted to an internal bus A through a 2nd register C1. In the case of executing a function test prior to the shipment of a product, the signal S1 outputted from the execution part B2 to the circuit unit C is stored in a register B1 through a signal line B3 and read out through an internal bus A, so that the function of the circuit unit B can be independently tested. In the 2nd circuit unit C, a signal S4 is inputted to the execution part C2 instead of the signal S1 inputted directly from the circuit unit B and the output is read out through the register C1, so that the text can be independently executed.

Description

【発明の詳細な説明】 [目次] [概要] [産業上の利用分野] [従来の技術] [発明が解決しようとする課題] [課題を解決するための手段] [作用] [実施例] (a)第1実施例の構成 (第4図) (b)第1実施例の動作 (第5図) (C)第2実施例    (第6図) (d)第3実施例    (第7図) (e)他の実施例 [発明の効果コ [概要] 複数の回路ユニットにより構成され、これら回路ユニッ
トが内部バスを介さないで相互に信号をやりとりする半
導体集積回路に関し、 その機能試験を容易にすることを目的とし、内部バスに
接続され、第1のレジスタと、第1の実動部とを有し、
他の回路ユニットに信号を内部バスを介さずに出力する
第1の回路ユニットと、内部バスに接続され、第2のレ
ジスタと、第2の実動部とを有し、第1の回路ユニット
から信号を内部バスを介さずに入力する第2の回路ユニ
ットとを備えた半導体集積回路において、第1の回路ユ
ニットは、第1の実動部の出力信号を第1のレジスタに
伝送する第1の信号線を有し、第2の回□ 路ユニットは、第1の回路ユニットからの入力信号と第
2のレジスタの信号を、選択信号に基づいて選択して第
2の実動部に出力するセレクタと、セレクタにより選択
された信号を第2のレジスタに伝送する第2の信号線と
を有するように構成する。
[Detailed description of the invention] [Table of contents] [Overview] [Industrial application field] [Prior art] [Problem to be solved by the invention] [Means for solving the problem] [Operation] [Example] (a) Configuration of the first embodiment (Fig. 4) (b) Operation of the first embodiment (Fig. 5) (C) Second embodiment (Fig. 6) (d) Third embodiment (Fig. 7) Figure) (e) Other embodiments [Effects of the invention] [Summary] Regarding a semiconductor integrated circuit that is composed of a plurality of circuit units and in which these circuit units exchange signals with each other without going through an internal bus, its functional test is performed. connected to an internal bus, having a first register and a first production part;
A first circuit unit that outputs a signal to another circuit unit without going through an internal bus, a second register connected to the internal bus, and a second actual operation section, the first circuit unit and a second circuit unit that inputs a signal from the first circuit unit to the first register without going through an internal bus. The second circuit unit has one signal line, and the second circuit unit selects the input signal from the first circuit unit and the signal of the second register based on the selection signal and sends it to the second production section. It is configured to have a selector for outputting and a second signal line for transmitting a signal selected by the selector to a second register.

[産業上の利用分野] 本発明は複数の回路ユニットにより構成され、これら回
路ユニットが内部バスを介さないで相互に直接信号を授
受する半導体集積回路に関する。
[Industrial Field of Application] The present invention relates to a semiconductor integrated circuit that is constituted by a plurality of circuit units, and these circuit units directly exchange signals with each other without going through an internal bus.

近年、シングルチップマイクロコンピュータのように多
くの機能をひとつの半導体チップに集積化した半導体集
積回路では、顧客の希望する仕様の半導体集積回路を短
期間で供給するために、各機能を実現する回路を予め共
通ユニット化して設計しておき、顧客の仕様に応じて、
これらユニット化された周辺回路を組み合わせてシング
ルチップに集積化することが行われている。
In recent years, with semiconductor integrated circuits such as single-chip microcomputers that integrate many functions into a single semiconductor chip, in order to supply semiconductor integrated circuits with the specifications desired by customers in a short period of time, we have developed circuits that realize each function. are designed in advance as a common unit, and according to the customer's specifications,
These unitized peripheral circuits are combined and integrated into a single chip.

この半導体集積回路の製造不良を発見するため、半導体
集積回路が実際に仕様通り動作するかどうかの試験を行
う、この試験は、半導体集積回路の入力ピンに時間によ
り変化する所定の入カバターンを入力し、出力ピンに表
われた信号が予期したものであるかどうかにより、半導
体集積回路の良、不良を判断する。すなわち、入力ピン
に入力するパターンと出力ピンに表れる出力期待パター
ンとで構成される試験パターンを用意し、これにより動
作試験を行うが、あらゆる動作状態を実現し、正常動作
を確認するためには多岐に渡る複雑な試験パターンを品
種毎に作成する必要がある。
In order to discover manufacturing defects in this semiconductor integrated circuit, a test is performed to see if the semiconductor integrated circuit actually operates according to specifications.In this test, a predetermined input pattern that changes over time is input to the input pin of the semiconductor integrated circuit. The quality of the semiconductor integrated circuit is determined based on whether the signal appearing on the output pin is as expected. In other words, a test pattern consisting of a pattern input to the input pin and an expected output pattern appearing on the output pin is prepared, and an operation test is performed using this pattern. However, in order to realize all operating conditions and confirm normal operation, It is necessary to create a wide variety of complex test patterns for each product.

[従来の技術] 第8図に半導体集積回路の一例としてシングルチップマ
イクロコンピュータを示す、このマイクロコンピュータ
は、cputと、ユニット化された周辺回路2.3とを
組合わせて構成されており、CPUIと周辺回路2.3
は内部バス4に接続されている。さらに、外部との信号
の入出力のためにボート回路5が設けられ、同じく内部
バス4に接続されている。CPUIと周辺回路2.3の
間では内部バス4を介してデータがやりとりされる。
[Prior Art] FIG. 8 shows a single-chip microcomputer as an example of a semiconductor integrated circuit. This microcomputer is configured by combining a cput and a unitized peripheral circuit 2.3. and peripheral circuit 2.3
is connected to the internal bus 4. Further, a boat circuit 5 is provided for inputting/outputting signals with the outside, and is also connected to the internal bus 4. Data is exchanged between the CPUI and peripheral circuits 2.3 via an internal bus 4.

すなわち、CPUIから周辺回路2.3にデータを転送
するには、CPUIが内部バス4にデータ信号を乗せ、
ライト指示をすることにより、周辺回路2.3がそのデ
ータを取込む、逆に周辺回路2.3からCPUIにデー
タを転送するには、CPUIがリード指示をすることに
より周辺回路2.3がデータ信号を内部バス4に乗せ、
CPUIがそのデータを取込む0周辺回路2と周辺回路
3は信号線6で接続されており、制御信号等の一部は内
部バス4を介さずに周辺回路2から周辺回路3へ信号が
直接送られる。
That is, in order to transfer data from the CPU to the peripheral circuit 2.3, the CPU puts a data signal on the internal bus 4,
When the peripheral circuit 2.3 issues a write instruction, the peripheral circuit 2.3 takes in the data. Conversely, to transfer data from the peripheral circuit 2.3 to the CPUI, the peripheral circuit 2.3 reads the data when the CPU issues a read instruction. Put the data signal on internal bus 4,
The peripheral circuit 2 and the peripheral circuit 3 from which the CPUI takes in the data are connected by a signal line 6, and some control signals etc. are directly transmitted from the peripheral circuit 2 to the peripheral circuit 3 without going through the internal bus 4. Sent.

このような半導体集積回路の従来の構成の詳細を第9図
に示す、内部バス4はアドレス信号を転送するアドレス
バス4aと制御信号を転送する制御バス4bとデータ信
号を転送するデータバス4Cとで構成されている0周辺
回路2.3は、それぞれアドレスバス4aと制御バス4
bの信号をデコードするアドレスデコーダ2a、3aと
データバス4Cとの間でデータのやりとりをするレジス
タ2b、3bと各種処理を行う実動部2C13Cとで構
成されている。周辺回路2と3の間の信号の授受を全て
データバス4Cを介して行っていたのでは、CPUIが
データバス4Cを使用できる率が低くなり、処理速度の
低下を招く、そのなめ、周辺回路2から周辺回路3へ一
部の制m信号を直接出力するための信号線6が設けられ
、周辺回路2の実動部2cと周辺回路3の実動部3Cと
直接接続している。
The details of the conventional structure of such a semiconductor integrated circuit are shown in FIG. 9. The internal bus 4 includes an address bus 4a for transferring address signals, a control bus 4b for transferring control signals, and a data bus 4C for transferring data signals. The 0 peripheral circuits 2.3 each include an address bus 4a and a control bus 4.
It is composed of address decoders 2a and 3a for decoding signals of b, registers 2b and 3b for exchanging data with a data bus 4C, and an actual operation section 2C13C for performing various processes. If all signals were sent and received between the peripheral circuits 2 and 3 via the data bus 4C, the rate at which the CPU can use the data bus 4C would be low, resulting in a decrease in processing speed. A signal line 6 is provided for directly outputting some of the control signals from the peripheral circuit 2 to the peripheral circuit 3, and is directly connected to the actual operating section 2c of the peripheral circuit 2 and the actual operating section 3C of the peripheral circuit 3.

新たな仕様の半導体集積回路を設計する場合、予めユニ
ット化して設計しである多数の周辺回路の中から、ユー
ザが希望する周辺回路(ここでは周辺回路2.3)とC
PU1とを組合わせる。設計者は、CPU1と周辺回路
2.3の配置と、周辺回路2と3の結合部分だけを新た
に作成すればよい。
When designing a semiconductor integrated circuit with new specifications, select the peripheral circuit that the user desires (here, peripheral circuit 2.3) and C
Combine with PU1. The designer only needs to newly create the layout of the CPU 1 and the peripheral circuits 2 and 3, and the connecting portion between the peripheral circuits 2 and 3.

[発明が解決しようとする課題] しかしながら、このように複数品種に対して周辺回路を
共通ユニット化する手法を採用しても、周辺回路2.3
同士で内部バスを介さずに直接信号の授受を行う経路が
存在すると、機能試験を行うための試験パターンをユー
ザの仕a毎に新たに作り直す必要があった。
[Problems to be Solved by the Invention] However, even if this method of making peripheral circuits into a common unit for multiple types is adopted, peripheral circuits 2.3
If there is a path for directly exchanging signals between devices without going through an internal bus, it is necessary to create a new test pattern for each user's function.

なぜなら、周辺回路2.3は両者が関係しあってひとつ
のIN能を実現しているので、ユーザが希望する周辺回
路の数、種類、組合わせの仕方に応じて試験用の入カバ
ターン、出力期待値のパターンを作成することが必要だ
ったからである。
This is because the peripheral circuits 2 and 3 are related to each other to achieve a single IN function, so the input cover pattern for testing and the output This is because it was necessary to create a pattern of expected values.

更に、機能試験ではICチップに対する入力と出力との
関係しかわからないので、不良と判定されても、周辺回
路2.3の実動部2c、3cのいずれか又は両方に欠陥
があるのか、周辺回路2と3の結合部分に欠陥があるの
か特定することが困難であった。このため不良解析に多
くの労力を費やしていた。
Furthermore, since a functional test only determines the relationship between the input and output to the IC chip, even if it is determined to be defective, it is difficult to determine whether the peripheral circuit 2.3 has a defect in either or both of the active parts 2c and 3c. It was difficult to identify whether there was a defect in the joint between 2 and 3. For this reason, a lot of effort was spent on failure analysis.

したがって、従来は周辺回路の共通ユニット化によりI
Cチップ自体を短期間で製造できても、その試験に多く
の労力を要し、納期の短縮を妨げていた。
Therefore, in the past, I
Even if the C-chip itself could be manufactured in a short period of time, testing it required a lot of effort, which hindered shortening of delivery times.

そこで、本発明は、周辺回路の組合わせや仕様が興なっ
ていても、その試験パターンの大部分を共通化し、#l
能試験に要する労力を軽減することができる半導体集積
回路を提供することを課題とする。
Therefore, even if the combinations and specifications of peripheral circuits are changing, the present invention makes most of the test patterns common, and #l
An object of the present invention is to provide a semiconductor integrated circuit that can reduce the labor required for performance testing.

[課題を解決するための手段] 第1図は本発明(請求項1)の原理図である。[Means to solve the problem] FIG. 1 is a diagram showing the principle of the present invention (claim 1).

内部バス(A)と、内部バス(A)に接続された第1・
のレジスタ(B1)と、第1のレジスタ(81)に接続
され、所定の機能を実行する第1の実動部(B2)とを
有し、第1の実動部(B2)から他の回路ユニットに信
号を内部バス(A)を介さず出力する第1の回路ユニッ
ト(B)と、内部バス(A)に接続された第2のレジス
タ(C1)と、第2のレジスタ(C1)に接続され、所
定の機能を実行する第2の実動部(C2)とを有し、第
1の回路ユニット(C1)からの信号を第2の実動部(
C2)に内部バス(A)を介さずに受ける第2の回路ユ
ニット(C)と、内部バス(A)に接続され、外部と信
号を入出力する入出力回路(D)とを備えた半導体集積
回路において、第1の回路ユニット(8)は、第1の実
動部(B2)から出力される信号を前記第1のレジスタ
1B1)に伝送する第1の信号線(B3)を有し、第2
の回路ユニット(C)は、第1の回路ユニット(B)か
ら内部バス(A)を介さず入力される信号と第2のレジ
スタ(CI)からの信号を、第2のレジスタ(C1)か
らの選択信号に基づいて選択して第2の実動部(C2)
に出力するセレクタ(C3)と、セレクタ(C2)によ
り選択された信号を第2のレジスタ(ci)に伝送する
第2の信号M (C4)とを有しでいる。
an internal bus (A) and a first bus connected to the internal bus (A).
register (B1), and a first production unit (B2) that is connected to the first register (81) and executes a predetermined function, A first circuit unit (B) that outputs a signal to the circuit unit without going through the internal bus (A), a second register (C1) connected to the internal bus (A), and a second register (C1). It has a second production unit (C2) that is connected to the circuit unit and executes a predetermined function, and transmits the signal from the first circuit unit (C1) to the second production unit (C2).
A semiconductor comprising a second circuit unit (C) that receives signals from C2) without going through the internal bus (A), and an input/output circuit (D) that is connected to the internal bus (A) and inputs and outputs signals to and from the outside. In the integrated circuit, the first circuit unit (8) has a first signal line (B3) that transmits a signal output from the first production section (B2) to the first register 1B1). , second
The circuit unit (C) receives the signal input from the first circuit unit (B) without going through the internal bus (A) and the signal from the second register (CI), and receives the signal from the second register (C1). The second production unit (C2) is selected based on the selection signal of
The second signal M (C4) transmits the signal selected by the selector (C2) to the second register (ci).

第2図は本発明(請求項2)の原理図である。FIG. 2 is a diagram showing the principle of the present invention (claim 2).

請求項2の半導体集積回路における第1の回路ユニット
(B)は、第1の実動部(B2)から出力される信号と
第1のレジスタ(B1)からの信号を、第1のレジスタ
(B1)からの選択信号に基づいて選択して第2の回路
ユニット(C)に内部バス(A)を介さず出力する第2
のセレクタ(B4)を更に有している。
The first circuit unit (B) in the semiconductor integrated circuit according to the second aspect of the invention transmits the signal output from the first production section (B2) and the signal from the first register (B1) to the first register (B1). A second circuit that selects based on a selection signal from B1) and outputs it to the second circuit unit (C) without going through the internal bus (A).
It further has a selector (B4).

第3図は本発明(請求項3)の原理図である。FIG. 3 is a diagram showing the principle of the present invention (Claim 3).

請求項3の半導体集積回路は、内部バス(A)に接続さ
れた第3のレジスタ(E2)と、第3のレジスタ(E2
)に接続され、所定の機能を実行する第3の実動部(E
2)と、第1の回路ユニット(B)から内部バス(A)
を介さずに入力された信号と前記第3のレジスタ(E2
)からの信号を、第3のレジスタ(E2)からの選択信
号に基づいて選択して第3の実動部(E2)に出力する
第3のセレクタ(C3)と、第3のセレクタ(C3)に
より選択された信号を第3のレジスタ(E2)に伝送す
る第3の信号線(C4)と、第3の実動部(E2)から
出力される信号と第3のレジスタ(E2)からの信号を
、第3のレジスタ([1)からの選択信号に基づいて選
択して第2の回路ユニット(C)に内部バス(A)を介
さず出力する第4のセレクタ([5)と、第3の実動部
(E2)から出力される信号を第3のレジスタ(E2)
に伝送する第4の信号1(C6)とを有する第3の回路
ユニット(D)を更に備えている。
A semiconductor integrated circuit according to a third aspect of the present invention includes a third register (E2) connected to the internal bus (A);
) is connected to the third production unit (E
2) and the internal bus (A) from the first circuit unit (B).
The signal input without going through the third register (E2
) based on the selection signal from the third register (E2) and outputs the selected signal to the third production section (E2); ) and a third signal line (C4) that transmits the signal selected by the third register (E2) to the third register (E2). a fourth selector ([5) that selects the signal based on the selection signal from the third register ([1)] and outputs the selected signal to the second circuit unit (C) without going through the internal bus (A); , the signal output from the third production unit (E2) is transferred to the third register (E2).
The apparatus further includes a third circuit unit (D) having a fourth signal 1 (C6) transmitted to the fourth signal 1 (C6).

[作用コ 本発明(請求項1、第1図参照)によれば、顧客が使用
する通常動作時は第1の実動部(B1)の出力信号S1
はセレクタ(C3)を介して第2の実動部(C3)に入
力され、その出力は第2のレジスタ(C1)を介して内
部バス(A)に出力する。一方、製品出荷前に機能試験
を行うときには、第1の実動部(82)から第2の回路
ユニット(C)へ直接出力される信号S1を第1の信号
線(83ンを介して第1のレジスタ(81)に格納し、
それを内部バス(C)を介して読出すことで、第1の回
路ユニット(B)の機能を独立に試験する。第2の回路
ユニット(C)では、セレクタ(C3)により第1の回
路ユニット(B)がら第2の実動部(C2)へ直接入力
される信号S1に代えて信号S4を第2の実動部(C3
)へ入力する。信号S4は信号S1に相当する信号を試
験パターンとして外部から内部バス(A)を介して入力
した信号である。第2の実動部(C3)の機能はその出
力信号S3を第2のレジスタ(C1)を介して読出すこ
とにより独立に確認できる。また、信号S1をセレクタ
(C3)を介して第2の実動部(C2)を介さずに第2
のレジスタ(C1)に直接読出すことで両回路二二ット
(B)(C)の結合も確認できる。なお、セレクタ(C
3)の切換えは信号S5により行う。第1のレジスタ(
B1)、第2のレジスタ(C1)に対しては内部バス(
A)、入出力回路(D)を介して外部との間で信号の入
出力が可能なので、上述のようにして第1の回路ユニッ
ト(B)と第2の回路ユニット(C)のi能を両者の結
合路を含めてそれぞれ独立に動作試験することができる
[Function] According to the present invention (see Claim 1, FIG. 1), during normal operation used by a customer, the output signal S1 of the first actual operation section (B1) is
is input to the second production unit (C3) via the selector (C3), and its output is output to the internal bus (A) via the second register (C1). On the other hand, when performing a functional test before shipping the product, the signal S1 that is directly output from the first production section (82) to the second circuit unit (C) is sent to the first signal line (83) via the first signal line (83). 1 register (81),
By reading it out via the internal bus (C), the functionality of the first circuit unit (B) is tested independently. In the second circuit unit (C), the selector (C3) sends the signal S4 to the second actual unit (C2) instead of the signal S1 that is directly input from the first circuit unit (B) to the second actual unit (C2). Moving part (C3
). The signal S4 is a signal input from the outside via the internal bus (A) using a signal corresponding to the signal S1 as a test pattern. The function of the second working part (C3) can be independently checked by reading out its output signal S3 via the second register (C1). In addition, the signal S1 is sent to the second controller via the selector (C3) without going through the second actual operation unit (C2).
The connection between the two circuits (B) and (C) can also be confirmed by reading directly into the register (C1). In addition, the selector (C
The switching in 3) is performed by the signal S5. The first register (
B1), and the internal bus (
A), since it is possible to input and output signals to the outside via the input/output circuit (D), the i-function of the first circuit unit (B) and the second circuit unit (C) can be changed as described above. It is possible to independently test the operation of both of them, including their coupling paths.

本発明(請求項2、第2図参照)によれば、第1の回路
ユニットFB)では、第1のレジスタ(81)に格納し
た信号を第2のセレクタ(B4)を介して第2の回路ユ
ニット[C)に出力することができる。
According to the present invention (see Claim 2 and FIG. 2), in the first circuit unit FB), the signal stored in the first register (81) is transferred to the second selector (B4). It can be output to the circuit unit [C].

本発明(請求項3、第3図参照)によれば、第3の回路
ユニット(E)では、第3の実動部(E2)に入力する
信号ら第3の実動部(E2)から出力される信号も第3
のレジスタ([1)を介すことができるので、第3の回
路ユニット[E)を他の回路ユニットと独立に動作試験
することができる。
According to the present invention (Claim 3, see FIG. 3), in the third circuit unit (E), the signals input to the third actual operation section (E2) are transmitted from the third operation section (E2). The output signal is also the third
The third circuit unit [E] can be tested for operation independently from the other circuit units.

[実施例] (a)第1実施例の構成 第4図は本発明の第1実施例のブロック図である0本実
施例では半導体集積回路の例としてシングルチップマイ
クロコンピュータを説明する。第9図に示す従来と同一
の構成要素には同一の符号を付し、説明を省略又は簡略
にする。
[Embodiments] (a) Structure of First Embodiment FIG. 4 is a block diagram of the first embodiment of the present invention. In this embodiment, a single-chip microcomputer will be explained as an example of a semiconductor integrated circuit. Components that are the same as those of the conventional device shown in FIG. 9 are denoted by the same reference numerals, and description thereof will be omitted or simplified.

本実施例ではCPUIの周辺回路(回路ユニット)2.
3がユニット化されている0周辺回路2.3は、それぞ
れ従来と同様にアドレスデコーダ2a、3aとレジスタ
2b’ 、3b′と実動部2c、3Cとで構成されてい
る0本実施例のレジス、り2b′、3b’は試験のため
従来よりビット数が多く構成されている。レジスタ2b
′、3b’で斜線で示す部分が追加した部分である。周
辺回路2の実動部2cと周辺回路3の実動部3cとが信
号線6で接続され、内部バス4を介さすとも信号が伝送
できる。他の周辺回路に信号を出力する周辺回路2とし
ては、例えば、タイマ/カウンタ、時間管理用のタイム
ベースタイマ、リモコン制御回路等がある。他の周辺回
路からの信号を入力する周辺回路3としては、例えば、
シリアルボート、タイマ/カウンタ、V F D (V
acuulIFluorescenceDisplay
)コントローラ等がある。
In this embodiment, CPU peripheral circuit (circuit unit) 2.
The peripheral circuits 2 and 3 in which 3 is unitized are each composed of address decoders 2a, 3a, registers 2b', 3b', and production parts 2c, 3C, as in the conventional case. The registers 2b' and 3b' are constructed with a larger number of bits than before for testing purposes. register 2b
The diagonally shaded parts in ' and 3b' are the added parts. The actual operating section 2c of the peripheral circuit 2 and the actual operating section 3c of the peripheral circuit 3 are connected by a signal line 6, and signals can also be transmitted via the internal bus 4. Examples of the peripheral circuit 2 that outputs signals to other peripheral circuits include a timer/counter, a time base timer for time management, and a remote control control circuit. As the peripheral circuit 3 that inputs signals from other peripheral circuits, for example,
Serial boat, timer/counter, V F D (V
acuulIFluorescenceDisplay
) controllers, etc.

周辺回路2.3のアドレスデコーダ2a、3aはアドレ
スバス4aと制御バス4bに接続されている。アドレス
バス4aの信号をデコードすることにより、自分が属す
る周辺回路2.3が選択されたことを知り、さらに制御
バス4bの信号をデコードすることにより、リード命令
(−周辺回路2.3のレジスタ2b” 、3b’からデ
ータバス4cにデータを出力する命令)かライト命令(
=周辺回路2.3のレジスタ2b’ 、3b’がデータ
バス4cからデータを取込む命令)かを判断し、レジス
タ2b’  3b’にリード制御信号又はライト制御信
号を出力する。レジスタ2b’3b’から実動部2c、
3cへは制御信号が出力され、逆に実動部2c、3cか
らレジスタ2b”3cへは状態信号が出力される。CP
UIが周辺回路2.3を動作させる場合には、実動部2
c、3cへの制61+信号をデータバス4cを介してレ
ジスタ2b’  3b’に書込み、実動部2c、3cに
所定の機能を実行させた後、レジスタ2b′3b’に格
納された状B信号をデータバス4cを介して読出す0周
辺回路2.3同士のデータ又は制御信1号のやりとりは
、周辺回路2の実動部2cと周辺回路3の実動部3cと
を接続する信号線6を介して、データバス4cを介さず
に直接行われるよう構成されている。
Address decoders 2a, 3a of peripheral circuit 2.3 are connected to address bus 4a and control bus 4b. By decoding the signal on the address bus 4a, it is learned that the peripheral circuit 2.3 to which it belongs has been selected. Furthermore, by decoding the signal on the control bus 4b, the read command (-register of the peripheral circuit 2.3) is known. 2b'', 3b' to the data bus 4c) or write instruction (
= an instruction for the registers 2b' and 3b' of the peripheral circuit 2.3 to read data from the data bus 4c), and outputs a read control signal or a write control signal to the registers 2b' and 3b'. From register 2b'3b' to production unit 2c,
A control signal is output to CP 3c, and a status signal is output from the actual operating units 2c and 3c to register 2b''3c.CP
When the UI operates the peripheral circuit 2.3, the production section 2
After writing the control 61+ signal to registers 2b' and 3b' to registers 2b' and 3b' through the data bus 4c and causing the production units 2c and 3c to execute a predetermined function, the state B stored in registers 2b' and 3b' is written. The exchange of data or control signal No. 1 between the peripheral circuits 2 and 3 that read signals via the data bus 4c is a signal that connects the actual operating section 2c of the peripheral circuit 2 and the operating section 3c of the peripheral circuit 3. It is configured to be performed directly via the line 6 without going through the data bus 4c.

本実施例では、周辺回路2.3にそれぞれセレクタ2d
、3dが設けられている。周辺回路2のセレクタ2dは
、実動部2cがら周辺回路3へ直接出力される信号P1
と、レジスタ2b′から出力される信号P2をレジスタ
2b’がら選択信号P3により選択して信号P4として
出力する0例えば、選択信号P3=0であれば出力信号
P4として信号P1を出力し、選択信号P3;1であれ
ば出力信号P4として信号P2を出力する0周辺回路3
のセレクタ3dは、周辺回路2から実動部3cへ直接入
力される信号Q1と、レジスタ3b’から出力される信
号Q2をレジスタ3b’から選択信号Q3により選択し
て信号Q4として出力する0例えば、選択信号Q3=O
であれば出力信号Q4として信号Qlを出力し、謂択信
号Q3=1であれば出力信号Q4として信号Q2を出力
する。
In this embodiment, the peripheral circuits 2 and 3 each have a selector 2d.
, 3d are provided. The selector 2d of the peripheral circuit 2 receives a signal P1 which is directly output from the actual operation unit 2c to the peripheral circuit 3.
Then, the signal P2 output from the register 2b' is selected by the selection signal P3 from the register 2b' and outputted as the signal P4. For example, if the selection signal P3=0, the signal P1 is outputted as the output signal P4, and the selection Signal P3: 0 peripheral circuit 3 outputs signal P2 as output signal P4 if it is 1
The selector 3d selects the signal Q1 directly input from the peripheral circuit 2 to the production unit 3c and the signal Q2 output from the register 3b' using the selection signal Q3 from the register 3b' and outputs the selected signal Q4 as the signal Q4. , selection signal Q3=O
If so, the signal Ql is output as the output signal Q4, and if the selection signal Q3=1, the signal Q2 is output as the output signal Q4.

さらに本実施例ではセレクタ2b’の出力信号P4をレ
ジスタ2b’に伝送するための信号412eが、設けら
れ、信号P4をいつでもデータバス4Cを介して読出す
ことができるように構成されている。同様に、セレクタ
3b’の出力信号Q4をレジスタ3b’に伝送するため
の信号線3eが設けられ、信号Q4をいつでもデータバ
ス4Cを介して読出すことができるように構成されてい
る。
Further, in this embodiment, a signal 412e for transmitting the output signal P4 of the selector 2b' to the register 2b' is provided, and the configuration is such that the signal P4 can be read out at any time via the data bus 4C. Similarly, a signal line 3e is provided for transmitting the output signal Q4 of the selector 3b' to the register 3b', and the configuration is such that the signal Q4 can be read out at any time via the data bus 4C.

(b)第1実施例の動作 本実施例では、データバスを介さずして信号の授受をす
る複数の周辺回路を個々に動作させて試験をすることが
できる9通常動作時と機能試験時の動作について以下説
明す°る。
(b) Operation of the first embodiment In this embodiment, multiple peripheral circuits that exchange signals without going through a data bus can be individually operated and tested. 9 During normal operation and during a functional test The operation will be explained below.

(通常動作時) セレクタ2d、3dの接点は図示の状態となり、第9図
と全く同様にして動作する。このときレジスタ2b’、
3b’の斜線部分は使用されない。
(During normal operation) The contacts of the selectors 2d and 3d are in the state shown, and operate in exactly the same manner as in FIG. 9. At this time, register 2b',
The shaded area 3b' is not used.

(Ill能試験時) 、′口の ■ −まず、周辺回路2を起動させるために、CPUI
はアドレスバス4aに周辺回路2のアドレス信号を出力
すると共に、制御バス4bにライト命令を出す、これら
はアドレスデコーダ2aによりデコードされ、レジスタ
2b’はCPU1からデータバス4Cに転送されている
データを取込む(矢印a)、このデータとして、実動部
2c、の起動命令と共に、選択信号P3として「0」を
出力する。
(During the Ill performance test) - First, in order to start up the peripheral circuit 2, the CPU
outputs the address signal of the peripheral circuit 2 to the address bus 4a and issues a write command to the control bus 4b. These are decoded by the address decoder 2a, and the register 2b' stores the data transferred from the CPU 1 to the data bus 4C. As this data is taken in (arrow a), "0" is output as the selection signal P3 together with a start command for the actual operation section 2c.

■ レジスタ2b’にデータが取込まれると、そのデー
タ中の起動命令が実動部2Cに出力され(矢印b)、実
動部2cが動作許可されて動作を開始する6例えば、タ
イマであれば実動部2Cがタイムカウントを開始する。
■ When the data is loaded into the register 2b', the start command in the data is output to the production unit 2C (arrow b), and the production unit 2c is permitted to operate and starts operating6. In this case, the production unit 2C starts time counting.

同時にセレクタ2dにも選択信号P3(=O)が出力さ
れる(矢印c ) a選択信号P3がOであるから、セ
レクタ2dは実動部2cからの信号P1を選択し、出力
信号P4として出力する(矢印d)。
At the same time, the selection signal P3 (=O) is output to the selector 2d (arrow c). Since the a selection signal P3 is O, the selector 2d selects the signal P1 from the production section 2c and outputs it as the output signal P4. (arrow d).

■ 実動部2Cが所定のi能を実行し、その実行結集を
信号P1として出力すると、その信号はセレクタ2dか
ら信号P4として出力され、信号線2eによりレジスタ
2b’に出力される(矢印e)6例えば、タイマであれ
ばオーバーフロー信号がレジスタ2b’に出力される。
■ When the production section 2C executes a predetermined i-function and outputs the result of the execution as a signal P1, the signal is outputted from the selector 2d as a signal P4, and is outputted to the register 2b' via the signal line 2e (arrow e). )6 For example, in the case of a timer, an overflow signal is output to register 2b'.

しかる後、CPUIがレジスタ2b’の内容を読出せば
(矢印f)、実行結果を知ることができる。この様にし
て実動部2Cが各入力に対して正常に信号P1を出力す
ることを確認する。
After that, if the CPUI reads the contents of the register 2b' (arrow f), the execution result can be known. In this way, it is confirmed that the actual operating section 2C normally outputs the signal P1 for each input.

パ a      ゛  。Pa a   ゛ .

■ まず、周辺回路3を起動させるために、CPU1は
アドレスバス4aに周辺回路3のアドレス信号を出力す
ると共に、制御バス4bにライト命令を出す、これらは
アドレスデコーダ3aによりデコードされ、レジスタ3
b’はCPUIからデータバス4cに転送されているデ
ータ、を取込む(矢印g)、このデータとして、実動部
3cの起動命令と共に、選択信号Q3として「1」を出
力する。
■ First, in order to start up the peripheral circuit 3, the CPU 1 outputs the address signal of the peripheral circuit 3 to the address bus 4a, and issues a write command to the control bus 4b.These are decoded by the address decoder 3a, and the register 3
b' takes in data transferred from the CPUI to the data bus 4c (arrow g), and outputs "1" as this data as the selection signal Q3 together with a startup command for the production unit 3c.

■ レジスタ3b’にデータが取込まれると、そのデー
タ中の起動命令が実動部3cに出力され(矢印h)、実
動部3cが動作許可されて動作を開始する。同時にセレ
クタ3dにも選択信号Q3(=1)が出力される(矢印
1)0選択信号Q3が1であるから、セレクタ3dはレ
ジスタ3b’からの信号Q2を選択し、出力信号Q4と
して実動部3cに出力する(矢印j)、信号Q2は実動
部2cの出力P1に相当する信号を外部から与えたもの
である。
(2) When the data is taken into the register 3b', a start command in the data is output to the production unit 3c (arrow h), and the production unit 3c is permitted to operate and starts operating. At the same time, the selection signal Q3 (=1) is output to the selector 3d (arrow 1). Since the 0 selection signal Q3 is 1, the selector 3d selects the signal Q2 from the register 3b' and outputs it as the output signal Q4. The signal Q2 outputted to the section 3c (arrow j) is a signal corresponding to the output P1 of the actual operation section 2c given from the outside.

■ 実動部3cが所定の機能を実行すると、その実行結
果はたとえば状態信号としてレジスタ3b′に出力され
る(矢印k)、しかる後、C、P Ulがレジスタ3b
’の内容を読出せ9ば(矢印1)、実行結果を知ること
ができる。このように信号Q2を外部から任意に設定し
て実動部3Cの出力を確認することで、周辺回路2とは
無関係に周辺回路3の動作を確認することができる。
■ When the production unit 3c executes a predetermined function, the execution result is outputted to the register 3b' as a status signal (arrow k). After that, C and P Ul are sent to the register 3b'.
If you read the contents of '9 (arrow 1), you can know the execution result. In this way, by arbitrarily setting the signal Q2 from the outside and checking the output of the actual operating section 3C, the operation of the peripheral circuit 3 can be checked independently of the peripheral circuit 2.

このようにして、周辺回路2.3を互いに独立して動作
試験を行うことができるので、−度周辺回路2.3の試
験パターンを作っておけば、組合わせたとしても、第5
図に示すようにそれら試験パターンをただ繋げればよい
。ただし、周辺回路2と周辺回路3の接続部分は新しく
設計したため、これについての試験パターンは第5図に
示すように別に作成する。なお、この試験パターンは信
号線6の接続を試験するだけであるので、周辺回路の動
作試験パターンに比べて極めて簡単である。
In this way, the peripheral circuits 2.3 can be tested independently of each other, so if a test pattern is created for the peripheral circuits 2.3, even when combined, the 5th
Just connect the test patterns as shown in the figure. However, since the connecting portion between peripheral circuit 2 and peripheral circuit 3 is newly designed, a test pattern for this is created separately as shown in FIG. Note that this test pattern only tests the connection of the signal line 6, so it is extremely simple compared to the operation test pattern for peripheral circuits.

2と   3の の CPU1が周辺回路2のレジスタ2b’に)H択信号P
3として「1」を書込み、周辺口F43のレジスタ3b
’に選択信号Q3として「0」を書込む。すると、矢印
mで示すように、レジスタ2b’→セレクタ2d→信号
線6→セレクタ3d−信号線3e→レジスタ3b’に至
るルートが形成される。cputがレジスタ2b’に試
験パターンを入れ、それをレジスタ3b′から読出すこ
とにより、信号線6の接続が試験できる。
2 and 3, the CPU 1 sends the H selection signal P to the register 2b' of the peripheral circuit 2.
Write “1” as 3 and register 3b of peripheral port F43.
'0' is written as the selection signal Q3. Then, as shown by arrow m, a route is formed from register 2b' to selector 2d to signal line 6 to selector 3d to signal line 3e to register 3b'. The connection of the signal line 6 can be tested by cput putting a test pattern into the register 2b' and reading it from the register 3b'.

このように、第1実施例によれば試験パターンについて
も大部分は予め作成した各周辺回路の試験パターンを組
合わせればよく、極めて簡単に作成することができる。
As described above, according to the first embodiment, most of the test patterns can be created by combining test patterns of peripheral circuits created in advance, and can be created extremely easily.

(C)第2実施例 第6図は本発明の第2実施例のブロック図である。第4
図に示す第1実施例と同一の構成要素には同一の符号を
付し説明を省略する。
(C) Second Embodiment FIG. 6 is a block diagram of a second embodiment of the present invention. Fourth
Components that are the same as those in the first embodiment shown in the drawings are given the same reference numerals and explanations will be omitted.

第1実施例と異なるのは、周辺回路2で実動部2cから
出力される信号P1をレジスタ2b’に伝送する信号線
2eを設けてセレクタを省略した点であり、他の構成は
同じである。
The difference from the first embodiment is that a signal line 2e is provided in the peripheral circuit 2 to transmit the signal P1 outputted from the actual operation section 2c to the register 2b', and the selector is omitted; the other configurations are the same. be.

周辺回路3の動作試験は第1実施例と同じであるが、周
辺回路2の動作試験及び周辺回路2.3間の接続試験が
異なる。
The operation test of the peripheral circuit 3 is the same as in the first embodiment, but the operation test of the peripheral circuit 2 and the connection test between the peripheral circuits 2 and 3 are different.

。通口路2の  拭 本実施例では実動部2Cの出力信号は信号!!2eによ
りレジスタ2b’に出力されているので、常に矢印nで
示すようなルートが形成される。したがって、第1実施
例と同様に実動部2Cの出力をレジスタ2b’で読出す
ことができ、周辺回路2を池の周辺回路とは独立に試験
できる。
. In this embodiment, the output signal of the active part 2C is a signal! ! Since the signal is outputted to the register 2b' by 2e, a route as shown by arrow n is always formed. Therefore, as in the first embodiment, the output of the operating section 2C can be read out by the register 2b', and the peripheral circuit 2 can be tested independently of the other peripheral circuits.

2   3の の 本実施例では周辺口Fi@ 2にセレクタが設けられて
いないので、レジスタ2b”に格納したデータを直接信
号線6を介して周辺回路3に送ることはできない1周辺
回路2が確実に動作することが確認できた後、実動部2
Cの動作を外部からコントロールして信号線6に予定の
信号P1を出力させ、この予定の信号を周辺回路3のレ
ジスタ3b’に格納させて試験を行う、なお、実動部2
Cから信号a6に出力する信号P1はレジスタ2b’を
介して見ることができるので、確実に接続試験が行える
In this embodiment, the peripheral port Fi@2 is not provided with a selector, so the data stored in the register 2b'' cannot be directly sent to the peripheral circuit 3 via the signal line 6. After confirming that it works reliably, the production section 2
The operation of C is externally controlled to output a scheduled signal P1 to the signal line 6, and this scheduled signal is stored in the register 3b' of the peripheral circuit 3 to perform the test.
Since the signal P1 outputted from C as the signal a6 can be seen through the register 2b', the connection test can be performed reliably.

このように、第2実施例の場合も大部分は予め作成した
各周辺回路の試験パターンを組合わせればよく、極めて
簡単に作成できる。
In this way, in the case of the second embodiment as well, most of the test patterns for each peripheral circuit created in advance can be combined, and the test patterns can be created extremely easily.

(d)第3実施例 第7図は本発明の第3実施例のブロック図である。第4
図に示す第1実施例と同一の構成要素には同一の符号を
付し説明を省略する。
(d) Third Embodiment FIG. 7 is a block diagram of a third embodiment of the present invention. Fourth
Components that are the same as those in the first embodiment shown in the drawings are given the same reference numerals and explanations will be omitted.

本実施例では周辺回路2.3と異なるタイプの周辺回路
7が設けられている。この周辺回路7は、内部バス4を
介さずに他の周辺回路から信号が直接入力されると共に
、他の周辺回路に信号を直接出力するものである。すな
わち、周辺回路2と周辺回路7とは信号線8で接続され
、周辺回路7と周辺回路3とは信号綴って接続される。
In this embodiment, a peripheral circuit 7 of a different type from the peripheral circuit 2.3 is provided. This peripheral circuit 7 receives signals directly from other peripheral circuits without going through the internal bus 4, and outputs signals directly to other peripheral circuits. That is, peripheral circuit 2 and peripheral circuit 7 are connected by signal line 8, and peripheral circuit 7 and peripheral circuit 3 are connected by signal line.

周辺回路7は、周辺回路2.3と同様にアドレスデコー
ダ7aとレジスタ7bと実動部7cとを有している。ま
た、周辺回路7は、実動部7cの入力側にセレクタ7d
、出力側にセレクタ7fを有している。
Peripheral circuit 7, like peripheral circuit 2.3, includes an address decoder 7a, a register 7b, and an actual operation section 7c. Further, the peripheral circuit 7 has a selector 7d on the input side of the actual operation section 7c.
, has a selector 7f on the output side.

セレクタ7dは、周辺回路3のセレクタ3dと同様な構
成である。すなわち、セレクタ7dは、周辺回路2から
実動部7cへ直接入力される信号R1と、レジスタ7b
から出力される信号R2をレジスタ7bから選、択信号
R3により選択して信号R4として出力する9例えば、
選択信号R3=0であれば出力信号R4として信号R1
を出力し、選択信号R3=1であれば出力信号R4とし
て信号R2を出力する。セレクタ7dの出力信号R4は
信号線7eを介してレジスタ7bに伝送される。
The selector 7d has a similar configuration to the selector 3d of the peripheral circuit 3. That is, the selector 7d selects the signal R1 directly input from the peripheral circuit 2 to the actual operation section 7c and the register 7b.
9, which selects the signal R2 output from the register 7b, selects it by the selection signal R3, and outputs it as the signal R4.
If the selection signal R3=0, the signal R1 is used as the output signal R4.
If the selection signal R3=1, the signal R2 is output as the output signal R4. The output signal R4 of the selector 7d is transmitted to the register 7b via the signal line 7e.

セレクタ7では、周辺回路2のセレクタ2dと同様な構
成である。すなわち、セレクタ7fは、実動部7Cから
周辺回路3へ直接出力される信号S1と、レジスタ7b
から出力される信号S2をレジスタ7bからの選択信号
S3により選択して信号S4として出力する0例えば、
選択信号53=0であれば出力信号S4として信号S1
を出力し、選択信号53=1であれば出力信号S4とし
て信号S2を出力する。セレクタ7fの出力信号S4は
信号線7gを介してレジスタ7bに伝送される。
The selector 7 has the same configuration as the selector 2d of the peripheral circuit 2. That is, the selector 7f outputs the signal S1 directly output from the production unit 7C to the peripheral circuit 3, and the register 7b.
For example, the signal S2 output from the register 7b is selected by the selection signal S3 from the register 7b and output as the signal S4.
If the selection signal 53=0, the signal S1 is used as the output signal S4.
If the selection signal 53=1, the signal S2 is output as the output signal S4. The output signal S4 of the selector 7f is transmitted to the register 7b via the signal line 7g.

、 ゛  ロ    7 の      :周辺回路7
を他の周辺回路と独立に動作試験を行うためには、セレ
クタ7dへの選択信号R3を「1」にして、レジスタ7
bに格納されたデータ信号をセレクタ7dを介して実動
部7Cの出力信号R4とするルート(矢印0)を形成す
る。また、セレクタ7rへの選択信号S3を「0」にし
て、実動部7cの出力信号S1をセレクタ7fと信号線
7gを介してレジスタ7bに至るルート(矢印p)を形
成する。これにより、実動部7Cへの入力信号も出力信
号もcpuiによりレジスタ7bに格納することにより
設定でき、動作試験を池の周辺回路と独立に行うことが
できる。したがって、周辺回路7の試験パターンを周辺
回路2.3の試験パターンと共にただ繋げればよい。
, 7: Peripheral circuit 7
In order to perform an operation test independently of other peripheral circuits, set the selection signal R3 to the selector 7d to "1" and set the register 7
A route (arrow 0) is formed to route the data signal stored in the data signal stored in the selector 7d to the output signal R4 of the operating section 7C. Further, the selection signal S3 to the selector 7r is set to "0" to form a route (arrow p) for the output signal S1 of the actual operation section 7c to reach the register 7b via the selector 7f and the signal line 7g. As a result, input signals and output signals to the actual operating section 7C can be set by storing them in the register 7b using the CPU, and operation tests can be performed independently of the peripheral circuits of the circuit. Therefore, it is sufficient to simply connect the test pattern of peripheral circuit 7 with the test pattern of peripheral circuit 2.3.

2   7の の CPUIが周辺回路2のレジスタ2b’に0選択信号P
3として「1」を書込み、周辺回路7のレジスタ7bに
選択信号R3として「0」を書込む。
2 7 CPUI sends 0 selection signal P to register 2b' of peripheral circuit 2.
"1" is written as the selection signal R3, and "0" is written in the register 7b of the peripheral circuit 7 as the selection signal R3.

すると、矢印qで示すように、レジスタ2b’ −セレ
クタ2d→信号線8→セレクタ7d→信号線7e→レジ
スタ7bに至るルートが形成される。
Then, as shown by arrow q, a route is formed from register 2b' - selector 2d -> signal line 8 -> selector 7d -> signal line 7e -> register 7b.

CPUIがレジスタ2b”に試験パターンを入れ。The CPUI puts the test pattern into register 2b''.

それをレジスタ7bから読出すことにより、信号線8の
接続が試験できる。
By reading it from the register 7b, the connection of the signal line 8 can be tested.

7   3の の cpuiが周辺回路7のレジスタ7bに選択信号S3と
して「1」を書込み、周辺回路3のレジスタ3b’に選
択信号Q3としてraJを書込む。
The CPU of 7 3 writes "1" to the register 7b of the peripheral circuit 7 as the selection signal S3, and writes raJ to the register 3b' of the peripheral circuit 3 as the selection signal Q3.

すると、矢印rで示すように、レジスタ7b→セレクタ
7f→信号線9→セレクタ3d→信号線3e→レジスタ
3b’に至るルートが形成される。
Then, as shown by arrow r, a route is formed from register 7b to selector 7f to signal line 9 to selector 3d to signal line 3e to register 3b'.

CPUIがレジスタ7bに試験パターンを入れ。CPUI puts test pattern into register 7b.

それをレジスタ3b’から読出すことにより、信号線9
の接続が試験できる。
By reading it from register 3b', signal line 9
connection can be tested.

このように、第2実施例の場合も大部分は予め作成した
各周辺回路の試験パターンを組合わせればよく、極めて
簡単に作成できる。
In this way, in the case of the second embodiment as well, most of the test patterns for each peripheral circuit created in advance can be combined, and the test patterns can be created extremely easily.

(e)他の実施例 本発明は上記実施例に限らず種々の変形が可能である9
例えば、上記実施例は半導体装置としてCPUを有する
シングルチップマイクロコンピュータであったが、CP
Uを内部には有さないような半導体集積回路にも適用す
ることができる。この半導体集積回路は回路ユニットと
ボート回路とで構成される。また、半導体、sM回路が
他の回路ユニットと直接信号のやり取りをしないような
回路ユニットを有していてもよい。
(e) Other embodiments The present invention is not limited to the above embodiments, and various modifications are possible9.
For example, although the above embodiment is a single-chip microcomputer having a CPU as a semiconductor device, the CPU
It can also be applied to semiconductor integrated circuits that do not have U inside. This semiconductor integrated circuit is composed of a circuit unit and a boat circuit. Furthermore, the semiconductor or sM circuit may have a circuit unit that does not directly exchange signals with other circuit units.

[発明の効果コ 以上の通り本発明によれば、第1の回路ユニットから他
の回路ユニットへ内部バスを介さずに直接出力される信
号も、他の回路ユニットから第2の回路ユニットへ内部
バスを介さずに直接入力される信号も、第1のレジスタ
と第2のレジスタを介して外部との間で信号の入出力が
可能なので、各回路ユニットをそれぞれ独立に動作試験
することができる。顧客の仕様により周辺回路の組合わ
せが変わったとしても、予め用意しておいた共通試験パ
ターンを用いて容易に試験を行うことができる。したが
って、周辺回路の共通ユニット化と共に、試験パターン
も大部分が品種にかかわらず共通化できるので、各種仕
様の半導体集積回路を一層短期間で供給することができ
る。
[Effects of the Invention] As described above, according to the present invention, signals that are directly output from a first circuit unit to another circuit unit without going through an internal bus can also be internally output from another circuit unit to a second circuit unit. Even signals that are input directly without going through the bus can be input and output from the outside via the first and second registers, so each circuit unit can be tested independently. . Even if the combination of peripheral circuits changes depending on the customer's specifications, testing can be easily performed using a common test pattern prepared in advance. Therefore, not only the peripheral circuits can be made into a common unit, but also most of the test patterns can be made common regardless of the product type, so that semiconductor integrated circuits with various specifications can be supplied in a shorter period of time.

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

第1図は本発明の請求項1の原理説明図、第2図は本発
明の請求項2の原理説明図、第3図は本発明の請求項3
の原理説明図、第4図は本発明の第1実施例のブロック
図、第5図は本発明の第1実施例の試験パターンの説明
図、 第6図は本発明の第2実施例のブロック図、第7図は本
発明の第3実施例のブロック図、第8図はシングルチッ
プマイクロコンピュータを示すブロック図、 第9図は従来の半導体集積回路の詳細を示すブロック図
である。 2d、3d、7d、7f・・・セレクタ、’:2e、3
e、7e、7g・・・信号線、4・・・内部バス、 4a・・・アドレスバス、 4b・・・制御バス、 4c・・・データバス 5・・・ボート回路、 6.8.9・・・信号線。 図において、 1・・・CPU、 2.3.7・・・周辺回路、 2a、3a、7a・・・アドレスデコーダ、2b、2b
’ 、3b、3b′、7b・・・レジスタ、2c、3c
、7cm・−実動部、
Fig. 1 is an explanatory diagram of the principle of claim 1 of the present invention, Fig. 2 is an explanatory diagram of the principle of claim 2 of the present invention, and Fig. 3 is an explanatory diagram of the principle of claim 2 of the present invention.
4 is a block diagram of the first embodiment of the present invention, FIG. 5 is an explanatory diagram of the test pattern of the first embodiment of the present invention, and FIG. 6 is a diagram of the second embodiment of the present invention. FIG. 7 is a block diagram of a third embodiment of the present invention, FIG. 8 is a block diagram showing a single-chip microcomputer, and FIG. 9 is a block diagram showing details of a conventional semiconductor integrated circuit. 2d, 3d, 7d, 7f...Selector, ': 2e, 3
e, 7e, 7g...Signal line, 4...Internal bus, 4a...Address bus, 4b...Control bus, 4c...Data bus 5...Boat circuit, 6.8.9 ···Signal line. In the figure, 1...CPU, 2.3.7...Peripheral circuit, 2a, 3a, 7a...Address decoder, 2b, 2b
', 3b, 3b', 7b... register, 2c, 3c
, 7cm・-actual part,

Claims (1)

【特許請求の範囲】 1、内部バス(A)と、 前記内部バス(A)に接続された第1のレジスタ(B1
)と、前記第1のレジスタ(B1)に接続され、所定の
機能を実行する第1の実動部(B2)とを有し、前記第
1の実動部(B2)から他の回路ユニットに信号を前記
内部バス(A)を介さずに出力する第1の回路ユニット
(B)と、 前記内部バス(A)に接続された第2のレジスタ(C1
)と、前記第2のレジスタ(C1)に接続され、所定の
機能を実行する第2の実動部(C2)とを有し、前記第
1の回路ユニット(B)からの信号を前記第2の実動部
(C2)に前記内部バス(A)を介さずに受ける第2の
回路ユニット(C)と、 前記内部バス(A)に接続され、外部と信号をやりとり
する入出力回路(D)と を備えた半導体集積回路において、 前記第1の回路ユニット(B)は、 前記第1の実動部(B2)から出力される信号を前記第
1のレジスタ(B1)に伝送する第1の信号線(B3)
を有し、 前記第2の回路ユニット(C)は、 前記第1の回路ユニット(B)から前記内部バス(A)
を介さずに入力される信号と前記第2のレジスタ(C1
)からの信号を、選択信号に基づいて選択して前記第2
の実動部(C2)に出力するセレクタ(C3)と、 前記セレクタ(C2)により選択された信号を前記第2
のレジスタ(C1)に伝送する第2の信号線(C4)と
を有することを特徴とする半導体集積回路。 2、請求項1記載の半導体集積回路において、前記第1
の回路ユニット(B)は、 前記第1の実動部(B2)から出力される信号と前記第
1のレジスタ(B1)からの信号を、選択信号に基づい
て選択して前記第2の回路ユニット(C)に前記内部バ
ス(A)を介さずに出力する第2のセレクタ(B4)を
有することを特徴とする半導体集積回路。 3、請求項1又は2記載の半導体集積回路において、 前記内部バス(A)に接続された第3のレジスタ(E1
)と、 前記第3のレジスタ(E1)に接続され、所定の機能を
実行する第3の実動部(E2)と、 前記第1の回路ユニット(B)から前記内部バス(A)
を介さずに入力された信号と前記第3のレジスタ(E1
)からの信号を、選択信号に基づいて選択して前記第3
の実動部(E2)に出力する第3のセレクタ(E3)と
、 前記第3のセレクタ(E3)により選択された信号を前
記第3のレジスタ(E1)に伝送する第3の信号線(E
4)と、 前記第3の実動部(E2)から出力される信号と前記第
3のレジスタ(E1)からの信号を、選択信号に基づい
て選択して前記第2の回路ユニット(C)に前記内部バ
ス(A)を介さずに出力する第4のセレクタ(E5)と
、 前記第3の実動部(E2)から出力される信号を前記第
3のレジスタ(E1)に伝送する第4の信号線(E6)
と を有する第3の回路ユニット(D)を更に備えたことを
特徴とする半導体集積回路。
[Claims] 1. An internal bus (A), and a first register (B1) connected to the internal bus (A).
), and a first production section (B2) connected to the first register (B1) and performing a predetermined function, the first production section (B2) is connected to another circuit unit. a first circuit unit (B) that outputs a signal to the internal bus (A) without going through the internal bus (A); and a second register (C1) connected to the internal bus (A).
) and a second production unit (C2) that is connected to the second register (C1) and executes a predetermined function, the signal from the first circuit unit (B) is a second circuit unit (C) that receives signals from the production section (C2) of the second circuit without going through the internal bus (A); and an input/output circuit (C) that is connected to the internal bus (A) and exchanges signals with the outside. D) In the semiconductor integrated circuit comprising: 1 signal line (B3)
The second circuit unit (C) has a connection from the first circuit unit (B) to the internal bus (A).
The signal input without going through the second register (C1
) is selected based on the selection signal to select the signal from the second
a selector (C3) that outputs the signal selected by the selector (C2) to the production section (C2) of the second
A semiconductor integrated circuit comprising a second signal line (C4) for transmitting data to a register (C1). 2. The semiconductor integrated circuit according to claim 1, wherein the first
The circuit unit (B) selects the signal output from the first production section (B2) and the signal from the first register (B1) based on a selection signal, and outputs the signal to the second circuit. A semiconductor integrated circuit comprising a second selector (B4) that outputs an output to the unit (C) without going through the internal bus (A). 3. The semiconductor integrated circuit according to claim 1 or 2, further comprising: a third register (E1) connected to the internal bus (A);
), a third production unit (E2) connected to the third register (E1) and performing a predetermined function, and a third production unit (E2) that is connected to the third register (E1) and performs a predetermined function;
The signal input without going through the third register (E1
) is selected based on the selection signal to select the signal from the third
a third selector (E3) that outputs the signal to the production unit (E2); and a third signal line (E3) that transmits the signal selected by the third selector (E3) to the third register (E1). E
4), and selecting the signal output from the third production section (E2) and the signal from the third register (E1) based on a selection signal to select the signal output from the second circuit unit (C). a fourth selector (E5) that outputs a signal to the third register (E1) without going through the internal bus (A); 4 signal line (E6)
A semiconductor integrated circuit further comprising a third circuit unit (D).
JP63147656A 1988-06-15 1988-06-15 Semiconductor integrated circuit Expired - Fee Related JP2641503B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63147656A JP2641503B2 (en) 1988-06-15 1988-06-15 Semiconductor integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63147656A JP2641503B2 (en) 1988-06-15 1988-06-15 Semiconductor integrated circuit

Publications (2)

Publication Number Publication Date
JPH022429A true JPH022429A (en) 1990-01-08
JP2641503B2 JP2641503B2 (en) 1997-08-13

Family

ID=15435290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63147656A Expired - Fee Related JP2641503B2 (en) 1988-06-15 1988-06-15 Semiconductor integrated circuit

Country Status (1)

Country Link
JP (1) JP2641503B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008176822A (en) * 2008-04-15 2008-07-31 Oki Electric Ind Co Ltd Microcontroller testing circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62224836A (en) * 1986-03-26 1987-10-02 Hitachi Ltd Semiconductor integrated circuit device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62224836A (en) * 1986-03-26 1987-10-02 Hitachi Ltd Semiconductor integrated circuit device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008176822A (en) * 2008-04-15 2008-07-31 Oki Electric Ind Co Ltd Microcontroller testing circuit

Also Published As

Publication number Publication date
JP2641503B2 (en) 1997-08-13

Similar Documents

Publication Publication Date Title
KR20000029997A (en) A method for testing integrated memory using an integrated dma controller
WO2000073809A1 (en) Semiconductor integrated circuit
US7884641B2 (en) Setting operating mode of an interface using multiple protocols
JPH022429A (en) Semiconductor integrated circuit
JPH08129494A (en) Register monitoring method at time of emulation
JP3736980B2 (en) Microcontroller evaluation apparatus and evaluation method
JPH05282895A (en) Integrated circuit including standard cell, application cell, and test cell
JP4600134B2 (en) Multiprocessor system
JPS62224836A (en) Semiconductor integrated circuit device
US7058842B2 (en) Microcontroller with multiple function blocks and clock signal control
JPS63193237A (en) Semiconductor integrated circuit device
JPS6044702B2 (en) semiconductor equipment
JPH02171948A (en) Programmable output port
JP4479131B2 (en) Control device
JPH01266635A (en) Semiconductor integrated circuit
JP2877505B2 (en) LSI mounting board and data processing device
JPH0816425A (en) Inspection board for one-chip microcomputer
CN117667554A (en) Method and system for intelligently switching same physical serial port of communication module
JPH0815387A (en) Microcomputer test circuit
JP2792491B2 (en) Emulation device
JPS62150181A (en) Test system for large-scale integrated circuit
JPH0258799A (en) Semiconductor integrated circuit device
JPH03202924A (en) Single chip microcomputer
JP2002297564A (en) Processor
JPH046482A (en) Semiconductor device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees