JPH0797367B2 - 1-chip microcomputer - Google Patents
1-chip microcomputerInfo
- Publication number
- JPH0797367B2 JPH0797367B2 JP6137471A JP13747194A JPH0797367B2 JP H0797367 B2 JPH0797367 B2 JP H0797367B2 JP 6137471 A JP6137471 A JP 6137471A JP 13747194 A JP13747194 A JP 13747194A JP H0797367 B2 JPH0797367 B2 JP H0797367B2
- Authority
- JP
- Japan
- Prior art keywords
- chip microcomputer
- output
- input
- circuit
- data
- 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
- 230000001360 synchronised effect Effects 0.000 description 3
- 239000000470 constituent Substances 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Microcomputers (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は1チップマイクロコンピ
ュータに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a one-chip microcomputer.
【0002】[0002]
【従来の技術】従来の1チップマイクロコンピュータに
おいてクロック入力に非同期に動作する論理回路を有す
る例として、イベントカウンタを有する1チップマイク
ロコンピュータがある。この例においてはクロック入力
と非同期なイベント入力によって力ウント動作が行なわ
れる。しかし、カウンタの出力であるカウント値やオー
バーフローはクロック入力に同期して読み込まれたりイ
ンタラプト処理され、クロック入力に非同期に動作する
出力信号として1チップマイクロコンピュータの出力端
子に接続されることはない。2. Description of the Related Art An example of a conventional one-chip microcomputer having a logic circuit that operates asynchronously with a clock input is a one-chip microcomputer having an event counter. In this example, the power-down operation is performed by an event input that is asynchronous with the clock input. However, the count value or overflow that is the output of the counter is read in or synchronized with the clock input, and is not connected to the output terminal of the one-chip microcomputer as an output signal that operates asynchronously with the clock input.
【0003】また、別の例としてシリアル入出力ポート
を有する1チップマイクロコンピュータがある。この例
においてもクロック入力と非同期なシリアル入力信号を
直接またはパラレル変換して、クロック入力に同期して
読み込んだりインタラプト処理を行なったりしている。
シリアル出力はクロック入力に同期してセットアップさ
れた出力データを変調して出力する為、クロック入力に
同期しない事がある。しかし、シリアル入力端子に入力
した信号は一旦クロック入力に同期して処理され、新た
に生成された信号が出力データとして出力端子に出力さ
れており、シリアル入力とシリアル出力はクロック入力
に非同期に動作する論理回路の入力と出力にあたらな
い。Another example is a one-chip microcomputer having a serial input / output port. In this example as well, a serial input signal asynchronous with the clock input is directly or parallel-converted and read or interrupted in synchronization with the clock input.
Since the serial output modulates and outputs the output data set up in synchronization with the clock input, it may not be synchronized with the clock input. However, the signal input to the serial input terminal is processed once in synchronization with the clock input, and the newly generated signal is output to the output terminal as output data. Serial input and serial output operate asynchronously with the clock input. Does not correspond to the input and output of the logic circuit.
【0004】また、別の例としてフェイズロックループ
回路を有する1チップマイクロコンピュータがある。こ
の場合、入力信号に対してマイクロコンピュータが直接
的に関与することなく出力信号が発生し本発明でいう、
クロック入力に同期せずに動作する入力端子および出力
端子の組を構成する事がある。しかしながらフェイズロ
ックループ回路はアナログ回路がその主要な構成要素で
あり、本発明でいう、クロック入力に非同期に動作する
論理回路にあたらない。Another example is a one-chip microcomputer having a phase lock loop circuit. In this case, the output signal is generated without directly involving the microcomputer with respect to the input signal, which is referred to in the present invention as
A set of input terminals and output terminals that operate without synchronizing with the clock input may be configured. However, the phase-locked loop circuit is an analog circuit as its main constituent element, and does not correspond to the logic circuit which operates asynchronously with the clock input in the present invention.
【0005】[0005]
【発明が解決しようとする課題】従来技術では1チップ
マイクロコンピュータの処理サイクルタイムT0 と該1
チップマイクロコンピュータで処理可能な、クロック入
力と非同期に動作する入力および出力信号系の最高速の
サイクルタイムT1は T1>=T0 となり非常に低速
な処理しか行なえない。この為高速処理の必要な分野に
おいては1チップマイクロコンピュータのもつ多段にわ
たる時系列的処理能力や、多くの条件に対応する処理能
力等が有効利用できないでいる。In the prior art, the processing cycle time T 0 of the one-chip microcomputer and the
The fastest cycle time T 1 of the input and output signal systems that operate asynchronously with the clock input that can be processed by the chip microcomputer is T 1 > = T 0 , and only very slow processing can be performed. Therefore, in the field where high-speed processing is required, it is impossible to effectively use the multi-stage time-series processing capability of a one-chip microcomputer and the processing capability corresponding to many conditions.
【0006】また、従来技術では1チップマイクロコン
ピュ一夕が外来雑音やその他の原因で正常な動作から逸
脱し、暴走を始めるという危険性から、1チップマイク
ロコンピュータの出力を、例えば論理積ゲートに接続
し、暴走を始めそうな状況下において強制的に論理積ゲ
ートを押え込んでしまうといった処置がとられていた。Further, in the prior art, the output of the 1-chip microcomputer is output to, for example, a logical product gate from the risk that the 1-chip microcomputer may deviate from the normal operation due to external noise or other causes and start a runaway. The measures were taken such as connecting and forcibly holding down the AND gate in the situation where a runaway might start.
【0007】以上の説に従来技術では、高速動作を必要
とする場合や、危険防止をする場合などに対処する為に
1チップマイクロコンピュータの外部に種々の論理回路
を接続していた。In the above-mentioned theory, in the prior art, various logic circuits are connected to the outside of the one-chip microcomputer in order to cope with the case where high-speed operation is required or the case where danger is prevented.
【0008】本発明の目的は、この様な外部の論理回路
を必要とせす、1チップマイクロコンピュータの持つ処
理能力と高速信号処理を同時に実現する1チップマイク
ロコンピュータを提供するものである。An object of the present invention is to provide a one-chip microcomputer which requires such an external logic circuit and simultaneously realizes the processing capability of the one-chip microcomputer and high-speed signal processing.
【0009】[0009]
【課題を解決するための手段】本発明の1チップマイク
ロコンピュータは、内部同期信号を発生する内部同期信
号発生回路と、前記内部同期信号に同期して命令を実行
する制御回路と、前記制御回路から発生される複数ビッ
トデータの保持を行うデータ保持回路とを備える1チッ
プマイクロコンピュータであって、当該1チップマイク
ロコンピュータの外部から出力イネーブル信号が入力さ
れる入力端子と、当該1チップマイクロコンピュータの
外部に複数ビットのデータ出力を行う出力端子と、前記
データ保持回路に保持された複数ビットデータ及び前記
入力端子に入力された前記出力イネーブル信号を入力
し、前記出力イネーブル信号が出力禁止を示す場合は前
記出力端子を介して当該1チップマイクロコンピュータ
の外部に第1レベルまたは第2レベルの一方に固定され
た複数ビットのデータを出力し、前記出力イネーブル信
号が出力許可を示す場合は前記出力端子を介して当該1
チップマイクロコンピュータの外部に前記複数ビットデ
ータの各ビットのデータ内容に応じた第1レベルまたは
第2レベルの複数ビットのデータを出力する論理回路と
を備えたことを特徴とする。 The one-chip microcomputer of the present invention is an internal synchronization signal generating an internal synchronization signal.
Command generation circuit and execute instructions in synchronization with the internal synchronization signal
Control circuit and a plurality of bits generated from the control circuit.
And a data holding circuit for holding data
A one-chip microphone
Output enable signal is input from outside the computer.
Input terminal and the 1-chip microcomputer
An output terminal for outputting a plurality of bits of data to the outside,
The multi-bit data held in the data holding circuit, and
Input the output enable signal input to the input terminal
However, if the output enable signal indicates output prohibition,
The one-chip microcomputer through the output terminal
Fixed to either the first level or the second level outside the
Output multiple bits of data and output the output enable signal.
If the signal indicates output permission, the corresponding 1
The multi-bit data is stored outside the chip microcomputer.
The first level depending on the data content of each bit of the data or
A logic circuit that outputs a second-level multi-bit data
It is characterized by having.
【0010】[0010]
【作用】上記のように構成されたクロック入力に同期せ
ずに動作する入力端子および出力端子の組のうち入力端
子に入力信号を与えると、クロック入力のタイミングと
は関係なしに内部のクロック入力に非同期に動作する非
同期論理回路に従がって、該入力端子と組をなす出力端
子に出力があらわれる。When an input signal is applied to the input terminal of the set of the input terminal and the output terminal which operate without being synchronized with the clock input configured as described above, the internal clock input is irrelevant regardless of the clock input timing. An output appears at an output terminal paired with the input terminal according to an asynchronous logic circuit that operates asynchronously.
【0011】[0011]
【実施例】以下に本発明の実施例を図面にもとついて説
明する。図1は本発明の一実施例である。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows an embodiment of the present invention.
【0012】本発明の実施例においては、クロック入力
を直接または分周してマシンサイクルまたはインストラ
クションサイクルを定めて命令を実行する1チップマイ
クロコンピュータにおいて、クロックに非同期に動作す
る論理回路を有し、論理回路の入力信号の一部を1チッ
プマイクロコンピュータの入力端子の一部に接続して入
力端子とし、論理回路の出力信号の一部または全部を1
チップマイクロコンピュータの出力端子の一部として出
力端子とし、クロックに同期せずに動作する入力端子お
よび出力端子を構成している。よって、クロック入力に
同期せずに動作する入力端子および出力端子のうち入力
端子に入力信号を与えると、クロックのタイミングとは
関係なしに内部のクロックに非同期に動作する非同期論
理回路に従って、出力端子に出力があらわれる。According to an embodiment of the present invention, a one-chip microcomputer which directly or frequency-divides a clock input to determine a machine cycle or an instruction cycle and executes an instruction has a logic circuit which operates asynchronously with a clock, A part of the input signal of the logic circuit is connected to a part of the input terminal of the one-chip microcomputer as an input terminal, and a part or all of the output signal of the logic circuit
An output terminal is provided as a part of the output terminal of the chip microcomputer, and an input terminal and an output terminal that operate without synchronizing with a clock are configured. Therefore, if an input signal is given to the input terminal among the input terminal and the output terminal that operate without synchronizing with the clock input, the output terminal will follow the asynchronous logic circuit that operates asynchronously with the internal clock regardless of the clock timing. The output appears in.
【0013】図1においてクロック入力4は内部同期信
号発生回路2bに供給され、内部同期信号発生回路2b
は複数の内部同期層号2dを発生する。In FIG. 1, the clock input 4 is supplied to the internal synchronizing signal generating circuit 2b, and the internal synchronizing signal generating circuit 2b.
Generates a plurality of internal sync layers 2d.
【0014】2aは1チップマイクロコンピュータの主
たる制御回路であり本実施例においては複数の内部同期
信号2dを入力とし8ビットデータ出力信号2fと8ビ
ットデータラッチクロック2eを出力する。Reference numeral 2a is a main control circuit of the one-chip microcomputer, and in the present embodiment, it receives a plurality of internal synchronizing signals 2d and outputs an 8-bit data output signal 2f and an 8-bit data latch clock 2e.
【0015】8ビットデータ出力信号2fは8ビットデ
ータラッチクロック2eに同期して8ビツトラッチ(デ
ータ保持回路)2cにラッチ(保持)される。以上の2
aから2fまでを含み、クロック入力4に同期して命令
を実行する回路2は、クロック入カ4に非同期に動作す
る論理回路3に8ビットラッチデータ出力信号6a〜6
hを出力している。The 8-bit data output signal 2f is latched (held) in an 8-bit latch (data holding circuit) 2c in synchronization with the 8-bit data latch clock 2e. 2 above
The circuit 2 which includes a to 2f and executes an instruction in synchronization with the clock input 4 outputs the 8-bit latch data output signals 6a to 6 to the logic circuit 3 which operates asynchronously with the clock input 4.
It outputs h.
【0016】クロック入力4に非同期に動作する非同期
論理回路3は8個の2入力論理積回路3aからなり、入
力イネーブル信号5は各々2入力論理積回路3aの一方
の入力に接続され、出力イネーブル信号5が0レベルの
時には8個の2入力論理積回路3aの8本のデータ出力
7a〜7hがすべて0レベルとなる。本実施例ではデー
タ出力7a〜7hの1レベルが有効状態であり0レベル
は無効状態であるとし、上記の場合データ出力7a〜7
hがすべて0レベルであるから出力イネーブル信号5が
0レベルの時データ出力7a〜7hがすべて無効状態で
あることになる。The asynchronous logic circuit 3 which operates asynchronously with the clock input 4 is composed of eight 2-input AND circuits 3a. The input enable signal 5 is connected to one input of the 2-input AND circuit 3a to enable the output enable. When the signal 5 is at 0 level, all eight data outputs 7a to 7h of the eight 2-input AND circuit 3a are at 0 level. In this embodiment, 1 level of the data outputs 7a to 7h is valid and 0 level is invalid, and in the above case, the data outputs 7a to 7h.
Since all of h are 0 level, when the output enable signal 5 is 0 level, all the data outputs 7a to 7h are in the invalid state.
【0017】出力イネーブル信号5が1レベルの時8ビ
ットラッチデータ出力信号6a〜6hのレベルがそのま
ま8本のデータ出力7a〜7hにあらわれる。When the output enable signal 5 is 1 level, the levels of the 8-bit latch data output signals 6a to 6h appear in the eight data outputs 7a to 7h as they are.
【0018】以上の様に本実施例ではクロック入力4に
非同期に動作する非同期論理回路3の入力信号である出
力イネーブル信号5を1チップマイクロコンピュータ1
の入力端子の一部とし、該非同期論理回路3の出力信号
であるデータ出力7a〜7hを1チップマイクロコンピ
ュータ1の出力端子の一部とし、該非同期論理回路3の
入力端子および出力端子の組として構成している。本実
施例の8個の2入力論理積回路3aをゲートアレイまた
はプログラマブルロジックアレィまたは消去可能なプロ
グラマプルロジックアレィで構成しても良い。As described above, in this embodiment, the output enable signal 5 which is the input signal of the asynchronous logic circuit 3 which operates asynchronously with the clock input 4 is supplied to the 1-chip microcomputer 1.
And the data outputs 7a to 7h, which are output signals of the asynchronous logic circuit 3, as a part of the output terminals of the one-chip microcomputer 1, and the set of the input terminal and the output terminal of the asynchronous logic circuit 3. Is configured as. The eight 2-input AND circuits 3a of this embodiment may be configured by a gate array, a programmable logic array, or an erasable programmable pull logic array.
【0019】[0019]
【発明の効果】本発明により従来の1チップマイクロコ
ンピュータの持つ多段にわたる時系列的処理能力や、多
くの条件に対応できる処理能力等が高速処理を行なわな
ければならない回路系に導入可能となる。また従来外部
ヘ置かざるをえなかった論理回路が不要となる為、本発
明の1チップマイクロコンピュータを使用すれば、シス
テムの処理能力、スペース、コスト、信頼性が大幅に改
善される。According to the present invention, the multi-stage time-series processing capability of the conventional one-chip microcomputer and the processing capability capable of handling many conditions can be introduced into a circuit system that must perform high-speed processing. Further, since the logic circuit which has conventionally been required to be placed outside is not necessary, the processing capacity, space, cost and reliability of the system can be greatly improved by using the one-chip microcomputer of the present invention.
【図1】本発明の1チップマイクロコンピュ−夕の一実
施例を示す図。FIG. 1 is a diagram showing an embodiment of a one-chip micro computer of the present invention.
2……クロック入力4に同期して命令を実行する回路 3……クロツク入力4に非同期に動作する論理回路 4……クロック入力 5……出力イネーブル信号 6a〜6h……データ出力 2 ... Circuit that executes instructions in synchronization with clock input 4 ... Logic circuit that operates asynchronously with clock input 4 ... Clock input 5 ... Output enable signal 6a-6h ... Data output
Claims (4)
回路と、前記内部同期信号に同期して命令を実行する制
御回路と、前記制御回路から発生される複数ビットデー
タの保持を行うデータ保持回路とを備える1チップマイ
クロコンピュータであって、 当該1チップマイクロコンピュータの外部から出力イネ
ーブル信号が入力される入力端子と、 当該1チップマイクロコンピュータの外部に複数ビット
のデータ出力を行う出力端子と、 前記データ保持回路に保持された複数ビットデータ及び
前記入力端子に入力された前記出力イネーブル信号を入
力し、前記出力イネーブル信号が出力禁止を示す場合は
前記出力端子を介して当該1チップマイクロコンピュー
タの外部に第1レベルまたは第2レベルの一方に固定さ
れた複数ビットのデータを出力し、前記出力イネーブル
信号が出力許可を示す場合は前記出力端子を介して当該
1チップマイクロコンピュータの外部に前記複数ビット
データの各ビットのデータ内容に応じた第1レベルまた
は第2レベルの複数ビットのデータを出力する論理回路
とを備えたことを特徴とする1チップマイクロコンピュ
ータ。1. An internal synchronization signal generating circuit for generating an internal synchronization signal, a control circuit for executing an instruction in synchronization with the internal synchronization signal, and a data holding device for holding a plurality of bit data generated by the control circuit. A 1-chip microcomputer including a circuit, an input terminal to which an output enable signal is input from the outside of the 1-chip microcomputer, and an output terminal that outputs data of a plurality of bits to the outside of the 1-chip microcomputer. The multi-bit data held in the data holding circuit and the output enable signal input to the input terminal are input, and when the output enable signal indicates output prohibition, the one-chip microcomputer of the one chip microcomputer is input via the output terminal. External data of multiple bits fixed to either the first level or the second level When the output enable signal indicates output permission, a plurality of first-level or second-level signals are output to the outside of the one-chip microcomputer via the output terminal according to the data content of each bit of the multi-bit data. A one-chip microcomputer including a logic circuit for outputting bit data.
とを特徴とする請求項1記載の1チップマイクロコンピ
ュータ。2. The one-chip microcomputer according to claim 1, wherein the logic circuit is composed of a gate array.
レイで構成したことを特徴とする請求項1記載の1チッ
プマイクロコンピュータ。3. The one-chip microcomputer according to claim 1, wherein the logic circuit is configured by a programmable logic array.
ロジックアレイで構成したことを特徴とする請求項1記
載の1チップマイクロコンピュータ。4. A one-chip microcomputer according to claim 1, wherein said logic circuit is composed of an erasable programmable logic array.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6137471A JPH0797367B2 (en) | 1994-06-20 | 1994-06-20 | 1-chip microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6137471A JPH0797367B2 (en) | 1994-06-20 | 1994-06-20 | 1-chip microcomputer |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59177816A Division JPS6155775A (en) | 1984-08-27 | 1984-08-27 | 1 chip microcomputer |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0721142A JPH0721142A (en) | 1995-01-24 |
| JPH0797367B2 true JPH0797367B2 (en) | 1995-10-18 |
Family
ID=15199389
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6137471A Expired - Lifetime JPH0797367B2 (en) | 1994-06-20 | 1994-06-20 | 1-chip microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0797367B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0730321B2 (en) * | 1986-05-07 | 1995-04-05 | 株式会社日立製作所 | Liquid crystal display element |
| JP4685682B2 (en) * | 2006-03-31 | 2011-05-18 | 富士通株式会社 | Semiconductor device |
-
1994
- 1994-06-20 JP JP6137471A patent/JPH0797367B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0721142A (en) | 1995-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2840320B2 (en) | Semiconductor storage device | |
| JP4682485B2 (en) | Memory control device and serial memory | |
| JPH0342732A (en) | Semiconductor integrated circuit | |
| US4569067A (en) | Dual master shift register bit | |
| JPH0797367B2 (en) | 1-chip microcomputer | |
| US6205192B1 (en) | Clock input control circuit | |
| US5640358A (en) | Burst transmission semiconductor memory device | |
| JPH05189990A (en) | Data holding device | |
| JPH04101535A (en) | Interface circuit | |
| JP2569693B2 (en) | Microcomputer | |
| JPH11273380A (en) | Lsi operation mode setting signal fetching method and lsi with mode signal fetching function | |
| JP3310482B2 (en) | Microcomputer | |
| JP2810584B2 (en) | Serial data transfer circuit | |
| JP2669028B2 (en) | Command register circuit | |
| JP2848331B2 (en) | Hazard-free finite state machine synthesis method | |
| JP2697772B2 (en) | Information processing device | |
| JPS6155775A (en) | 1 chip microcomputer | |
| JPH11272644A (en) | Microcontroller | |
| JP2867480B2 (en) | Memory switching circuit | |
| JPH02280263A (en) | Microprocessor | |
| JP2658081B2 (en) | Timing output circuit | |
| JPH01199242A (en) | Microcomputer system abnormality detection device | |
| JPH0661076B2 (en) | Data transfer device | |
| JPH08139576A (en) | Contact point noise elimination circuit | |
| JPH0317257B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |