JPH0447855B2 - - Google Patents
Info
- Publication number
- JPH0447855B2 JPH0447855B2 JP59102264A JP10226484A JPH0447855B2 JP H0447855 B2 JPH0447855 B2 JP H0447855B2 JP 59102264 A JP59102264 A JP 59102264A JP 10226484 A JP10226484 A JP 10226484A JP H0447855 B2 JPH0447855 B2 JP H0447855B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- signal
- data
- bus line
- clock signal
- 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.)
- Expired - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3055—Monitoring arrangements for monitoring the status of the computing system or of the computing system component, e.g. monitoring if the computing system is on, off, available, not available
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明はマイクロコンピユータ、特に1チツプ
マイクロコンピユータに関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to microcomputers, and more particularly to one-chip microcomputers.
(従来の技術)
従来、マイクロコンピユータにおいては内部状
態を監視する必要に迫られることが多いが、内部
状態の監視には多大な手間を必要としていた。(Prior Art) Conventionally, it has often been necessary to monitor the internal state of a microcomputer, but monitoring the internal state requires a great deal of effort.
第1図は従来のマイクロコンピユータの一例の
出力端子近傍の回路部分のブロツク図である。 FIG. 1 is a block diagram of a circuit portion near an output terminal of an example of a conventional microcomputer.
出力データ信号1は取込み信号3で出力ラツチ
回路2に取込まれてラツチされ、掃出し信号4に
て出力され、出力バツフア5で増幅され、出力端
子6から出力される。 The output data signal 1 is taken in and latched by the output latch circuit 2 as a take-in signal 3, outputted as a sweep signal 4, amplified by an output buffer 5, and outputted from an output terminal 6.
このような回路構成では、出力端子6からは単
一の種類の信号(即ち出力データ信号1)の値の
みしか出力できない。しかも、出力ラツチ回路2
に取込む取込み信号3は内部クロツク信号により
定まつているため、取込み信号3がオンにならな
い間の出力データ信号1の変化は出力端子6には
現われない。このように、従来の構成のマイクロ
コンピユータにおいては、内部の様々なデータが
集積するバスラインのデータを充分に監視するこ
とが難しいという欠点があつた。 With such a circuit configuration, only the value of a single type of signal (ie, output data signal 1) can be output from the output terminal 6. Moreover, the output latch circuit 2
Since the take-in signal 3 to be taken in is determined by the internal clock signal, a change in the output data signal 1 will not appear at the output terminal 6 while the take-in signal 3 is not turned on. As described above, microcomputers with conventional configurations have the disadvantage that it is difficult to sufficiently monitor the data on the bus line where various internal data are accumulated.
(発明の目的)
本発明の目的は、上記欠点を除去し、内部情報
が集中する内部バスライン上のデータと通常出力
とを、クロツクの1サイクル以内に時分割で、メ
モリに蓄積することなく出力端子から出力させる
ことを可能にする。従つてオンタイムで内部状態
の監視を容易にすることによつて製品検査工程に
おける不良品発見率を高めることができる機能を
もつマイクロコンピユータを提供することにあ
る。(Object of the Invention) An object of the present invention is to eliminate the above-mentioned drawbacks, and to transfer data on the internal bus line where internal information is concentrated and normal output in a time-sharing manner within one clock cycle without storing it in memory. Enables output from the output terminal. Therefore, it is an object of the present invention to provide a microcomputer having a function of increasing the rate of finding defective products in a product inspection process by facilitating on-time monitoring of internal conditions.
(発明の構成)
本発明の特徴は、内部クロツク信号群と、テス
ト命令コード及びイミデイエートデータを記憶す
るインストラクシヨンレジスタと、前記テスト命
令コードを解読する命令デコーダと、出力データ
信号を一時記憶する出力ラツチ回路と、出力バツ
フアと、前記出力バツフアからの信号を出力する
出力端子とを有するマイクロコンピユータにおい
て、バスラインデータと前記出力ラツチ回路の出
力信号との時分割出力モードを決定し、且つリセ
ツト端子を有する出力モードレジスタを備え、さ
らに前記出力モードレジスタの出力信号と、前記
出力ラツチ回路の出力信号と、前記イミデイエー
トデータと、前記内部クロツク信号群とを入力す
るとともに、前記内部クロツク信号群のうち所定
の1つのクロツク信号がオンの期間は前記出力ラ
ツチ回路の出力信号を、オフの期間は前記バスラ
インデータの信号を時分割で前記出力バツフアと
前記出力端子を介して外部の周辺装置に出力する
マルチプレクサを備えるマイクロコンピユータに
ある。(Structure of the Invention) The present invention is characterized by an internal clock signal group, an instruction register for storing a test instruction code and immediate data, an instruction decoder for decoding the test instruction code, and a temporary output data signal. In a microcomputer having an output latch circuit for storing, an output buffer, and an output terminal for outputting a signal from the output buffer, determining a time division output mode of bus line data and an output signal of the output latch circuit, and an output mode register having a reset terminal, further inputting the output signal of the output mode register, the output signal of the output latch circuit, the immediate data, and the internal clock signal group, and During the period when a predetermined clock signal among the clock signals is on, the output signal of the output latch circuit is transmitted, and during the period when it is off, the signal of the bus line data is transmitted externally via the output buffer and the output terminal in a time-sharing manner. A microcomputer is equipped with a multiplexer that outputs output to peripheral devices.
(実施例)
次に、本発明の実施例について図面を用いて説
明する。(Example) Next, an example of the present invention will be described using the drawings.
第2図は本発明の一実施例のブロツク図であ
る。 FIG. 2 is a block diagram of one embodiment of the present invention.
この実施例は、テスト命令コードを記憶する部
分とイミデイエートデータを記憶する部分とを有
するインストラクシヨンレジスタ10と、テスト
命令コード11を解読する命令デコーダ14と、
内部バスラインデータ時分割出力モードを決定し
かつ解読されたテスト命令コードを一時記憶する
出力モードレジスタ17と、出力データ信号19
を入力して一時記憶する出力ラツチ回路20と、
内部クロツク信号群13とインストラクシヨンレ
ジスタ10から出力されるイミデイエートデータ
12と出力モードレジスタ17から出力されるテ
スト命令コード11と出力ラツチ回路20から出
力される出力データとバスライン18のデータと
を入力し内部クロツク信号群13より一つのクロ
ツク信号を選択し、選択された一つのクロツク信
号がオンの期間だけバスライン18のデータを選
択しオフの期間は出力ラツチ回路20の出力デー
タを選択して時分割出力するマルチプレクサ23
とを含んで構成される。 This embodiment includes an instruction register 10 having a part for storing test instruction codes and a part for storing immediate data, an instruction decoder 14 for decoding test instruction codes 11,
an output mode register 17 that determines the internal bus line data time division output mode and temporarily stores the decoded test instruction code; and an output data signal 19.
an output latch circuit 20 that inputs and temporarily stores the
Internal clock signal group 13, immediate data 12 output from instruction register 10, test instruction code 11 output from output mode register 17, output data output from output latch circuit 20, and data on bus line 18. is input, selects one clock signal from the internal clock signal group 13, selects the data on the bus line 18 only while the selected one clock signal is on, and selects the output data of the output latch circuit 20 during the off period. Multiplexer 23 for selecting and time-division output
It consists of:
次に、この実施例の動作について説明する。 Next, the operation of this embodiment will be explained.
テスト命令が実行されるとインストラクシヨン
レジスタ10に記憶されているテスト命令コード
11は命令デコーダ14で解読され、出力モード
レジスタ17に送られる。出力モードレジスタ1
7は内部バスラインデータ時分割出力モードを決
定するレジスタで、リセツト信号16により記憶
内容をリセツトすることにより、通常出力にする
ことが可能である。 When the test instruction is executed, the test instruction code 11 stored in the instruction register 10 is decoded by the instruction decoder 14 and sent to the output mode register 17. Output mode register 1
Reference numeral 7 denotes a register for determining the internal bus line data time-division output mode, and by resetting the stored contents with a reset signal 16, normal output can be made.
マルチプレクサ23は、出力モードレジスタ1
7から出力される出力モード信号、インストラク
シヨンレジスタ10から送られるイミデイエート
データ12、バスライン18のデータ及び内部ク
ロツク信号群13を入し、内部クロツク信号群1
3の中からイミデイエートデータ12で指定され
る一つのクロツク信号を選択する。これによりこ
のテスト命令が実行されるとこの選択された一つ
のクロツク信号がオンの期間だけバスライン18
のデータを選択し、オフの期間は出力ラツチ回路
20の出力データを選択し、時分割で出力する。
出力は出力バツフア24で増幅され出力端子25
から時分割出力される。 Multiplexer 23 output mode register 1
The output mode signal output from 7, the immediate data 12 sent from the instruction register 10, the data on the bus line 18, and the internal clock signal group 13 are input, and the internal clock signal group 1
3, one clock signal specified by immediate data 12 is selected. As a result, when this test command is executed, the bus line 18 is turned on only while this selected one clock signal is on.
During the off period, the output data of the output latch circuit 20 is selected and output in a time-division manner.
The output is amplified by the output buffer 24 and sent to the output terminal 25.
is output in a time-division manner.
このように構成すると、読出し専用メモリ
(ROM)、一時記憶メモリ(RAM)のアドレス
データやメモリデータ、及び論理演算処理装置
(ALU)の入出力データ等の内部の様々なデータ
が集積するバツフア18のデータが内部クロツク
信号群のタイミング毎にモニターが可能となり、
内部状態の監視能力が向上する。 With this configuration, the buffer 18 accumulates various internal data such as read-only memory (ROM), address data and memory data of temporary storage memory (RAM), and input/output data of logic processing unit (ALU). data can be monitored at each timing of the internal clock signal group,
The ability to monitor internal conditions is improved.
上記実施例では、出力端子25は専用で表示し
たが、入出力兼用端子であつても差支えない。ま
た、マルチプレクサは一つで表示してあるが、二
つ用いて機能を分担させることもできる。 In the above embodiment, the output terminal 25 is shown as a dedicated terminal, but it may also be used as an input/output terminal. Further, although one multiplexer is shown, two multiplexers may be used to share the functions.
(発明の効果)
以上詳細に説明したように、本発明によれば、
命令デコーダの出力によつて時分割出力モードを
決定する出力モードレジスタの出力モード信号が
オンのときは、イミデイエートデータの指定によ
り位相の異る複数の内部クロツク信号からなる内
部クロツク信号群の中から選択する所定の1つの
内部クロツク信号が、オンの期間は出力ラツチ回
路から出力される出力データを、オフの期間はバ
スライン上のROMとRAMのアドレスデータ及
びALUの入出力データ等を出力し、出力モード
信号がリセツトされてロウレベルのときは、通常
出力となる。従つて、時分割出力モードのときに
はクロツクの1サイクル以内に2系統のデータを
それぞれ時分割で出力端子から外部の周辺装置へ
出力することができるため、従来は難しかつたマ
イクロコンピユータ内部のデータ状態をメモリに
蓄積することなく外部からオンタイムで直接監視
することが可能となり、製品検査工程でのマイク
ロコンピユータの不良品発見率を高める効果を有
する。(Effects of the Invention) As explained in detail above, according to the present invention,
When the output mode signal of the output mode register, which determines the time-sharing output mode based on the output of the instruction decoder, is on, the internal clock signal group consisting of multiple internal clock signals with different phases is specified by the immediate data. One predetermined internal clock signal selected from among them controls the output data output from the output latch circuit during the on period, and the address data of the ROM and RAM on the bus line, the input/output data of the ALU, etc. during the off period. When the output mode signal is reset and is at low level, the output is normal. Therefore, in the time-division output mode, two systems of data can be output from the output terminals to external peripheral devices in a time-division manner within one clock cycle. This makes it possible to directly monitor on-time from the outside without having to store it in memory, which has the effect of increasing the rate of defective product detection by the microcomputer during the product inspection process.
第1図は従来のマイクロコンピユータの出力端
子近傍の回路のブロツク図、第2図は本発明の一
実施例のブロツク図である。
1……出力データ信号、2……出力ラツチ回
路、3……取込み信号、4……掃出し信号、5…
…出力バツフア、6……出力端子、10……イン
ストラクシヨンレジスタ、11……テスト命令コ
ード、12……イミデイエートデータ、13……
内部クロツク信号群、14……命令デコーダ、1
6……リセツト信号、17……出力モードレジス
タ、18……バスライン、19……出力データ信
号、20……出力ラツチ回路、21……取込み信
号、22……掃出し信号、23……マルチプレク
サ、24……出力バツフア、25……出力端子。
FIG. 1 is a block diagram of a circuit near the output terminal of a conventional microcomputer, and FIG. 2 is a block diagram of an embodiment of the present invention. 1...Output data signal, 2...Output latch circuit, 3...Take-in signal, 4...Sweep signal, 5...
...Output buffer, 6...Output terminal, 10...Instruction register, 11...Test instruction code, 12...Immediate data, 13...
Internal clock signal group, 14...Instruction decoder, 1
6... Reset signal, 17... Output mode register, 18... Bus line, 19... Output data signal, 20... Output latch circuit, 21... Take-in signal, 22... Sweep signal, 23... Multiplexer, 24...Output buffer, 25...Output terminal.
Claims (1)
びイミデイエートデータを記憶するインストラク
シヨンレジスタと、前記テスト命令コードを解読
する命令デコーダと、出力データ信号を一時記憶
する出力ラツチ回路と、出力バツフアと、前記出
力バツフアからの信号を出力する出力端子とを有
するマイクロコンピユータにおいて、バスライン
データと前記出力ラツチ回路の出力信号との時分
割出力モードを決定し、且つリセツト端子を有す
る出力モードレジスタを備え、さらに前記出力モ
ードレジスタの出力信号と、前記出力ラツチ回路
の出力信号と、前記イミデイエートデータと、前
記内部クロツク信号群とを入力するとともに、前
記内部クロツク信号群のうち所定の1つのクロツ
ク信号がオンの期間は前記出力ラツチ回路の出力
信号を、オフの期間は前記バスラインデータの信
号を時分割で前記出力バツフアと前記出力端子を
介して外部の周辺装置に出力するマルチプレクサ
を備えることを特徴とするマイクロコンピユー
タ。1. An internal clock signal group, an instruction register for storing test instruction codes and immediate data, an instruction decoder for decoding the test instruction codes, an output latch circuit for temporarily storing output data signals, and an output buffer. , an output terminal for outputting a signal from the output buffer, and an output mode register for determining a time division output mode of the bus line data and the output signal of the output latch circuit, and having a reset terminal. , further inputting the output signal of the output mode register, the output signal of the output latch circuit, the immediate data, and the internal clock signal group, and inputting a predetermined one clock signal from the internal clock signal group. A multiplexer is provided that outputs the output signal of the output latch circuit during the period when the signal is on, and the signal of the bus line data during the period when the signal is off, in a time division manner to an external peripheral device via the output buffer and the output terminal. A microcomputer featuring:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59102264A JPS60246445A (en) | 1984-05-21 | 1984-05-21 | Microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59102264A JPS60246445A (en) | 1984-05-21 | 1984-05-21 | Microcomputer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60246445A JPS60246445A (en) | 1985-12-06 |
| JPH0447855B2 true JPH0447855B2 (en) | 1992-08-05 |
Family
ID=14322732
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59102264A Granted JPS60246445A (en) | 1984-05-21 | 1984-05-21 | Microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60246445A (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0664540B2 (en) * | 1987-01-30 | 1994-08-22 | 日本電気株式会社 | Large scale integrated circuit test circuit |
| JP2856591B2 (en) * | 1991-06-27 | 1999-02-10 | 三菱電機株式会社 | Microcomputer, program development device and program development system |
-
1984
- 1984-05-21 JP JP59102264A patent/JPS60246445A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60246445A (en) | 1985-12-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR890007157A (en) | Data processor | |
| US5361365A (en) | Microprocessor for selectively performing cold and warm starts | |
| JPH0447855B2 (en) | ||
| KR0134365B1 (en) | Single chip microprocessor with program data memory flag | |
| JP2508305B2 (en) | Initial value determination device | |
| JP2804406B2 (en) | Pulse measuring device | |
| KR950014084B1 (en) | Data reading device in memory | |
| JPH09311812A (en) | Microcomputer | |
| JPS55140926A (en) | Address controller of data processor | |
| US5497481A (en) | Microcomputer computer system having plural programmable timers and preventing memory access operations from interfering with timer start requests | |
| JPS5547547A (en) | Control device | |
| JPS6116094B2 (en) | ||
| JPS6253860B2 (en) | ||
| JP2611410B2 (en) | Initialization circuit of communication control circuit using processor | |
| JPS6324338B2 (en) | ||
| JPS5621258A (en) | Failure storage system in central processing unit | |
| JPS55162163A (en) | Address extension system | |
| JPS5697128A (en) | Data processor with display device | |
| JPH03214238A (en) | Signal processor | |
| JPH02100153A (en) | Memory map switching control system | |
| JPS5597649A (en) | Information processor | |
| JPS553083A (en) | Control system for microprogram | |
| JPS648381B2 (en) | ||
| JPS54157444A (en) | Memory control system | |
| JPS6153850A (en) | Normarity and abnormarity discriminating system of reception data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |