JP2668215B2 - Micro computer - Google Patents

Micro computer

Info

Publication number
JP2668215B2
JP2668215B2 JP62214835A JP21483587A JP2668215B2 JP 2668215 B2 JP2668215 B2 JP 2668215B2 JP 62214835 A JP62214835 A JP 62214835A JP 21483587 A JP21483587 A JP 21483587A JP 2668215 B2 JP2668215 B2 JP 2668215B2
Authority
JP
Japan
Prior art keywords
data
bus
address
internal
timing
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
Application number
JP62214835A
Other languages
Japanese (ja)
Other versions
JPS6458041A (en
Inventor
芳幸 宮山
卓士 松垣
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP62214835A priority Critical patent/JP2668215B2/en
Publication of JPS6458041A publication Critical patent/JPS6458041A/en
Application granted granted Critical
Publication of JP2668215B2 publication Critical patent/JP2668215B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、外部の周辺回路をアクセスするための、デ
ータバスとアドレスバスを持つマイクロコンピュータに
関する。 〔従来の技術〕 従来のマイクロコンピュータにおいては、例えば、ロ
ックウェル社のR6500マイクロコンピュータシステム
ハイドウェアマニュアル 第1章にあるように、システ
ムクロックはφ1と、φ1と180゜位相の異なるφ2
の、2つのシステムクロックを持ち、マイクロコンピュ
ータの各構成要素の基本的なタイミング信号となってい
た。その動作を、第2図のタイムチャートに示す。1
は、アドレス遅延時間、2はリードサイクルにおけるデ
ータセットアップ時間、3は、周辺回路のアドレスアク
セス時間、4は、バスサイクルである。その動作はシス
テムクロックφ1で、マイクロコンピュータは、アドレ
スを、内部アドレスバスを介して、外部アドレスバスへ
出力し、システムクロックφ2で、外部データバス上
の、データを、内部データバスを介して、内部レジスタ
へ入力するものである。 通常、このシステムにおいては、AC特性を保証するた
め、アドレス出力回路は、ハーフラッチ構成となってい
る。従って、φ1=“H"の期間の途中で、アドレスが、
確定することになる。また、データ入力回路は、データ
スルーの構成で、φ2=“H"のタイミングで、外部デー
タバスのデータを、スルーさせて、内部データバスを介
して、内部レジスタに入力する。 〔発明が解決しようとする問題点〕 しかし、従来のマイクロコンピュータにおいては、前
記の構成をとっているため、AC特性上、1つのバスサイ
クルの中に占める、アドレスの遅延時間1が大きく、ま
た、データ入力のためのセットアップ時間2も、大きな
割合を占めていた。 そのため、外部の周辺回路のアドレスアクセス時間3
に対して、バスサイクル4が、非常に長いものとなって
いて、マイクロコンピュータの実行速度を落すという問
題点を有していた。 本発明は、このような問題点を解決して、マイクロプ
ロセッサのバスサイクル4を短かくし、実行速度を、上
げることを目的とする。 〔問題点を解決するため手段〕 本発明のマクロコンピュータは、基本クロックから位
相の異なる複数の制御クロックを発生させる制御クロッ
ク発生手段と、外部から入力されるデータを保持する入
力データ保持手段とを備え、レジスタから内部アドレス
バスへのアドレスの出力と前記内部アドレスバスから外
部アドレスバスへの前記アドレスの出力は互いに異なる
前記制御クロックに基づき形成されたタイミング信号に
より制御され、かつ前記入力データ保持手段の前記デー
タを保持するタイミングと内部データバスに前記データ
を出力するタイミングは互いに異なる前記制御クロック
に基づき形成されたタイミング信号により制御されてな
ることを特徴とする。 また、本発明のマイクロコンピュータは、外部の周辺
回路をアクセスするための外部データバスを有するマイ
クロコンピュータにおいて、内部データバスと、互いに
位相の異なる3つのシステムクロックを発生させるシス
テムクロック発生回路と、データ入力回路とを備え、前
記外部データバスからのデータを前記データ入力回路に
保持するタイミングと該データ入力回路のデータを前記
内部データバスに出力するタイミングとが異なる前記シ
ステムクロックで制御されてなることを特徴とする。 〔作用〕 本発明の上記の構成によれば、アドレス遅延時間と、
データセットアップ時間を、最小に、おさえることがで
きるので、高速なバスサイクルで動作するマイクロコン
ピュータが、実現できる。 〔実施例〕 第1図は、本発明の1実施例を示すブロック図であ
り、5は外部データバス、6はハーフラッチ構成のデー
タ入力回路、7はデータ出力回路、8は内部データバ
ス、9のACC,X,Y,S,PCH,PCL,P,A,B,Cは各々内部レジス
タ、10は算術論理演算ユニット(ALU)、11は内部アド
レスバス、12はフリップフロップ構成のアドレス出力回
路、13は外部アドレスバス、14,15,16は各々システムク
ロックS1,S2,S3,17は前記3つのシステムクロックS1,S
2,S3,を発生するシステムクロック発生回路、18は制御
回路、19は、データ入力回路6が、外部データバス5上
のデータをラッチするタイミング信号、20は、データ入
力回路6がラッチしているデータを内部データバス8に
出力するタイミング信号、21と22は、各々内部レジスタ
9のデータを、内部アドレスバス11に出力するタイミン
グ信号、23は、アドレス出力回路12が、内部アドレスバ
ス11上のデータを取り込むタイミング信号である。 第3図に、本実施例での動作をタイムチャートで示
す。1〜4及び19〜23は各々、第2図、第1図と共通す
る。 S1,S2,S3は、論理設計上、互いに120゜位相の異なる
システムクロックで、S1では主に、データ入力回路6か
らデータを、内部データバス8を介して内部レジスタ9
に転送するタイミングであり、S2は、制御回路18が制御
信号19〜23を出力するまでの待ち時間であり、かつ、マ
イクロコンピュータが持つ種々のテンポラリレジスタが
データをラッチするタイミングでもある。S3は主に、内
部レジスタ9間のデータ転送や、内部アドレスバス11を
介しての、外部アドレスバス13へのアドレス出力、また
は、データ入力回路6への入力データのラッチを行なう
タイミングである。 本実施例のマイクロコンピュータにおいては、タイミ
ング信号23の立下りで、あらかじめ、タイミング信号2
1,22のタイミングで、内部アドレスバス11上に出力され
ているアドレスを外部アドレスバス13へ出力する。アド
レス出力回路12は、フリップフロップ構成のため、タイ
ミング信号23の立下りに対するアドレスの遅延時間1
は、フリップフロップから出力ドライバーに至る短経路
の遅延時間のみであり、回路構成上の最短時間におさえ
られている。 また、データの入力に関しては、タイミング信号19の
立下りで、外部データバス5上のデータを、データ入力
回路6にラッチし、次のタイミング信号20の、タイミン
グで、ラッチしたデータを、内部データバス8を介し
て、内部レジスタ9へ転送する。従って、タイミング信
号19の立下りに対する、データセットアップ時間2は、
外部データバス5からデータ入力回路6までの遅延時間
となり、やはり回路構成上の最短時間におさえられてい
る。 〔発明の効果〕 本発明のマクロコンピュータは、基本クロックから位
相の異なる複数の制御クロックを発生させる制御クロッ
ク発生手段と、外部から入力されるデータを保持する入
力データ保持手段とを備え、レジスタから内部アドレス
バスへのアドレスの出力と前記内部アドレスバスから外
部アドレスバスへの前記アドレスの出力は互いに異なる
前記制御クロックに基づき形成されたタイミング信号に
より制御され、かつ前記入力データ保持手段の前記デー
タを保持するタイミングと内部データバスに前記データ
を出力するタイミングは互いに異なる前記制御クロック
に基づき形成されたタイミング信号により制御されてな
るものであるため、AC特性上で、バスサイクルに対する
マイクロコンピュータが占有する時間、すなわち、アド
レスの遅延時間、あるいはデータセットアップ時間を短
縮することができる。すなわち、本発明のマイクロコン
ピュータによれば、一定のアドレスアクセス時間を持つ
周辺回路に対して、より処理能力の高いシステムを提供
することができる。
The present invention relates to a microcomputer having a data bus and an address bus for accessing an external peripheral circuit. [Prior Art] In a conventional microcomputer, for example, a Rockwell R6500 microcomputer system is used.
As described in Chapter 1 of the Hardware Manual, the system clock is φ1 and φ2 is 180 ° out of phase with φ1.
It has two system clocks and is a basic timing signal for each component of the microcomputer. The operation is shown in the time chart of FIG. 1
Is an address delay time, 2 is a data setup time in a read cycle, 3 is an address access time of a peripheral circuit, and 4 is a bus cycle. The operation is as follows: the microcomputer outputs an address to the external address bus via the internal address bus at the system clock φ1, and the system clock φ2 outputs the data on the external data bus via the internal data bus. Input to the internal register. Usually, in this system, the address output circuit has a half-latch structure in order to guarantee the AC characteristics. Therefore, during the period of φ1 = “H”, the address becomes
Will be determined. Further, the data input circuit has a data through configuration and passes data on the external data bus at the timing of φ2 = “H” and inputs the data to the internal register via the internal data bus. [Problems to be Solved by the Invention] However, since the conventional microcomputer has the above-mentioned configuration, the delay time 1 of the address occupied in one bus cycle is large due to the AC characteristics, and The setup time 2 for inputting data was also a large proportion. Therefore, the address access time of the external peripheral circuit is 3
On the other hand, the bus cycle 4 is very long, which causes a problem that the execution speed of the microcomputer is reduced. An object of the present invention is to solve such a problem and shorten the bus cycle 4 of the microprocessor to increase the execution speed. [Means for Solving the Problems] The microcomputer of the present invention includes a control clock generating means for generating a plurality of control clocks having different phases from a basic clock, and an input data holding means for holding data input from the outside. Output of an address from a register to an internal address bus and output of the address from the internal address bus to an external address bus are controlled by timing signals formed based on the control clocks different from each other, and the input data holding means The timing for holding the data and the timing for outputting the data to the internal data bus are controlled by timing signals formed based on the different control clocks. A microcomputer according to the present invention is a microcomputer having an external data bus for accessing an external peripheral circuit, comprising: an internal data bus; a system clock generating circuit for generating three system clocks having phases different from each other; An input circuit, wherein a timing of holding data from the external data bus in the data input circuit and a timing of outputting data of the data input circuit to the internal data bus are controlled by different system clocks. It is characterized by. [Operation] According to the above configuration of the present invention, the address delay time,
Since the data setup time can be minimized, a microcomputer operating with a high-speed bus cycle can be realized. Embodiment FIG. 1 is a block diagram showing one embodiment of the present invention, in which 5 is an external data bus, 6 is a data input circuit having a half-latch configuration, 7 is a data output circuit, 8 is an internal data bus, 9 ACC, X, Y, S, PCH, PCL, P, A, B, C are internal registers, 10 is an arithmetic and logic unit (ALU), 11 is an internal address bus, 12 is a flip-flop address output Circuit, 13 is an external address bus, 14, 15, and 16 are system clocks S1, S2, S3, and 17 are the three system clocks S1, S, respectively.
2, a system clock generating circuit that generates S3, 18 is a control circuit, 19 is a timing signal that the data input circuit 6 latches data on the external data bus 5, and 20 is a timing signal that the data input circuit 6 latches. Timing signals for outputting the data stored in the internal data bus 8 to the internal data bus 8; timing signals 21 and 22 for outputting the data of the internal register 9 to the internal address bus 11; Is a timing signal for taking in the data of FIG. FIG. 3 is a time chart showing the operation of this embodiment. 1 to 4 and 19 to 23 are common to FIG. 2 and FIG. 1, respectively. S1, S2, and S3 are system clocks having phases different from each other by 120 ° in terms of logical design. In S1, mainly data from the data input circuit 6 is transferred to the internal register 9 via the internal data bus 8.
S2 is a waiting time until the control circuit 18 outputs the control signals 19 to 23, and is a timing at which various temporary registers of the microcomputer latch data. S3 is a timing for mainly performing data transfer between the internal registers 9, outputting an address to the external address bus 13 via the internal address bus 11, or latching input data to the data input circuit 6. In the microcomputer of this embodiment, the timing signal 2 is previously set at the falling edge of the timing signal 23.
At the timing of 1,22, the address output on the internal address bus 11 is output to the external address bus 13. Since the address output circuit 12 has a flip-flop configuration, the address delay time 1 with respect to the fall of the timing signal 23 is set.
Is only the delay time of the short path from the flip-flop to the output driver, which is the shortest in the circuit configuration. As for the data input, the data on the external data bus 5 is latched by the data input circuit 6 at the falling edge of the timing signal 19, and the latched data at the next timing of the timing signal 20 is converted into the internal data. Transfer to the internal register 9 via the bus 8. Therefore, the data setup time 2 for the fall of the timing signal 19 is
The delay time from the external data bus 5 to the data input circuit 6 is also kept to the shortest time in the circuit configuration. [Effects of the Invention] A microcomputer of the present invention includes a control clock generating means for generating a plurality of control clocks having different phases from a basic clock, and an input data holding means for holding data input from the outside, and The output of the address to the internal address bus and the output of the address from the internal address bus to the external address bus are controlled by a timing signal formed based on the different control clocks, and the data of the input data holding means is Since the timing of holding and the timing of outputting the data to the internal data bus are controlled by timing signals formed based on the different control clocks, the microcomputer occupies the bus cycle on the AC characteristics. Time, ie address Delay time, or it is possible to shorten the data setup time. That is, according to the microcomputer of the present invention, it is possible to provide a system with higher processing capability for peripheral circuits having a fixed address access time.

【図面の簡単な説明】 第1図は本発明の一実施例のブロック図。 第2図は、従来の技術の動作を示すタイムチャート。 第3図は、第1図の動作を示すタイムチャート。 図において、 5は、外部データバス 13は、外部アドレスバス 14,15,16は、各々、システムクロックS1,S2,S3 1は、アドレスの遅延時間 2は、データセットアップ時間 3は、周辺回路のアドレスアクセス時間 4は、バスサイクルを示す[Brief description of the drawings] FIG. 1 is a block diagram of an embodiment of the present invention. FIG. 2 is a time chart showing the operation of the conventional technique. FIG. 3 is a time chart showing the operation of FIG. In the figure, 5 is an external data bus 13 is the external address bus 14, 15 and 16 are system clocks S1, S2 and S3, respectively. 1 is the delay time of the address 2 is the data setup time 3 is the address access time of the peripheral circuit 4 indicates a bus cycle

フロントページの続き (56)参考文献 特開 昭60−83166(JP,A) 特開 昭60−215236(JP,A) 特開 昭62−182824(JP,A)Continuation of front page    (56) References JP-A-60-83166 (JP, A)                 JP-A-60-215236 (JP, A)                 JP 62-182824 (JP, A)

Claims (1)

(57)【特許請求の範囲】 1.基本クロックから位相の異なる複数の制御クロック
を発生させる制御クロック発生手段と、 外部から入力されるデータを保持する入力データ保持手
段とを備え、 レジスタから内部アドレスバスへのアドレスの出力と前
記内部アドレスバスから外部アドレスバスへの前記アド
レスの出力は互いに異なる前記制御クロックに基づき形
成されたタイミング信号により制御され、 かつ前記入力データ保持手段の前記データを保持するタ
イミングと内部データバスに前記データを出力するタイ
ミングは互いに異なる前記制御クロックに基づき形成さ
れたタイミング信号により制御されてなることを特徴と
するマイクロコンピュータ。 2.外部の周辺回路をアクセスするための外部データバ
スを有するマイクロコンピュータにおいて、 内部データバスと、 互いに位相の異なる3つのシステムクロックを発生させ
るシステムクロック発生回路と、 データ入力回路とを備え、 前記外部データバスからのデータを前記データ入力回路
に保持するタイミングと該データ入力回路のデータを前
記内部データバスに出力するタイミングとが異なる前記
システムクロックで制御されてなることを特徴とするマ
イクロコンピュータ。 3.外部アドレスバスと内部アドレスバスとを有し、レ
ジスタから該内部アドレスバスへのアドレスの出力と、
該内部アドレスバスから前記外部アドレスバスへの制御
が異なる前記システムクロックで行われることを特徴と
する特許請求の範囲第2項記載のマイクロコンピュー
タ。
(57) [Claims] Control clock generating means for generating a plurality of control clocks having different phases from the basic clock; and input data holding means for holding data input from the outside; outputting an address from a register to an internal address bus; The output of the address from the bus to the external address bus is controlled by a timing signal formed based on the control clocks different from each other, and the timing of holding the data of the input data holding means and outputting the data to the internal data bus A microcomputer which is controlled by a timing signal formed based on the control clocks different from each other. 2. A microcomputer having an external data bus for accessing an external peripheral circuit, comprising: an internal data bus; a system clock generating circuit for generating three system clocks having mutually different phases; and a data input circuit; A microcomputer characterized in that timing for holding data from a bus in the data input circuit and timing for outputting data from the data input circuit to the internal data bus are controlled by the different system clock. 3. An address output from the register to the internal address bus, having an external address bus and an internal address bus;
3. The microcomputer according to claim 2, wherein control from said internal address bus to said external address bus is performed by said different system clock.
JP62214835A 1987-08-28 1987-08-28 Micro computer Expired - Lifetime JP2668215B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62214835A JP2668215B2 (en) 1987-08-28 1987-08-28 Micro computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62214835A JP2668215B2 (en) 1987-08-28 1987-08-28 Micro computer

Publications (2)

Publication Number Publication Date
JPS6458041A JPS6458041A (en) 1989-03-06
JP2668215B2 true JP2668215B2 (en) 1997-10-27

Family

ID=16662324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62214835A Expired - Lifetime JP2668215B2 (en) 1987-08-28 1987-08-28 Micro computer

Country Status (1)

Country Link
JP (1) JP2668215B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6083166A (en) * 1983-10-14 1985-05-11 Hitachi Ltd Semiconductor integrated circuit device

Also Published As

Publication number Publication date
JPS6458041A (en) 1989-03-06

Similar Documents

Publication Publication Date Title
EP0102242B1 (en) Data processing apparatus
EP0242879B1 (en) Data processor with wait control allowing high speed access
JPH05197673A (en) Logic circuit
JP2668215B2 (en) Micro computer
US5045999A (en) Multi-function timing sequencer for different speed main storage units
EP0334623A2 (en) Arbitration system
JPH0551931B2 (en)
JP2870812B2 (en) Parallel processor
JPS62123526A (en) Central processing unit for digital signal processor
KR930000670B1 (en) Interface circuit of common ram between main cpu and sub-cpu
JPS62154057A (en) Signal control circuit
JPS6313195A (en) High speed memory device
JP2716284B2 (en) Semiconductor integrated circuit
JPS62208131A (en) Electronic computer
JPH0612313A (en) Memory device
JPH0767288B2 (en) Gate pulse controller for thyristor inverter
JPH03214275A (en) Semiconductor integrated circuit
JPH07120325B2 (en) Integrated circuit for controlling cache memory
JPH02278442A (en) Address confirming signal sending circuit
JPH0225539B2 (en)
JPS6246017B2 (en)
JPH02171812A (en) Operating speed increasing circuit for processor having no wait state function
JPH04360217A (en) Method for reading counter
JP2001117811A (en) Bus control circuit
JPH05313796A (en) Interface circuit