JPS6366657A - Microprocessor having capture mechanism - Google Patents
Microprocessor having capture mechanismInfo
- Publication number
- JPS6366657A JPS6366657A JP21096086A JP21096086A JPS6366657A JP S6366657 A JPS6366657 A JP S6366657A JP 21096086 A JP21096086 A JP 21096086A JP 21096086 A JP21096086 A JP 21096086A JP S6366657 A JPS6366657 A JP S6366657A
- Authority
- JP
- Japan
- Prior art keywords
- capture
- data
- time base
- microprocessor
- base counter
- 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.)
- Granted
Links
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 230000003213 activating effect Effects 0.000 description 1
- 238000000354 decomposition reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Information Transfer Systems (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明はマイクロプロセソ、すの構成に関し、特に、プ
ロセッサの命令の実行サイクルとは非同期で到来する外
部人力信号の処理精度の高いキャプテン機構を有するマ
イクロプロセッサを提供するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to the configuration of a microprocessor, and in particular has a captain mechanism that can process external human signals that arrive asynchronously with the execution cycle of instructions of the processor with high precision. It provides a microprocessor.
従来の技術
近年、ノイマン方式のマイクロプロセッサはあらゆる方
面で多用されており、その構成としては、データを一時
的に格納するメモリ手段(一般にはRA Mと呼ばれる
。)と、データの演算を実行する演算手段(一般にAL
Uと呼ばれる。)と、逐次実行すべき命令を格納し、そ
の命令に基づいて前記メモリ手段と前記演算手段の動作
をコントロールする命令実行手段(一般にはプログラム
メモリとアドレスカウンタならびにインストラクション
デコーダにより構成される。)を備えていることに特徴
づけられる。また、その代表的な構成が特公昭58−3
3584号公報(以下、文献1と略記する。)に示され
ている。BACKGROUND OF THE INVENTION In recent years, von Neumann microprocessors have been widely used in various fields, and they consist of memory means (generally called RAM) for temporarily storing data, and memory means for executing data operations. Arithmetic means (generally AL
It is called U. ), and an instruction execution means (generally composed of a program memory, an address counter, and an instruction decoder) that stores instructions to be executed sequentially and controls the operations of the memory means and the arithmetic means based on the instructions. It is characterized by being prepared. In addition, its typical configuration is
This is disclosed in Publication No. 3584 (hereinafter abbreviated as Document 1).
発明が解決しようとする問題点
ところで、前記文献lに示されるようなノイマン方式の
マイクロプロセッサは、あらかじめ定められた順序にし
たがってデータの処理を実行していくために、非同期で
入力される外部信号のエツジタイミングの取り込みが遅
くなるという問題を有している。このような問題に対し
て、従来は割り込みという手段を用いたり、インプット
キャプチャレジスタ機構が用いられてきた。しかしなが
ら、割り込み手段を用いる方法は、オーバーヘッド(割
り込み処理ルーチンを開始するまでの手続きに伴うロス
)が問題になり、インプットキャプチャレジスタ機構に
ついてはこのオーバヘッドの問題が解消されるものの、
両者ともその動作が命令の実行サイクルを管轄するタイ
ミングジェネレータの支配下にあるので、命令の実行サ
イクルよりも高い分解能でエツジタイミングを取り込む
ことはできなかった。Problems to be Solved by the Invention By the way, the Neumann type microprocessor as shown in the above-mentioned document 1 processes data in a predetermined order, so it uses external signals that are input asynchronously. The problem is that the edge timing is slow to be captured. Conventionally, to solve such problems, a means called an interrupt or an input capture register mechanism has been used. However, the method using interrupt means has a problem of overhead (loss associated with the procedure before starting the interrupt handling routine), and although this overhead problem can be solved with the input capture register mechanism,
Since the operation of both is under the control of a timing generator that controls the instruction execution cycle, it is not possible to capture edge timing with a resolution higher than the instruction execution cycle.
ところで、汎用のマイクロプロセッサにとっては過酷と
もいえるこのような要求はマイクロプロセッサを精密機
械のコントローラとして用いる際にしばしば発生し、例
えば、ビデオテープレコーダに用いられているシリンダ
モータ(ヘソドドラムモークとも呼ばれる。)の回転制
御をマイクロプロセッサによって行わそうとすると、高
画質を維持するために数百ナノセカンド以内の精度で回
転検出信号を取り込む必要があり、特殊な超高速のマイ
クロプロセッサを使用する必要があった。By the way, such requirements, which can be said to be harsh on general-purpose microprocessors, often occur when microprocessors are used as controllers for precision machinery. ), if a microprocessor were to control the rotation, it would be necessary to capture the rotation detection signal with an accuracy within a few hundred nanoseconds in order to maintain high image quality, which would require the use of a special ultra-high-speed microprocessor. there were.
問題点を解決するための手段
前記した問題点をh7決するために本発明のキャプチャ
機構を有するマイクロプロセッサは、基準クロック信号
をカウントするタイムベースカウンタと、キャプチャ信
号のエツジが到来したときに前記タイムベースカウンタ
から最小分解精度が命令の実行サイクルよりも高いカウ
ントデータを取り込み、命令実行手段からの特定の命令
によってその結果を演算手段もしくはメモリ手段に送出
するキャプチャ回路を備えている。Means for Solving the Problems In order to solve the above-mentioned problems, a microprocessor having a capture mechanism according to the present invention includes a time base counter that counts a reference clock signal, and a time base counter that counts a reference clock signal and a time base counter that counts a reference clock signal when the edge of the capture signal arrives. It is provided with a capture circuit that captures count data whose minimum resolution accuracy is higher than the instruction execution cycle from the base counter and sends the result to the calculation means or memory means in accordance with a specific instruction from the instruction execution means.
作用
本発明では前記した構成によって、プロセッサの命令の
実行サイクルとは非同期で到来する外部入力信号の処理
精度の高いマイクロプロセッサを得ることができる。Effect of the Invention With the above-described configuration, the present invention can provide a microprocessor that can process external input signals that arrive asynchronously with the execution cycle of instructions of the processor with high precision.
実施例
以下、本発明の一実施例について図面を参照しながら説
明する。EXAMPLE Hereinafter, an example of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例におけるマイクロプロセッサ
の構成図を示したものであり、データを一時的に格納す
るためのレジスタ100およびランダムアクセスメモリ
(図中ではRAMなる略記号で示されている。以下、
RAMと略記する。)200と、ディジタルデータの算
術および論理演算を実行する16ビツトの演算器(−最
にはALUなる略記、号で示される。)300と、逐次
実行すべき命令を格納し、その命令に基づいてコントロ
ールバス450を介して前記レジスタ100およびRA
M200と前記ALU300の動作をコントロールする
命令実行回路(図中においてPLAなる略記号で示され
ている。)400と、クロック端子10に印加される基
準クロック信号をカウントする17ビツトのタイムベー
スカウンタ500と、カウンタバス550を介して前記
タイムベースカウンタ500のカウントデータが供給さ
れ、その出力データが前記レジスタ100、前記RAM
200、前記ALU300に接続されるデータバス60
0に送出されるキャプチャレジスタブロック700と、
外部信号入力端子20.30゜40、50.60.70
に印加され、それぞれ異なった発生源を持つ6種類のキ
ャプチャ信号のエツジが到来したときに前記タイムベー
スカウンタ500のカウントデータを前記キャプチャレ
ジスタブロック700に転送するキャプチャコントロー
ラ800を備えている。また、前記クロック端子10に
印加される基準クロック信号はタイミングジェネレータ
(図中においてTGなる略記号で示されている。)90
0を介して前記命令実行回路400に供給され、前記デ
ータバス600には読みだし専用のメモリ(RON丁)
1000. 110ポー)1100. A−D変換器1
200. D−A変換器1300がf続され、さらに、
前記RAM200および前記ROMlooOはそれぞれ
アドレスデコーダ250.1050を有している。FIG. 1 shows a configuration diagram of a microprocessor according to an embodiment of the present invention, and includes a register 100 for temporarily storing data and a random access memory (indicated by the abbreviation RAM in the figure). There are. Below,
It is abbreviated as RAM. ) 200, a 16-bit arithmetic unit (-indicated by the abbreviation ALU) 300 that executes arithmetic and logical operations on digital data, and a 16-bit arithmetic unit (-indicated by the abbreviation ALU) 300 that stores instructions to be executed sequentially and executes operations based on the instructions. and the register 100 and RA via the control bus 450.
M200, an instruction execution circuit (indicated by the abbreviation PLA in the figure) 400 that controls the operations of the ALU 300, and a 17-bit time base counter 500 that counts the reference clock signal applied to the clock terminal 10. The count data of the time base counter 500 is supplied via the counter bus 550, and the output data is sent to the register 100 and the RAM.
200, a data bus 60 connected to the ALU 300;
a capture register block 700 sent to 0;
External signal input terminal 20.30°40, 50.60.70
The capture controller 800 transfers the count data of the time base counter 500 to the capture register block 700 when an edge of six types of capture signals, each having a different generation source, arrives. Further, the reference clock signal applied to the clock terminal 10 is generated by a timing generator (indicated by the abbreviation TG in the figure) 90.
0 to the instruction execution circuit 400, and the data bus 600 includes a read-only memory (RON D).
1000. 110 Po) 1100. A-D converter 1
200. DA converters 1300 are connected, and further,
The RAM 200 and the ROMlooO each have an address decoder 250.1050.
なお、前記キャプチャコントローラ800と前記キャプ
チャレジスタブロック700は、キャプチャ信号のエツ
ジが到来したときに前記タイムベースカウンタ500か
ら最小分解能精度が命令の実行サイクルよりも高いカウ
ントデータを取り込み、前記命令実行回路400からの
特定の命令によってその結果を前記A L U300も
しくは前記レジスタ100あるいは前記RAM200に
送出するキャプチャ回路を構成している。Note that the capture controller 800 and the capture register block 700 take in count data from the time base counter 500 whose minimum resolution accuracy is higher than the instruction execution cycle when the edge of the capture signal arrives, and transfer the count data to the instruction execution circuit 400. A capture circuit is configured to send the result to the ALU 300, the register 100, or the RAM 200 according to a specific instruction from the ALU 300.
以上のように構成されたマイクロプロセッサについて、
第1図に示した構成図と、第2図に示した主要部のタイ
ミングチャートによりその動作を説明する。Regarding the microprocessor configured as above,
The operation will be explained with reference to the configuration diagram shown in FIG. 1 and the timing chart of the main parts shown in FIG.
まず、第2図Aは第1図のクロック端子10に印加され
るクロック信号波形を示したものであり、第2図B、C
,D、Eはそれぞれタイミングジェネレータ500によ
って発生される4相のタイミング信号を示したもので、
これらの信号に同期させて命令実行回路400の命令格
納部からの命令の読みだしゃ、RAM200を始めとす
る各ブロックからのデータの読みだし、さらには、A
L U 300での演算の実行と演算結果の各ブロック
への転送などが行われる。また、第2図Fは命令実行回
路400によって実行される命令(1サイクル命令)の
サイクルを示したものである。First, FIG. 2A shows the clock signal waveform applied to the clock terminal 10 of FIG. 1, and FIGS.
, D, and E respectively indicate four-phase timing signals generated by the timing generator 500.
Reading out instructions from the instruction storage section of the instruction execution circuit 400 in synchronization with these signals, reading out data from each block including the RAM 200, and even reading out the A
The L U 300 executes calculations and transfers the calculation results to each block. Further, FIG. 2F shows a cycle of an instruction (one-cycle instruction) executed by the instruction execution circuit 400.
つぎに、第3図は第1図のキャプチャコントローラ80
0の具体的な構成例を示した論理回路図であり、外部信
号入力端子20.30.40.50.60.70には同
一 構成のコントロールユニット810.820゜83
0、840.850.860が接続されており、前記コ
ントロールユニット810〜860はそれぞれ共通の基
準クロンク入力端子801とキャプチャレジスタブロッ
ク700へのデータ転送りロック入力端子802を有し
、さらに、個別のリセット信号811〜861と、個別
のフラグ出力端子812〜862と、個別のデータ転送
端子813〜863を有している。第4図は第3図に示
したキャプチャコントローラ800を構成するコントロ
ールユニット810の動作を説明するためのタイミング
チャートであり、第4図Aは第1図のクロック端子10
に印加されるクロック信号波形であり、第4図Bは第4
図Aの信号波形を分周した信号波形でありこの信号が基
準クロック信号として第3図の基準クロック入力端子8
01に供給される。また、第4図Cはマスタースレイブ
形式のフリップフロップを単位ステージ止する同期カウ
ンタによって構成されるタイムベースカウンタ5000
のカウントクロック信号波形を示したものであり、その
矢印を付したリーディングエツジ(前縁)において各単
位ステージのフリップフロップのマスタ一部の出力が変
化し、トレイリングエツジ(後縁)においてスレイプ部
の出力が変化する。第4図りは第4図AおよびBの信号
波形から作りだされるデータ転送用のクロック信号波形
を示したもので、第3図のデータ転送りコック入力端子
802に供給される。Next, FIG. 3 shows the capture controller 80 of FIG.
0 is a logic circuit diagram showing a specific configuration example of 0, and the external signal input terminals 20, 30, 40, 50, 60, 70 are equipped with control units 810, 820, 83 of the same configuration.
0, 840.850.860, and each of the control units 810 to 860 has a common reference clock input terminal 801 and a data transfer lock input terminal 802 to the capture register block 700, and further has an individual clock input terminal 802. It has reset signals 811-861, individual flag output terminals 812-862, and individual data transfer terminals 813-863. FIG. 4 is a timing chart for explaining the operation of the control unit 810 that constitutes the capture controller 800 shown in FIG.
FIG. 4B shows the clock signal waveform applied to the fourth clock.
This is a signal waveform obtained by frequency-dividing the signal waveform in Figure A, and this signal is used as a reference clock signal at the reference clock input terminal 8 in Figure 3.
01. Further, FIG. 4C shows a time base counter 5000 constituted by a synchronous counter that stops a master-slave type flip-flop in a unit stage.
This figure shows the count clock signal waveform of 1. The output of the master part of the flip-flop of each unit stage changes at the leading edge (the leading edge) marked with an arrow, and the output of the master part of the flip-flop of each unit stage changes at the trailing edge (the trailing edge). output changes. The fourth diagram shows a clock signal waveform for data transfer created from the signal waveforms of FIGS. 4A and B, and is supplied to the data transfer cock input terminal 802 of FIG.
さて、第3図の外部信号入力端子20に第4図Eに示し
た信号波形が印加されると、そのリーディングエツジが
到来した後、基準クロック入力端子801のレベルが“
1゛に移行した時点においてNANDゲート814の出
力レベルが第4図Fに示す如く “1゛に移行し、さら
に、前記基準クロック入力端子8010レベルが“O+
Qこ移行した時点においてNANDゲート815に出
力レベルが第4図Gに示す如く “1゛に移行し、続い
て、前記基準クロック入力端子8010レベルが再び“
1”に移行すると、NANDゲート816の出力レベル
か第4図Hに示す如く °ビに移行する。前記NAND
ゲート814.815.816はいずれも対になる別の
NANDゲートと双安定回路を構成しているので、出力
レベルが“1“に移行すると別のN A N Dゲート
側にリセット信号が印加されるまではその状態を保持す
るが、前記N A N Dゲート816の出力レベルが
“1゛に移行した時点で、対になるNANDゲート81
7の出力レベルが“0′に移行し、ANDゲート818
の出力レベルも′0゛に移行するので、前記NANDゲ
ート814.815の出力レベルは“0゛に戻る。Now, when the signal waveform shown in FIG. 4E is applied to the external signal input terminal 20 of FIG. 3, the level of the reference clock input terminal 801 becomes "
At the time when the output level of the NAND gate 814 shifts to "1" as shown in FIG. 4F, the level of the reference clock input terminal 8010 shifts to "O+".
At the time when the Q transition occurs, the output level of the NAND gate 815 transitions to "1" as shown in FIG.
1", the output level of the NAND gate 816 shifts to "B" as shown in FIG. 4H.
Each of the gates 814, 815, and 816 forms a bistable circuit with another NAND gate in pair, so when the output level shifts to "1", a reset signal is applied to the other NAND gate. However, when the output level of the NAND gate 816 shifts to "1", the paired NAND gate 81
7's output level transitions to "0'" and the AND gate 818
Since the output level of the NAND gates 814 and 815 also shifts to '0', the output levels of the NAND gates 814 and 815 return to '0'.
このようにして、外部信号入力端子20に外部信号のリ
ーディングエツジが到来すると、第3図のデータ転送端
子813にはANDゲート819を介して第4図1に示
すような信号波形が送出され、この信号によって第1図
のタイムベースカウンタ500からキャプチャレジスタ
ブロック700へのカウントデータの転送が行われる。In this way, when the leading edge of the external signal arrives at the external signal input terminal 20, a signal waveform as shown in FIG. 4 is sent to the data transfer terminal 813 in FIG. 3 via the AND gate 819. This signal causes count data to be transferred from time base counter 500 to capture register block 700 in FIG.
なお、前記NANDゲート816の出力信号はフラグ出
力端子812に送出されて、前記タイムベースカウンタ
5000カウントデータの転送が行われたことを示すキ
ャプチャフラグ信号として利用され、リセット端子81
1にはこのキャプチャフラグがセットされていることを
ソフトウェア(プログラム)によって確認された後にリ
セット信号が印加される。The output signal of the NAND gate 816 is sent to the flag output terminal 812 and is used as a capture flag signal indicating that the time base counter 5000 count data has been transferred.
1, a reset signal is applied after software (program) confirms that this capture flag is set.
つぎに、第5図はキャプチャレジスタブロック700の
具体例を示した構成図であり、データ入力端子がそれぞ
れDO端子〜D15端子に接続され、データ出力端子が
それぞれD1端子〜D16端子に接続された16個のメ
モリセルによって構成された単位レジスタ710.72
0.730.740と、データ入力端子と、データ出力
端子がともにそれぞれD1端子〜D16端子に接続され
た16個のメモリセルによって構成された単位レジスタ
750.760によって全体を構成している。なお、各
単位レジスタ710〜760はそれぞれ2個のコントロ
ール信号入力端子を有し、読み込み端子711〜761
にはそれぞれ第3図に示したキャプチャコントローラ8
00からのデータ転送信号が印加され、セレクト端子7
12〜762には各単位レジスタの出力側をアクティブ
状態にしてデータ出力用の00端子〜015端子を介し
て第1図のデータバス600に読みだすためのセレクト
信号が印加される。Next, FIG. 5 is a configuration diagram showing a specific example of the capture register block 700, in which data input terminals are connected to the DO terminal to D15 terminal, respectively, and data output terminals are connected to the D1 terminal to D16 terminal, respectively. Unit register 710.72 configured by 16 memory cells
0.730.740, and unit registers 750.760 constituted by 16 memory cells whose data input terminals and data output terminals are connected to terminals D1 to D16, respectively. Note that each unit register 710 to 760 has two control signal input terminals, one for reading terminals 711 to 761;
are each equipped with a capture controller 8 shown in Figure 3.
The data transfer signal from 00 is applied, and the select terminal 7
A select signal is applied to 12 to 762 for activating the output side of each unit register and reading it out to the data bus 600 in FIG. 1 via the data output terminals 00 to 015.
さて、第5図において単位レジスタ710〜740のデ
ータ入力端子とデータ出力端子の接続位置が1ビット分
だけシフトされているが、これはっぎのような理由によ
る。Now, in FIG. 5, the connection positions of the data input terminals and data output terminals of the unit registers 710 to 740 are shifted by one bit, but this is due to the following reason.
すなわち、単位レジスタ750〜760については外部
信号のエツジの取り込みタイミングの分解能を高くする
ためにタイムベースカウンタ500のLSB(i下位ビ
ット)と単位レジスタ710〜740については前記単
位レジスタ750〜760と同じビット数で2倍のイン
ターバルまで一度に処理できるようにデータの入力端子
を1ビット分だけ左シフトさせている。That is, the unit registers 750 to 760 are the same as the unit registers 750 to 760, and the LSB (i lower bit) of the time base counter 500 and the unit registers 710 to 740 are the same as the unit registers 750 to 760. The data input terminal is shifted to the left by one bit so that up to twice the number of bits can be processed at once.
このような単位レジスタ710〜740のビットシフト
構成により、例えば、基準値クロック信号のFl 波数
を2メガヘルツに選定したとき単位レジスタ750〜7
60からは500ナノセカンドの分解能を有するカウン
トデータが得られ、一方、単位レジスタ710〜740
からは30ヘルツ程度の周波数を有する外部信号の到来
周期を一度の処理で計測することができる。With such a bit shift configuration of the unit registers 710 to 740, for example, when the Fl wavenumber of the reference value clock signal is selected to be 2 MHz, the unit registers 750 to 7
60 provides count data with a resolution of 500 nanoseconds, while unit registers 710-740
With this method, the arrival period of an external signal having a frequency of about 30 hertz can be measured in one process.
発明の効果
本発明のキャプチャ機構を有するマイクロプロセッサは
以上の説明からも明らかなように、基準クロック信号を
カウントするタイムベースカウンタ500と、キャプチ
ャ信号のエツジが到来したときに前記タイムベースカウ
ンタから、最小分解精度が命令の実行サイクルよりも高
いカウントデータを取り込み、命令実行手段(第1図の
実施例においては命令実行回路400によって構成され
ている。)からの特定の命令によってその結果を演算手
段(実施例においてはALU300によって構成されて
いる。)もしくはメモリ手段(実施例においてはレジス
タ100またはRAM200によって構成されている。Effects of the Invention As is clear from the above description, the microprocessor having the capture mechanism of the present invention includes a time base counter 500 that counts the reference clock signal, and when an edge of the capture signal arrives, from the time base counter, The count data whose minimum decomposition accuracy is higher than the execution cycle of the instruction is taken in, and the result is calculated by a specific instruction from the instruction execution means (in the embodiment shown in FIG. 1, it is constituted by the instruction execution circuit 400). (In the embodiment, it is constituted by an ALU 300.) or memory means (In the embodiment, it is constituted by a register 100 or a RAM 200.)
)に送出するキャプチャ回路(実施例においてはキャプ
チャコントローラ800とキャプチャレジスタブロック
700によって構成されている。)を備えたことを特徴
とするもので、タイムベースカウンタ500のクロック
周波数を命令実行回路400による命令実行サイクルに
制約されることなしに高く設定することができるので、
プロセッサの命令の実行サイクルとは非同期で到来する
外部入力信号の処理精度の高いマイクロプロセッサが得
られ、大なる効果を奏する。) (In the embodiment, it is composed of a capture controller 800 and a capture register block 700). Since it can be set high without being constrained by the instruction execution cycle,
A microprocessor with high accuracy in processing external input signals that arrive asynchronously with the instruction execution cycle of the processor can be obtained, and a great effect can be achieved.
第1図は本発明の一実施例におけるマイクロプロセッサ
の構成図、第2図は第1図の主要部のタイミングチャー
ト、第3図は第1図のキャプチャコントローラ800の
具体的な論理回路図、第4図は第3図の回路の動作を説
明するためのタイミングチャート、第5図はキャプチャ
レジスタブロック700の構成図である。
100・・・・・・レジスタ、200・・・・・・RA
M、 300・・・・・・ALU、400・・・・・
・命令実行回路、500・・・・・・タイムヘースカウ
ンタ、700・・・・・・キャプチャレジスタブロック
、800・・・・・・キャプチャコントローラ。FIG. 1 is a configuration diagram of a microprocessor in an embodiment of the present invention, FIG. 2 is a timing chart of the main parts of FIG. 1, and FIG. 3 is a specific logic circuit diagram of the capture controller 800 of FIG. 1. FIG. 4 is a timing chart for explaining the operation of the circuit shown in FIG. 3, and FIG. 5 is a configuration diagram of the capture register block 700. 100...Register, 200...RA
M, 300...ALU, 400...
- Instruction execution circuit, 500... Time counter, 700... Capture register block, 800... Capture controller.
Claims (2)
の演算を実行する演算手段と、逐次実行すべき命令を格
納し、その命令に基づいて前記メモリ手段と前記演算手
段の動作をコントロールする命令実行手段と、基準クロ
ック信号をカウントするタイムベースカウンタと、キャ
プチャ信号のエッジが到来したときに前記タイムベース
カウンタから最小分解精度が命令の実行サイクルよりも
高いカウントデータを取り込み、前記命令実行手段から
の特定の命令によってその結果を前記演算手段もしくは
前記メモリ手段に送出するキャプチャ回路を備えてなる
キャプチャ機構を有するマイクロプロセッサ。(1) Memory means for temporarily storing data, arithmetic means for performing operations on data, and instructions to be executed sequentially are stored, and operations of the memory means and the arithmetic means are controlled based on the instructions. an instruction execution means; a time base counter that counts a reference clock signal; and a time base counter that captures count data having a minimum resolution accuracy higher than an instruction execution cycle from the time base counter when an edge of a capture signal arrives; A microprocessor having a capture mechanism comprising a capture circuit that sends a result to the arithmetic means or the memory means according to a specific instruction from the microprocessor.
れ、その出力データが演算手段に接続されるデータバス
に送出されるキャプチャレジスタと、キャプチャ信号の
エッジが到来したときに前記タイムベースカウンタのカ
ウントデータを前記キャプチャレジスタに転送するキャ
プチャコントローラによってキャプチャ回路を構成した
ことを特徴とする特許請求の範囲第(1)項記載のキャ
プチャ機構を有するマイクロプロセッサ。(2) A capture register to which the count data of the time base counter is supplied and whose output data is sent to a data bus connected to the arithmetic means; A microprocessor having a capture mechanism according to claim 1, wherein a capture circuit is configured by a capture controller that transfers data to the capture register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21096086A JPH0772890B2 (en) | 1986-09-08 | 1986-09-08 | Microprocessor with cap mechanism |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP21096086A JPH0772890B2 (en) | 1986-09-08 | 1986-09-08 | Microprocessor with cap mechanism |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6366657A true JPS6366657A (en) | 1988-03-25 |
JPH0772890B2 JPH0772890B2 (en) | 1995-08-02 |
Family
ID=16597960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP21096086A Expired - Fee Related JPH0772890B2 (en) | 1986-09-08 | 1986-09-08 | Microprocessor with cap mechanism |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0772890B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02155484A (en) * | 1988-12-05 | 1990-06-14 | Matsushita Electric Ind Co Ltd | Microprocessor having capture mechanism |
-
1986
- 1986-09-08 JP JP21096086A patent/JPH0772890B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02155484A (en) * | 1988-12-05 | 1990-06-14 | Matsushita Electric Ind Co Ltd | Microprocessor having capture mechanism |
Also Published As
Publication number | Publication date |
---|---|
JPH0772890B2 (en) | 1995-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1180455A (en) | Pipelined microprocessor with double bus architecture | |
US5117387A (en) | Microprogrammed timer processor | |
JPS648374B2 (en) | ||
JPS6381567A (en) | Logic simulation processor | |
JPS6366657A (en) | Microprocessor having capture mechanism | |
KR930005771B1 (en) | Interrupt control circuit | |
JPS6366658A (en) | Microprocessor having capture mechanism | |
US5115513A (en) | Microprogrammed timer processor | |
JPS6367667A (en) | Microprocessor containing analog/digital conversion mechanism | |
JP2778066B2 (en) | Microprocessor with capture mechanism | |
JPS62279438A (en) | Tracking circuit | |
JPH0584545B2 (en) | ||
JP2692865B2 (en) | Sequencer differential instruction processing method | |
JPS6052449B2 (en) | Interrupt processing method | |
JPH0797366B2 (en) | Microprocessor with capture mechanism | |
JPS61501661A (en) | Parallel synchronous operation | |
JPS62166463A (en) | Data transfer system | |
SU1332328A1 (en) | Processor | |
JP2668215B2 (en) | Micro computer | |
JPH0584547B2 (en) | ||
JPH03161883A (en) | Microprocessor | |
JPH02287629A (en) | Microprocessor | |
JPH02105945A (en) | Microcomputer with trigger output | |
JPH03134737A (en) | Microprocessor | |
JPS6112575B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |