JPH08286942A - Semiconductor circuit device - Google Patents

Semiconductor circuit device

Info

Publication number
JPH08286942A
JPH08286942A JP7084226A JP8422695A JPH08286942A JP H08286942 A JPH08286942 A JP H08286942A JP 7084226 A JP7084226 A JP 7084226A JP 8422695 A JP8422695 A JP 8422695A JP H08286942 A JPH08286942 A JP H08286942A
Authority
JP
Japan
Prior art keywords
bus
logic circuit
random logic
microcomputer
microcomputer core
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7084226A
Other languages
Japanese (ja)
Inventor
Akemi Higashiyama
明見 東山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electronics Corp filed Critical Matsushita Electronics Corp
Priority to JP7084226A priority Critical patent/JPH08286942A/en
Publication of JPH08286942A publication Critical patent/JPH08286942A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To provide a circuit with which each function block can be singly tested by providing a bus sharing the inputs/outputs of respective blocks and a circuit for switching a signal to be transmitted through the bus while using its external terminal at a microcomputer equipped with plural function blocks. CONSTITUTION: When testing a microcomputer core 1, a bus from a microcomputer core select terminal 3 of the external terminal to the microcomputer core is turned on and a bus from a random logic circuit select terminal 4 of the external terminal to a random logic circuit 2 is turned off. In this state, only the microcomputer core 1 can be tested and data are inputted through a data input terminal 5 of the external terminal, tristate inverter 9, shared bus 17, bus 24 and tristate inverter 10 to the microcomputer core 1 and outputted through the microcomputer core 1, tristate inverter 11, bus 23, shared bus 18 and tristate inverter 12 to a data output terminal 7 of the external terminal. When testing the random logic circuit 2, on the other hand, it can be singly tested by the similar method as well.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マイコンコアとランダ
ムロジック回路が内部で接続されたマイクロコンピュー
タなどの半導体回路装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor circuit device such as a microcomputer in which a microcomputer core and a random logic circuit are internally connected.

【0002】[0002]

【従来の技術】図2は従来のランダムロジック回路を内
蔵するマイクロコンピュータの回路構成概略図を示し、
図2に示すようにマイコンコア1とランダムロジック回
路2が内部で接続されることがある。このマイクロコン
ピュータのテストにおいては、ランダムロジック回路2
からマイコンコア1へ入力される信号が正常であること
と、マイコンコア1からランダムロジック回路2へ入力
される信号が正常であることを確かめる必要がある。
2. Description of the Related Art FIG. 2 is a schematic circuit diagram of a conventional microcomputer incorporating a random logic circuit.
As shown in FIG. 2, the microcomputer core 1 and the random logic circuit 2 may be internally connected. In this microcomputer test, the random logic circuit 2
It is necessary to confirm that the signal input from the microcomputer core 1 to the microcomputer core 1 is normal and that the signal input from the microcomputer core 1 to the random logic circuit 2 is normal.

【0003】マイコンコア1に対する入力信号のテスト
をする場合、データ入力端子27からデータを入力してラ
ンダムロジック回路2を動作させ、ランダムロジック回
路2の出力25を変化させてテストを行う。また、マイコ
ンコア1からランダムロジック回路2への入力26は、マ
イコンコア1を動作させて入力信号を発生させ、データ
出力端子28から出力させる必要がある。
When testing the input signal to the microcomputer core 1, data is input from the data input terminal 27 to operate the random logic circuit 2 and the output 25 of the random logic circuit 2 is changed to perform the test. Further, the input 26 from the microcomputer core 1 to the random logic circuit 2 is required to operate the microcomputer core 1 to generate an input signal and output it from the data output terminal 28.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記の従
来の構成では、ランダムロジック回路2のテストを行う
際、必ずマイコンコア1を動作させなくてはならないの
でテストに時間がかかる。また、ランダムロジック回路
2のデータの入出力端子27,28が増えたとき、ランダム
ロジック回路2とマイコンコア1間の配線も増加するの
で配線効率が悪くなるという問題があった。
However, in the above-described conventional configuration, when the random logic circuit 2 is tested, the microcomputer core 1 must be operated without fail, so the test takes time. Further, when the number of data input / output terminals 27 and 28 of the random logic circuit 2 increases, the wiring between the random logic circuit 2 and the microcomputer core 1 also increases, and there is a problem that the wiring efficiency deteriorates.

【0005】本発明はこのような問題を解決し、テスト
モード時にマイコンコアとランダムロジック回路の間
に、データ入出力を共用するバスと、バスの入出力を外
部端子により切り換える回路を設けることで、配線効率
を向上させ、また、個々のテストを容易にすることを目
的とする。
The present invention solves such a problem and provides a bus for sharing data input / output and a circuit for switching the input / output of the bus by an external terminal between the microcomputer core and the random logic circuit in the test mode. , It aims at improving wiring efficiency and facilitating individual test.

【0006】[0006]

【課題を解決するための手段】本発明は上記目的を達成
するために、マイコンコアとランダムロジック回路が内
部で接続されたマイクロコンピュータにおいて、テスト
モード時に前記マイコンコアの入力と前記ランダムロジ
ック回路の出力を共用するバスと、前記マイコンコアの
出力とランダムロジック回路の入力を共用するバスと、
前記バスの入出力を外部端子により切り換える回路を有
することを特徴とする。
In order to achieve the above object, the present invention provides a microcomputer in which a microcomputer core and a random logic circuit are internally connected, and in a test mode, the input of the microcomputer core and the random logic circuit A bus sharing the output, a bus sharing the output of the microcomputer core and the input of the random logic circuit,
It is characterized by having a circuit for switching the input / output of the bus by an external terminal.

【0007】[0007]

【作用】本発明によれば、マイコンコアとランダムロジ
ック回路の間にデータ入出力を共用するバスと、バスの
入出力を外部端子により切り換える回路を有することに
よりマイクロコンピュータの配線効率を向上させ、ま
た、個々のテストを容易にする。
According to the present invention, the wiring efficiency of the microcomputer is improved by having a bus for sharing data input / output between the microcomputer core and the random logic circuit and a circuit for switching the input / output of the bus by an external terminal. It also facilitates individual testing.

【0008】[0008]

【実施例】図1は本発明の一実施例における半導体回路
装置の回路構成図を示し、これはマイコンコア1とラン
ダムロジック回路2が内部で接続されたマイクロコンピ
ュータである。
1 is a circuit diagram of a semiconductor circuit device according to an embodiment of the present invention, which is a microcomputer in which a microcomputer core 1 and a random logic circuit 2 are internally connected.

【0009】ここで、3はマイコンコア1の選択端子と
しての外部端子、4はランダムロジック回路2の選択端
子としての外部端子、5はマイコンコア1へのデータ入
力端子としての外部端子、6はランダムロジック回路2
へのデータ入力端子としての外部端子、7はマイコンコ
ア1からのデータ出力端子としての外部端子、8はラン
ダムロジック回路2からのデータ出力端子としての外部
端子である。9ないし16および19ないし22はトライステ
ートインバータであって、トライステートインバータ9
ないし12,19,21は外部端子3からのL,H信号によ
り、またトライステートインバータ13ないし16,20,22
は外部端子4からのH,L信号により、夫々ON/OF
F状態に制御される。
Here, 3 is an external terminal as a selection terminal of the microcomputer core 1, 4 is an external terminal as a selection terminal of the random logic circuit 2, 5 is an external terminal as a data input terminal to the microcomputer core 1, and 6 is Random logic circuit 2
Is an external terminal as a data input terminal to the microcomputer core, 7 is an external terminal as a data output terminal from the microcomputer core 1, and 8 is an external terminal as a data output terminal from the random logic circuit 2. 9 to 16 and 19 to 22 are tri-state inverters, which are tri-state inverters 9
To 12, 19, and 21 are provided by the L and H signals from the external terminal 3 and the tri-state inverters 13 to 16, 20, and 22.
Is ON / OF by the H and L signals from the external terminal 4, respectively.
Controlled to F state.

【0010】17および18はテストモード時にマイコンコ
ア1の入力(または出力)とランダムロジック回路2の出
力(または入力)を共用するバスである。23および24はマ
イコンコア1とランダムロジック回路2を接続するバス
である。
Buses 17 and 18 share the input (or output) of the microcomputer core 1 and the output (or input) of the random logic circuit 2 in the test mode. Reference numerals 23 and 24 are buses connecting the microcomputer core 1 and the random logic circuit 2.

【0011】これら外部端子のマイコンコア選択端子
3、ランダムロジック回路選択端子4およびトライステ
ートインバータ9〜22によりバス17,18,23,24の切り
換え回路を構成する。
The microcomputer core selection terminal 3, the random logic circuit selection terminal 4 and the tri-state inverters 9 to 22 of these external terminals constitute a switching circuit for the buses 17, 18, 23 and 24.

【0012】本実施例回路は、図1に示すようにマイコ
ンコア1からトライステートインバータ11,14を経てラ
ンダムロジック回路2に入るバス23と、ランダムロジッ
ク回路2からトライステートインバータ15,10を経てマ
イコンコア1に入るバス24を設け、トライステートイン
バータ11,14の間に外部データ入出力端子6,7と接続
する共用バス18、トライステートインバータ15,10の間
に外部データ入出力端子5,8と接続する共用バス17を
設ける。前記トライステートインバータは、外部端子3
と4により選択されるようになっており、マイコンコア
1を選択する端子は3、ランダムロジック回路2を選択
する端子は4である。
As shown in FIG. 1, the circuit of this embodiment includes a bus 23 which enters the random logic circuit 2 from the microcomputer core 1 through the tristate inverters 11 and 14, and a random logic circuit 2 through the tristate inverters 15 and 10. A bus 24 for entering the microcomputer core 1 is provided, a shared bus 18 connected to external data input / output terminals 6 and 7 between the tri-state inverters 11 and 14, and an external data input / output terminal 5 between the tri-state inverters 15 and 10. A shared bus 17 that connects to 8 is provided. The tri-state inverter has an external terminal 3
And 4, the terminal for selecting the microcomputer core 1 is 3, and the terminal for selecting the random logic circuit 2 is 4.

【0013】実際の使用状態では、外部端子5,6,
7,8はマイコンコア1とランダムロジック回路2用の
端子となる。
In actual use, the external terminals 5, 6,
Reference numerals 7 and 8 serve as terminals for the microcomputer core 1 and the random logic circuit 2.

【0014】次に本実施例の動作を説明すると、マイコ
ンコア1のテストを行うときは、外部端子のマイコンコ
ア選択端子3より“L”信号を入力し、マイコンコア1
へのバスをON、外部端子のランダムロジック回路選択
端子4より“H”信号を入力し、ランダムロジック回路
2へのバスをOFF状態にする。
Next, the operation of this embodiment will be described. When the microcomputer core 1 is tested, the "L" signal is input from the microcomputer core selection terminal 3 of the external terminals, and the microcomputer core 1 is tested.
To the random logic circuit selection terminal 4 of the external terminal, and the bus to the random logic circuit 2 is turned off.

【0015】即ち、トライステートインバータ9ないし
12がON状態、トライステートインバータ13ないし16,
19,21がOFF状態になる。したがって、この状態によ
り、マイコンコア1のみのテストが可能となり、データ
入力は外部端子のデータ入力端子5、トライステートイ
ンバータ9、共用バス17、バス24、トライステートイン
バータ10を経てマイコンコア1に入力され、マイコンコ
ア1からのデータ出力はマイコンコア1、トライステー
トインバータ11、バス23、共用バス18、トライステート
インバータ12を経て外部端子のデータ出力端子7より出
力される。
That is, the tri-state inverter 9 or
12 is ON, tri-state inverters 13 to 16,
19, 21 are turned off. Therefore, in this state, only the microcomputer core 1 can be tested, and the data input is input to the microcomputer core 1 through the external data input terminal 5, the tri-state inverter 9, the shared bus 17, the bus 24 and the tri-state inverter 10. The data output from the microcomputer core 1 is output from the external data output terminal 7 via the microcomputer core 1, the tri-state inverter 11, the bus 23, the shared bus 18 and the tri-state inverter 12.

【0016】次にランダムロジック回路2のテストを行
うときは、外部端子のランダムロジック回路選択端子4
より“L”信号を入力し、ランダムロジック回路2への
バスをON、外部端子のマイコンコア選択端子3より
“H”信号を入力しマイコンコア1へのバスをOFF状
態にする。
Next, when the random logic circuit 2 is tested, the random logic circuit selection terminal 4 of the external terminal is used.
Then, the "L" signal is input, the bus to the random logic circuit 2 is turned on, and the "H" signal is input from the microcomputer core selection terminal 3 of the external terminal to turn off the bus to the microcomputer core 1.

【0017】即ち、トライステートインバータ9ないし
12,20,22がOFF状態、トライステートインバータ13
ないし16がON状態になる。したがって、この状態によ
り、ランダムロジック回路2のみのテストが可能とな
り、データ入力は外部端子のデータ入力端子6、トライ
ステートインバータ13、共用バス18、バス23、トライス
テートインバータ14を経てランダムロジック回路2に入
力され、データ出力はランダムロジック回路2、トライ
ステートインバータ15、バス24、共用バス17、トライス
テートインバータ16を経て外部端子のデータ出力端子8
より出力される。
That is, the tri-state inverter 9 or
12, 20, 22 are OFF state, tri-state inverter 13
To 16 are turned on. Therefore, in this state, only the random logic circuit 2 can be tested, and the data input is performed via the data input terminal 6 of the external terminal, the tri-state inverter 13, the shared bus 18, the bus 23, and the tri-state inverter 14 for the random logic circuit 2. The data output is input to the random logic circuit 2, the tri-state inverter 15, the bus 24, the shared bus 17, the tri-state inverter 16, and the data output terminal 8 of the external terminal.
Will be output.

【0018】以上により、マイコンコアとランダムロジ
ック回路を持ったマイクロコンピュータの個々のテスト
を容易にする。
As described above, the individual test of the microcomputer having the microcomputer core and the random logic circuit is facilitated.

【0019】[0019]

【発明の効果】以上説明したように本発明の半導体回路
装置は、マイコンコアとランダムロジック回路の間に、
データ入出力を共用するバスと、バスの入出力を外部端
子により切り換える回路を有することにより、マイコン
コアとランダムロジック回路を持ったマイクロコンピュ
ータの個々のテストを容易に行うことができるととも
に、マイクロコンピュータの配線効率を向上させること
ができる。
As described above, in the semiconductor circuit device of the present invention, between the microcomputer core and the random logic circuit,
By having a bus that shares data input / output and a circuit that switches the input / output of the bus by an external terminal, individual tests of a microcomputer having a microcomputer core and a random logic circuit can be easily performed, and a microcomputer The wiring efficiency of can be improved.

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

【図1】本発明の一実施例における半導体回路装置の回
路構成図である。
FIG. 1 is a circuit configuration diagram of a semiconductor circuit device according to an embodiment of the present invention.

【図2】従来のランダムロジック回路を内蔵するマイク
ロコンピュータの回路構成概略図である。
FIG. 2 is a schematic circuit configuration diagram of a microcomputer including a conventional random logic circuit.

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

1…マイコンコア、 2…ランダムロジック回路、 3
…マイコンコアの選択端子、 4…ランダムロジック回
路の選択端子、 5…マイコンコアへのデータ入力端
子、 6…ランダムロジック回路へのデータ入力端子、
7…マイコンコアからのデータ出力端子、 8…ラン
ダムロジック回路からのデータ出力端子、9〜16、19〜
22…トライステートインバータ、 17,18…共用バス、
23,24…バス。
1 ... Microcomputer core, 2 ... Random logic circuit, 3
… Microcomputer core selection terminal, 4… Random logic circuit selection terminal, 5… Microcomputer core data input terminal, 6… Random logic circuit data input terminal,
7 ... Data output terminal from microcomputer core, 8 ... Data output terminal from random logic circuit, 9-16, 19-
22 ... Tri-state inverter, 17, 18 ... Shared bus,
23, 24 ... Bus.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 マイコンコアとランダムロジック回路が
内部で接続されたマイクロコンピュータにおいて、テス
トモード時に前記マイコンコアの入力と前記ランダムロ
ジック回路の出力を共用するバスと、前記マイコンコア
の出力とランダムロジック回路の入力を共用するバス
と、前記バスの入出力を外部端子により切り換える回路
を有することを特徴とする半導体回路装置。
1. A microcomputer in which a microcomputer core and a random logic circuit are internally connected, a bus sharing an input of the microcomputer core and an output of the random logic circuit in a test mode, and an output of the microcomputer core and a random logic. A semiconductor circuit device comprising: a bus that shares an input of a circuit; and a circuit that switches input / output of the bus by an external terminal.
JP7084226A 1995-04-10 1995-04-10 Semiconductor circuit device Pending JPH08286942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7084226A JPH08286942A (en) 1995-04-10 1995-04-10 Semiconductor circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7084226A JPH08286942A (en) 1995-04-10 1995-04-10 Semiconductor circuit device

Publications (1)

Publication Number Publication Date
JPH08286942A true JPH08286942A (en) 1996-11-01

Family

ID=13824570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7084226A Pending JPH08286942A (en) 1995-04-10 1995-04-10 Semiconductor circuit device

Country Status (1)

Country Link
JP (1) JPH08286942A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000073809A1 (en) * 1999-05-26 2000-12-07 Hitachi, Ltd. Semiconductor integrated circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000073809A1 (en) * 1999-05-26 2000-12-07 Hitachi, Ltd. Semiconductor integrated circuit
US7013415B1 (en) 1999-05-26 2006-03-14 Renesas Technology Corp. IC with internal interface switch for testability

Similar Documents

Publication Publication Date Title
JPH0691140B2 (en) Semiconductor integrated circuit
US5132614A (en) Semiconductor device and method and apparatus for testing the same
KR940006230A (en) Semiconductor integrated circuit device and its functional test method
US6813579B1 (en) Apparatus and method for test mode control
JPH08286942A (en) Semiconductor circuit device
JP2000022072A (en) Multichip module
JP2927095B2 (en) Test circuit for semiconductor integrated circuits
JPS62132182A (en) Large integrated circuit with test circuit
JPH0744415A (en) Semiconductor integrated circuit device
JP2655609B2 (en) I / O circuit
JP3119568B2 (en) Semiconductor integrated circuit
JPH0533831B2 (en)
JPS59150441A (en) Semiconductor integrated circuit
JPS5816542A (en) Semiconductor integrated circuit
JPH0577292B2 (en)
JPH10123213A (en) Semiconductor integrated circuit
JPH01293650A (en) Integrated circuit
JPH11166958A (en) Semiconductor integrated circuit device
JPS6095370A (en) Integrated circuit device
JPH04346084A (en) Test circuit
JPH0643222A (en) Semiconductor device
JPH10123214A (en) Test method of logic circuit and logic circuit device including test circuit
JP2000081465A (en) Semiconductor integrated device
JPH0561708A (en) Semiconductor integrator
JPH03150484A (en) Semiconductor device