JPS60112158A - Control circuit of peripheral device - Google Patents

Control circuit of peripheral device

Info

Publication number
JPS60112158A
JPS60112158A JP21942883A JP21942883A JPS60112158A JP S60112158 A JPS60112158 A JP S60112158A JP 21942883 A JP21942883 A JP 21942883A JP 21942883 A JP21942883 A JP 21942883A JP S60112158 A JPS60112158 A JP S60112158A
Authority
JP
Japan
Prior art keywords
peripheral device
signal
reference signal
control circuit
cpu
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.)
Pending
Application number
JP21942883A
Other languages
Japanese (ja)
Inventor
Toyota Honda
豊太 本多
Shigeru Hirahata
茂 平畠
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21942883A priority Critical patent/JPS60112158A/en
Publication of JPS60112158A publication Critical patent/JPS60112158A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4234Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a memory bus
    • G06F13/4243Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being a memory bus with synchronous protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/423Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with synchronous protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To allow a peripheral device, which is operating in synchronization with a reference signal, to be accessed by a CPU, which is operating at higher speed than the reference signal, without changing the frequency of the reference signal by providing an access timing detection circuit, etc. CONSTITUTION:When a CPU1 accesses to a peripheral device 2, a detection signal 11 is given to an access timing detection circuit 13 through a detection circuit 3. The interior of the detection circuit 13 corresponds to a phase of the detection signal 11 for a reference signal 16, and outputs an access timing detection signal 18 to an action speed control circuit 4. The circuit 4 weights the CPU1 according to the signal 18, so that an E clock 8 is outputted from the CPU1, and due to the E clock 8, a select signal 17 is outputted from the circuit 13. The signal 17 allows secure input/output of an address and data during a specific period of one frequency of the reference signal 16 so that the device 2 will not execute an erroneous operation. By providing the circuit 13, etc., a CPU operating more quickly than the reference signal can access without changing frequency of the reference signal.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、計算機システム等において演−算処理装置が
その動作速度よりも遅い周辺装置をアクセスすることが
可能な周辺装置制御回路に関するものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a peripheral device control circuit that allows an arithmetic processing unit in a computer system or the like to access a peripheral device that is slower than its operating speed. .

〔発明の背景〕[Background of the invention]

演算処理装置がその動作速度よりも遅い周辺装置をアク
セスする場合、従来法に示すような方法が考えられてい
た。
When an arithmetic processing unit accesses a peripheral device whose operating speed is slower than its operating speed, conventional methods have been considered.

第1図は、その−例を示したものであり、図において、
1は演算処理’IMMC以下、CPUと略す)、2は周
辺装置、3は周辺装置アクセスの検出回路、4はCPU
の動作速度制御回路、5はCPUを動作させるためのク
ロ、ツク信号、6はデータバス、7は了ドレスノ(ス、
sハc’PUのバスサイクルを示す)(スサイクル信号
、9は周辺装置へ与えるイネーブル信号(周辺装置のア
クセス■」能期間を示す信号)、10は周辺装。
Figure 1 shows an example of this.
1 is an arithmetic processing unit (hereinafter referred to as IMMC, abbreviated as CPU), 2 is a peripheral device, 3 is a peripheral device access detection circuit, and 4 is a CPU
5 is a clock and clock signal for operating the CPU, 6 is a data bus, and 7 is an output speed control circuit.
s indicates a bus cycle of c'PU) (a cycle signal; 9 is an enable signal given to a peripheral device (a signal indicating the access period of the peripheral device); 10 is a peripheral device.

置を選択するためのチ1,7′セレクト信号、11は周
辺装置のアクセス検出信号、12はctUの速度制御信
号である。ここでaplとして、日立製マイクロコンピ
ュータ6so’qを考えるとバスサイクル信号8は68
o9のEクロック信号に相当し、速度制御信号12は6
8o9へのMREADY信号に相当する。このような構
成において、周辺装備2がCPU1の動作速度の1Aで
動作する場合(例えば、CPU1か’ 2 MHzで動
作し、周辺装置2がI MHzで動作する場合など)の
タイミング図を示したのが第2図であるb図において、
同図(a)は8のEクロックを示し、同図(b)は9の
イネーブル信号を、同図(c)は1oのチップセレクト
信号を示している。この方法は周辺装置2のアクセスを
検出回路6で検出し、その時だけCPU1の動作速度を
周辺装置2の動作速度に合わせると共に、イネーブル信
号9とチップセレクト信号10を周辺装置2に与えてア
クセスを実行するものである。しかしながら、この方法
は周辺装備2をアクセスする時にしかイネーブル信号9
を周辺装置2に与えないため、イネーブル信号9を装置
のタイミング信号として使用しているような周辺装置(
例えば、日立製ICHD6821等を用いた周辺装置)
に適用することはできないという欠点を持っている。
11 is a peripheral device access detection signal, and 12 is a speed control signal for ctU. Here, if we consider the Hitachi microcomputer 6so'q as apl, the bus cycle signal 8 is 68.
Corresponds to the E clock signal of o9, and the speed control signal 12 is 6
Corresponds to the MREADY signal to 8o9. In such a configuration, a timing diagram is shown in which the peripheral device 2 operates at 1A, which is the operating speed of the CPU 1 (for example, when the CPU 1 operates at 2 MHz and the peripheral device 2 operates at 1 MHz). In figure b, which is figure 2,
8(a) shows the E clock of 8, FIG. 2(b) shows the enable signal of 9, and FIG. 4(c) shows the chip select signal of 1o. In this method, the access of the peripheral device 2 is detected by the detection circuit 6, and only at that time, the operating speed of the CPU 1 is adjusted to the operating speed of the peripheral device 2, and an enable signal 9 and a chip select signal 10 are given to the peripheral device 2 to prevent the access. It is something to be carried out. However, this method only enables the enable signal 9 when accessing the peripheral equipment 2.
Therefore, peripheral devices (such as those that use the enable signal 9 as a timing signal for the device)
For example, peripheral devices using Hitachi ICHD6821, etc.)
It has the disadvantage that it cannot be applied to

このような欠点を解決する方法として、第6図に示すよ
うな方法が考えらねる。すなわち、周辺装置へのイネー
ブル信号としてCPU1からのパスサイクル信号8(6
809のEクロ、リフ)を直接与え、周辺装置2をアク
セスする時には第1図と同様にCPU1の動作速度を周
辺装置2の動作速度に合わせる方法である。しかしなが
ら、この場合には周辺装置2へ与えるイネーブル信号と
して、周辺装置2の動作速度よりも速い周波数の信号が
入力可能でなけわばならないが、HD6B21を用いた
周辺装置等、多くの周辺装置ではイネーブル信号の最高
周波数と最高動作速度がpl−であるため第3図の方法
をそのまま用いることはできない。仮シに、周辺装置の
イネーブル信号の最高周波数がその装置の最高動作速度
よりも速く第3図の方法を適用できる場合であっても、
イネーブル信号の周波数がその周辺装置をアクセスする
たびに変化するので、イネーブル信号を用すて・、時間
管理を行なっているような周、送装置には用いることが
できない。
A method as shown in FIG. 6 cannot be considered as a method for solving these drawbacks. That is, the pass cycle signal 8 (6
809, and when accessing the peripheral device 2, the operating speed of the CPU 1 is matched to the operating speed of the peripheral device 2, as in FIG. However, in this case, it is necessary to be able to input a signal with a frequency faster than the operating speed of the peripheral device 2 as an enable signal to be given to the peripheral device 2, but many peripheral devices, such as those using the HD6B21, Since the highest frequency and highest operating speed of the enable signal are pl-, the method of FIG. 3 cannot be used as is. Even if the method of FIG. 3 can be applied, hypothetically, the maximum frequency of the enable signal of a peripheral device is faster than the maximum operating speed of that device.
Since the frequency of the enable signal changes each time the peripheral device is accessed, the enable signal cannot be used in a transmission device that performs time management.

従って、第1図あるいは第3図のどちらの方法も適用で
きないような状況では、周辺装備をCPUと同じ動作速
度で動作するものを使用するか、CPUを周辺装備の動
作速度に合わせて速度を遅くして使用するしかなかった
Therefore, in situations where neither the method shown in Figure 1 or Figure 3 can be applied, use peripheral equipment that operates at the same operating speed as the CPU, or adjust the speed of the CPU to match the operating speed of the peripheral equipment. I had no choice but to slow down and use it.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、従来技術の欠点をなくし、基準信号に
同期して動作する周辺装置をその基準信号よりも高速に
動作するCPUが基準信号の周波数を変化させることな
くアクセス可能とすることにある。
An object of the present invention is to eliminate the drawbacks of the prior art and to enable a CPU that operates faster than the reference signal to access a peripheral device that operates in synchronization with a reference signal without changing the frequency of the reference signal. be.

〔発明の概敦〕[Summary of the invention]

本発明の要点は、周辺装置への基準信号に対するCPU
の周辺装置アクセスタイミングによってCPUの動作速
度を渡化させると共に、CPUと周辺装部間のアドレス
バスを制御することにある。
The main point of the present invention is that the CPU for reference signals to peripheral devices
The purpose of the present invention is to distribute the operating speed of the CPU according to the peripheral device access timing, and to control the address bus between the CPU and the peripheral device.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を実施例をもとに詳細に説明する。 Hereinafter, the present invention will be explained in detail based on examples.

第4図が本発明の1実施例を示すプロ、yり図である。FIG. 4 is a professional diagram showing one embodiment of the present invention.

図において、第1図とjirl一部分は同1−符号であ
り、13は周辺装備への基準信号に対する周辺装置アク
セスタイミングを検出するアクセスタイミング検出回路
、14はアドレスバスの制御回路、15はデータバスの
制御回路、16は周辺装置への基準信号で周辺装置2の
イネーブル信号として与える信号、17は周辺装(至)
のセレクト信号で、周辺装置2のチップセレクト信号及
びアドレスバス制御回路14とデータバス制御回路15
の制御信号として用いるものである。第5図と第6図は
本発明の1実施例を説明するためにCPUに日立製のマ
イクロコンピュータ6809を用い、それを周辺装置2
02倍の速度で動作させた場合のタイミング図を示して
いる。
In the figure, parts of the jirl in FIG. 16 is a reference signal to the peripheral device and is a signal given as an enable signal for the peripheral device 2, 17 is a peripheral device (to)
The chip select signal of the peripheral device 2 and the address bus control circuit 14 and data bus control circuit 15 are
It is used as a control signal. 5 and 6, in order to explain one embodiment of the present invention, a microcomputer 6809 manufactured by Hitachi is used as the CPU, and peripheral devices 2
A timing diagram is shown when operating at a speed 0.02 times faster.

第5図と第6図は、−七ねそれ基準信号に対するアクセ
スタイミングの違う場合を示している。
FIG. 5 and FIG. 6 show cases in which the access timings for the −7-7 reference signal are different.

図において、(a)は第4図16の基準信・号を示し、
(b)は信号8でCPUが、68 D 9の場合にはE
クロックであり、(C)は17のセレクト信号を示して
いる。第5図は、CPUが(a)の基準信号16の「L
」期間に周辺装置2をアクセスした場合を示しており、
検出回路3によって周辺装@2のアクセスを検出した後
、アクセスタイミング検出回路15によって、そのアク
セスが基準信号16のrLJ期間に起ったことを検出す
る。そして、周辺装置のアクセスが基準信号のrLJ期
間に起った場合には速度制御回路4によって、CPUに
対して1バスサイクルのウェイトを挿入する。従って、
CPUからのEクロ、ψりは、第5図(b)のようにな
る。また、と11と同時に(c)に示すようなセレクト
信号17をアドレスバス制御回路14とデータバス制御
回路15に与え、この信号のrLJ期間のみにCPU1
と周辺装置2のアドレスバスとデータバスが導通するよ
うに制御第6図は、CPUが(a)の基準信号16のr
HJ期M 4m 周辺装置2をアクセスした場合を示し
ている。この場合、第5図と同じように1ノくスサイク
ルのウェイトでは(a)の基準信号16の「L」期間に
CPU’1が周辺装置2をアクセスすることになってし
まうが、周辺装置2は(a)の基準信号16のrHJ期
間にのみリード・ライト動作が可能となるので、こねで
は正常なリード・ライトが出来な諭。そこで、この場合
には第6図(b)に示すように、基準信号16の次のr
HJ期間にリード・ライトを行なうように2ノ(スサイ
クルのウェイトを挿入する。すなわち、この場合lこけ
CPU1の動作速度を周辺装置2の動作趙よりも遅くし
てしまうのである。さらにこの時、セレクト信号17は
第6図(e)に示すように、CPU1が周辺装置2のア
クセスを開始した最初の基準信号16の立下がり(第6
図■点)よりも後でrLJにする必要がある。これは、
セレクト信号17ヲCP U 1の周辺装置2のアクセ
スと同時に(すなわち、0点より前に)「L」にしてし
まうと、周辺装置2は基準信号16の最初の「H」期間
にリード・ライト動作を行なってしまい、アクセス時−
間が不十分で誤動作になってしまう事を防ぐためである
。また、データバス6やアドレスバス7をこの(C)の
セレクト信号17で制御するのは、周辺装置2が誤動作
しないよう、基準信号16の1周期のある特定期間(第
5図。
In the figure, (a) shows the reference signal/signal of FIG. 4, 16,
(b) is signal 8 and the CPU is 68 D 9, E
(C) shows 17 select signals. FIG. 5 shows that the CPU outputs "L" of the reference signal 16 in (a).
” shows the case where peripheral device 2 is accessed during the period,
After the detection circuit 3 detects the access of the peripheral @2, the access timing detection circuit 15 detects that the access occurs during the rLJ period of the reference signal 16. When an access from a peripheral device occurs during the rLJ period of the reference signal, the speed control circuit 4 inserts a wait of one bus cycle to the CPU. Therefore,
The E-cross and ψ-r from the CPU are as shown in FIG. 5(b). At the same time as and 11, a select signal 17 as shown in (c) is applied to the address bus control circuit 14 and the data bus control circuit 15, and only during the rLJ period of this signal, the CPU 1
In FIG. 6, the CPU controls the r of the reference signal 16 of (a) so that the address bus and data bus of the peripheral device 2 become conductive.
HJ period M 4m This shows the case where peripheral device 2 is accessed. In this case, as in FIG. 5, with a wait of 1 nox cycle, the CPU'1 will access the peripheral device 2 during the "L" period of the reference signal 16 in (a), but the peripheral device In case 2, read/write operations are possible only during the rHJ period of the reference signal 16 in (a), so normal read/write operations cannot be performed in the case of kneading. Therefore, in this case, as shown in FIG. 6(b), the next r of the reference signal 16 is
A wait of 2 cycles is inserted so that read/write is performed during the HJ period.In other words, in this case, the operating speed of the CPU 1 is made slower than the operating speed of the peripheral device 2.Furthermore, at this time , the select signal 17 corresponds to the first falling edge of the reference signal 16 (the sixth edge) when the CPU 1 starts accessing the peripheral device 2, as shown in FIG.
It is necessary to perform rLJ later than point ■ in the figure). this is,
If the select signal 17 is set to "L" at the same time as the CPU 1 accesses the peripheral device 2 (that is, before the 0 point), the peripheral device 2 will read/write during the first "H" period of the reference signal 16. When accessing -
This is to prevent malfunctions due to insufficient time. The data bus 6 and address bus 7 are controlled by the select signal 17 (C) during a specific period of one cycle of the reference signal 16 (see FIG. 5) to prevent the peripheral device 2 from malfunctioning.

第6図では後半の37′4期間)にのみ確爽にアドレス
とデータを入出力するためである。特に、周辺装W2の
内部でアドレスをデコードして内部回路のチップセレク
ト信号として用いる場合に有効である。しかし、このア
ドレスバス制御回路14とデータバス制御回路15ば、
場合によっては無くてもかまわない。
This is to ensure that addresses and data are input/output only during the latter half (37'4 period in FIG. 6). This is particularly effective when the address is decoded inside the peripheral W2 and used as a chip select signal for the internal circuit. However, this address bus control circuit 14 and data bus control circuit 15,
In some cases, it may be omitted.

次に、第5図と第6図に示すタイミング信号を実現する
アクセスタイミング検出回路13の具体的回路構成例を
第7図に示し、その主要タイミング図を第8図に示す。
Next, FIG. 7 shows a specific circuit configuration example of the access timing detection circuit 13 that realizes the timing signals shown in FIGS. 5 and 6, and FIG. 8 shows its main timing diagram.

第7図において、第4図と同一部分は同一符号であり、
19は基準信号16に同期してその2倍の周波数で発振
する、いわゆるP L L (Phase Locke
d Loop )回路、20〜25dx−vシトリガー
mDフリ、ソ7″フロウフ。
In FIG. 7, the same parts as in FIG. 4 have the same symbols,
19 is a so-called PLL (Phase Lock) which oscillates at twice the frequency of the reference signal 16 in synchronization with the reference signal 16.
d Loop) circuit, 20~25dx-v Citrigger mD free, So7'' flow.

24と25はNANDゲート、26はORゲート、27
はインバータ、28はPLL19の出力信号で基準信号
1602倍周波数の信号にねは、等測的lこウェイトが
全く挿入さねない場合のEクロ、Vりに相当する)、2
9は第8図に示すような信号である。第8図において、
各信号番号はそわそわ第7図に対応している。そして、
(a)はCPU1の動作にかかわらず常に出力されてい
る信号であシ:(b)は基準信号16のrLJ期間に周
辺装置2をアクセスした場合、(C)は基準信号16の
「H」期j=+に周辺装置2をアクセスした場合のタイ
ミングを示している。CPU1が周辺装置2をアクセス
すると、検出回路3によってそわを検出しく例えは周辺
装置2のアドレスをデコードする)、その検出信号11
が第7図のアクセスタイミング検出回路13に与えられ
る。アクセスタイミング検出回路13内部では、Dフ1
1タブフロツブ21.22とNANDゲートによシ、基
準信号16に対する検出信号11の位相に対応し、第8
図0)) 、 (c)に示すようなパルス幅の異なるア
クセスタイミング検出信号18を動作速度制御回路4に
出力する。動作速度制御回路4ではアクセスタイミング
検出信号18に従ってCPU1にウェイトをかけ、第8
図(b) 、 (c)に示すようなEクロ・yり8がC
PU1よシ出力される。そして、とのEクロ、ツク8を
用い、第7図のDフリ、・2ブフロツプ26、インバー
タ27、ORゲート26、NANDゲート25によって
第8図(b) 、 (C)に示すようなセレクト信号1
7が出力される。
24 and 25 are NAND gates, 26 is an OR gate, 27
is the inverter, 28 is the output signal of the PLL 19, and 28 is the signal with a frequency 1602 times the reference signal.
9 is a signal as shown in FIG. In Figure 8,
Each signal number corresponds to Fig. 7. and,
(a) is a signal that is always output regardless of the operation of the CPU 1; (b) is a signal that is output when the peripheral device 2 is accessed during the rLJ period of the reference signal 16; (C) is a signal that is output when the reference signal 16 is "H". The timing is shown when the peripheral device 2 is accessed at period j=+. When the CPU 1 accesses the peripheral device 2, the detection circuit 3 detects the fidget (for example, decodes the address of the peripheral device 2) and outputs the detection signal 11.
is applied to the access timing detection circuit 13 in FIG. Inside the access timing detection circuit 13,
The 8th tab flop 21, 22 and the NAND gate correspond to the phase of the detection signal 11 with respect to the reference signal 16.
Access timing detection signals 18 having different pulse widths as shown in FIGS. 0)) and (c) are output to the operating speed control circuit 4. The operating speed control circuit 4 applies a weight to the CPU 1 according to the access timing detection signal 18, and
E black/yri 8 as shown in Figures (b) and (c) is C
Output from PU1. Then, using the E clock and the check 8, select as shown in FIG. signal 1
7 is output.

第7図の例では基準信号16に同期した周波数2倍の信
号を得るのにPLL回路を用いたが、もちろん他の方法
でもか寸わない。また、CPU6809ではEクロ、ν
り8の4倍周波数の信号がクロック信号5であることか
ら、このクロ、ツク信号の4分周信号を第7図の信号2
8として用い、さらにその2分周信号を基準信号16と
して用いるなどの方法も考えらねる。
In the example shown in FIG. 7, a PLL circuit is used to obtain a signal with twice the frequency synchronized with the reference signal 16, but other methods may of course be used. In addition, in CPU6809, E black, ν
Since the clock signal 5 is a signal with a frequency four times that of the clock signal 8, the frequency-divided signal of the clock signal and the clock signal by four is used as the signal 2 in Fig. 7.
8 and further use the frequency-divided signal by 2 as the reference signal 16.

姿て、第5図〜第8図では、Eクロック8の立下がりと
基準信号16の変化の位相が合っている場合を示したが
、次にこの位相が合ってぃなり場合について、1例を第
9図と第10図に示す。
5 to 8 show the case where the falling edge of the E clock 8 and the change in the reference signal 16 are in phase, but next we will discuss an example of a case where the phases are not in sync. are shown in FIGS. 9 and 10.

第9図は、(a)のrHJ期間の後半に周辺装置2のア
クセスを開始した場合で、この時にはcPUlに1.5
パスサイクルのウェイトを挿入すル(6809ハ1/4
サイクル単位でウェイトラ挿入できる)ことになる。第
10図は(a)のrLJ期間の後半に周辺装置2のアク
セスを開始した場合で、この時には2.5バスサイクル
のウェイトを挿入することになる。この第9図、第10
図で注意すべきことは、CPU1が周辺装置2をリード
する時である。周辺装&1.2のリードデータは、通常
(a)の信号のrf(J期間にしが出力されないので、
第9図、第10図のように(b)のEクロッフカ(a)
のrLJ期間に立下がるタイミングでは正常なリード動
作ができないが、このような場合には周辺装置2をリー
ドする時だけ、データバス制御回路1sIト++−ドデ
ータをう、チ(保持)すわばよい。しかしながらとのよ
ろに位相の合っていない場合にはPLL回路等によって
あらかじめ位相を合わせておけば、前の例と同様に扱え
ることは1うまでもないことである。
FIG. 9 shows a case where the peripheral device 2 starts accessing in the latter half of the rHJ period in (a), and at this time cPUl is 1.5
Insert pass cycle weight (6809ha 1/4
Waiters can be inserted in cycle units). FIG. 10 shows a case where access by the peripheral device 2 is started in the latter half of the rLJ period in (a), and at this time a wait of 2.5 bus cycles is inserted. This figure 9, 10
What should be noted in the figure is when the CPU 1 reads the peripheral device 2. The read data of peripheral device &1.2 is usually the rf signal of (a) (since it is not output during the J period,
As shown in Figures 9 and 10, E Klofka (a) of (b)
A normal read operation cannot be performed at the falling timing of the rLJ period, but in such a case, it is only necessary to read the data from the data bus control circuit 1sI when reading the peripheral device 2. . However, if the phases are not matched, it goes without saying that it can be handled in the same way as the previous example by adjusting the phases using a PLL circuit or the like.

以上の説明では、CPU1の動作速度が周辺装置2の動
作速度の2倍の場合について述べたが、本発明では、こ
の動作速度が伺倍であってもかまわない。3倍の場合に
ついて、そのタイミングを第11図、第12図、第13
図に示す。図中の(a) 、 (b) 、 (c)は、
第5図、第6図とそわそわ同じ信号を示している。この
場合には、(a)の信号に対するCPU1の周辺装置2
のアクセスタイミングによって6つの場合がある。第1
1図のように(a)のrLJ期間の前半に周辺装置2の
アクセスを開始した場合には、2バスサイクルのウェイ
トをかける。第12図のように、(a)の「L」期間の
後半に周辺装置2のアクセスを開始した場合には、4バ
スサイクルのウェイトラかける。
In the above description, a case has been described in which the operating speed of the CPU 1 is twice the operating speed of the peripheral device 2, but in the present invention, this operating speed may be twice that. For the triple case, the timing is shown in Figures 11, 12, and 13.
As shown in the figure. (a), (b), (c) in the figure are
It shows the same fidgeting signal as in FIGS. 5 and 6. In this case, the peripheral device 2 of the CPU 1 in response to the signal in (a)
There are six cases depending on the access timing. 1st
As shown in FIG. 1, when the access of the peripheral device 2 is started in the first half of the rLJ period in (a), a wait of two bus cycles is applied. As shown in FIG. 12, when the access of the peripheral device 2 is started in the latter half of the "L" period in (a), a waiter of 4 bus cycles is applied.

さらに、第13図のように(a)のrHJ期間に周辺装
置2のアクセスを開始した場合には、6バスサイクルの
ウェイトをかけるわけである。
Furthermore, as shown in FIG. 13, when the access of the peripheral device 2 is started during the rHJ period of (a), a wait of 6 bus cycles is applied.

本発明をい・〈つかの実施例をもとに説明したが要は、
基準信号に対するCPUのアクセスタイミングに対応し
て、CPUの動作速度及び場合によっては周辺装置への
アト17ス供給期間を制御すわばよいのである。
Although the present invention has been explained based on some embodiments, the main point is that
It is only necessary to control the operating speed of the CPU and, as the case may be, the period of supplying the bus to peripheral devices in accordance with the timing of the CPU's access to the reference signal.

〔発明の効果〕〔Effect of the invention〕

本発明によりは、基準信号1こ同期して動作する周辺装
置を、その基準信号の周波数よりも高い周波数で動作す
るCPUが基準信号を変化させることなくアクセスする
ことができる。
According to the present invention, a peripheral device that operates in synchronization with one reference signal can be accessed by a CPU that operates at a frequency higher than that of the reference signal without changing the reference signal.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図と第6図は、従来技術による周辺装置制御回路の
プロ、・・り図、第2図はその主要タイミングを示した
M1第4図は本発明による周辺装置制御回路のプロ、り
図、第5図と第6図はその主要タイミング図、第7図は
アクセスタイミング検出回路の具体的回路の1例を示し
た図、第8図はその主要タイミンク図、第9図から第1
3図は本発明を示す他のタイミングの例を示す図である
。 1・・・演算処理装置(CPU)、 2・・・周辺装置、 5・・・周辺装置アクセス検出回路、 4・・・動作速度制御回路、 13・・・アクセスタイミング検出回路、14・・・ア
ドレスバス制御回路、 15・・・データバス制御回路、 16・・・周辺装置への差率信号。 第 l 圀 第 2 図 (C) 、−」−一 第 S 口 第 乙 訝コ″ 第 7 図 /R 第8図 (Ct) /7 第 q 図 第70図 (の
FIGS. 1 and 6 are a diagram of a peripheral device control circuit according to the prior art, and FIG. 2 is a diagram showing the main timings of the peripheral device control circuit. Figures 5 and 6 are its main timing diagrams, Figure 7 is a diagram showing one example of a specific circuit of the access timing detection circuit, Figure 8 is its main timing diagram, and Figures 9 to 1 are the main timing diagrams.
FIG. 3 is a diagram showing another timing example illustrating the present invention. DESCRIPTION OF SYMBOLS 1... Arithmetic processing unit (CPU), 2... Peripheral device, 5... Peripheral device access detection circuit, 4... Operating speed control circuit, 13... Access timing detection circuit, 14... Address bus control circuit, 15... Data bus control circuit, 16... Difference rate signal to peripheral device. Fig. 7/R Fig. 8 (Ct) /7 Fig. q Fig. 70 (of

Claims (1)

【特許請求の範囲】 1、 演算処理装置と基準信号に同動して動作する周辺
装置を有する計算機システム等における周辺装置制御回
路において、前記基準信号に対する演算処理装置の周辺
装置アクセスタイミングを検出するアクセスタイミンク
検出回路と、該周辺装置アクセスタイミングに対応して
演算処理の動作速度を制御する動作速度制御回路を具備
し、演算処理装置の前記基準信号に対する周辺装置アク
セスタイミングに応じて該演算処理装置の動作速度を変
化させることを判徴とする周辺装置制御回路。 2、上記周辺装置へのアドレスバス制御回路を具備し、
上記演算処理装置の基準信号に対する周辺装置アクセス
位揃に応じて上記周辺装置へのアドレス供給期間を制御
することを特徴とする特許請求の範囲第1項記載の周辺
装置制御回路。
[Scope of Claims] 1. In a peripheral device control circuit in a computer system or the like having an arithmetic processing unit and a peripheral device that operates in synchronization with a reference signal, detecting the peripheral device access timing of the arithmetic processing unit with respect to the reference signal. an access timing detection circuit; and an operation speed control circuit that controls the operation speed of arithmetic processing in accordance with the peripheral device access timing; A peripheral device control circuit whose characteristic is to change the operating speed of a peripheral device. 2. Equipped with an address bus control circuit for the above peripheral device,
2. The peripheral device control circuit according to claim 1, wherein the peripheral device control circuit controls an address supply period to the peripheral device in accordance with peripheral device access alignment with respect to a reference signal of the arithmetic processing unit.
JP21942883A 1983-11-24 1983-11-24 Control circuit of peripheral device Pending JPS60112158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21942883A JPS60112158A (en) 1983-11-24 1983-11-24 Control circuit of peripheral device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21942883A JPS60112158A (en) 1983-11-24 1983-11-24 Control circuit of peripheral device

Publications (1)

Publication Number Publication Date
JPS60112158A true JPS60112158A (en) 1985-06-18

Family

ID=16735238

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21942883A Pending JPS60112158A (en) 1983-11-24 1983-11-24 Control circuit of peripheral device

Country Status (1)

Country Link
JP (1) JPS60112158A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6290742A (en) * 1985-10-09 1987-04-25 サン・マイクロシステムズ・インコ−ポレ−テツド Method and apparatus for upgrading performance of cpu
JPH02500938A (en) * 1987-08-27 1990-03-29 モトローラ・インコーポレーテツド microcomputer
JPH0485625A (en) * 1990-07-30 1992-03-18 Nec Corp Wait control system
US7006651B2 (en) 2001-02-26 2006-02-28 Uetax Corporation Speaker

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6290742A (en) * 1985-10-09 1987-04-25 サン・マイクロシステムズ・インコ−ポレ−テツド Method and apparatus for upgrading performance of cpu
JPH02500938A (en) * 1987-08-27 1990-03-29 モトローラ・インコーポレーテツド microcomputer
JPH0485625A (en) * 1990-07-30 1992-03-18 Nec Corp Wait control system
US7006651B2 (en) 2001-02-26 2006-02-28 Uetax Corporation Speaker

Similar Documents

Publication Publication Date Title
JPH07306827A (en) Method and apparatus for execution of synchronous data transmission between digital devices operated at frequency provided with p/q integer ratio relationship
JP2003508956A (en) System and method for initiating a serial data transfer between two clock domains
JPH04268938A (en) Data processing apparatus and memory controller
US6247087B1 (en) Bus system for shadowing registers
US5721882A (en) Method and apparatus for interfacing memory devices operating at different speeds to a computer system bus
US6266718B1 (en) Apparatus for controlling data transfer operations between a memory and devices having respective latencies
US6081143A (en) Frequency comparison and generation in an integrated processor
US5546567A (en) System for limiting change in bus clock frequency to duration of I/O operation upon completion signal
US5590316A (en) Clock doubler and smooth transfer circuit
JPS60112158A (en) Control circuit of peripheral device
US6202117B1 (en) Host adapter integrated circuit having autoaccess pause
US6219744B1 (en) Interrupt masker for an interrupt handler with double-edge interrupt request signals detection
US5754825A (en) Lower address line prediction and substitution
JPS581451B2 (en) Data transfer method
US6928575B2 (en) Apparatus for controlling and supplying in phase clock signals to components of an integrated circuit with a multiprocessor architecture
JPH0962621A (en) Computer system and command cycle switching method
JPS62154045A (en) Bus arbitration system
JP2001526811A (en) Window mechanism for PCI bus information transfer control
US20030110335A1 (en) Bus transaction between devices in a system
JP2569534B2 (en) Microcomputer
JPH0981502A (en) Computer system
JPS6115257A (en) Peripheral control lsi
JPS6214866B2 (en)
JPH04230564A (en) Data transfer device
JPS62173560A (en) Memory access control circuit