JPS6167168A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPS6167168A
JPS6167168A JP59189103A JP18910384A JPS6167168A JP S6167168 A JPS6167168 A JP S6167168A JP 59189103 A JP59189103 A JP 59189103A JP 18910384 A JP18910384 A JP 18910384A JP S6167168 A JPS6167168 A JP S6167168A
Authority
JP
Japan
Prior art keywords
output
input
data
comparator
internal
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
JP59189103A
Other languages
Japanese (ja)
Inventor
Kazuaki Kondou
千晶 近藤
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP59189103A priority Critical patent/JPS6167168A/en
Publication of JPS6167168A publication Critical patent/JPS6167168A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To check data from ROM by a simple mechanism to provide checking function to a computer by selecting the data from internal data bus or the output from a comparator in accordance with the command to send the selected data to the output terminal. CONSTITUTION:A controlling terminal 2 of a microcomputer is applied with an input of L-level during the normal operation and an input of H-level when an internal ROM13 is checked to control multiplexers 9, 10. The multiplexer 10 is connected with an internal data bus 6 through an instruction decoder 14 and connected further with an internal ROM13 and a comparator 7. The multiplexer 9 is connected with multiplexers 11, 9 in series and the multiplexer 9, 11, 8 are connected respectively to the bus 6. The input signal from an input terminal 3 is sent through the multiplexer 8 into a comparator 7. The multiplexer 9 selects the outputs from the bus 6 and from a program counter 12 and sends the selected output to an output terminal 4. The multiplexer 11 selects the output from the bus and from the comparator 7 and sends the selected output to an output terminal 5 for checking the data from the ROM13.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はマイクロコンビエータに関L、特に1チツプで
構成されるマイク算コンビエータに関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a micro combiator, and more particularly to a microphone combiator composed of one chip.

(従来の技術) 従来、内部読出し専用メモリ(以下内部ROMと言う)
t−有する1チツプのマイクロコンビ1−タにおいては
、クロック信号を入力することによりプログラムカウン
タをインクリメントし、このプログラムカウンタの値を
アドレス信号として内部ROMに送り、アドレスされた
データを命令デコーダでデコードしてその命令に応じた
制御をすることにより、その命令実行を行なう通常の動
作モード(以下第10動作モードと言う)を有していた
(Prior art) Conventionally, internal read-only memory (hereinafter referred to as internal ROM)
In a one-chip microcombiner with t-chip, the program counter is incremented by inputting a clock signal, the value of this program counter is sent as an address signal to the internal ROM, and the addressed data is decoded by an instruction decoder. The device has a normal operation mode (hereinafter referred to as the 10th operation mode) in which the command is executed by controlling the command according to the command.

(発明が解決しようとする問題点) このような1チツプのマイクロコンピュータにおいて、
その内部ROMの検査(以下率2の動作モードと言う)
t−行なうには、特定の端子を操作することにより、プ
ログラムカウンタによりアドレスされた内部ROMのデ
ータを複数の端子に出力し、その続出されたデータが正
してか否かを、そのマイクロコンビエータとの同期を取
ったLSIテスターにより検査を行なっていた。
(Problems to be solved by the invention) In such a one-chip microcomputer,
Inspection of its internal ROM (hereinafter referred to as rate 2 operation mode)
To do this, by operating a specific terminal, the data in the internal ROM addressed by the program counter is output to multiple terminals, and the microcombiner checks whether the successive output data is correct or not. Inspections were conducted using an LSI tester synchronized with Eta.

しかしながら、この方法ではLSIテスター等の多大の
設備を要し、容易に内部ROMのデータを検査できない
という欠点があった。
However, this method requires a large amount of equipment such as an LSI tester, and has the disadvantage that it is not possible to easily test the data in the internal ROM.

本発明の目的は、上記欠点を除去し、容易に内部ELO
Moデータt−検弄することができる機能を有する1チ
ツプのマイクロコンビエータt−提供fることにある。
The object of the present invention is to eliminate the above-mentioned drawbacks and to facilitate internal ELO
The purpose of this invention is to provide a one-chip micro combiator with functions that allow data testing.

(間哨点を解決する丸めの手段) 本発明のマイクロコンビ二一夕は、゛第1の動作モード
と第2の動作モードとを入力される命令によって切換え
ることのできる制御端子と、前記命令に従って複数の入
力端子を介して外部から印加される入力信号を内部デー
タバスあるいは比較器の入力のりずれか一方を選択して
伝達する入力制御手段と、前記命令に従って前記内部デ
ータバスのデータあるいはプログラムカウンタの値のい
ずれか一方を選択して複数の出力端子に送出する第1の
出力制御手段と、前記命令に従って命令デコーダるるい
は前記比較器のいずれか一方の入力を選択して読出し専
用メモリの出力を伝達する第2の出力制御手段と、前記
命令に従って前記内部データバスのデータあるい4前記
比較器の出力値のいずれか一方を選択して出力端子に送
出する第3の制御手段とを含んで構成される。
(Rounding Means to Solve Interpoint Points) The microcombination unit of the present invention has a control terminal capable of switching between a first operation mode and a second operation mode according to an input command; an input control means for selectively transmitting an input signal applied from the outside via a plurality of input terminals to either an internal data bus or an input of a comparator according to the instructions; a first output control means that selects one of the values of the counter and sends it to a plurality of output terminals; and a read-only memory that selects the input of either the instruction decoder Ruru or the comparator according to the instruction; a second output control means for transmitting the output of the four comparators; and a third control means for selecting either the data on the internal data bus or the output value of the four comparators according to the command and sending it to the output terminal. It consists of:

(実施例) 次に、本発明の実施例について図面を用いて説明する。(Example) Next, embodiments of the present invention will be described using the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

この実施例は、第10動作モードと第2の動作モードと
を入力される命令によって切換えることのできる制御端
子2と、前記命令に従って複数の入力端子3を介して外
部から印加される入力信号を内部データバス6あるいは
比較器8の入力のいずれか一方を選択して伝達する入力
制御手段としてのマルチプレフナ8と、前記命令に従っ
て内部データバス6のデータめるいはプログラムカウン
タ12の値のいずれか一方を選択して複数の出力端子4
に送出する第1の出力制御手段としてのマルチプレク?
9と、前記命令に従って命令デコーダ14あるいは比較
器7のいずれか一方の入力を選択して内部ROM(読出
し専用メモリ)13の出力を伝達する第2の出力制御手
段としてのマルチプレフナ10と、前記命令に従って内
部データバス6のデータあるいは比較器7の出力値のい
ずれか一方を選択して出力端子5に送出する第3の制御
手段としてマルチプレク?11とを含んで構成される。
This embodiment has a control terminal 2 that can switch between a tenth operation mode and a second operation mode according to an input command, and an input signal that is applied from the outside via a plurality of input terminals 3 according to the command. A multipreference controller 8 serves as an input control means that selects and transmits either the input of the internal data bus 6 or the comparator 8, and the data of the internal data bus 6 or the value of the program counter 12 according to the command. Select one of multiple output terminals 4
Multiplexer as the first output control means to send to?
9; and a multiprefner 10 as a second output control means that selects the input of either the instruction decoder 14 or the comparator 7 according to the instruction and transmits the output of the internal ROM (read-only memory) 13; A multiplexer is used as a third control means that selects either the data on the internal data bus 6 or the output value of the comparator 7 and sends it to the output terminal 5 according to a command. 11.

次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.

前と同じように、第1の動作モードを通常入出力モード
、第2の動作モードを内部FLOMの検査モードとする
。制御端子2は、入力される命令信号によって第1の動
作モードと第2の動作モードと全切換える。
As before, the first operating mode is the normal input/output mode and the second operating mode is the internal FLOM test mode. The control terminal 2 is fully switched between the first operation mode and the second operation mode in response to an input command signal.

今、制御端子に1L′(低レベル信号)が印加されるこ
とによ0第1の動作モードとなり1%H′(高レベル信
号)が印加されることによ0第2の動作モードとなるも
のとする。
Now, when 1L' (low level signal) is applied to the control terminal, the 0 first operation mode is set, and when 1%H' (high level signal) is applied, the 0 second operation mode is set. shall be taken as a thing.

制御端子2に1L#が印加されることにより入力端子3
及び出力端子4.5は第1の動作モードを取り、通常入
出力をする。ま之;内部R,0M13も第1の動作モー
ドを取り自身のデータを命令デコーダ14に出力するが
比較器7には出力しない。
By applying 1L# to control terminal 2, input terminal 3
The output terminals 4.5 and 4.5 take the first operation mode and perform normal input/output. Also, the internal R,0M13 takes the first operation mode and outputs its own data to the instruction decoder 14, but not to the comparator 7.

これは従来の1チップマイクロコンビ2−夕における通
常動作モードの機能である。
This is a function of the normal operation mode in a conventional one-chip microcombiner.

次に、第2の動作モードを選択して内部ROMのデータ
を検査する場合には、制御端子2に’H“を印加すれば
よい。これによりマルチブレクチ8゜9.10.11に
は1H#が入力され、第2の動作モードに設定すべく入
出力制御がとられる。す ”なわち、複数の出力端子4
はプログラムカウンタ12の値を出力する。また、内部
R,0M13はプログラムカウンタ12によりアドレス
された自身のデータを比較器7に圧力する。複数の入力
端子3は外部からの入力信号を比較器7に出力する。
Next, when selecting the second operation mode and inspecting the data in the internal ROM, it is sufficient to apply 'H' to the control terminal 2. As a result, 1H# is applied to the multiplex 8°9.10.11 is input, and input/output control is performed to set the second operation mode.
outputs the value of the program counter 12. The internal R,0M 13 also applies its own data addressed by the program counter 12 to the comparator 7. The plurality of input terminals 3 output external input signals to the comparator 7.

比較器7に内部ROM13のデータとマルチプレクチ8
を介して入力された前記入力信号と比較した一致信号を
出力端子5に出力する。
The data in the internal ROM 13 and the multiplexer 8 are connected to the comparator 7.
A matching signal compared with the input signal inputted via the input signal is outputted to the output terminal 5.

第2図は第1図に示す実施例の検査を行うときの池の装
置との接続の例を示すブロック図で6る。
FIG. 2 is a block diagram illustrating an example of connection with the pond device when testing the embodiment shown in FIG. 1.

第1図に示したマイクロコンビ五−夕1にPR。PR to Micro Combi Goto 1 shown in Figure 1.

OM (Programmable had 0nly
 Metnory)15をアドレス線16.データ線1
7で接続する。アドレス線16は出力端子4に、データ
線17は入力端子3に接続する。
OM (Programmable had 0nly
Metnory) 15 to the address line 16. data line 1
Connect with 7. The address line 16 is connected to the output terminal 4, and the data line 17 is connected to the input terminal 3.

このようにして、前述の′s2の動作モード(検査モー
ド)で動作させると、複数の出力端子4が出力するプロ
グラムカフ/り12の値はアドレス線16fr−介して
アドレス信号としてpaohils に入力される。こ
のアドレス信号によりアドレスされたPa0M15のデ
ータはデータ線17を通して複数の入力端子3に入力さ
れる。
In this way, when operating in the above-mentioned operation mode 's2 (inspection mode), the value of the program cuff/12 outputted from the plurality of output terminals 4 is inputted to paohils as an address signal via the address line 16fr-. Ru. The data of Pa0M15 addressed by this address signal is inputted to the plurality of input terminals 3 through the data line 17.

マルチグレク?8は比較器7へこのデータを送出する。Multigrek? 8 sends this data to comparator 7.

比較器7はこの外部から送られてきたデータと、前述の
内部ROM13から送られたデータとを比較し、一致す
れば一致信号をマルチプレフナ11f:介して出力端子
5に出力する。従って、出力端子5において、一致信号
金観測することにエフ内部ROM13のデータを容易に
検査することができる。例えば、出力端子5が%H〃で
ろれば内laUFLOM13C)チー/、!:PROM
I 517)f−タは一致しており %Lllであれば
内部ROM13のデータとPa0M15のデータは不一
致でるるということが分かる。この時、複数の出力端子
4を同時に観測することにより、内部[’(,0M13
の何処のアドレスが不一致なのかを知ることができる。
The comparator 7 compares the data sent from the outside with the data sent from the internal ROM 13 described above, and if they match, outputs a match signal to the output terminal 5 via the multiplier 11f. Therefore, the data in the internal ROM 13 can be easily inspected by observing the coincidence signal at the output terminal 5. For example, if output terminal 5 is %H〃, then within laUFLOM13C) Chi/,! :PROM
I517) It can be seen that the data in the internal ROM 13 and the data in the Pa0M15 do not match if the f-data matches and %Lll. At this time, by simultaneously observing multiple output terminals 4, the internal ['(,0M13
It is possible to know which addresses in the list do not match.

上記実施例では、テスト端子として制御端子2を使用し
て、この制御端子2の状態によって第1の動作モードと
$2の動作モードのモード切換えをする様に説明してい
るが、命令によってセットあるいはリセットされるレジ
スタを用いても実現できる。また、外部の読出し専用メ
モリとじてP R,OMを用いた例を説明したが、池の
データメモリでもよい。
In the above embodiment, the control terminal 2 is used as a test terminal, and the state of the control terminal 2 is used to switch between the first operation mode and the $2 operation mode. Alternatively, it can be realized using a register that is reset. Further, although an example has been described in which PR and OM are used as external read-only memories, it is also possible to use external data memories.

(発明の効果) μ上詳細に説明したように、本発明によれば、内部RO
Mのデータが外部の読出し専用メモリのデータと一致す
るか否かを容易に検査できる機能を有するマイク兄コン
ビ為−夕が得られるので。
(Effects of the Invention) As explained in detail above, according to the present invention, the internal RO
This provides a microphone combination with the ability to easily check whether the data in M matches the data in the external read-only memory.

内部ROMの検査をするのに高価で大きいLSIテスタ
ーが不要となるなど効果が得られる。
Effects such as eliminating the need for an expensive and large LSI tester to test the internal ROM can be obtained.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図に示す実施例の検査を行うときの池の装置との接続の
例を示すブロック図である。 1・・・・・・←弁チφマイクロコンビエータ、2・・
・・・・制御端子、3・・・・・・入力端子、4.5・
・・・・・出力端子、6・・・・・・内部データバス、
7・・・・・・比較器、8.9.10゜11・・・・・
・マルチプレクサ、12・・・・・・プログラムカウン
タ、13・・・・・・内部ROM、14・・・・・・命
令デコーダ、15・・・・・・PROM、16・・・・
・・アドレス線、17・・・・・・データ線。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 2 is a block diagram illustrating an example of the connection with the pond device when testing the embodiment shown in the figure. 1...←Valve φ micro combinator, 2...
...Control terminal, 3...Input terminal, 4.5.
...Output terminal, 6...Internal data bus,
7...Comparator, 8.9.10゜11...
・Multiplexer, 12...Program counter, 13...Internal ROM, 14...Instruction decoder, 15...PROM, 16...
...address line, 17...data line.

Claims (1)

【特許請求の範囲】[Claims] 第1の動作モードと第2の動作モードとを入力される命
令によって切換えることのできる制御端子と、前記命令
に従って複数の入力端子を介して外部から印加される入
力信号を内部データバスあるいは比較器の入力のいずれ
か一方を選択して伝達する入力制御手段と、前記命令に
従って前記内部データバスのデータあるいはプログラム
カウンタの値のいずれか一方を選択して複数の出力端子
に送出する第1の出力制御手段と、前記命令に従って命
令デコーダあるいは前記比較器のいずれか一方の入力を
選択して読出し専用メモリの出力を伝達する第2の出力
制御手段と、前記命令に従って前記内部データバスのデ
ータあるいは前記比較器の出力値のいずれか一方を選択
して出力端子に送出する第3の制御手段とを含むことを
特徴とするマイクロコンピュータ。
A control terminal that can switch between a first operation mode and a second operation mode according to an input command, and an internal data bus or a comparator that input signals applied from the outside via a plurality of input terminals according to the command. an input control means for selecting and transmitting either one of the inputs of the input, and a first output for selecting either the data of the internal data bus or the value of the program counter according to the command and transmitting the selected one to the plurality of output terminals. a second output control means for selecting the input of either the instruction decoder or the comparator in accordance with the instruction and transmitting the output of the read-only memory; A microcomputer comprising: third control means for selecting one of the output values of the comparator and sending it to an output terminal.
JP59189103A 1984-09-10 1984-09-10 Microcomputer Pending JPS6167168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59189103A JPS6167168A (en) 1984-09-10 1984-09-10 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59189103A JPS6167168A (en) 1984-09-10 1984-09-10 Microcomputer

Publications (1)

Publication Number Publication Date
JPS6167168A true JPS6167168A (en) 1986-04-07

Family

ID=16235405

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59189103A Pending JPS6167168A (en) 1984-09-10 1984-09-10 Microcomputer

Country Status (1)

Country Link
JP (1) JPS6167168A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293371A (en) * 1986-06-11 1987-12-19 Nec Corp Program check circuit
JPS6415835A (en) * 1987-07-10 1989-01-19 Nec Corp Microcomputer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62293371A (en) * 1986-06-11 1987-12-19 Nec Corp Program check circuit
JPS6415835A (en) * 1987-07-10 1989-01-19 Nec Corp Microcomputer

Similar Documents

Publication Publication Date Title
JPH08129899A (en) Fault self-diagnostic device for semiconductor memory
US4926425A (en) System for testing digital circuits
JPH0883220A (en) Data processor
JPS6167168A (en) Microcomputer
JP2869243B2 (en) Memory test equipment
JPS6319901B2 (en)
JPH0815387A (en) Microcomputer test circuit
KR0165818B1 (en) One chip microcomputer
JP2596355B2 (en) Microcomputer
JP2605858B2 (en) Monitor dynamic burn-in test equipment for semiconductor integrated circuit devices
JPH04157535A (en) Register inspecting method
JPH0498429A (en) Microcomputer
JPS63231540A (en) Pseudo fault generating circuit
JPS5999269A (en) Testing system of large-scale integrated circuit
JPS6140574A (en) Test condition setting apparatus
JPS59226908A (en) Test system for controller
JPS5876922A (en) Simultaneous start system of plural microcomputers
JPS6019271A (en) Data channel device
JPH08241253A (en) One-chip semiconductor device
JPH0612279A (en) Image display memory inspecting device
JPS62111330A (en) Program transfer device
JPH1091537A (en) Microcomputer
JPS6059600A (en) Testing circuit of memory
JPS63293646A (en) Semiconductor integrated circuit
JPS59165157A (en) Integrated circuit incorporating testing circuit