JPH0560135B2 - - Google Patents

Info

Publication number
JPH0560135B2
JPH0560135B2 JP60074217A JP7421785A JPH0560135B2 JP H0560135 B2 JPH0560135 B2 JP H0560135B2 JP 60074217 A JP60074217 A JP 60074217A JP 7421785 A JP7421785 A JP 7421785A JP H0560135 B2 JPH0560135 B2 JP H0560135B2
Authority
JP
Japan
Prior art keywords
signal
input terminal
latch means
output
control input
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
JP60074217A
Other languages
Japanese (ja)
Other versions
JPS61234450A (en
Inventor
Makoto Hanawa
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 JP60074217A priority Critical patent/JPS61234450A/en
Publication of JPS61234450A publication Critical patent/JPS61234450A/en
Publication of JPH0560135B2 publication Critical patent/JPH0560135B2/ja
Granted legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は複数の非同期信号の入力回路、および
それを用いた処理装置に係り、例えば、非同期バ
スの正常終了、異常終了等の応答信号やエンコー
ドされた割込み要求信号を入力するのに好適な非
同期信号の入力回路およびそれを用いた処理装置
に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to an input circuit for a plurality of asynchronous signals and a processing device using the same. The present invention relates to an asynchronous signal input circuit suitable for inputting a generated interrupt request signal and a processing device using the same.

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

複数の非同期信号の組合わせで内部の処理を起
動する論理装置の従来例として、米国モトローラ
社の16ビツトマイクロコンピユータMC68000が
ある。このマイクロコンピユータでは非同期バス
の転送終了を報告するため外部記憶装置から与え
られる信号DTACKとBERRを受信するようにな
つている。このマイクロコンピユータの入力回路
は、信号DTACKとBERRの一方しか同時には受
信できない。つまり、正常に終了したとき信号
DTACKがアサートされ、異常終了(バスエラ
ー)のとき信号BERRがアサートされる。ここ
で、外部記憶装置がバスエラーを報告する場合
は、信号DTACKをアサートする前に信号BERR
をアサートする必要がある。したがつて、バスエ
ラーでないことを確認してからでないとDTACK
端子をアサートすることができない。
A conventional example of a logic device that activates internal processing using a combination of multiple asynchronous signals is the 16-bit microcomputer MC68000 manufactured by Motorola, USA. This microcomputer is designed to receive signals DTACK and BERR given from an external storage device to report the completion of asynchronous bus transfer. The input circuit of this microcomputer can receive only one of the signals DTACK and BERR at the same time. That is, the signal when finished successfully
DTACK is asserted, and signal BERR is asserted in case of abnormal termination (bus error). Now, if the external storage device reports a bus error, signal BERR is asserted before asserting signal DTACK.
needs to be asserted. Therefore, it is necessary to confirm that there is no bus error before DTACK.
Unable to assert pin.

なお、この種の入力回路として米国特許第
4349873号の第11図に示されている回路がある。
Furthermore, as this type of input circuit, U.S. Patent No.
There is a circuit shown in FIG. 11 of No. 4349873.

したがつて、信号DTACKを先に出力し、後で
信号BERRを出力するのが望ましい場合がある。
また、一般に、複数の信号を同時にマイクロコン
ピユータに供給するとしても回路のバラツキによ
り、これら複数の信号が少しではあるが時間的に
ずれて発生されてしまう場合が現実に起りうる。
したがつて、これらの信号を受け取るマイクロコ
ンピユータとしては、複数の信号がマイクロコン
ピユータのクロツクに対して非同期に与えられて
も、これを正しく検出できるように受信するよう
にすることが望ましいと考えられる。さらに従来
のごとく、いずれかの信号の一方のみしか与えら
れない場合でも同じように正しく検出できること
が望ましい。
Therefore, it may be desirable to output the signal DTACK first and output the signal BERR later.
Furthermore, in general, even if a plurality of signals are supplied to a microcomputer at the same time, due to circuit variations, the plurality of signals may actually be generated with a slight time lag.
Therefore, it is considered desirable for a microcomputer that receives these signals to be able to receive them in such a way that even if multiple signals are applied asynchronously to the microcomputer's clock, they can be detected correctly. . Furthermore, it is desirable that accurate detection be possible in the same way even when only one of the signals is provided, as in the prior art.

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

本発明の目的は、複数の非同期に与えられる信
号をこれらが時間的にずれて与えられても処理で
きる処理装置を提供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a processing device that can process a plurality of asynchronously applied signals even if the signals are applied with a time lag.

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

本発明の代表的な実施形態による処理装置は、 第1のラツチ手段101と第2のラツチ手段1
02と第3のラツチ手段103と第4のラツチ手
段104との従属接続により少なくとも構成さ
れ、上記第1のラツチ手段101と上記第2のラ
ツチ手段102と上記第3のラツチ手段103と
上記第4のラツチ手段104がそれぞれ信号入力
端子Dと信号出力端子Qと制御入力端子Cとを有
し、上記制御入力端子Cが第1の状態の時に上記
信号入力端子Dの信号を上記信号出力端子Qへ伝
達し、上記制御入力端子Cが上記第1の状態と異
なる第2の状態の時に上記信号出力端子Qの信号
を保持する如くそれぞれが構成され、データ転送
が異常終了したことを示すバスエラー信号である
第1の信号BERRを上記第1のラツチ手段101
の上記信号入力端子Dに印加せしめ、上記第1の
ラツチ手段101の上記制御入力端子Cに第1の
クロツク信号φ1を印加せしめ、上記第1のラツ
チ手段101の上記信号出力端子Qを上記第2の
ラツチ手段102の上記信号入力端子Dに接続せ
しめ、上記第2のラツチ手段102の上記制御入
力端子Cに上記第1のクロツク信号φ1と異なる
第2のクロツク信号φ2を印加せしめ、上記第2
のラツチ手段102の上記信号出力端子Qを上記
第3のラツチ手段103の上記信号入力端子Dに
接続せしめ、上記第3のラツチ手段103の上記
制御入力端子Cに上記第1のクロツク信号φ1
反転信号を印加せしめ、上記第3のラツチ手段1
03の上記信号出力端子Qを上記第4のラツチ手
段104の上記信号入力端子Dに接続せしめ、上
記第4のラツチ手段104の上記制御入力端子C
に上記第2のクロツク信号φ2の反転信号を印加
せしめ、上記第4のラツチ手段104の上記信号
出力端子Qから上記第1の信号BERRの入力有無
の検出出力信号を出力する第1の検出手段100
と、 上記第1の検出手段100の上記ラツチ手段の
従属接続数と等しい従属接続数の第5のラツチ手
段121と第6のラツチ手段122と第7のラツ
チ手段123と第8のラツチ手段124との従属
接続により少なくとも構成され、上記第5のラツ
チ手段121と上記第6のラツチ手段122と上
記第7のラツチ手段123と上記第8のラツチ手
段124がそれぞれ信号入力端子Dと信号出力端
子Qと制御入力端子Cとを有し、上記制御入力端
子Cが上記第1の状態の時に上記信号入力端子D
の信号を上記信号出力端子Qへ伝達し、上記制御
入力端子Cが上記第2の状態の時に上記信号出力
端子Qの信号を保持する如くそれぞれが構成さ
れ、データ転送が終了したことを示すデータ転送
アクノリツジ信号である第2の信号DTACKを上
記第5のラツチ手段121の上記信号入力端子D
に印加せしめ、上記第5のラツチ手段121の上
記制御入力端子Cに上記第1のクロツク信号φ1
を印加せしめ、上記第5のラツチ手段121の上
記信号出力端子Qを上記第6のラツチ手段122
の上記信号入力端子Dに接続せしめ、上記第6の
ラツチ手段122の上記制御入力端子Cに上記第
2のクロツク信号φ2を印加せしめ、上記第6の
ラツチ手段122の上記信号出力端子Qを上記第
7のラツチ手段123の上記信号入力端子Dに接
続せしめ、上記第7のラツチ手段123の上記制
御入力端子Cに上記第1のクロツク信号φ1の反
転信号を印加せしめ、上記第7のラツチ手段12
3の上記信号出力端子Qを上記第8のラツチ手段
124の上記信号入力端子Dに接続せしめ、上記
第8のラツチ手段124の上記制御入力端子Cに
上記第2のクロツク信号φ2の反転信号を印加せ
しめ、上記第8のラツチ手段124の上記信号出
力端子Qから上記第2の信号DTACKの入力有無
の検出出力信号を出力する第2の検出手段120
と、 上記第1の検出手段100の上記ラツチ手段の
従属接続数より少ない従属接続数の第9のラツチ
手段112と第10のラツチ手段113と第11のラ
ツチ手段114との従属接続により少なくとも構
成され、上記第9のラツチ手段112と上記第10
のラツチ手段113と上記第11のラツチ手段11
4とがそれぞれ信号入力端子Dと信号出力端子Q
と制御入力端子Cとを有し、上記制御入力端子C
が上記第1の状態の時に上記信号入力端子Dの信
号を上記信号出力端子Qへ伝達し、上記制御入力
端子Cが上記第2の状態の時に上記信号出力端子
Qの信号を保持する如くそれぞれが構成され、上
記第1の信号BERRを上記第9のラツチ手段11
2の上記信号入力端子Dに印加せしめ、上記第9
のラツチ手段112の上記制御入力端子Cに上記
第2のクロツク信号φ2を印加せしめ、上記第9
のラツチ手段112の上記信号出力端子Qを上記
第10のラツチ手段113の上記信号入力端子Dに
接続せしめ、上記第10のラツチ手段113の上記
制御入力端子Cに上記第1のクロツク信号φ1
反転信号を印加せしめ、上記第10のラツチ手段1
13の上記信号出力端子Qを上記第11のラツチ手
段114の上記信号入力端子Dに接続せしめ、上
記第11のラツチ手段114の上記制御入力端子C
に上記第2のクロツク信号φ2の反転信号を印加
せしめ、上記第11のラツチ手段114の上記信号
出力端子Qから上記第1の信号BERRの入力有無
の検出出力信号を出力する第3の検出手段110
と、 上記第1の検出手段100の検出出力と上記第
2の検出手段120の検出出力との論理和信号を
得る第1の回路手段161と、 上記第3の検出手段110の検出出力と上記第
1の回路手段161の出力との論理積信号を得る
第2の回路手段162とを具備してなり、 上記第1の回路手段161の出力からバスサイ
クル終了信号431を取り出し、 上記第2の回路手段162の出力からバスサイ
クルリトライ信号433を取り出すことを特徴と
する。
A processing device according to an exemplary embodiment of the present invention includes a first latching means 101 and a second latching means 1.
The first latch means 101, the second latch means 102, the third latch means 103, and the fourth latch means 104 are connected to each other. Each of the latch means 104 of 4 has a signal input terminal D, a signal output terminal Q, and a control input terminal C, and when the control input terminal C is in a first state, the signal of the signal input terminal D is transferred to the signal output terminal. Q, each of which is configured to hold the signal at the signal output terminal Q when the control input terminal C is in a second state different from the first state, indicating that the data transfer has ended abnormally; The first latch means 101 outputs the first signal BERR which is an error signal.
A first clock signal φ 1 is applied to the signal input terminal D of the first latch means 101, a first clock signal φ 1 is applied to the control input terminal C of the first latch means 101, and the signal output terminal Q of the first latch means 101 is A second clock signal φ 2 different from the first clock signal φ 1 is applied to the control input terminal C of the second latching means 102 . , the second above
The signal output terminal Q of the latch means 102 is connected to the signal input terminal D of the third latch means 103, and the first clock signal φ 1 is connected to the control input terminal C of the third latch means 103. The third latch means 1 is applied with an inverted signal of
03 is connected to the signal input terminal D of the fourth latch means 104, and the control input terminal C of the fourth latch means 104 is connected to the signal output terminal Q of the fourth latch means 104.
a first detection method for applying an inverted signal of the second clock signal φ 2 to the fourth latch means 104, and outputting a detection output signal indicating the presence or absence of input of the first signal BERR from the signal output terminal Q of the fourth latch means 104; means 100
and a fifth latch means 121, a sixth latch means 122, a seventh latch means 123, and an eighth latch means 124, the number of which is equal to the number of slave connections of the latch means of the first detection means 100. The fifth latch means 121, the sixth latch means 122, the seventh latch means 123, and the eighth latch means 124 have a signal input terminal D and a signal output terminal, respectively. Q and a control input terminal C, and when the control input terminal C is in the first state, the signal input terminal D
data indicating that the data transfer has been completed; The second signal DTACK, which is a transfer acknowledge signal, is applied to the signal input terminal D of the fifth latch means 121.
and the first clock signal φ 1 is applied to the control input terminal C of the fifth latch means 121.
is applied to the signal output terminal Q of the fifth latch means 121 to the sixth latch means 122.
The second clock signal φ 2 is applied to the control input terminal C of the sixth latch means 122, and the signal output terminal Q of the sixth latch means 122 is connected to the signal input terminal D of the sixth latch means 122. The clock is connected to the signal input terminal D of the seventh latch means 123, and an inverted signal of the first clock signal φ1 is applied to the control input terminal C of the seventh latch means 123. Latch means 12
The signal output terminal Q of No. 3 is connected to the signal input terminal D of the eighth latch means 124, and the inverted signal of the second clock signal φ 2 is connected to the control input terminal C of the eighth latch means 124. a second detection means 120 which outputs a detection output signal indicating the presence or absence of input of the second signal DTACK from the signal output terminal Q of the eighth latch means 124;
and at least constituted by a subordinate connection of a ninth latch means 112, a tenth latch means 113, and an eleventh latch means 114, each of which has a smaller number of subordinate connections than the number of subordinate connections of the latch means of the first detection means 100. The ninth latch means 112 and the tenth latch means 112
the latch means 113 and the eleventh latch means 11
4 are signal input terminal D and signal output terminal Q, respectively.
and a control input terminal C, the control input terminal C
transmits the signal at the signal input terminal D to the signal output terminal Q when is in the first state, and holds the signal at the signal output terminal Q when the control input terminal C is in the second state. is configured, and the first signal BERR is connected to the ninth latch means 11.
The signal is applied to the signal input terminal D of No. 2, and the signal is applied to the signal input terminal D of No.
The second clock signal φ 2 is applied to the control input terminal C of the latch means 112 of the ninth clock.
The signal output terminal Q of the latch means 112 is connected to the signal input terminal D of the tenth latch means 113, and the first clock signal φ 1 is connected to the control input terminal C of the tenth latch means 113 . applying an inverted signal to the tenth latch means 1.
The signal output terminal Q of No. 13 is connected to the signal input terminal D of the eleventh latch means 114, and the control input terminal C of the eleventh latch means 114 is connected to the signal output terminal Q of the eleventh latch means 114.
a third detection method for applying an inverted signal of the second clock signal φ 2 to the signal output terminal Q of the eleventh latch means 114 to output a detection output signal indicating the presence or absence of the input of the first signal BERR; Means 110
and a first circuit means 161 for obtaining an OR signal of the detection output of the first detection means 100 and the detection output of the second detection means 120, and the detection output of the third detection means 110 and the above. a second circuit means 162 for obtaining an AND signal with the output of the first circuit means 161, extracting the bus cycle end signal 431 from the output of the first circuit means 161, It is characterized in that a bus cycle retry signal 433 is extracted from the output of the circuit means 162.

この結果、バスエラーを示す第1の信号BERR
とデータ転送アクノリツジを示す第2の信号
DTACKとのいずれか先に入力されても、第1の
検出手段100もしくは第2の検出手段120に
よつて先に入力された信号の存在が検出されて、
第1の回路手段161の論理和により、バスサイ
クル終了信号431を出力することができる。
As a result, the first signal BERR indicating a bus error
and a second signal indicating a data transfer acknowledgement.
DTACK, whichever is input first, the presence of the signal input first is detected by the first detection means 100 or the second detection means 120,
The logical sum of the first circuit means 161 allows the bus cycle end signal 431 to be output.

また、バスエラーを示す第1の信号BERRが入
力された場合は、この第1の信号BERRの入力は
ラツチ手段の従属接続数の少ない第3の検出手段
110により高速に検出される。一方、上述のよ
うに第1の回路手段161からバスサイクル終了
信号431が出力された後、第3の検出手段11
0の第1の信号BERRの高速検出出力135と第
1の回路手段161からのバスサイクル終了信号
431との論理積を行う第2の回路手段162の
出力からバスサイクルリトライ信号433を出力
することができる。
Further, when the first signal BERR indicating a bus error is input, the input of the first signal BERR is detected at high speed by the third detection means 110 having a small number of cascade connections of latch means. On the other hand, after the bus cycle end signal 431 is output from the first circuit means 161 as described above, the third detection means 11
Outputting a bus cycle retry signal 433 from the output of the second circuit means 162 which performs a logical product of the high speed detection output 135 of the first signal BERR of 0 and the bus cycle end signal 431 from the first circuit means 161. I can do it.

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

以下、本発明の一実施例を図を用いて説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第2図は非同期転送バスをもつたデータ処理装
置のシステム構成図である。
FIG. 2 is a system configuration diagram of a data processing device having an asynchronous transfer bus.

処理装置400と記憶装置500より成り、両
者がバス300を介して接続されている。
It consists of a processing device 400 and a storage device 500, both of which are connected via a bus 300.

バス600は非同期転送バスで、アクセスすべ
きデータの番地を示すアドレス信号601と、ア
ドレス信号601が有効な値を示し、バスサイク
ルを実行していることを示すアドレスストローブ
信号(AS)602と、データを転送するデータ
線603と、データ転送が正常に終了したことを
示すデータ転送アクノリツジ信号(DTACK)6
04と、転送が異常終了したことを示すバスエラ
ー信号(BERR)605より構成されている。
The bus 600 is an asynchronous transfer bus, and includes an address signal 601 indicating the address of data to be accessed, and an address strobe signal (AS) 602 indicating that the address signal 601 indicates a valid value and a bus cycle is being executed. A data line 603 that transfers data and a data transfer acknowledge signal (DTACK) 6 that indicates that data transfer has completed normally.
04, and a bus error signal (BERR) 605 indicating that the transfer has ended abnormally.

処理装置400はクロツクφ1,φ212
同期してプログラムを実行する命令実行部410
と非同期転送バスの制御を行うバス制御回路42
0より成つている。バス制御回路420はアドレ
ス信号601を出力しAS信号602をアサート
してバスサイクルの実行を表示するバス制御信号
出力回路421と、非同期転送の終了を示す
DTACK信号604とBERR信号605を、処理
装置400の内部のタイミングクロツクに同期し
て取込む入力回路422と、バスサイクル終了信
号431及び正常終了、異常終了時のバスサイク
ルリトライ信号433を出力する終了検出回路4
23から構成されている。記憶装置500はメモ
リ回路510とそれを制御するメモリ制御回路5
20より成つている。
The processing device 400 includes an instruction execution unit 410 that executes programs in synchronization with clocks φ 1 , φ 2 , 1 , 2 .
and a bus control circuit 42 that controls the asynchronous transfer bus.
It consists of 0. The bus control circuit 420 outputs the address signal 601 and asserts the AS signal 602 to indicate the execution of a bus cycle, and the bus control signal output circuit 421 indicates the end of the asynchronous transfer.
An input circuit 422 receives the DTACK signal 604 and the BERR signal 605 in synchronization with the internal timing clock of the processing device 400, and outputs a bus cycle end signal 431 and a bus cycle retry signal 433 at the time of normal termination or abnormal termination. End detection circuit 4
It consists of 23. The storage device 500 includes a memory circuit 510 and a memory control circuit 5 that controls it.
It consists of 20 pieces.

第8図はバス制御信号出力回路421の内部回
路を示したものである。ラツチ440は処理装置
400がバス600を利用している間アクセスす
べきアドレス及びリード/ライト指示信号を保持
する。ラツチ440はバスサイクル開始指示信号
413によつてアドレス411及びR/W信号4
12をラツチし、アドレス601及びR/W信号
606を出力する。フリツプフロツプ441は、
バスサイクル開始指示413又はリトライ指示4
33がアサートしたときセツトされアドレススト
ローブ(AS)信号602をアサートする。バス
サイクル終了指示431がアサートしたときリセ
ツトされAS信号602をネゲートする。443
はデイレイ回路、442はOR回路である。
FIG. 8 shows the internal circuit of the bus control signal output circuit 421. Latch 440 holds the address and read/write instruction signals to be accessed while processor 400 is using bus 600. The latch 440 is activated by the address 411 and the R/W signal 4 by the bus cycle start instruction signal 413.
12 and outputs an address 601 and an R/W signal 606. The flip-flop 441 is
Bus cycle start instruction 413 or retry instruction 4
33 is asserted, and the address strobe (AS) signal 602 is asserted. When the bus cycle end instruction 431 is asserted, it is reset and the AS signal 602 is negated. 443
is a delay circuit, and 442 is an OR circuit.

メモリ制御回路520の内部回路を第9図に示
す。メモリ制御回路520はバスサイクル実行中
を示すAS信号602がアサートされると、リー
ド/ライト指示信号R/W606がアサートされ
ている(読出しモード)ならばメモリ読出し指示
をANDゲート522を介してメモリ回路510
へ出力し、R/W信号606がネゲートされてい
るならばメモリ書込み指示をANDゲート521
よりメモリ回路510へ出力する。一方、デイレ
イ回路DL524はAS信号602をメモリ回路の
データ読み出し又は書き込みに必要な時間だけ遅
延してデータ転送終了報告信号(DTACK)60
4を生成する。AND回路525はデータ転送終
了報告信号(DTACK)604とメモリ回路51
0によつて検出されたパリテイエラー検出信号に
よりバスサイクル異常終了報告信号(BERR)6
05を生成する。
The internal circuit of memory control circuit 520 is shown in FIG. When the AS signal 602 indicating that a bus cycle is being executed is asserted, the memory control circuit 520 outputs a memory read instruction to the memory via the AND gate 522 if the read/write instruction signal R/W 606 is asserted (read mode). circuit 510
If the R/W signal 606 is negated, the memory write instruction is output to the AND gate 521.
The output signal is output to the memory circuit 510. On the other hand, the delay circuit DL524 delays the AS signal 602 by the time required to read or write data in the memory circuit and generates a data transfer completion report signal (DTACK).
Generate 4. AND circuit 525 connects data transfer end report signal (DTACK) 604 and memory circuit 51
The bus cycle abnormal end report signal (BERR) 6 is triggered by the parity error detection signal detected by 0.
Generate 05.

1回のバスサイクルは、アドレスが有効に出力
されていることを示すアドレスストローブ信号
ASがアサートされている期間で規定されている。
つまり、バスサイクルの開始はプロセツサ400
がアドレスストローブASをアサートすることに
よつて、メモリ制御回路520に報告し、バスサ
イクルの終了は、メモリ制御回路520より応答
信号として終了報告信号DTACK信号をプロセツ
サ400が受取ることによりアドレスストローブ
信号ASをネゲートして表示する。
One bus cycle consists of an address strobe signal indicating that the address is being output validly.
It is defined by the period in which AS is asserted.
In other words, the start of a bus cycle is initiated by processor 400.
The processor 400 reports the end of the bus cycle to the memory control circuit 520 by asserting the address strobe AS, and the processor 400 receives the end report signal DTACK signal as a response signal from the memory control circuit 520, thereby asserting the address strobe signal AS. Negate and display.

ここで、バスサイクルが異常終了したとき、そ
のバスサイクルを再試行できるようにしてある。
すなわち転送終了検出回路423は、先ず、
DTACK信号またはBERR信号のどちらか少なく
とも一方のアサートを入力回路422が検出した
らバスサイクル終了指示431をバス制御信号出
力回路421に出力し、アドレスストローブ信号
ASをネゲートして、現在のバスサイクルを完了
し、次に、再度BERR信号を入力回路423が検
出したか否かをスキヤンし、正常終了であるか異
常終了であるかを決定し、正常終了のときは、命
令実行部410に正常終了信号432を送出し、
異常終了であつた場合には、異常終了で終了した
バスサイクルと同じバスサイクルを再試行するた
めリトライ信号433をバス制御信号出力回路4
21に出力し、再度信号ASを出力せしめる。
Here, when a bus cycle ends abnormally, it is possible to retry the bus cycle.
That is, the transfer end detection circuit 423 first
When the input circuit 422 detects the assertion of at least one of the DTACK signal and the BERR signal, it outputs a bus cycle end instruction 431 to the bus control signal output circuit 421, and outputs the address strobe signal.
Negate AS to complete the current bus cycle, then scan whether the input circuit 423 detects the BERR signal again, determine whether the termination is normal or abnormal, and terminate normally. In this case, a normal completion signal 432 is sent to the instruction execution unit 410,
If the abnormal termination occurs, a retry signal 433 is sent to the bus control signal output circuit 4 in order to retry the same bus cycle as the one that terminated due to the abnormal termination.
21, and causes the signal AS to be output again.

次に本実施例の非同期転送バスの動作について
詳細に説明する。
Next, the operation of the asynchronous transfer bus of this embodiment will be explained in detail.

第3図は正常に記憶装置500からデータを読
出す転送が終了したときのバス信号の動作を示す
タイムチヤートである。まず命令実行部410は
アドレス411、リードライト識別信号(R/
W)412、及びバスサイクル開始指示信号41
3を出力する。バス制御信号出力回路421はア
ドレス信号601を出力する。アドレス601が
確定した後AS信号602をアサートしてバスサ
イクルの実行を表示する。記憶装置500はメモ
リ回路501より該当するデータを読出しデータ
線603へ出力する。一方、メモリ制御回路52
0はデータ603の確定を待たずに、予約信号と
してDTACK604をアサートする。その後、デ
ータ603の値が確定し、パリテイエラー等の異
常がないことを確認し、BERR信号605をネゲ
ートして転送が正常に終了したことを報告する。
入力回路422はこのDTACK信号604を受
け、終了検出回路423よりバスサイクル終了指
示信号431を出力してバス制御信号出力回路4
21のAS信号602及びアドレス信号601を
順次ネゲートする。一方命令実行部410へは正
常終了報告432を出力する。
FIG. 3 is a time chart showing the operation of the bus signals when the transfer of data read from the storage device 500 is normally completed. First, the instruction execution unit 410 receives the address 411 and the read/write identification signal (R/
W) 412, and bus cycle start instruction signal 41
Outputs 3. Bus control signal output circuit 421 outputs address signal 601. After the address 601 is determined, the AS signal 602 is asserted to indicate the execution of the bus cycle. The storage device 500 reads the corresponding data from the memory circuit 501 and outputs it to the read data line 603. On the other hand, the memory control circuit 52
0 asserts DTACK 604 as a reservation signal without waiting for data 603 to be finalized. Thereafter, the value of the data 603 is determined, it is confirmed that there is no abnormality such as a parity error, and the BERR signal 605 is negated to report that the transfer has completed normally.
The input circuit 422 receives this DTACK signal 604, outputs the bus cycle end instruction signal 431 from the end detection circuit 423, and outputs the bus cycle end instruction signal 431 to the bus control signal output circuit 4.
The AS signal 602 and address signal 601 of 21 are sequentially negated. On the other hand, a normal completion report 432 is output to the instruction execution unit 410.

次に第4図を用いて、記憶装置500からデー
タを読出す転送において異常が発生した場合の動
作を説明する。メモリ回路501より該当するデ
ータを読出しデータ線603へ出力するところま
では前述の正常転送の場合と同じである。このと
き、メモリ回路501においてパリテイエラーが
検出されたとする。メモリ制御回路502は
BERR信号605をアサートして転送中に異常が
あつたことを処理装置400へ報告する。入力回
路422はこのBERR信号605を受け、バスサ
イクル終了指示信号431を出力する一方、バス
サイクルリトライ指示信号433を出力する。バ
ス制御信号出力回路421はリトライ指示信号4
33を受けると、前回のバスサイクルと同じアド
レスで再度転送を開始し、バスサイクルを再試行
する。
Next, with reference to FIG. 4, the operation when an abnormality occurs in the transfer of reading data from the storage device 500 will be described. The process up to the point where the corresponding data is read from the memory circuit 501 and outputted to the read data line 603 is the same as in the normal transfer described above. At this time, it is assumed that a parity error is detected in the memory circuit 501. The memory control circuit 502
The BERR signal 605 is asserted to report to the processing device 400 that an abnormality has occurred during transfer. Input circuit 422 receives this BERR signal 605 and outputs bus cycle end instruction signal 431 and bus cycle retry instruction signal 433. The bus control signal output circuit 421 outputs a retry instruction signal 4.
33, the transfer is started again using the same address as in the previous bus cycle, and the bus cycle is retried.

第1図は非同期転送バスにおいて転送終了を報
告する応答信号の入力回路422及び終了検出回
路423の具体的な論理図である。転送が正常に
終了した時にはDTACK信号604がアサートさ
れ、異常終了した時にはBERR信号605がアサ
ートされる。また、DTACK信号604とBERR
信号605が同時にアサートされた場合には異常
終了とする。入力回路422は三つの入力回路1
00,110,120からなる。入力回路100
はBERR入力端子140から入力された信号をク
ロツクφ1のテーリングエツジでサンプリングし、
φ2のテーリングエツジで有効となる内部信号を
出力する非同期信号同期化入力回路でる。同様
に、入力回路120はDTACK入力端子150か
ら入力された非同期信号を同期化入力する回路で
ある。この回路は、昭和59年12月26日特許出願し
た「非同期信号同期化回路」に開示されたものと
同じである。入力回路110はBERR入力端子1
40から入力された信号を同期信号とみなしクロ
ツクφ2のテーリングエツジでサンプリングする
同期信号入力回路である。また、終了報告検出回
路423は入力回路100,110,120の出
力信号の状態に応じてバスサイクルの終了431
及び転送の正常終了432バスリトライ433を
出力する。
FIG. 1 is a concrete logic diagram of a response signal input circuit 422 and an end detection circuit 423 for reporting the end of transfer on the asynchronous transfer bus. When the transfer ends normally, the DTACK signal 604 is asserted, and when the transfer ends abnormally, the BERR signal 605 is asserted. Also, DTACK signal 604 and BERR
If the signal 605 is asserted at the same time, the process ends abnormally. The input circuit 422 has three input circuits 1
It consists of 00, 110, 120. Input circuit 100
samples the signal input from the BERR input terminal 140 at the tailing edge of clock φ1 ,
This is an asynchronous signal synchronization input circuit that outputs an internal signal that becomes valid at the tailing edge of φ2 . Similarly, the input circuit 120 is a circuit that synchronizes and inputs the asynchronous signal input from the DTACK input terminal 150. This circuit is the same as the one disclosed in the patent application filed on December 26, 1980, ``Asynchronous Signal Synchronization Circuit.'' Input circuit 110 is BERR input terminal 1
This is a synchronous signal input circuit which regards the signal input from 40 as a synchronous signal and samples it at the tailing edge of clock φ2 . Further, the end report detection circuit 423 detects the end of the bus cycle according to the states of the output signals of the input circuits 100, 110, and 120.
and a normal transfer end 432 bus retry 433 is output.

ブロツク101,102,103,104,1
12,113,114,121,122,12
3,124はフリツプフロツプで制御信号入力C
がアサートされているとき入力データDを出力端
子Qへ伝え、ネゲートされているときは出力信号
Qを保持して出力するラツチ手段である。第5図
にこれらのフリツプフロツプの一構成例を示す。
論理ゲート200は制御信号Cがアサートのとき
入力信号Dの反転信号を出力し、ネゲートのとき
は出力はハイインピーダンス状態になる。また、
論理ゲ−ト201は逆に制御信号Cがネゲートの
ときフリツプフロツプ100の出力信号Qの反転
信号を出力し、アサートされているとき出力はハ
イインピーダンス状態になる。上記2種類の論理
ゲート200,210とインバータ220を第5
図のように接続すると、制御信号Cによつて入力
データDをラツチするフリツプフロツプ230を
構成することができる。
Block 101, 102, 103, 104, 1
12, 113, 114, 121, 122, 12
3,124 is a flip-flop with control signal input C
It is a latch means that transmits input data D to an output terminal Q when is asserted, and holds and outputs an output signal Q when it is negated. FIG. 5 shows an example of the configuration of these flip-flops.
The logic gate 200 outputs an inverted signal of the input signal D when the control signal C is asserted, and the output becomes a high impedance state when the control signal C is negated. Also,
Conversely, when the control signal C is negated, the logic gate 201 outputs an inverted signal of the output signal Q of the flip-flop 100, and when asserted, the output becomes a high impedance state. The above two types of logic gates 200 and 210 and the inverter 220 are connected to the fifth
When connected as shown in the figure, a flip-flop 230 which latches input data D by control signal C can be constructed.

第6図にフリツプフロツプ230の回路構成の
一例を示す。回路素子301,302,311,
312,321はPチヤネルMOSFETであり、
回路素子303,304,313,314,32
2はNチヤネルMOSFETである。MOSFET3
01,302,303,304は第2図の論理ゲ
ート200を構成しており、MOSFET311,
312,313,314は同様に論理ゲート21
0を構成している。また、MOSFET321,3
22はインバータ220を構成している。第3図
を用いてフリツプフロツプ100の動作を説明す
る。先ず制御信号Cがアサート(High)される
と、回路素子302,303はON状態となり論
理ゲート200はインバータと同じ働きをし、入
力信号Dの反転信号を出力する。一方論理ゲート
210は回路素子312,313がOFF状態と
なるため出力はハイインピーダンスである。した
がつて信号線330は入力信号Dの反転信号とな
り、インバータ220により再度反転されて出力
端子Qへ入力信号Dを伝える。
FIG. 6 shows an example of the circuit configuration of flip-flop 230. Circuit elements 301, 302, 311,
312 and 321 are P channel MOSFETs,
Circuit elements 303, 304, 313, 314, 32
2 is an N-channel MOSFET. MOSFET3
01, 302, 303, 304 constitute the logic gate 200 in FIG.
Similarly, 312, 313, 314 are logic gates 21
It constitutes 0. Also, MOSFET321,3
22 constitutes an inverter 220. The operation of flip-flop 100 will be explained using FIG. First, when the control signal C is asserted (High), the circuit elements 302 and 303 are turned on, and the logic gate 200 functions like an inverter and outputs an inverted signal of the input signal D. On the other hand, since the circuit elements 312 and 313 of the logic gate 210 are in the OFF state, the output is high impedance. Therefore, the signal line 330 becomes an inverted signal of the input signal D, is inverted again by the inverter 220, and transmits the input signal D to the output terminal Q.

次に制御信号Cがネゲート(Low)されると
回路素子302,303はOFF状態となり出力
はハイインピーダンスとなる。一方論理ゲート2
10は回路素子312,313がON状態となり
インバータと同じ働きをし、出力信号Qの反転信
号を出力する。したがつて信号線330は出力信
号Qの反転信号となり、インバータ220により
再度反転され、出力信号Qが出力され、値が保持
される。
Next, when the control signal C is negated (low), the circuit elements 302 and 303 are turned off, and the output becomes high impedance. On the other hand, logic gate 2
10, circuit elements 312 and 313 are turned on and function in the same way as an inverter, outputting an inverted signal of the output signal Q. Therefore, the signal line 330 becomes an inverted signal of the output signal Q, which is inverted again by the inverter 220, outputs the output signal Q, and maintains its value.

以上がフリツプフロツプ230の説明である。
次に第1図の非同期信号の入力回路120の動作
について第7図のタイムチヤートを用いて説明す
る。DTACK入力端子150より入力された入力
信号151はタイミングクロツクφ1によつてフ
リツプフロツプ121にラツチされ信号152を
出力する。信号152はクロツクφ1がHighの間
フリツプフロツプ121が素通しなので、この間
の出力値は入力信号151によつて変化し不定で
ある。信号152はクロツクφ1より90°位相のず
れたタイミングクロツクφ2によつてフリツプフ
ロツプ122に再度ラツチされ信号153を出力
する。この信号153をクロツクφ1の反転信号
によつてラツチした出力信号154はタイムチヤ
ートに示したようにクロツクφ1の1サイクルの
間値を保持した信号になる。しかし、信号154
はクロツクφ1のテーリングエツヂでは不安定で
ある。つまり、第2段目、第3段目のフリツプフ
ロツプ122,123によつてゲート遅延がある
ため、クロツクφ1のテーリングエツヂで信号1
52が確定しても、信号154が確定するまでに
時間を要するためである。
The above is a description of the flip-flop 230.
Next, the operation of the asynchronous signal input circuit 120 shown in FIG. 1 will be explained using the time chart shown in FIG. 7. An input signal 151 inputted from the DTACK input terminal 150 is latched into the flip-flop 121 by the timing clock φ1 , and a signal 152 is output. Since the flip-flop 121 passes through the signal 152 while the clock φ 1 is high, the output value during this period varies depending on the input signal 151 and is undefined. Signal 152 is relatched to flip-flop 122 by timing clock φ 2 which is 90° out of phase with clock φ 1 and outputs signal 153 . The output signal 154 obtained by latching this signal 153 by the inverted signal of the clock φ1 becomes a signal that holds its value for one cycle of the clock φ1 , as shown in the time chart. However, signal 154
is unstable at the tailing edge of clock φ 1 . In other words, since there is a gate delay due to the flip-flops 122 and 123 in the second and third stages, the signal 1 at the tailing edge of the clock φ1
This is because even if 52 is determined, it takes time until the signal 154 is determined.

そこで、信号154を再度クロツクφ2の反転
信号でラツチすると、その出力信号155はタイ
ムチヤートに示すように、クロツクφ2の1サイ
クルの間値を保持し、かつ、クロツクφ2のテー
リングエツヂから有効な値を出力することができ
る。
Therefore, when the signal 154 is latched again with the inverted signal of the clock φ 2 , the output signal 155 retains its value for one cycle of the clock φ 2 and becomes valid from the tailing edge of the clock φ 2 , as shown in the time chart. It is possible to output a value.

以上説明したように、ブロツク120は、クロ
ツクφ1のテーリングエツヂで非同期信号をサン
プリングして、クロツクφ2のテーリングエツヂ
で内部信号を有効にすることができる。つまり、
非同期信号の同期化をクロツクのサイクルの1/4
の時間で行うことができる。
As explained above, block 120 can sample an asynchronous signal on the tailing edge of clock φ 1 and enable an internal signal on the tailing edge of clock φ 2 . In other words,
Synchronize asynchronous signals in 1/4 of a clock cycle
It can be done in an amount of time.

次に同期信号入力回路110について説明す
る。入力回路110はそれぞれクロツクφ2、ク
ロツクφ1の反転クロツク、クロツクφ2の反転ク
ロツクに応答するフリツプフロツプ112,11
3,114から構成されており、入力回路120
における信号154と同様に、出力信号135は
入力信号141をφ2のテーリングエツヂでサン
プリングし、1クロツクサイクルの間保持した信
号となる。ここで、入力信号141はクロツク
φ2のテーリングエツヂで確定した値である同期
信号とすると、入力回路110はクロツクφ2
テーリングエツヂから1サイクル間有効な値を出
力線135へ出力する同期信号の入力回路とな
る。
Next, the synchronization signal input circuit 110 will be explained. Input circuit 110 includes flip-flops 112 and 11 that respond to clock φ 2 , an inverted clock of clock φ 1 , and an inverted clock of clock φ 2 , respectively.
3,114, and an input circuit 120
Similar to signal 154 in FIG . Here, if the input signal 141 is a synchronization signal having a value determined at the tailing edge of the clock φ 2 , the input circuit 110 inputs a synchronization signal that outputs a value valid for one cycle from the tailing edge of the clock φ 2 to the output line 135 . It becomes a circuit.

つまり、クロツクφ1とφ2の位相差の中に各入
力信号のスキユーがおさまることを規定し、後述
のごとく、クロツクφ2によるサンプリング入力
データはクロツクφ1によるサンプリング入力デ
ータがアサートされたときにだけ有効な信号とし
て扱うとクロツクφ2によるサンプリングは同期
信号に対するサンプリングとみなすことができ
る。したがつて入力回路110は非同期信号のサ
ンプリングを行う第1の入力回路100又は12
0に比べ、回路規模の小さい簡単な回路(本実施
例ではフリツプフロツプが1つ少ない)で良く、
かつ、同期化に必要な時間遅れもないので高速に
有効な信号を取出すことができる。
In other words, it stipulates that the skew of each input signal is within the phase difference between clocks φ 1 and φ 2 , and as described later, the input data sampled by clock φ 2 is input when the input data sampled by clock φ 1 is asserted. If it is treated as a signal that is valid only for , then sampling by clock φ 2 can be regarded as sampling for a synchronous signal. Therefore, the input circuit 110 is a first input circuit 100 or 12 for sampling an asynchronous signal.
Compared to 0, a simple circuit with a small circuit scale (in this example, there is one less flip-flop) is sufficient;
Moreover, since there is no time delay required for synchronization, effective signals can be extracted at high speed.

一方、論理回路423はBERR入力141を
φ1のテーリングエツヂでサンプリングした信号
145とφ2のテーリングエツヂでサンプリング
した信号135とDTACK入力151をφ1のテー
リングエツヂでサンプリングした信号155か
ら、非同期バス転送終了のOK/NGを決定する
回路である。つまり、DTACK入力151または
BERR入力141がアサートされたら、バスサイ
クル終了指示信号431を、検出信号145と1
55が入力されるオアゲアート161が出力し、
信号431がアサートされている状態でBERR入
力141がネゲートされているとき、信号431
の反転信号と信号135が入力されるアンドゲー
ト162の出力をクロツクφ1でラツチするフリ
ツプフロツプ168(これは他のフリツプフロツ
プと同じ構造である)が正常終了報告信号432
を出力し、信号431がアサートされている状態
でBERR入力141がアサートされているとき、
信号431と135が入力されるアンドゲート1
62の出力をクロツクφ2でラツチするフリツプ
フロツプ167がリトライ指示信号433を出力
する。
On the other hand, the logic circuit 423 uses a signal 145 obtained by sampling the BERR input 141 at the tailing edge of φ 1 , a signal 135 sampled at the tailing edge of φ 2 , and a signal 155 obtained by sampling the DTACK input 151 at the tailing edge of φ 1 to determine the end of the asynchronous bus transfer. This is a circuit that determines OK/NG. That is, DTACK input 151 or
When the BERR input 141 is asserted, the bus cycle end instruction signal 431 is connected to the detection signal 145 and 1
55 is input, orage art 161 outputs,
When signal 431 is asserted and BERR input 141 is negated, signal 431
A flip-flop 168 (which has the same structure as other flip-flops) latches the output of the AND gate 162 to which the inverted signal of 435 and the signal 135 are input, and outputs the normal completion report signal 432.
output, and when BERR input 141 is asserted with signal 431 asserted,
AND gate 1 to which signals 431 and 135 are input
A flip-flop 167 which latches the output of 62 with clock φ 2 outputs a retry instruction signal 433.

以上の本実施例によれば、バスエラー時に
DTACK信号604と同時にBERR信号605を
アサートしても確実にバスエラーであることを検
出することができる。また、更に、第7図に示す
ようにクロツクφ1とφ2との位相差以内ならば、
BERR信号605をDTACK信号604より遅れ
てアサートしても確実にバスエラーであることを
検出することができる。
According to the above embodiment, when a bus error occurs,
Even if the BERR signal 605 is asserted at the same time as the DTACK signal 604, it is possible to reliably detect a bus error. Furthermore, as shown in FIG. 7, if the phase difference between clocks φ 1 and φ 2 is within the range,
Even if the BERR signal 605 is asserted later than the DTACK signal 604, it is possible to reliably detect a bus error.

従つてメモリ制御回路520はDTACK信号6
04を転送終了の予約信号としてデータ603の
確定に先立つて応答することができるので、1回
のバスサイクルを短時間で終了することができ、
バスのスループツトを向上することができる。
Therefore, the memory control circuit 520 receives the DTACK signal 6.
04 can be used as a transfer end reservation signal and can be responded to before the data 603 is finalized, so one bus cycle can be completed in a short time.
Bus throughput can be improved.

また、本実施例のメモリ制御回路520が、
DTACK信号604を予約信号としてあらかじめ
出力しない回路方式つまり、異常終了のときは
BERR信号605だけを出力する方式であつて
も、本発明の入力方式を用いると、第10図に示
すようにBERR信号605を正しく1のテーリ
ングエツヂで同期化してバスエラーを受付けるこ
とができる。このとき、入力回路422終了報告
検出回路423は第1図の回路がそのまま使うこ
とができ、DTACK信号604、BERR信号60
5の応答のし方によらず、汎用的に利用すること
ができる。
Furthermore, the memory control circuit 520 of this embodiment
A circuit system that does not output the DTACK signal 604 as a reserved signal in advance, that is, in the event of an abnormal termination.
Even if the system outputs only the BERR signal 605, if the input system of the present invention is used, it is possible to correctly synchronize the BERR signal 605 with a tailing edge of 1 and accept a bus error, as shown in FIG. At this time, the input circuit 422 and completion report detection circuit 423 can use the circuit shown in FIG.
It can be used for general purpose regardless of the response method of 5.

なお、本実施例では非同期転送バスの終了報告
入力回路について説明したが、本発明は他に優先
順位によつてエンコードされた入力回路たとえば
割込み要求入力回路にも適用することができる。
In this embodiment, a termination report input circuit for an asynchronous transfer bus has been described, but the present invention can also be applied to other input circuits encoded by priority, such as an interrupt request input circuit.

第11図は3ビツトにエンコードされた入力を
同期化して受付ける入力回路の例である。信号線
701,702,703は入力信号、信号線72
1,722,723はそれぞれ入力701,70
2,703をクロツクφ1のテーリングエツヂで
サンプリングしクロツク2のリーデイングエツ
ヂで有効な値となる同期化信号であり、ブロツク
711,712,713はその同期化回路で、第
1図のブロツク100と同じ構成である。信号7
41,742,743は入力701,702,7
03をφ2のテーリングエツヂでサンプリングし
φ2のリーデイングエツヂから有効な値となる信
号であり、ブロツク731,732,733はそ
の入力回路で、第1図のブロツク110と同じで
ある。信号721〜723はオアゲート770で
論理和され、その結果は、信号741〜743を
それぞれ他方の入力とするアンドゲート781〜
783の一方の入力として与えられる。アンドゲ
ート781〜783の出力はそれぞれフリツプフ
ロツプ761〜763によりクロツクφ1に同期
してラツチされる。信号751,752,753
は3ビツトのエンコードされた信号を同期化した
結果の出力で図示しない装置にて処理される。フ
リツプフロツプ761,762,763は前記実
施例のフリツプフロツプ230と同じ構造のラツ
チである。
FIG. 11 is an example of an input circuit that synchronizes and receives input encoded into 3 bits. Signal lines 701, 702, 703 are input signals, signal line 72
1,722,723 are inputs 701, 70 respectively
2,703 is a synchronization signal that is sampled at the tailing edge of clock φ1 and becomes a valid value at the leading edge of clock 2. Blocks 711, 712, and 713 are the synchronization circuits, and are similar to block 100 in FIG. They have the same configuration. signal 7
41, 742, 743 are inputs 701, 702, 7
03 is sampled at the tailing edge of φ 2 and becomes a valid value from the leading edge of φ 2 . Blocks 731, 732, and 733 are its input circuits, which are the same as block 110 in FIG. Signals 721 to 723 are logically summed by OR gate 770, and the result is output to AND gates 781 to 781, each of which receives signals 741 to 743 as the other input.
783 is given as one input. The outputs of AND gates 781-783 are latched by flip-flops 761-763, respectively, in synchronization with clock φ1 . Signal 751, 752, 753
is the output result of synchronizing the 3-bit encoded signal and is processed by a device not shown. Flip-flops 761, 762, and 763 are latches of the same construction as flip-flop 230 of the previous embodiment.

本入力回路の動作例を第12図にタイムチヤー
トで示す。φ1のテーリングエツヂで入力701,
702,703が全てネゲートのときはφ2のテ
ーリングエツヂで入力701がアサートされても
出力751,752,753は全てネゲートであ
る。一方φ1のテーリングエツヂで入力701,
702,703のうちどれか1つでもアサートの
信号があると、φ2のテーリングエツヂで再度入
力信号をサンプリングして、その結果を出力75
1,752,753へ出力する。
An example of the operation of this input circuit is shown in a time chart in FIG. Input 701 at the tailing edge of φ1 ,
When all the outputs 702 and 703 are negated, the outputs 751, 752, and 753 are all negated even if the input 701 is asserted at the tailing edge of φ 2 . On the other hand, input 701 at the tailing edge of φ 1 ,
If any one of 702 and 703 is asserted, the input signal is sampled again at the tailing edge of φ2 and the result is output 75.
Output to 1,752,753.

例えば、7レベルの割込み要求をエンコードし
た3本の信号で入力する方式の処理装置におい
て、本入力回路を用いると処理装置内部のタイミ
ングクロツクに非同期に割込み要求を入力して
も、クロツクφ1とφ2の位相のずれの期間だけ、
入力信号のスキユーを許容できるので、エンコー
ド信号を正確に取込むことができる。
For example, in a processing device that inputs a 7-level interrupt request as three encoded signals, if this input circuit is used, even if the interrupt request is input asynchronously to the timing clock inside the processing device, the clock φ 1 and the period of phase shift of φ 2 ,
Since skew in the input signal can be tolerated, the encoded signal can be captured accurately.

なお、本発明の方式を用いず、入力回路71
1,712,713のみで上記の入力信号を同期
化した場合、第12図の信号721,722,7
23が示すように、2マシンサイクル目におい
て、入力701,702,703とは異なる値を
同期化信号としてしまうことは明らかである。し
たがつて、3本の入力信号701,702,70
3を完全に非同期信号として入力することができ
ない。なお、オアゲート770の出力も入力70
1〜703が入力されたことを示す信号として図
示しない装置によつて利用することができる。
Note that without using the method of the present invention, the input circuit 71
If the above input signals are synchronized with only 1,712,713, the signals 721, 722, 7 in FIG.
23, it is clear that in the second machine cycle, values different from those of the inputs 701, 702, and 703 are used as the synchronization signal. Therefore, three input signals 701, 702, 70
3 cannot be input as a completely asynchronous signal. Note that the output of the OR gate 770 is also input to the input 70.
It can be used by a device (not shown) as a signal indicating that 1 to 703 have been input.

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

本発明によれば、バスエラーを示す第1の信号
BERRとデータ転送アクノリツジを示す第2の信
号DTACKとのいずれか先に入力されても、第1
の検出手段100もしくは第2の検出手段120
によつて先に入力された信号の存在が検出され
て、第1の回路手段161の論理和により、バス
サイクル終了信号431を出力することができ
る。
According to the invention, the first signal indicating a bus error
Even if either BERR or the second signal DTACK indicating the data transfer acknowledgement is input first, the first
detection means 100 or second detection means 120
The presence of the previously input signal is detected by the first circuit means 161, and the bus cycle end signal 431 can be outputted by the logical sum of the first circuit means 161.

また、バスエラーを示す第1の信号BERRが入
力された場合は、この第1の信号BERRの入力は
ラツチ手段の従属接続数の少ない第3の検出手段
110により高速に検出される。一方、上述のよ
うに第1の回路手段161からバスサイクル終了
信号431が出力された後、第3の検出手段11
0の第1の信号BERRの高速検出出力135と第
1の回路手段161からのバスサイクル終了信号
431との論理積を行う第2の回路手段162の
出力からバスサイクルリトライ信号433を出力
することができる。
Further, when the first signal BERR indicating a bus error is input, the input of the first signal BERR is detected at high speed by the third detection means 110 having a small number of cascade connections of latch means. On the other hand, after the bus cycle end signal 431 is output from the first circuit means 161 as described above, the third detection means 11
Outputting a bus cycle retry signal 433 from the output of the second circuit means 162 which performs a logical product of the high speed detection output 135 of the first signal BERR of 0 and the bus cycle end signal 431 from the first circuit means 161. I can do it.

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

第1図は非同期転送バスの終了報告信号入力回
路の論理図、第2図は非同期転送バスを有するシ
ステム構成図、第3図は第2図のシステムにおい
て、正常にデータ転送が行なわれたときのタイム
チヤート図、第4図はデータ転送が異常終了した
ときのタイムチヤート図、第5図は第1図で用い
られているフリツプフロツプの論理図、第6図は
第5図のフリツプフロツプの回路図、第7図は第
1図の入力回路の動作のタイムチヤート、第8図
はバス制御信号出力回路の構成例、第9図はメモ
リ制御回路の構成例、第10図は転送異常終了時
にBERR信号単独で応答するシステムの動作例、
第11図は3本のエンコードした非同期入力信号
を受付ける入力回路、第12図はその動作例を示
すタイムチヤートである。 100,120……非同期信号同期化入力回
路、110……同期信号入力回路、140,15
0……入力端子、160……終了状態判定回路、
161,171,172,220……インバー
タ、162,163……ANDゲート、164…
…ORゲート、301,302,311,31
2,321……PチヤネルMOSFET、303,
304,313,314,322……Nチヤネル
MOSFET。
Figure 1 is a logic diagram of the asynchronous transfer bus termination report signal input circuit, Figure 2 is a system configuration diagram with an asynchronous transfer bus, and Figure 3 is a diagram of when data transfer is performed normally in the system shown in Figure 2. Figure 4 is a time chart when data transfer ends abnormally, Figure 5 is a logic diagram of the flip-flop used in Figure 1, and Figure 6 is a circuit diagram of the flip-flop used in Figure 5. , Figure 7 is a time chart of the operation of the input circuit in Figure 1, Figure 8 is an example of the configuration of the bus control signal output circuit, Figure 9 is an example of the configuration of the memory control circuit, and Figure 10 is a time chart of the operation of the input circuit in Figure 1. An example of the operation of a system that responds to a signal alone,
FIG. 11 is an input circuit that receives three encoded asynchronous input signals, and FIG. 12 is a time chart showing an example of its operation. 100, 120...Asynchronous signal synchronization input circuit, 110...Synchronization signal input circuit, 140, 15
0...Input terminal, 160...End state determination circuit,
161,171,172,220...Inverter, 162,163...AND gate, 164...
...OR gate, 301, 302, 311, 31
2,321...P channel MOSFET, 303,
304, 313, 314, 322...N channel
MOSFET.

Claims (1)

【特許請求の範囲】 1 第1のラツチ手段と第2のラツチ手段と第3
のラツチ手段と第4のラツチ手段との従属接続に
より少なくとも構成され、上記第1のラツチ手段
と上記第2のラツチ手段と上記第3のラツチ手段
と上記第4のラツチ手段がそれぞれ信号入力端子
と信号出力端子と制御入力端子とを有し、上記制
御入力端子が第1の状態の時に上記信号入力端子
の信号を上記信号出力端子へ伝達し、上記制御入
力端子が上記第1の状態と異なる第2の状態の時
に上記信号出力端子の信号を保持する如くそれぞ
れが構成され、データ転送が異常終了したことを
示すバスエラー信号である第1の信号を上記第1
のラツチ手段の上記信号入力端子に印加せしめ、
上記第1のラツチ手段の上記制御入力端子に第1
のクロツク信号を印加せしめ、上記第1のラツチ
手段の上記信号出力端子を上記第2のラツチ手段
の上記信号入力端子に接続せしめ、上記第2のラ
ツチ手段の上記制御入力端子に上記第1のクロツ
ク信号と異なる第2のクロツク信号を印加せし
め、上記第2のラツチ手段の上記信号出力端子を
上記第3のラツチ手段の上記信号入力端子に接続
せしめ、上記第3のラツチ手段の上記制御入力端
子に上記第1のクロツク信号の反転信号を印加せ
しめ、上記第3のラツチ手段の上記信号出力端子
を上記第4のラツチ手段の上記信号入力端子に接
続せしめ、上記第4のラツチ手段の上記制御入力
端子に上記第2のクロツク信号の反転信号を印加
せしめ、上記第4のラツチ手段の上記信号出力端
子から上記第1の信号の入力有無の検出出力信号
を出力する第1の検出手段と、 上記第1の検出手段の上記ラツチ手段の従属接
続数と等しい従属接続数の第5のラツチ手段と第
6のラツチ手段と第7のラツチ手段と第8のラツ
チ手段との従属接続により少なくとも構成され、
上記第5のラツチ手段と上記第6のラツチ手段と
上記第7のラツチ手段と上記第8のラツチ手段が
それぞれ信号入力端子と信号出力端子と制御入力
端子とを有し、上記制御入力端子が上記第1の状
態の時に上記信号入力端子の信号を上記信号出力
端子へ伝達し、上記制御入力端子が上記第2の状
態の時に上記信号出力端子の信号を保持する如く
それぞれが構成され、データ転送が終了したこと
を示すデータ転送アクノリツジ信号である第2の
信号を上記第5のラツチ手段の上記信号入力端子
に印加せしめ、上記第5のラツチ手段の上記制御
入力端子に上記第1のクロツク信号を印加せし
め、上記第5のラツチ手段の上記信号出力端子を
上記第6のラツチ手段の上記信号入力端子に接続
せしめ、上記第6のラツチ手段の上記制御入力端
子に上記第2のクロツク信号を印加せしめ、上記
第6のラツチ手段の上記信号出力端子を上記第7
のラツチ手段の上記信号入力端子に接続せしめ、
上記第7のラツチ手段の上記制御入力端子に上記
第1のクロツク信号の反転信号を印加せしめ、上
記第7のラツチ手段の上記信号出力端子を上記第
8のラツチ手段の上記信号入力端子に接続せし
め、上記第8のラツチ手段の上記制御入力端子に
上記第2のクロツク信号の反転信号を印加せし
め、上記第8のラツチ手段の上記信号出力端子か
ら上記第2の信号の入力有無の検出出力信号を出
力する第2の検出手段と、 上記第1の検出手段の上記ラツチ手段の従属接
続数より少ない従属接続数の第9のラツチ手段と
第10のラツチ手段と第11のラツチ手段との従属接
続により少なくとも構成され、上記第9のラツチ
手段と上記第10のラツチ手段と上記第11のラツチ
手段とがそれぞれ信号入力端子と信号出力端子と
制御入力端子とを有し、上記制御入力端子が上記
第1の状態の時に上記信号入力端子の信号を上記
信号出力端子へ伝達し、上記制御入力端子が上記
第2の状態の時に上記信号出力端子の信号を保持
する如くそれぞれが構成され、上記第1の信号を
上記第9のラツチ手段の上記信号入力端子に印加
せしめ、上記第9のラツチ手段の上記制御入力端
子に上記第2のクロツク信号を印加せしめ、上記
第9のラツチ手段の上記信号出力端子を上記第10
のラツチ手段の上記信号入力端子に接続せしめ、
上記第10のラツチ手段の上記制御入力端子に上記
第1のクロツク信号の反転信号を印加せしめ、上
記第10のラツチ手段の上記信号出力端子を上記第
11のラツチ手段の上記信号入力端子に接続せし
め、上記第11のラツチ手段の上記制御入力端子に
上記第2のクロツク信号の反転信号を印加せし
め、上記第11のラツチ手段の上記信号出力端子か
ら上記第1の信号の入力有無の検出出力信号を出
力する第3の検出手段と、 上記第1の検出手段の検出出力と上記第2の検
出手段の検出出力との論理和信号を得る第1の回
路手段と、 上記第3の検出手段の検出出力と上記第1の回
路手段の出力との論理積信号を得る第2の回路手
段とを具備してなり、 上記第1の回路手段の出力からバスサイクル終
了信号を取り出し、 上記第2の回路手段の出力からバスサイクルリ
トライ信号を取り出すことを特徴とする処理装
置。 2 上記第1の信号と上記第2の信号とは外部記
憶装置から出力されることを特徴とする特許請求
の範囲第1項記載の処理装置。 3 上記処理装置はマイクロコンピユータである
ことを特徴とする特許請求の範囲第1項または第
2項に記載の処理装置。
[Claims] 1. A first latching means, a second latching means, and a third latching means.
The first latch means, the second latch means, the third latch means, and the fourth latch means each have a signal input terminal. has a signal output terminal and a control input terminal, and transmits a signal from the signal input terminal to the signal output terminal when the control input terminal is in the first state, and when the control input terminal is in the first state. Each of them is configured to hold the signal of the signal output terminal when in a different second state, and the first signal, which is a bus error signal indicating that the data transfer has ended abnormally, is transmitted to the first signal output terminal.
applying it to the signal input terminal of the latching means;
A first latching means is connected to the control input terminal of the first latching means.
applying a clock signal of said first latching means, said signal output terminal of said first latching means being connected to said signal input terminal of said second latching means, and said clock signal of said first latching means being applied to said control input terminal of said second latching means. applying a second clock signal different from the clock signal, connecting the signal output terminal of the second latching means to the signal input terminal of the third latching means, and controlling the control input of the third latching means. an inverted signal of the first clock signal is applied to a terminal, the signal output terminal of the third latch means is connected to the signal input terminal of the fourth latch means, and the signal output terminal of the third latch means is connected to the signal input terminal of the fourth latch means; a first detection means for applying an inverted signal of the second clock signal to a control input terminal and outputting a detection output signal indicating the presence or absence of input of the first signal from the signal output terminal of the fourth latch means; , at least by the cascade connections of the fifth latching means, the sixth latching means, the seventh latching means, and the eighth latching means, the number of cascading connections being equal to the number of cascading connections of the latching means of the first detection means. configured,
The fifth latch means, the sixth latch means, the seventh latch means, and the eighth latch means each have a signal input terminal, a signal output terminal, and a control input terminal, and the control input terminal is Each of them is configured to transmit the signal of the signal input terminal to the signal output terminal when the control input terminal is in the first state, and hold the signal of the signal output terminal when the control input terminal is in the second state. A second signal, which is a data transfer acknowledge signal indicating that the transfer has been completed, is applied to the signal input terminal of the fifth latch means, and the first clock signal is applied to the control input terminal of the fifth latch means. applying a signal, connecting the signal output terminal of the fifth latching means to the signal input terminal of the sixth latching means, and applying the second clock signal to the control input terminal of the sixth latching means. is applied, and the signal output terminal of the sixth latch means is connected to the seventh
connected to the signal input terminal of the latch means of
An inverted signal of the first clock signal is applied to the control input terminal of the seventh latch means, and the signal output terminal of the seventh latch means is connected to the signal input terminal of the eighth latch means. an inverted signal of the second clock signal is applied to the control input terminal of the eighth latch means, and a detection output of whether or not the second signal is input is output from the signal output terminal of the eighth latch means; a second detection means for outputting a signal, and a ninth latch means, a tenth latch means, and an eleventh latch means each having a smaller number of cascade connections than the number of cascade connections of the latching means of the first detection means. The ninth latching means, the tenth latching means, and the eleventh latching means each have a signal input terminal, a signal output terminal, and a control input terminal, and the control input terminal are each configured to transmit the signal at the signal input terminal to the signal output terminal when the control input terminal is in the first state, and to hold the signal at the signal output terminal when the control input terminal is in the second state; applying said first signal to said signal input terminal of said ninth latching means, applying said second clock signal to said control input terminal of said ninth latching means, and applying said second clock signal to said control input terminal of said ninth latching means; Connect the above signal output terminal to the above 10th
connected to the signal input terminal of the latch means of
An inverted signal of the first clock signal is applied to the control input terminal of the tenth latch means, and the signal output terminal of the tenth latch means is applied to the control input terminal of the tenth latch means.
the clock signal is connected to the signal input terminal of the eleventh latch means, an inverted signal of the second clock signal is applied to the control input terminal of the eleventh latch means, and the clock signal is connected to the signal output terminal of the eleventh latch means. a third detection means for outputting a detection output signal indicating whether or not the first signal is input; a first detection means for obtaining a logical sum signal of the detection output of the first detection means and the detection output of the second detection means; and second circuit means for obtaining an AND signal of the detection output of the third detection means and the output of the first circuit means, and an output of the first circuit means. A processing device characterized in that: a bus cycle end signal is extracted from the output of the second circuit means; and a bus cycle retry signal is extracted from the output of the second circuit means. 2. The processing device according to claim 1, wherein the first signal and the second signal are output from an external storage device. 3. The processing device according to claim 1 or 2, wherein the processing device is a microcomputer.
JP60074217A 1985-04-10 1985-04-10 Processor Granted JPS61234450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60074217A JPS61234450A (en) 1985-04-10 1985-04-10 Processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60074217A JPS61234450A (en) 1985-04-10 1985-04-10 Processor

Publications (2)

Publication Number Publication Date
JPS61234450A JPS61234450A (en) 1986-10-18
JPH0560135B2 true JPH0560135B2 (en) 1993-09-01

Family

ID=13540799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60074217A Granted JPS61234450A (en) 1985-04-10 1985-04-10 Processor

Country Status (1)

Country Link
JP (1) JPS61234450A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51120637A (en) * 1975-04-15 1976-10-22 Hitachi Ltd Signal transmission system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51120637A (en) * 1975-04-15 1976-10-22 Hitachi Ltd Signal transmission system

Also Published As

Publication number Publication date
JPS61234450A (en) 1986-10-18

Similar Documents

Publication Publication Date Title
US4864496A (en) Bus adapter module for interconnecting busses in a multibus computer system
US4999769A (en) System with plural clocks for bidirectional information exchange between DMA controller and I/O devices via DMA bus
JPH05324544A (en) Bus control method
EP0202085A2 (en) Self-checking, dual railed, leading edge synchronizer
US5333301A (en) Data transfer bus system and method serving multiple parallel asynchronous units
JPH0560135B2 (en)
US4580243A (en) Circuit for duplex synchronization of asynchronous signals
US5388225A (en) Time-domain boundary bridge method and apparatus for asynchronous sequential machines
US6202117B1 (en) Host adapter integrated circuit having autoaccess pause
US6275887B1 (en) Method and apparatus for terminating a bus transaction if the target is not ready
US6408353B1 (en) Microcomputer having sampling function of retry requesting signal in syncronization with strobe signal
US7502388B2 (en) Hot synchronization device of an asynchronous frame receiver
JP2994906B2 (en) Data receiving circuit
JP2634583B2 (en) Data transfer method
US20030110335A1 (en) Bus transaction between devices in a system
GB2225460A (en) Asynchronous interrupt arbitrator
JP2001043181A (en) Method for communication between microcomputers
KR0185616B1 (en) Output resistor auto-clear circuit of cpu interface arithmetic circuit
JPH04135268A (en) Multi-cpu system
JP3335926B2 (en) Read and clear circuit
JPH0588701A (en) Synchronizing device for triple redundant system
JPH0883240A (en) Transfer control circuit
JPH0756645B2 (en) Data processing device
JPH03173241A (en) Broadcast communication system
JPH0474244A (en) Latch circuit