JPH0568752B2 - - Google Patents
Info
- Publication number
- JPH0568752B2 JPH0568752B2 JP62188170A JP18817087A JPH0568752B2 JP H0568752 B2 JPH0568752 B2 JP H0568752B2 JP 62188170 A JP62188170 A JP 62188170A JP 18817087 A JP18817087 A JP 18817087A JP H0568752 B2 JPH0568752 B2 JP H0568752B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- output
- input
- control signal
- state observation
- 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 - Fee Related
Links
- 239000000872 buffer Substances 0.000 description 9
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
Landscapes
- Debugging And Monitoring (AREA)
- Microcomputers (AREA)
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は入力端子と出力端子を兼用する外部端
子を有するシングルチツプコンピユータに関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a single-chip computer having an external terminal that serves both as an input terminal and an output terminal.
従来、この種のシングルチツプマイクロコンピ
ユータは、外部端子の内で入力端子と出力端子を
兼用する端子の使用状態(即ち、入力端子として
使用していること、または出力端子として使用し
ていること)を表わす別個の外部端子を有してい
なかつた。
Conventionally, single-chip microcomputers of this type have been designed to control the usage status of external terminals that serve both as input and output terminals (i.e., whether they are used as input terminals or as output terminals). It did not have a separate external terminal representing the
上述した従来のシングルチツプコンピユータ
は、入力端子と出力端子を兼用する外部端子(以
下、入出力端子と称する)の入出力の使用状態を
表わす別個の外部端子(以下観測端子と称する)
を有していないので、シングルチツプコンピユー
タを搭載した装置の動作解析作業時に、入出力端
子の使用状態の情報が欠落し、前記動作解析が困
難になるという欠点がある。
The conventional single-chip computer described above has a separate external terminal (hereinafter referred to as an observation terminal) that indicates the input/output usage status of an external terminal (hereinafter referred to as an input/output terminal) that serves both as an input terminal and an output terminal.
Therefore, when analyzing the operation of a device equipped with a single-chip computer, there is a disadvantage that information on the usage status of the input/output terminals is lost, making the operation analysis difficult.
本発明のシングルチツプコンピユータは、
入出力兼用の外部端子と内部回路の間の信号パ
スに設けられたゲートを、該外部端子が入力端子
として使用されるときに開き、出力端子として使
用されるときは閉じるように制御する制御信号が
分岐して出力される入力状態観測端子と、
入出力兼用の外部端子と内部回路の間の信号パ
スに設けられたゲートを、該外部端子が出力端子
として使用されるときに開き、入力端子として使
用されるときは閉じるように制御する制御信号が
分岐して出力される出力状態観測端子を有してい
る。
The single-chip computer of the present invention opens a gate provided in a signal path between an external terminal for input/output and an internal circuit when the external terminal is used as an input terminal, and opens a gate when the external terminal is used as an output terminal. An input state observation terminal to which a control signal is branched and output to control the terminal to close, and a gate provided in the signal path between the external terminal, which also serves as input/output, and the internal circuit, is used as an output terminal by the external terminal. It has an output state observation terminal to which a control signal is branched and output so as to open when the terminal is used as an input terminal and close when the terminal is used as an input terminal.
このように、入出力兼用の外部端子の使用状況
を示す制御信号が出力される観測端子を有するこ
とにより、入出力端子の使用状態がわかり、シン
グルチツプコンピユータが搭載されている装置の
動作解析が容易になる。
In this way, by having an observation terminal that outputs a control signal that indicates the usage status of an external terminal that also serves as input/output, the usage status of the input/output terminal can be determined and the operation analysis of equipment equipped with a single-chip computer can be performed. becomes easier.
次に、本発明の実施例について図面を参照して
説明する。
Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明のシングルチツプコンピユータ
の内部回路の一部分のブロツク図である。 FIG. 1 is a block diagram of a portion of the internal circuitry of the single chip computer of the present invention.
このシングルチツプコンピユータは、2個の入
出力端子6,7を有しており、入出力端子6は、
入力バツフア121とトランスフアゲート81を経
由した入力パスと、トランスフアゲート91と出
力バツフア131を経由した出力パスとによつて
内部バス1に接続され、入出力端子7は、入力バ
ツフア122とトランスフアゲート82を経由した
入力パスと、トランスフアゲート92と出力バツ
フア132を経由した出力パスによつて内部バス
2に接続されている。制御信号線3にはトランス
フアゲート81と82そしてインバータ10を介し
てトランスフアゲート91,92のゲートが接続さ
れており、“1”のときトランスフアゲート81と
82が開き、“0”のときトランスフアゲート91
と92が開くように制御信号が出力される。制御
信号線3にはさらに、出力バツフア111と入力
状態観測端子4が接続され、インバータ10の出
力信号線には出力バツフア112と出力状態観測
端子5が接続されている。 This single chip computer has two input/output terminals 6 and 7, and the input/output terminal 6 is
The input/output terminal 7 is connected to the internal bus 1 by an input path via the input buffer 12 1 and the transfer gate 8 1 and an output path via the transfer gate 9 1 and the output buffer 13 1 . 2 and a transfer gate 8 2 , and an output path via a transfer gate 9 2 and an output buffer 13 2 . The control signal line 3 is connected to transfer gates 8 1 and 8 2 and the gates of transfer gates 9 1 and 9 2 via an inverter 10, and when the signal is "1", the transfer gates 8 1 and 8 2 are opened, and " 0” transfer gate 9 1
A control signal is output so that 92 opens. An output buffer 11 1 and an input state observation terminal 4 are further connected to the control signal line 3, and an output buffer 11 2 and an output state observation terminal 5 are connected to the output signal line of the inverter 10.
次に、本実施例の動作について説明する。 Next, the operation of this embodiment will be explained.
回路動作を正論理で説明すると、入出力端子7
からハイレベルを、入出力端子6からロウレベル
を入力して、内部バス1上に“0”、内部バス2
に“1”を伝搬させる場合(入力状態)、制御信
号を“1”にすると、トランスフアゲート81,
82のゲートがオン、トランスフアゲート91,9
2のゲートがオフし、入力バツフア121,122
の出力が内部バス1、内部バス2にそれぞれ接続
される。この場合、入力状態観測端子4に“1”、
出力状態観測端子5に“0”が出力される。 To explain the circuit operation using positive logic, input/output terminal 7
A high level is input from input/output terminal 6 and a low level is input from input/output terminal 6.
When “1” is propagated to (input state), when the control signal is set to “1”, the transfer gate 8 1 ,
8 2 gate is on, transfer gate 9 1 ,9
2 gates are turned off, and the input buffers 12 1 , 12 2
The outputs of are connected to internal bus 1 and internal bus 2, respectively. In this case, “1” is input to the input state observation terminal 4,
“0” is output to the output state observation terminal 5.
次に、内部バス1からロウレベル、内部バス2
からハイレベルを出力して入出力端子6に“0”、
入出力端子7に“1”を伝搬させる場合(出力状
態)、制御信号を“0”にすると、トランスフア
ゲート81,82のゲートがオフし、トランスフア
ゲート91,92のゲートがオンし、出力バツフア
131,132の入力が内部バス1および内部バス
2にそれぞれ接続される。この場合、出力状態観
測端子5に“1”、入力状態観測端子4に“0”
が出力される。 Next, from internal bus 1 to low level, internal bus 2
Outputs a high level from ``0'' to input/output terminal 6,
When "1" is propagated to the input/output terminal 7 (output state), when the control signal is set to "0", the gates of transfer gates 8 1 and 8 2 are turned off, and the gates of transfer gates 9 1 and 9 2 are turned on. However, the inputs of output buffers 13 1 and 13 2 are connected to internal bus 1 and internal bus 2, respectively. In this case, the output state observation terminal 5 is “1” and the input state observation terminal 4 is “0”.
is output.
以上のように入出力端子6,7が入力状態また
は出力状態であることを入力状態観測端子4また
は出力状態観測端子5で観測可能であり、その結
果、シングルマツチマイクロコンピユータを搭載
した装置の動作解析作業等に、入出力端子6,7
の使用状態を容易に知ることができる。 As described above, it is possible to observe whether the input/output terminals 6 and 7 are in the input state or the output state using the input state observation terminal 4 or the output state observation terminal 5, and as a result, the operation of the device equipped with the single-match microcomputer is Input/output terminals 6, 7 for analysis work, etc.
You can easily know the usage status.
以上説明したように本発明は、入出力端子の使
用状態(即に、入力端子として使用しているこ
と、また出力端子として使用されいること)を示
す制御信号が出力される個別の観測端子を有する
ことにより、シングルチツプコンピユータを搭載
した装置の動作解析作業時に、入出力端子の使用
状態を観測でき、解析作業が容易になるという効
果がある。
As explained above, the present invention provides an individual observation terminal to which a control signal indicating the usage status of the input/output terminal (ie, whether it is being used as an input terminal or being used as an output terminal) is output. By having this, when analyzing the operation of a device equipped with a single-chip computer, the usage status of the input/output terminals can be observed, making the analysis easier.
第1図は本発明のシングルチツプコンピユータ
の一実施例の内部回路の一部分のブロツク図であ
る。
1,2……内部バス、3……制御信号線、4…
…入力状態観測端子、5……出力状態観測端子、
6,7……入出力端子、81,82,91,92……
トランスフアゲート、10……インバータ、11
1,112,131,132……出力バツフア、12
1,122……入力バツフア。
FIG. 1 is a block diagram of a portion of the internal circuit of an embodiment of the single chip computer of the present invention. 1, 2... Internal bus, 3... Control signal line, 4...
...Input state observation terminal, 5...Output state observation terminal,
6, 7... Input/output terminal, 8 1 , 8 2 , 9 1 , 9 2 ...
Transfer gate, 10... Inverter, 11
1 , 11 2 , 13 1 , 13 2 ...output buffer, 12
1 , 12 2 ...Input buffer.
Claims (1)
するシングルチツプマイクロコンピユータにおい
て、 入出力兼用の外部端子と内部回路の間の信号パ
スに設けられたゲートを、該外部端子が入力端子
として使用されるときに開き、出力端子として使
用されるときは閉じるように制御する制御信号が
分岐して出力される入力状態観測端子と、 入出力兼用の外部端子と内部回路の間の信号パ
スに設けられたゲートを、該外部端子が出力端子
として使用されるときに開き、入力端子として使
用されるときは閉じるように制御する制御信号が
分岐して出力される出力状態観測端子を有するこ
とを特徴とするシングルチツプマイクロコンピユ
ータ。[Claims] 1. In a single-chip microcomputer that has an external terminal that serves both as an input terminal and an output terminal, a gate provided in a signal path between an external terminal that serves as an input/output terminal and an internal circuit is An input state observation terminal to which a control signal is branched and output so that it opens when used as an input terminal and closes when used as an output terminal, and an external terminal used for both input and output and an internal circuit. An output state observation terminal to which a control signal is branched and output, which controls a gate provided in a signal path to open when the external terminal is used as an output terminal and close when used as an input terminal. A single-chip microcomputer comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62188170A JPS6431256A (en) | 1987-07-27 | 1987-07-27 | Single chip microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62188170A JPS6431256A (en) | 1987-07-27 | 1987-07-27 | Single chip microcomputer |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6431256A JPS6431256A (en) | 1989-02-01 |
JPH0568752B2 true JPH0568752B2 (en) | 1993-09-29 |
Family
ID=16218980
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62188170A Granted JPS6431256A (en) | 1987-07-27 | 1987-07-27 | Single chip microcomputer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6431256A (en) |
-
1987
- 1987-07-27 JP JP62188170A patent/JPS6431256A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS6431256A (en) | 1989-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0568752B2 (en) | ||
JPS61168051A (en) | Single-chip microcomputer | |
JPS6349870A (en) | Microcomputer | |
JP2935710B2 (en) | Test equipment for processor integrated circuit devices | |
JPH0198054A (en) | Single-chip microcomputer | |
JPH02214328A (en) | Output controller | |
JPH053006B2 (en) | ||
JPH06259365A (en) | Port circuit | |
KR0179856B1 (en) | Basic Cell Circuit of Register File | |
JPS59103121A (en) | Information processor | |
JPS6146623U (en) | keyboard interface device | |
JPS63138448A (en) | Bus control system for multiplex processor processing system | |
JPS58124821U (en) | data input device | |
JPH01128561A (en) | Logic lsi | |
JPH0561817A (en) | Semiconductor device and electronic equipment | |
JPS63293646A (en) | Semiconductor integrated circuit | |
JPH01194052A (en) | Data input/output circuit for digital signal processing processor | |
JPH02103482A (en) | Integrated circuit device | |
JPS63106840A (en) | Data processor unit | |
JPS60225958A (en) | Information processor | |
JPS5887612A (en) | Controlling and diagnosing device for input and output | |
JPH04315230A (en) | One-chip microcomputer | |
JPS608968A (en) | Data buffer controlling system | |
JPS6442759A (en) | Bus control system | |
JPS6260048A (en) | Bus circuit for data processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |