JPH03238533A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH03238533A
JPH03238533A JP2035437A JP3543790A JPH03238533A JP H03238533 A JPH03238533 A JP H03238533A JP 2035437 A JP2035437 A JP 2035437A JP 3543790 A JP3543790 A JP 3543790A JP H03238533 A JPH03238533 A JP H03238533A
Authority
JP
Japan
Prior art keywords
circuit
data
bus interface
control signal
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.)
Pending
Application number
JP2035437A
Other languages
Japanese (ja)
Inventor
Takatoshi Koga
古賀 隆俊
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 JP2035437A priority Critical patent/JPH03238533A/en
Publication of JPH03238533A publication Critical patent/JPH03238533A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To observe even information being in course of data processing from a bus interface terminal by providing a circuit which outputs the contents of an internal bus to the bus interface terminal based on a control signal. CONSTITUTION:When a control signal 26 is '0', the address latched in a latch circuit 12 and data are outputted in the same manner as conventional. When the control signal 26 is '1', an AND circuit 25 is selected. Consequently, the information of an internal bus 11 is always observed from the bus interface terminal 20. Thus, even the data which is put on the internal bus 11 during the execution of processing of data generation in this microcomputer and is in the course of processing is observed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、内部バス上のアドレスとデータをラッチし、
バスインターフェイス端子に出力するバスインターフェ
イス回路を有するマイクロコンピュータに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention latches addresses and data on an internal bus,
The present invention relates to a microcomputer having a bus interface circuit that outputs to a bus interface terminal.

〔従来の技術〕[Conventional technology]

従来、この種のバスインターフェイス回路は、第5図に
示すように、アドレスラッチクロック41とデータラッ
チクロック42を入力とするオア回路33,38、オア
回路33の出力を反転するインバータ34と、オア回路
33の出力が“l”となると内部バス31上のアドレス
、データをラッチするラッチ回路32と、ラッチ回路3
2の出力とアドレスラッチクロック41、データラッチ
クロック42のそれぞれ論理積をとるアンド回路35.
36と、アンド回路35.36の出力を人力とするオア
回路37と、オア回路38の出力が”1”のときオア回
路37の出力をバスインターフェイス端子40に出力す
るドライバ39で構成されており、その動作タイミング
は内部バス31にアドレスがのっている時はアドレスラ
ッチクロック41に基づきラッチ回路32がアドレスを
取り込みアンド回路35によりバスインターフェイス端
子40よりアドレスが出力される。マイクロコンピュー
タが演算処理などを行なっている時には処理中のデータ
が内部バス31にのっておりその時はバスインターフェ
イス端子40はハイインピータンスになっている。次に
、マイクロコンピュータの処理か終了しデータか内部バ
ス31にのっている時にはデータラッチクロック42に
基つきラッチ回路32かデータを取り込みアンド回路3
6によりバスインターフェイス端子4oよりデータか出
力される。
Conventionally, this type of bus interface circuit, as shown in FIG. When the output of the circuit 33 becomes "L", the latch circuit 32 latches the address and data on the internal bus 31, and the latch circuit 3
AND circuit 35.2 which ANDs the output of address latch clock 41 and data latch clock 42.
36, an OR circuit 37 which uses the output of the AND circuit 35 and 36 manually, and a driver 39 which outputs the output of the OR circuit 37 to the bus interface terminal 40 when the output of the OR circuit 38 is "1". When an address is on the internal bus 31, the latch circuit 32 takes in the address based on the address latch clock 41, and the AND circuit 35 outputs the address from the bus interface terminal 40. When the microcomputer is performing arithmetic processing, the data being processed is carried on the internal bus 31, and at that time the bus interface terminal 40 is at high impedance. Next, when the microcomputer has finished processing and the data is on the internal bus 31, the latch circuit 32 fetches the data based on the data latch clock 42 and the AND circuit 3
6, data is output from the bus interface terminal 4o.

(発明か解決しようとする課題) 上連した従来のマイクロコンピュータのバス−インター
フェイス回路は、アドレスとデータ情報のみしか出力で
きず、そのデータを生成する途中の処理においてその状
態を観測てきないため、不良品除去のテスト時において
検出率の高いテストが期待てきないという欠点かある。
(Problem to be solved by the invention) The bus-interface circuit of the conventional microcomputer mentioned above can only output address and data information, and the state cannot be observed during the process of generating the data. The drawback is that a test with a high detection rate cannot be expected when testing to eliminate defective products.

本発明の目的は、マイクロコンピュータがデータ処理中
の情報をバスインターフェイス端子に出力することかで
きるマイクロコンピュータを提供することCある。
An object of the present invention is to provide a microcomputer that can output information during data processing to a bus interface terminal.

(課題を解決するための手段〕 本発明のマイクロコンピュータは、制御信号に基づいて
バスインターフェイス回路の出力を禁止し、内部バスの
データをバスインターフェイス端子より出力する回路を
有している。
(Means for Solving the Problems) A microcomputer of the present invention includes a circuit that inhibits output of a bus interface circuit based on a control signal and outputs data on an internal bus from a bus interface terminal.

(作 用) したかって、データ生成処理の途中における内部バスの
状態をバスインターフェイス端子より出力できる。
(Function) Therefore, the state of the internal bus during data generation processing can be output from the bus interface terminal.

(実施例) 次に、本発明の実施例について図面を参照して説明する
(Example) Next, an example of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のマイクロコンピュータの要
部の回路図、第2図、第3図はその動作を示すタイ旦ン
グ図である。
FIG. 1 is a circuit diagram of a main part of a microcomputer according to an embodiment of the present invention, and FIGS. 2 and 3 are timing diagrams showing its operation.

このマイクロコンピュータは、アドレスクロック21と
データラッチクロック22を人力とするオア回路13と
、オア回路13の出力を反転′1−るインバータ14と
、オア回路13の出力か”1”となると内部バス11−
Eのアドレス、データをラッチするラッチ回路12と、
制御信号入力端子23ど、制御信号入力端子23からの
制御信号26を反転するインバータ24と、アドレスラ
ッチクロック21とラッチ回路12の出力とインバータ
24の出力の論理積をとるアンド回路15と、データラ
ッチクロック22とラッチ回路12の出力とインバータ
24の出力の論理積をとるアント回路16と、制御信号
26が”l”のとき内部バス1の内容を出力するアンド
回路25と、アント回路15,16.25の出力を入力
とするオア回路17と、アドレスラッチクロック21と
データラッチクロック22と制御信号26を人力とする
オアl!1路18と、オア回路18の出力が”1”のと
きオア回路17の出力をバスインターフェイス端子20
に出力するトライバ19を有している。
This microcomputer includes an OR circuit 13 which uses an address clock 21 and a data latch clock 22 manually, an inverter 14 which inverts the output of the OR circuit 13, and an internal bus when the output of the OR circuit 13 becomes "1". 11-
a latch circuit 12 that latches the address and data of E;
an inverter 24 that inverts the control signal 26 from the control signal input terminal 23, an AND circuit 15 that takes the logical product of the address latch clock 21, the output of the latch circuit 12, and the output of the inverter 24; An ant circuit 16 that takes the AND of the latch clock 22, the output of the latch circuit 12, and the output of the inverter 24, an AND circuit 25 that outputs the contents of the internal bus 1 when the control signal 26 is "L", an ant circuit 15, The OR circuit 17 receives the output of 16.25 as input, and the OR circuit 17 receives the address latch clock 21, data latch clock 22, and control signal 26 manually. 1 path 18, and when the output of the OR circuit 18 is "1", the output of the OR circuit 17 is connected to the bus interface terminal 20.
It has a driver 19 for outputting to.

次に、この回路の動作を第2図、第3図のタイミンク図
に従って説明する。
Next, the operation of this circuit will be explained according to the timing diagrams shown in FIGS. 2 and 3.

まず、制御信号26が”0”のときは従来例と同じくラ
ッチ回路12にラッチされているアドレスとデータか第
2図のように出力される。次に、制御信号26か“1”
のときはアンド回路25が選択されるので、第3図のよ
うに、内部バス11の情報が常時、バスインターフェイ
ス端子2oより観測される。つまりマイクロコンピュー
タ内部でデータを生成するための処理を実行中に内部バ
ス11に乗ってくる処理中のデータも観測てきる。
First, when the control signal 26 is "0", the address and data latched by the latch circuit 12 are output as shown in FIG. 2, as in the conventional example. Next, the control signal 26 or “1”
Since the AND circuit 25 is selected in this case, the information on the internal bus 11 is always observed from the bus interface terminal 2o, as shown in FIG. That is, while the microcomputer is executing processing to generate data, the data being processed that comes on the internal bus 11 can also be observed.

第4図は本発明の第2の実施例の回路図である。この場
合制御信号26を生成するのに端子を用いず、ラッチク
ロック29に基づき内部バス11の値をラッチ回路28
が取り込むことにより実現しているため、端子が増加し
ないという利点かある。
FIG. 4 is a circuit diagram of a second embodiment of the present invention. In this case, no terminal is used to generate the control signal 26, and the value of the internal bus 11 is transferred to the latch circuit 28 based on the latch clock 29.
This is achieved by incorporating the terminals, which has the advantage of not increasing the number of terminals.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、制御信号に基づき内部バ
スの内容をバスインターフェイス端子に出力する回路を
有することにより、本来のバスインターフェイス回路の
機能は保ったままマイクロコンピュータがデータ処理中
の情報までもバスインターフェイス端子より観測できる
ため、不良品除去という場面において高検出率のテスト
が実現できる効果がある。
As explained above, the present invention has a circuit that outputs the contents of the internal bus to the bus interface terminal based on the control signal, so that the information being processed by the microcomputer can be transmitted while maintaining the original function of the bus interface circuit. Since it can also be observed from the bus interface terminal, it has the effect of realizing a test with a high detection rate when removing defective products.

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

第1区は本発明の第1の実施例のマイクロコンピュータ
の回路図、第2図、第3図は本実施例の回路動作を示す
タイミンク図、第4図は本発明の第2の実施例のマイク
ロコンピュータの回路図、第5図は従来例の回路図であ
る。 11・・・・・・・・・内部バス、 12・・・・・・
ラッチ回路、13、・・・・・・オア回路、  14・
・・・・・インバータ、15.16・・・アント回路、 17.18・・・オアゲート、19・・・・・・ドライ
バ、20・・・・・・・・・バスインターフェイス端子
、21・・・・・・・・・アドレスラッチクロック、2
2・・・・・・・・・データラッチクロック、23・・
・・・・・・・制御信号入力端f、24・・・・・・・
・・インバータ、25・・・・・・アントゲート、25
・・・・・−・・・制御信号、 27・・・・・・・・・インバータ、28・・・・・・
ラッチ回路、29・・・・・・・・・ラッチクロック。
Section 1 is a circuit diagram of a microcomputer according to a first embodiment of the present invention, FIGS. 2 and 3 are timing diagrams showing the circuit operation of this embodiment, and FIG. 4 is a circuit diagram of a microcomputer according to a second embodiment of the present invention. FIG. 5 is a circuit diagram of a conventional example. 11・・・・・・Internal bus, 12・・・・・・
Latch circuit, 13, ... OR circuit, 14.
... Inverter, 15.16 ... Ant circuit, 17.18 ... OR gate, 19 ... Driver, 20 ... Bus interface terminal, 21 ...・・・・・・Address latch clock, 2
2... Data latch clock, 23...
......Control signal input terminal f, 24...
... Inverter, 25 ... Ant Gate, 25
.....control signal, 27..inverter, 28..
Latch circuit, 29...Latch clock.

Claims (1)

【特許請求の範囲】 1、内部バス上のアドレスとデータをラッチし、バスイ
ンターフェイス端子に出力するバスインターフェイス回
路を有するマイクロコンピュータにおいて、 制御信号に基づいて前記バスインターフェイス回路の出
力を禁止し、前記内部バスの内容を前記バスインターフ
ェイス端子に出力する回路を有することを特徴とするマ
イクロコンピュータ。
[Claims] 1. In a microcomputer having a bus interface circuit that latches addresses and data on an internal bus and outputs them to a bus interface terminal, the output of the bus interface circuit is prohibited based on a control signal, and the A microcomputer comprising a circuit that outputs the contents of an internal bus to the bus interface terminal.
JP2035437A 1990-02-15 1990-02-15 Microcomputer Pending JPH03238533A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2035437A JPH03238533A (en) 1990-02-15 1990-02-15 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2035437A JPH03238533A (en) 1990-02-15 1990-02-15 Microcomputer

Publications (1)

Publication Number Publication Date
JPH03238533A true JPH03238533A (en) 1991-10-24

Family

ID=12441826

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2035437A Pending JPH03238533A (en) 1990-02-15 1990-02-15 Microcomputer

Country Status (1)

Country Link
JP (1) JPH03238533A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546236B2 (en) 2002-03-22 2009-06-09 British Telecommunications Public Limited Company Anomaly recognition method for data streams
US7570815B2 (en) 2002-03-22 2009-08-04 British Telecommunications Plc Comparing patterns
US7593602B2 (en) 2002-12-19 2009-09-22 British Telecommunications Plc Searching images
US7620249B2 (en) 2004-09-17 2009-11-17 British Telecommunications Public Limited Company Analysis of patterns
US7653238B2 (en) 2003-12-05 2010-01-26 British Telecommunications Plc Image filtering based on comparison of pixel groups
US8040428B2 (en) 2005-12-19 2011-10-18 British Telecommunications Public Limited Company Method for focus control
US8135210B2 (en) 2005-07-28 2012-03-13 British Telecommunications Public Limited Company Image analysis relating to extracting three dimensional information from a two dimensional image

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7546236B2 (en) 2002-03-22 2009-06-09 British Telecommunications Public Limited Company Anomaly recognition method for data streams
US7570815B2 (en) 2002-03-22 2009-08-04 British Telecommunications Plc Comparing patterns
US7593602B2 (en) 2002-12-19 2009-09-22 British Telecommunications Plc Searching images
US7653238B2 (en) 2003-12-05 2010-01-26 British Telecommunications Plc Image filtering based on comparison of pixel groups
US7620249B2 (en) 2004-09-17 2009-11-17 British Telecommunications Public Limited Company Analysis of patterns
US8135210B2 (en) 2005-07-28 2012-03-13 British Telecommunications Public Limited Company Image analysis relating to extracting three dimensional information from a two dimensional image
US8040428B2 (en) 2005-12-19 2011-10-18 British Telecommunications Public Limited Company Method for focus control

Similar Documents

Publication Publication Date Title
JPS58207152A (en) Test system for pipeline arithmetic device
JPH03238533A (en) Microcomputer
JPH04239816A (en) Two-way input output signal separate circuit
KR970004088B1 (en) Digital signal processor for simultaneously processing left and right signals
JPH0394350A (en) Semiconductor storage device
JPH02117205A (en) Scan latch circuit
JP2006258718A (en) Inspection circuit
JPH0567949A (en) Flip-flop circuit
JPS6284363A (en) Microprocessor
JPS58100437A (en) Method for checking lsi
JPS605492A (en) Address buffer circuit of semiconductor memory device
JPH01277020A (en) Noise eliminating circuit
JPH02113715A (en) D flip-flop circuit
JPS6355477A (en) Operation testing circuit
JPH02174417A (en) D flip-flop circuit
JPS60254740A (en) Scanning circuit
JPS62177635A (en) Logic circuit
JPS63117517A (en) High impedance preventing circuit
JPH08262110A (en) Semiconductor integrated circuit device and diagnostic method for logic circuit
JPH0766029B2 (en) Logical device for scan-in
JPS5833581B2 (en) Logical package suitable for diagnosis
JPS6358276A (en) Scan-path test circuit for ic circuit
JPH0423445A (en) Specifying method of reflection noise generating pin
JPS6375956A (en) Bus interface circuit
JPH09171060A (en) Semiconductor integrated circuit