JPH08316806A - Signal contention circuit - Google Patents
Signal contention circuitInfo
- Publication number
- JPH08316806A JPH08316806A JP7122197A JP12219795A JPH08316806A JP H08316806 A JPH08316806 A JP H08316806A JP 7122197 A JP7122197 A JP 7122197A JP 12219795 A JP12219795 A JP 12219795A JP H08316806 A JPH08316806 A JP H08316806A
- Authority
- JP
- Japan
- Prior art keywords
- flip
- signal
- flop
- level
- 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.)
- Pending
Links
Landscapes
- Electronic Switches (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、回線交換機及びパケッ
ト交換機のデータ送受信回路等に設けられた信号競合回
路に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal competing circuit provided in a data transmitting / receiving circuit of a circuit switch and a packet switch.
【0002】[0002]
【従来の技術】図2は、従来のデータ送受信回路を示す
構成ブロック図である。このデータ送受信回路は、中央
処理装置(以下、CPU)1と、ダイレクトメモリアク
セス(Direct Memory Access;以下、DMAという)機
能を有した例えば2個の集積回路(以下、LSIとい
う)2,3を備えている。それらCPU1とLSI2,
3の間にはバスリクエスト・セレクト回路4が設けられ
ている。図示しないメモリに対してそれぞれDMA動作
を行ないたい場合、各LSI2,3はバスを占有するた
めに、DMAリクエスト信号DREQのレベルを有効にして
バスリクエスト・セレクト回路4に与える。信号DREQが
有効であることを検出すると、バスリクエスト・セレク
ト回路4は、ホールドリクエスト信号HREQのレベルを有
効にしてCPU1に与え、該CPU1の機能の一時停止
を要求する。CPU1は、有効を示す信号HREQを検出
し、ホールドアクノレジ信号HACKを有効にしてバスリク
エスト・セレクト回路4に出力する。これにより、バス
は解放される。その後、バスリクエスト・セレクト回路
4は、LSI2,3のうちの優先順位の高いもの対して
DMAアクノレジ信号DACKを有効にして返し、そのDM
Aアクノレジ信号DACKを受けたLSI2またはLSI3
が、DMA動作を行なう。2. Description of the Related Art FIG. 2 is a configuration block diagram showing a conventional data transmitting / receiving circuit. This data transmission / reception circuit includes a central processing unit (hereinafter, CPU) 1 and, for example, two integrated circuits (hereinafter, LSI) 2 and 3 having a direct memory access (hereinafter, DMA) function. I have it. CPU1 and LSI2
A bus request / select circuit 4 is provided between 3 and 3. When it is desired to perform a DMA operation on a memory (not shown), the LSIs 2 and 3 enable the bus request select circuit 4 by validating the level of the DMA request signal DREQ to occupy the bus. When the bus request / select circuit 4 detects that the signal DREQ is valid, the bus request / select circuit 4 validates the level of the hold request signal HREQ and supplies it to the CPU 1 to request the suspension of the function of the CPU 1. The CPU 1 detects the signal HREQ indicating validity, validates the hold acknowledge signal HACK, and outputs it to the bus request select circuit 4. This releases the bus. After that, the bus request / select circuit 4 validates and returns the DMA acknowledge signal DACK to the one having the highest priority among the LSIs 2 and 3, and the DM
A LSI2 or LSI3 that received A acknowledge signal DACK
Performs DMA operation.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、従来の
情報処理システムでは、次のような課題があった。CP
U1から、活性化した個別リセット信号を各LSI2,
3にそれぞれ与え、LSI2,3に対してリセットをか
けるとき、信号DREQと個別リセット信号の各有効期間が
オーバラップすることがある。オーバラップした場合、
LSI2,3では、信号DACKが有効となる前に、信号DR
EQをクリアしてしまう。この場合、有効な信号HREQを入
力したCPU1は、信号HACKを有効にするので、CPU
1とLSI2,3が、ともに動作しないままロックす
る。However, the conventional information processing system has the following problems. CP
From U1, the activated individual reset signal is sent to each LSI2.
When resetting the LSIs 2 and 3, respectively, and resetting the LSIs 2 and 3, the valid periods of the signal DREQ and the individual reset signal may overlap. If they overlap,
In LSIs 2 and 3, before the signal DACK becomes valid, the signal DR
Clear the EQ. In this case, the CPU 1 that has input the valid signal HREQ validates the signal HACK, so
1 and LSIs 2 and 3 are locked without operating together.
【0004】[0004]
【課題を解決するための手段】第1の発明は、前記課題
を解決するために、信号競合回路において次のような構
成を講じている。即ち、第1の発明の信号競合回路は、
有効レベルまたは無効レベルの2値をとる第1の入力信
号のレベルを第1のクロック信号に同期してラッチする
第1のフリップフロップと、有効レベルまたは無効レベ
ルの2値をとる第2の入力信号のレベルを前記第1のク
ロック信号とは逆位相の第2のクロック信号に同期して
ラッチする第2のフリップフロップと、前記第1のフリ
ップフロップのラッチしたレベルを前記第1のクロック
信号に同期してラッチし第1の出力信号を送出する第3
のフリップフロップと、前記第2のフリップフロップの
ラッチしたレベルを前記第2のクロック信号に同期して
ラッチし第2の出力信号を送出する第4のフリップフロ
ップとを備えている。そして、前記第3のフリップフロ
ップは、前記第2の出力信号が有効レベルのときはリセ
ットされて前記第1の出力信号を無効レベルにする構成
とし、前記第4のフリップフロップは、前記第1の出力
信号が前記有効レベルのときはリセットされて前記第2
の出力信号を無効レベルにする構成としている。According to a first aspect of the invention, in order to solve the above-mentioned problems, a signal competing circuit has the following configuration. That is, the signal competing circuit of the first invention is
A first flip-flop that latches the level of a first input signal that takes a binary value of a valid level or an invalid level in synchronization with a first clock signal, and a second input that takes a binary value of the valid level or an invalid level A second flip-flop for latching a signal level in synchronization with a second clock signal having a phase opposite to that of the first clock signal; and a latched level of the first flip-flop for the first clock signal A third output which outputs a first output signal by latching in synchronization with
And a fourth flip-flop that outputs the second output signal by latching the latched level of the second flip-flop in synchronization with the second clock signal. The third flip-flop is configured to be reset to set the first output signal to the invalid level when the second output signal is at the valid level, and the fourth flip-flop is configured to be the first flip-flop. Is reset when the output signal of
The output signal of is set to an invalid level.
【0005】第2の発明は、1つの基準クロック信号を
分周する分周器を有し、該基準クロック信号及び該分周
されたクロック信号に基づき同一の周期を持ち且つ互い
に位相の異なる複数の制御クロック信号を発生するクロ
ック発生回路と、各々が有効レベルまたは無効レベルの
2値をとる複数の入力信号のレベルを前記各制御クロッ
ク信号に同期してそれぞれラッチする複数の第1のフリ
ップフロップと、前記各第1のフリップフロップのラッ
チしたレベルを前記各制御クロック信号に同期してラッ
チし出力信号をそれぞれ送出する複数の第2のフリップ
フロップとを備えている。そして、前記各第2のフリッ
プフロップは、他の第2のフリップフロップのうちで有
効レベルを出力しているものがあるときにはリセットさ
れて前記出力信号をそれぞれ無効レベルにする構成とし
ている。A second invention has a frequency divider for dividing one reference clock signal, and a plurality of dividers having the same cycle and different phases based on the reference clock signal and the divided clock signal. Generating a control clock signal, and a plurality of first flip-flops for respectively latching the levels of a plurality of input signals, each of which takes a binary value of a valid level or an invalid level, in synchronization with the control clock signal. And a plurality of second flip-flops for latching the latched level of each of the first flip-flops in synchronization with each of the control clock signals and transmitting the output signals, respectively. Each of the second flip-flops is reset to set the output signal to an invalid level when there is one of the other second flip-flops that outputs an effective level.
【0006】[0006]
【作用】第1の発明によれば、以上のように信号競合回
路を構成したので、第1の入力信号のみが有効レベルと
なった場合、第1のクロック信号に同期して、第1の入
力信号の有効レベルが第1のフリップフロップにラッチ
される。第1のフリップフロップのラッチしたレベル
は、その第1のクロック信号に同期して第3のフリップ
フロップにラッチされ、第3のフリップフロップから有
効レベルが出力される。この状態では、第4のフリップ
フロップは、第2の入力信号のレベルによらず、リセッ
トされて無効レベルを出力する。同様に、第2の入力信
号のみが有効レベルとなった場合、第4のフリップフロ
ップが有効レベルを出力し、第3のフリップフロップが
無効レベルを出力する。なお、第1及び第3のフリップ
フロップにおけるラッチが、第1のクロック信号に同期
し、第2及び第4のフリップフロップにおけるラッチ
は、第2のクロック信号に同期している。そのため、第
1及び第2の入力信号が同時に有効レベルとなっても、
第1及び第2の入力信号の有効レベルがラッチされるタ
イミングが異なる。よって、第3または第4のフリップ
フロップの一方のみが、有効レベルを出力することにな
る。According to the first aspect of the invention, since the signal competing circuit is configured as described above, when only the first input signal becomes the effective level, the first clock signal is synchronized with the first clock signal. The valid level of the input signal is latched in the first flip-flop. The latched level of the first flip-flop is latched by the third flip-flop in synchronization with the first clock signal, and the effective level is output from the third flip-flop. In this state, the fourth flip-flop is reset and outputs an invalid level regardless of the level of the second input signal. Similarly, when only the second input signal becomes the valid level, the fourth flip-flop outputs the valid level and the third flip-flop outputs the invalid level. The latches in the first and third flip-flops are synchronized with the first clock signal, and the latches in the second and fourth flip-flops are synchronized with the second clock signal. Therefore, even if the first and second input signals simultaneously become effective levels,
The timings at which the effective levels of the first and second input signals are latched are different. Therefore, only one of the third and fourth flip-flops outputs the effective level.
【0007】第2の発明によれば、クロック発生回路に
おける分周器で、1つの基準クロック信号が分周され
る。そして、クロック発生回路によって、基準クロック
信号及び分周されたクロック信号に基づく、同一の周期
を持ち且つ互いに位相の異なる複数の制御クロック信号
が発生される。複数の第1のフリップフロップによっ
て、各入力信号のレベルが各制御クロック信号に同期し
てそれぞれラッチされる。それら各第1のフリップフロ
ップにラッチされたレベルは、各制御クロック信号に同
期して複数の第2のフリップフロップにラッチされる。
例えば、1つの入力信号が有効レベルであった場合、そ
の入力信号のレベルをラッチした第2のフリップフロッ
プが有効レベルを出力する。他の第2のフリップフロッ
プは、リセットされて無効レベルを出力する。同時に2
つ以上の入力信号が有効レベルとなった場合にも、各第
1及び第2のフリップフロップは、各制御クロック信号
によって、異なるタイミングでそれらをラッチする。そ
のため、一番先に有効レベルをラッチした第2のフリッ
プフロップのみが、有効レベルを出力し、他の第2のフ
リップフロップは無効レベルを出力する。従って、前記
課題を解決できるのである。According to the second invention, one reference clock signal is divided by the divider in the clock generation circuit. Then, the clock generation circuit generates a plurality of control clock signals having the same cycle and different phases based on the reference clock signal and the divided clock signal. The plurality of first flip-flops latch the level of each input signal in synchronization with each control clock signal. The level latched by each of the first flip-flops is latched by the plurality of second flip-flops in synchronization with each control clock signal.
For example, when one input signal is at the effective level, the second flip-flop latching the level of the input signal outputs the effective level. The other second flip-flop is reset and outputs an invalid level. 2 at the same time
Even when one or more input signals reach the effective level, each of the first and second flip-flops latches them at different timing according to each control clock signal. Therefore, only the second flip-flop that latches the valid level first outputs the valid level, and the other second flip-flops output the invalid level. Therefore, the above problem can be solved.
【0008】[0008]
【実施例】第1の実施例 図1は、本発明の第1の実施例を示す信号競合回路の回
路図である。この信号競合回路10は、図2の各LSI
2,3に対応してそれぞれ設けられるものであり、第1
の入力信号であるDMAリクエスト信号DREQをデータ入
力端子Dに入力する第1のフリップフロップ(F/F)
11と、第2の入力信号の個別リセット信号RESET をデ
ータ入力端子Dに入力する第2のフリップフロップ12
とを備えている。フリップフロップ11のクロック端子
には、第1のクロック信号CKP が入力され、フリップフ
ロップ11のデータ出力端子Qが、第3のフリップフロ
ップ13のデータ入力端子Dに接続されている。フリッ
プフロップ12のクロック端子には、クロック信号CKP
とは逆位相の第2のクロック信号CKN が入力され、フリ
ップフロップ12のデータ出力端子Qが、第4のフリッ
プフロップ14のデータ入力端子Dに接続されている。
なお、クロック信号CKN は、クロック信号CKP に対し
て、例えば図示しないインバータを用いることで生成す
ることができる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a circuit diagram of a signal competing circuit showing a first embodiment of the present invention. This signal competing circuit 10 corresponds to each LSI of FIG.
It is provided corresponding to each of 2 and 3, and the first
First flip-flop (F / F) for inputting the DMA request signal DREQ, which is an input signal of, to the data input terminal D
11 and a second flip-flop 12 for inputting the individual reset signal RESET of the second input signal to the data input terminal D
It has and. The first clock signal CKP is input to the clock terminal of the flip-flop 11, and the data output terminal Q of the flip-flop 11 is connected to the data input terminal D of the third flip-flop 13. The clock signal CKP is applied to the clock terminal of the flip-flop 12.
The second clock signal CKN having a phase opposite to that of is input, and the data output terminal Q of the flip-flop 12 is connected to the data input terminal D of the fourth flip-flop 14.
The clock signal CKN can be generated with respect to the clock signal CKP by using, for example, an inverter (not shown).
【0009】フリップフロップl3のクロック端子には
クロック信号CKP が入力され、フリップフロップl4の
クロック端子にはクロック信号CKN が入力される接続で
ある。フリップフロップl3の正相出力端子Qから、第
1の出力信号のバスリクエスト信号BREQが出力される構
成であり、該フリップフロップ13の逆相出力端子NQ
からの出力は、レベルが反転されてフリップフロップ1
4のリセット端子Rに入力される構成である。フリップ
フロップl4の正相出力端子Qから、各LSI2,3に
対する第2の出力信号のリセット信号rst が出力される
構成であり、該フリップフロップ14の逆相出力端子N
Qからの出力は、レベルが反転されてフリップフロップ
13のリセット端子Rに入力される構成である。即ち、
この信号競合回路10では、信号DREQのレベルがクロッ
ク信号CKに同期してフリップフロップ11にラッチさ
れ、そのフリップフロップ11の出力が該クロック信号
CKP に同期して、フリップフロップ13にラッチされ
る。一方、信号RESET が、クロック信号CKN に同期して
フリップフロップ12にラッチされ、このフリップフロ
ップ12の出力が、クロック信号CKN に同期してフリッ
プフロップ14にラッチされる。各フリップフロップ1
3,14のラッチした信号のレベルが、信号BREQと信号
rst としてそれぞれ出力される構成となっている。The clock signal CKP is input to the clock terminal of the flip-flop l3, and the clock signal CKN is input to the clock terminal of the flip-flop l4. The bus request signal BREQ of the first output signal is output from the positive-phase output terminal Q of the flip-flop 13, and the negative-phase output terminal NQ of the flip-flop 13 is output.
The output from the flip-flop 1 is inverted in level.
4 is input to the reset terminal R. The reset signal rst of the second output signal to each of the LSIs 2 and 3 is output from the positive-phase output terminal Q of the flip-flop 14, and the negative-phase output terminal N of the flip-flop 14 is output.
The output from Q is inverted in level and input to the reset terminal R of the flip-flop 13. That is,
In this signal competing circuit 10, the level of the signal DREQ is latched by the flip-flop 11 in synchronization with the clock signal CK, and the output of the flip-flop 11 is the clock signal.
It is latched by the flip-flop 13 in synchronization with CKP. On the other hand, the signal RESET is latched in the flip-flop 12 in synchronization with the clock signal CKN, and the output of the flip-flop 12 is latched in the flip-flop 14 in synchronization with the clock signal CKN. Each flip-flop 1
The levels of the latched signals 3 and 14 are the signal BREQ and the signal
The configuration is such that each is output as rst.
【0010】図3は、図1の信号競合回路が組み込まれ
た図2のデータ送受信回路を示す図である。このデータ
送受信回路は、CPU1と、DMA機能を有した2個の
LSI2,3と、それらCPU1とLSI2,3の間に
接続されたバスリクエスト・セレクト回路4とを、備え
ている。CPU1と各LSI2,3とバスリクエスト・
セレクト回路4との間に、該各LSI2,3にそれぞれ
対応する2つの信号競合回路10−2,10−3と、C
PU1からの指示基づいて各LSI2,3をリセットす
るための個別リセット信号RESET2,RESET3を発生するリ
セット回路20とが、設けられている。LSI2の出力
するDMAリクエスト信号DREQ2 とリセット回路20の
出力する個別リセット信号RESET2が、信号競合回路10
−2に入力され、該信号競合回路10−2が、バスリク
エスト・セレクト回路4にバスリクエスト信号BREQ2 、
及びLSI2にリセット信号rst2を供給する接続となっ
ている。LSI3の出力するDMAリクエスト信号DREQ
3 とリセット回路20の出力する個別リセット信号RESE
T3が、信号競合回路10−3に入力され、該信号競合回
路10−3が、バスリクエスト・セレクト回路4にバス
リクエスト信号BREQ3 、及びLSI3にリセット信号rs
t3を供給する接続となっている。バスリクエスト・セレ
クト回路4がCPU1に対して、ホールドリクエスト信
号HREQを与え、そのCPU1がバスリクエスト・セレク
ト回路4に対して、ホールドアクノレジ信号HACKを返す
構成である。また、バスリクエスト・セレクト回路4
が、各LSI2,3に対してDMAアクノレジ信号DACK
2 ,DACK3 をそれぞれ返す構成である。FIG. 3 is a diagram showing the data transmitting / receiving circuit of FIG. 2 in which the signal competing circuit of FIG. 1 is incorporated. The data transmission / reception circuit includes a CPU 1, two LSIs 2 and 3 having a DMA function, and a bus request / select circuit 4 connected between the CPU 1 and the LSIs 2 and 3. CPU1, each LSI2, 3 and bus request
Two signal competing circuits 10-2 and 10-3 respectively corresponding to the LSIs 2 and 3 are provided between the select circuit 4 and the selection circuit 4.
A reset circuit 20 for generating individual reset signals RESET2 and RESET3 for resetting the LSIs 2 and 3 based on an instruction from the PU 1 is provided. The DMA request signal DREQ2 output from the LSI 2 and the individual reset signal RESET2 output from the reset circuit 20 are
-2, the signal competing circuit 10-2 supplies the bus request signal BREQ2,
And the reset signal rst2 is supplied to the LSI2. DMA request signal DREQ output from LSI3
3 and the individual reset signal RESE output from the reset circuit 20
T3 is input to the signal contention circuit 10-3, and the signal contention circuit 10-3 inputs the bus request signal BREQ3 to the bus request / select circuit 4 and the reset signal rs to the LSI 3.
It is connected to supply t3. The bus request / select circuit 4 gives a hold request signal HREQ to the CPU 1, and the CPU 1 returns a hold acknowledge signal HACK to the bus request / select circuit 4. Also, bus request select circuit 4
However, DMA acknowledge signal DACK for each LSI2, 3
2 and DACK3 are returned respectively.
【0011】図4と図5は、図1における競合を説明す
るタイムチャート(その1,2)であり、この図4及び
図5を参照しつつ、図1の信号競合回路の動作及び図3
のデータ送受信回路の動作を説明する。図示しないメモ
リに対してそれぞれDMA動作を行うとき、各LSI
2,3はバスを占有するために、各DMAリクエスト信
号DREQ2 ,DREQ3 をそれぞれ有効レベルの“H”にして
信号競合回路10−2,10−3に与える。一方、CP
U1は、LSI2,3に対してリセットを行うとき、リ
セット回路20を介して個別リセット信号RESET2,RESE
T3を有効レベルの“H”にして、信号競合回路10−
2,10−3にそれぞれ与える。各信号競合回路10−
2,10−3では、各信号DREQ2 ,DREQ3 のレベルに対
応する信号BREQ2 BREQ3 と、信号RESET2,RESET3のレベ
ルに対応する信号rst2,rst3をそれぞれ送出する。これ
ら信号競合回路10−2,10−3での動作は同様であ
り、ここでは信号競合回路10−2における動作を説明
する。FIGS. 4 and 5 are time charts (Nos. 1 and 2) for explaining the competition in FIG. 1. With reference to FIGS. 4 and 5, the operation of the signal competition circuit of FIG. 1 and FIG.
The operation of the data transmission / reception circuit will be described. When performing a DMA operation for each memory (not shown), each LSI
Since 2 and 3 occupy the bus, the respective DMA request signals DREQ2 and DREQ3 are set to the effective level "H" and are given to the signal competing circuits 10-2 and 10-3. On the other hand, CP
When U1 resets the LSIs 2 and 3, the reset circuit 20 resets the individual reset signals RESET2 and RESE.
The signal competing circuit 10-
2 and 10-3 respectively. Each signal competing circuit 10-
In 2 and 10-3, the signals BREQ2 and BREQ3 corresponding to the levels of the signals DREQ2 and DREQ3 and the signals rst2 and rst3 corresponding to the levels of the signals RESET2 and RESET3 are transmitted, respectively. The operations of the signal contention circuits 10-2 and 10-3 are the same, and the operation of the signal contention circuit 10-2 will be described here.
【0012】例えば、信号DREQ2 が有効レベルの
“H”、信号RESET2が無効レベルの“L”である場合、
フリップフロップ11が信号DREQ2 の“H”をラッチ
し、フリップフロップ13がフリップフロップ11のラ
ッチした信号のレベルをラッチする。即ち、信号BREQが
有効レベルの“H”となる。この状態で、信号RESET2が
有効レベルの“H”に変化しても、フリップフロップ1
4がフリップフロップ13によってリセットされている
ので、フリップフロップ14の出力する信号rst2は、無
効レベルの“L”のままガードされる。逆に、信号DREQ
2 が無効レベルの“L”、信号RESET2が有効レベルの
“H”である場合、フリップフロップ12が信号RESET2
の“H”をラッチし、フリップフロップ14がフリップ
フロップ12のラッチしたレベルをラッチする。即ち、
信号rst2が有効レベルの“H”となる。この状態で、信
号DREQ2 が有効レベルの“H”に変化しても、フリップ
フロップ13がフリップフロップ14によってリセット
されているので、フリップフロップ13の出力する信号
BREQ2 は、無効レベルの“L”のままガードされる信号
DREQ2 と信号RESET2のレベルが同時にH”となって図4
のタイミングで与えられたとする。信号競合回路10−
2に“H”の信号DREQ2 が入力されると、フリップフロ
ップ11は、クロック信号CKP に同期して信号DREQ2 の
レベルの“H”をラッチする。フリップフロップ12
は、フリップフロップ11に対して半周期遅れ、クロッ
ク信号CKN に同期して信号RESET2の“H”をラッチす
る。続いて、フリップフロップ13は、クロック信号CK
P に同期してフリップフロップ11の出力レベルである
“H”をラッチする。この時点で、フリップフロップ1
3の出力信号BREQ2 のレベルは“H”となり、フリップ
フロップ14はリセットされる。即ち、信号DREQ2 が信
号RESET2に競合で勝ったことになり、フリップフロップ
14の出力する信号rst2のレベルは、無効レベルの
“L”のままガードされる。For example, when the signal DREQ2 is at the effective level "H" and the signal RESET2 is at the ineffective level "L",
The flip-flop 11 latches "H" of the signal DREQ2, and the flip-flop 13 latches the level of the signal latched by the flip-flop 11. That is, the signal BREQ becomes the effective level "H". In this state, even if the signal RESET2 changes to the effective level of "H", the flip-flop 1
Since 4 is reset by the flip-flop 13, the signal rst2 output from the flip-flop 14 is guarded at the invalid level "L". Conversely, the signal DREQ
When 2 is the invalid level “L” and the signal RESET2 is the valid level “H”, the flip-flop 12 outputs the signal RESET2.
, "H", and the flip-flop 14 latches the level latched by the flip-flop 12. That is,
The signal rst2 becomes the effective level "H". In this state, even if the signal DREQ2 changes to the effective level "H", the flip-flop 13 is reset by the flip-flop 14, so the signal output from the flip-flop 13
BREQ2 is a signal that is guarded with the invalid level "L"
The levels of DREQ2 and signal RESET2 become H "at the same time and Fig. 4
Is given at the timing of. Signal competition circuit 10-
When the "H" signal DREQ2 is input to 2, the flip-flop 11 latches the level "H" of the signal DREQ2 in synchronization with the clock signal CKP. Flip-flop 12
Latches "H" of the signal RESET2 in synchronism with the clock signal CKN with a delay of a half cycle with respect to the flip-flop 11. Then, the flip-flop 13 outputs the clock signal CK.
In synchronization with P, the output level "H" of the flip-flop 11 is latched. At this point, flip-flop 1
The level of the output signal BREQ2 of 3 becomes "H", and the flip-flop 14 is reset. That is, the signal DREQ2 wins the signal RESET2 in competition, and the level of the signal rst2 output from the flip-flop 14 is guarded at the invalid level "L".
【0013】次に、信号RESET2が信号DREQ2 に競合で勝
つ場合を説明する。信号DREQ2 と信号RESET2のレベルが
同時にH”となって、図5のタイミングで与えられたと
する。信号競合回路10−2に“H”の信号RESET2が入
力されると、フリップフロップ12は、クロック信号CK
N に同期して信号RESET2のレベルの“H”をラッチす
る。フリップフロップ11は、フリップフロップ12に
半周期遅れて、クロック信号CKP に同期して信号DREQ2
のレベルの“H”をラッチする。続いて、クロック信号
CKN に同期してフリップフロップ14は、フリップフロ
ップ12の出力レベルである“H”をラッチする。この
時点で、フリップフロップ14の出力信号rst2のレベル
は“H”となり、フリップフロップ13はリセットされ
る。即ち、信号RESET2が信号DREQ2 に競合で勝ったこと
になり、フリップフロップ13の出力する信号BREQ2 の
レベルは、無効レベルの“L”のままガードされる。Next, the case where the signal RESET2 wins the signal DREQ2 by competition will be described. It is assumed that the levels of the signal DREQ2 and the signal RESET2 become H ”at the same time and are given at the timing of FIG. 5. When the signal RESET2 of“ H ”is input to the signal competing circuit 10-2, the flip-flop 12 operates as Signal CK
The level “H” of the signal RESET2 is latched in synchronization with N. The flip-flop 11 is delayed by a half cycle from the flip-flop 12 and is synchronized with the clock signal CKP to generate the signal DREQ2.
L level of "H" is latched. Then the clock signal
The flip-flop 14 latches the output level “H” of the flip-flop 12 in synchronization with CKN. At this time, the level of the output signal rst2 of the flip-flop 14 becomes "H", and the flip-flop 13 is reset. That is, the signal RESET2 wins the signal DREQ2 in competition, and the level of the signal BREQ2 output from the flip-flop 13 is guarded at the invalid level "L".
【0014】DMAリクエスト信号DREQ2 或いはDREQ3
が、図1の回路において競合で勝った場合、有効レベル
の“H”が、バスリクエスト・セレクト回路4に与えら
れ、バスリクエスト・セレクト回路4が、CPU1に対
して一時動作の停止を促すために、有効レベルのホール
ドリクエスト信号HREQを与える。CPU1はバスを解放
すると共にバスリクエスト・セレクト回路4にホールド
アクノレジ信号HACKを返し、バスリクエスト・セレクト
回路4が、各LSI2または3に対してDMAアクノレ
ジ信号DACK2 またはDACK3 を返す。これにより、LSI
2またはLSI3が、図示しないメモリに対してDMA
動作を行う。一方、図1の回路において、信号RESET2,
RESET3が信号DREQ2 或いはDREQ3 に競合で勝った場合、
各LSI2,3に有効レベルの“H”の信号rst2,rst3
が入力される。ここで、競合で負けた信号のレベルを、
CPU1或いはLSI2,3が有効のままに維持する
と、競合に勝った信号のシーケンスが終了した後に、そ
の負けた方の信号の処理が行われる。DMA request signal DREQ2 or DREQ3
However, when the circuit of FIG. 1 wins the competition, a valid level “H” is given to the bus request / select circuit 4, and the bus request / select circuit 4 prompts the CPU 1 to stop the temporary operation. Then, a valid level hold request signal HREQ is given. The CPU 1 releases the bus and returns a hold acknowledge signal HACK to the bus request / select circuit 4, and the bus request / select circuit 4 returns a DMA acknowledge signal DACK2 or DACK3 to each LSI 2 or 3. This allows the LSI
2 or LSI3 DMAs to a memory (not shown)
Take action. On the other hand, in the circuit of FIG. 1, the signal RESET2,
If RESET3 wins the signal DREQ2 or DREQ3 in competition,
High level signals rst2 and rst3 of effective level for each LSI 2 and 3
Is entered. Here, the signal level lost by competition is
If the CPU 1 or the LSIs 2 and 3 are kept valid, the signal of the losing party is processed after the sequence of the signals that won the competition is completed.
【0015】以上のように、この第1の実施例では、信
号競合回路10に、入力された信号DREQのレベルをクロ
ック信号CKP に同期してラッチするフリップフロップ1
1と、信号RESET のレベルをクロック信号CKN に同期し
てラッチするフリップフロップ12と、フリップフロッ
プ11のラッチした信号のレベルをクロック信号CKPに
同期してラッチし信号BREQを送出するフリップフロップ
13と、フリップフロップ12のラッチした信号のレベ
ルをクロック信号CKN に同期してラッチし信号RST を送
出するフリップフロップ14とを備えている。そして、
フリップフロップ13は、フリップフロップ14が有効
レベルを出力するときはリセットされ、フリップフロッ
プ14は、フリップフロップ13が有効レベルを出力し
ているときにはリセットされる構成としている。そのた
め、従来のように信号DREQと信号RESET がオーバーラッ
プすることがなくなり、CPU1とLSI2,3におけ
るロック障害が避けられる。As described above, in the first embodiment, the flip-flop 1 for latching the level of the input signal DREQ in the signal competing circuit 10 in synchronization with the clock signal CKP.
1, a flip-flop 12 that latches the level of the signal RESET in synchronization with the clock signal CKN, and a flip-flop 13 that latches the level of the signal latched by the flip-flop 11 in synchronization with the clock signal CKP and sends out the signal BREQ. , And the flip-flop 14 which latches the level of the signal latched by the flip-flop 12 in synchronization with the clock signal CKN and sends out the signal RST. And
The flip-flop 13 is reset when the flip-flop 14 outputs a valid level, and the flip-flop 14 is reset when the flip-flop 13 outputs a valid level. Therefore, the signal DREQ and the signal RESET do not overlap as in the conventional case, and the lock failure in the CPU 1 and the LSIs 2 and 3 can be avoided.
【0016】第2の実施例 図6は、本発明の第2の実施例を示す信号競合回路の回
路図である。本実施例の信号競合回路は、4つの入力信
号S1,S2,S3,S4をそれぞれのデータ入力端子
Dに入力する4つの第1のフリップフロップ31,3
2,33,34を備えている。各フリップフロップ31
〜34の出力端子Qが、4つの第2のフリップフロップ
41〜44のデータ入力端子Dにそれぞれ接続されてい
る。この信号競合回路は、各入力信号S1〜S4にそれ
ぞれ対応し且つ同時に重複して有効レベルをとならない
出力信号S41〜S44を生成する機能を有するもので
あり、各フリップフロップ41〜44の正相出力端子Q
から、それら4つの出力信号S41,S42,S43,
S44が、それぞれ出力される構成である。また、各フ
リップフロップ41〜44のリセット端子Rには、他の
フリップフロップ41〜44の逆相出力端子NQのレベ
ルが反転されて入力される接続となっている。即ち、フ
リップフロップ41のリセット端子Rには、他のフリッ
プフロップ42〜44の各逆相出力端子NQのレベルを
入力とする3入力ANDゲート45の出力信号が反転さ
れて入力されている。フリップフロップ42のリセット
端子Rには、他のフリップフロップ41,43,44の
各逆相出力端子NQのレベルを入力とする3入力AND
ゲート46の出力信号が反転されて入力される接続であ
る。フリップフロップ43のリセット端子には、他のフ
リップフロップ41,42,44の各逆相出力端子NQ
のレベルを入力とする3入力ANDゲート47の出力信
号が反転されて入力される接続である。フリップフロッ
プ44のリセット端子Rには、他のフリップフロップ4
1〜43の各逆相出力端子NQのレベルを入力とする3
入力ANDゲート48の出力信号が反転されて入力され
る接続である。一方、各フリップフロップ31〜34の
クロック端子には、クロック発生回路50で生成された
4つの制御クロックCK1 〜CK4 がそれぞれ入力され、各
フリップフロップ41〜44のクロック端子にも、制御
クロックCK1 〜CK4 がそれぞれ入力される構成となって
いる。 Second Embodiment FIG. 6 is a circuit diagram of a signal competing circuit showing a second embodiment of the present invention. The signal competing circuit of this embodiment has four first flip-flops 31, 3 for inputting four input signals S1, S2, S3, S4 to respective data input terminals D.
2, 33, 34 are provided. Each flip-flop 31
The output terminals Q of -34 are connected to the data input terminals D of the four second flip-flops 41-44, respectively. The signal competing circuit has a function of generating output signals S41 to S44 which respectively correspond to the input signals S1 to S4 and do not simultaneously take an effective level and are positive phase signals of the flip-flops 41 to 44. Output terminal Q
From these four output signals S41, S42, S43,
S44 is the configuration to be output respectively. Further, the reset terminals R of the respective flip-flops 41 to 44 are connected so that the levels of the negative-phase output terminals NQ of the other flip-flops 41 to 44 are inverted and input. That is, to the reset terminal R of the flip-flop 41, the output signal of the 3-input AND gate 45, which receives the levels of the negative-phase output terminals NQ of the other flip-flops 42 to 44, is inverted and input. The reset terminal R of the flip-flop 42 is a 3-input AND in which the levels of the negative-phase output terminals NQ of the other flip-flops 41, 43, 44 are input.
The connection is such that the output signal of the gate 46 is inverted and input. The reset terminal of the flip-flop 43 is connected to the negative-phase output terminals NQ of the other flip-flops 41, 42 and 44.
The connection is such that the output signal of the 3-input AND gate 47 which receives the level of is input is inverted and input. The reset terminal R of the flip-flop 44 is connected to another flip-flop 4
Input the level of each negative-phase output terminal NQ 1 to 43 3
The connection is such that the output signal of the input AND gate 48 is inverted and input. On the other hand, the four control clocks CK1 to CK4 generated by the clock generation circuit 50 are input to the clock terminals of the respective flip-flops 31 to 34, and the control terminals CK1 to CK4 are also input to the clock terminals of the respective flip-flops 41 to 44. CK4 is input respectively.
【0017】図7は、図6中のクロック発生回路を示す
回路図である。このクロック発生回路50は、同一の周
期を持ち且つ互いに位相の異なる4つの制御クロック信
号CK1 ,CK2 ,CK3 ,CK4 を発生する機能を有するもの
であり、一つの基準クロック信号CKを2分周する分周器
51と、各制御クロック信号CK1 ,CK2 ,CK3 ,CK4 を
それぞれ送出する4つの2入力のANDゲート52〜5
5を備えている。分周器51はフリップフロップ51a
で形成されている。フリップフロップ51aのクロック
端子に基準クロック信号CKが入力され、そのフリップフ
ロップ51aの逆相出力端子NQが、該フリップフロッ
プ51aのデータ入力端子Dに接続されている。AND
ゲート52の入力端子にはフリップフロップ51aの正
相出力端子Qのレベルとクロック信号CKが入力される接
続である。ANDゲート53の入力端子には、フリップ
フロップ51aの正相出力端子Qのレベルとインバータ
56で反転されたクロック信号CKが入力される接続であ
る。ANDゲート54の入力端子には、インバータ57
で反転されたフリップフロップ51aの正相出力端子Q
のレベルとクロック信号CKとが入力される接続である。
ANDゲート55の入力端子には、インバータ58で反
転されたフリップフロップ51aの正相出力端子Qのレ
ベルとインバータ59で反転されたクロック信号CKと
が、入力される接続である。FIG. 7 is a circuit diagram showing the clock generation circuit in FIG. The clock generation circuit 50 has a function of generating four control clock signals CK1, CK2, CK3, CK4 having the same cycle and different phases, and divides one reference clock signal CK by two. Frequency divider 51 and four 2-input AND gates 52 to 5 for sending out control clock signals CK1, CK2, CK3, and CK4, respectively.
5 is provided. The frequency divider 51 is a flip-flop 51a
It is formed with. The reference clock signal CK is input to the clock terminal of the flip-flop 51a, and the negative phase output terminal NQ of the flip-flop 51a is connected to the data input terminal D of the flip-flop 51a. AND
The input terminal of the gate 52 is a connection to which the level of the positive phase output terminal Q of the flip-flop 51a and the clock signal CK are input. The input terminal of the AND gate 53 is a connection to which the level of the positive phase output terminal Q of the flip-flop 51a and the clock signal CK inverted by the inverter 56 are input. An inverter 57 is connected to the input terminal of the AND gate 54.
Positive-phase output terminal Q of the flip-flop 51a inverted by
And the clock signal CK are input.
The input terminal of the AND gate 55 is connected so that the level of the positive phase output terminal Q of the flip-flop 51a inverted by the inverter 58 and the clock signal CK inverted by the inverter 59 are input.
【0018】図8は、図7のクロック発生回路の発生す
る制御クロック信号を示すタイムチャートであり、この
図8を参照しつつ、図6の信号競合回路の動作を説明す
る。クロック発生回路50において、図8のように、基
準クロック信号CKがフリップフロップ51aで2分周さ
れる。各ANDゲート52〜55は、同一周期で且つ互
いに位相のずれた制御クロック信号CK1 〜CK4 をそれぞ
れ出力し、それら各制御クロック信号CK1 〜CK4 が、図
6の各フリップフロップ31〜34及び各フリップフロ
ップ41〜44にそれぞれ供給される。例えば、無効レ
ベルであった入力信号S1〜S4のうち、入力信号S1
が有効レベルの“H”に変化すると、フリップフロップ
31は制御クロック信号CK1 に同期して、入力信号S1
の“H”をラッチする。続いて、フリップフロップ41
がフリップフロップ31のラッチしている“H”をラッ
チする。よって、フリップフロップ41の正相出力端子
Qからは、“H”の出力信号S41を出力する。この状
態のとき、フリップフロップ41の逆相出力端子NQか
らは、“L”が出力されるので、フリップフロップ42
〜44はリセットされ、他の入力信号S2〜S4が、有
効レベルの“H”となっても、各出力信号S42〜S4
4のレベルはガードされ、無効レベルの“L”を維持す
る。同様に、入力信号S2,S3またはS4が、先に
“H”となった場合も、一つの出力信号S42,S4
3,またはS44のみが有効レベルの“H”となり、他
は無効レベルの“L”となる。FIG. 8 is a time chart showing the control clock signal generated by the clock generating circuit of FIG. 7. The operation of the signal competing circuit of FIG. 6 will be described with reference to FIG. In the clock generation circuit 50, the reference clock signal CK is divided by 2 by the flip-flop 51a as shown in FIG. The AND gates 52 to 55 output control clock signals CK1 to CK4, which have the same period and are out of phase with each other, and the respective control clock signals CK1 to CK4 output the flip-flops 31 to 34 and the flip-flops in FIG. Is supplied to each of the groups 41 to 44. For example, of the input signals S1 to S4 that were at the invalid level, the input signal S1
Is changed to an effective level of "H", the flip-flop 31 synchronizes with the control clock signal CK1 and receives the input signal S1.
Latch "H". Then, the flip-flop 41
Latches "H" latched by the flip-flop 31. Therefore, the positive-phase output terminal Q of the flip-flop 41 outputs the output signal S41 of "H". In this state, since "L" is output from the negative-phase output terminal NQ of the flip-flop 41, the flip-flop 42
To 44 are reset, and even if the other input signals S2 to S4 become the effective level "H", the output signals S42 to S4 are output.
The 4th level is guarded and maintains the invalid level "L". Similarly, when the input signal S2, S3 or S4 first becomes "H", one output signal S42, S4
3, or only S44 becomes the valid level "H", and the others become invalid level "L".
【0019】また、例えば各入力信号S1〜S4が同時
に、有効レベルの“H”となった場合、各制御クロック
信号CK1 〜CK4 の位相は互いにずれているので、各フリ
ップフロップ31〜34及び各フリップフロップ41〜
44でのラッチタイミングがそれぞれ異なる。したがっ
て、フリップフロップ41〜44のうち、最初に“H”
をラッチしたもののみが、有効レベルの“H”を出力
し、他はガードされて無効レベルの“L”を出力する。
即ち、2信号以上が有効レベルとなることがない。以上
のように、この第2の実施例では、クロック発生回路5
0に分周器51を備え、基準クロック信号CKを分周し、
同一の周期を持ち且つ互いに位相の異なる制御クロック
信号CK1 〜CK4 を発生させている。そして、各入力信号
S1〜S4のレベルをそれら制御クロック信号CK1 〜CK
4 に同期してそれぞれラッチするフリップフロップ31
〜34と、そのフリップフロップ31〜34のラッチし
た信号のレベルを制御クロック信号CK1 〜CK4 に同期し
てそれぞれラッチするフリップフロップ41〜44とを
備え、フリップフロップ41〜44は、他の該第2のフ
リップフロップのうちで前記有効レベルを出力している
ものがあるときにはリセットされて前記出力信号をそれ
ぞれ無効レベルにする構成としている。そのため、簡単
な構成で4つの入力信号S1〜S4を競合させることが
できる。Further, for example, when the input signals S1 to S4 are simultaneously set to the effective level "H", the control clock signals CK1 to CK4 are out of phase with each other, so that the flip-flops 31 to 34 and the flip-flops 31 to 34 are not in phase with each other. Flip-flops 41 to
The latch timing at 44 is different. Therefore, of the flip-flops 41 to 44, the first “H”
Only those that have latched are output valid level "H", and others are guarded and output invalid level "L".
That is, two or more signals do not reach the effective level. As described above, in the second embodiment, the clock generation circuit 5
0 is equipped with a frequency divider 51 to divide the reference clock signal CK,
The control clock signals CK1 to CK4 having the same cycle and different phases are generated. Then, the levels of the respective input signals S1 to S4 are set to those control clock signals CK1 to CK.
Flip-flop 31 that latches in synchronization with 4
To 34 and flip-flops 41 to 44 for latching the levels of the signals latched by the flip-flops 31 to 34 in synchronization with the control clock signals CK1 to CK4, respectively. When there is one of the two flip-flops that outputs the valid level, the flip-flop is reset to set the output signal to the invalid level. Therefore, the four input signals S1 to S4 can compete with each other with a simple configuration.
【0020】なお、本発明は、上記実施例に限定されず
種々の変形が可能である。その変形例としては、例えば
次のようなものがある。 (1) 第1の実施例では、バスリクエスト信号BREQと
リセット信号rst の競合を説明しているが、共通メモリ
へのアクセス権の競合や、他の任意の信号間の競合に適
用することができる。 (2) 第2の実施例では、4つの入力信号S1〜S4
の競合を示しているが、例えば分周器51における分周
を2分周でなく、3分周、4分周、…とすれば、競合さ
せる入力信号の数を6、8…に増やすことが可能であ
る。 (3) 第2の実施例では、クロック発生回路50で、
制御クロック信号CK1〜CK4 を発生させ、入力信号S1
〜S4の競合を行う構成であるが、すべての制御クロッ
ク信号を用いる必要はない。例えば、3つの入力信号S
1〜S3を競合させる場合には、制御クロックCK1 〜CK
3 を使用すればよい。The present invention is not limited to the above embodiment, and various modifications can be made. The following are examples of such modifications. (1) In the first embodiment, the competition between the bus request signal BREQ and the reset signal rst has been described, but the invention can be applied to the competition for the access right to the common memory and the competition between other arbitrary signals. it can. (2) In the second embodiment, four input signals S1 to S4
However, if the frequency division in the frequency divider 51 is not divided by 2 but divided by 3, divided by 4, etc., the number of competing input signals is increased to 6, 8. Is possible. (3) In the second embodiment, in the clock generation circuit 50,
Generates the control clock signals CK1 to CK4 and inputs the input signal S1.
Although the configuration is such that the competition of S4 to S4 is performed, it is not necessary to use all the control clock signals. For example, three input signals S
When competing for 1 to S3, control clocks CK1 to CK
You can use 3.
【0021】[0021]
【発明の効果】以上詳細に説明したように、第1の発明
によれば、第1の入力信号のレベルを第1のクロック信
号に同期してラッチする第1のフリップフロップと、第
2の入力信号のレベルを第1のクロック信号とは逆位相
の第2のクロック信号に同期してラッチする第2のフリ
ップフロップと、第1のフリップフロップのラッチした
レベルを第1のクロック信号に同期してラッチする第3
のフリップフロップと、第2のフリップフロップのラッ
チしたレベルを第2のクロック信号に同期してラッチす
る第4のフリップフロップとを備え、該第3のフリップ
フロップは、前記第2の出力信号が有効レベルのときは
リセットされ、第4のフリップフロップは、第1の出力
信号が有効レベルのときはリセットされる構成にしてい
る。そのため、第1及び第2の入力信号のレベルが、共
に有効レベルであっても、第1または第2の出力信号の
うち、一方のみが有効レベルとなる。As described in detail above, according to the first invention, the first flip-flop for latching the level of the first input signal in synchronization with the first clock signal, and the second flip-flop are provided. A second flip-flop that latches the level of the input signal in synchronization with a second clock signal having a phase opposite to that of the first clock signal, and the latched level of the first flip-flop is synchronized with the first clock signal And then latch third
And a fourth flip-flop that latches the latched level of the second flip-flop in synchronization with the second clock signal, and the third flip-flop outputs the second output signal. The fourth flip-flop is configured to be reset when it is at the valid level, and the fourth flip-flop is reset when the first output signal is at the valid level. Therefore, even if the levels of the first and second input signals are both valid levels, only one of the first and second output signals becomes the valid level.
【0022】第2の発明によれば、1つの基準クロック
信号を分周する分周器を有し、同一の周期を持ち且つ互
いに位相の異なる複数の制御クロック信号を発生するク
ロック発生回路と、複数の入力信号のレベルを前記各制
御クロック信号に同期してそれぞれラッチする複数の第
1のフリップフロップと、各第1のフリップフロップの
ラッチしたレベルを前記各制御クロック信号に同期して
それぞれラッチする複数の第2のフリップフロップとを
備え、その各第2のフリップフロップは、他の第2のフ
リップフロップのうちで有効レベルを出力しているもの
があるときにはリセットされて出力信号をそれぞれ無効
レベルにする構成としている。そのため、2つ以上の入
力信号が有効レベルになっても、一つの出力信号のみが
有効レベルとなる。According to the second invention, a clock generating circuit having a frequency divider for dividing one reference clock signal and generating a plurality of control clock signals having the same cycle and different phases from each other, A plurality of first flip-flops that respectively latch the levels of a plurality of input signals in synchronization with the respective control clock signals, and a latched level of each first flip-flop in synchronization with the respective control clock signals. A plurality of second flip-flops, each second flip-flop being reset when there is one of the other second flip-flops outputting a valid level and invalidating the output signal. It is configured to be a level. Therefore, even if two or more input signals become effective levels, only one output signal becomes effective level.
【図1】本発明の第1の実施例を示す信号競合回路の回
路図である。FIG. 1 is a circuit diagram of a signal competing circuit showing a first embodiment of the present invention.
【図2】従来のデータ送受信回路を示す構成ブロック図
である。FIG. 2 is a configuration block diagram showing a conventional data transmission / reception circuit.
【図3】図1の信号競合回路が組み込まれた図2のデー
タ送受信回路を示す図である。3 is a diagram showing the data transmitting / receiving circuit of FIG. 2 in which the signal competing circuit of FIG. 1 is incorporated.
【図4】図1における競合を説明するタイムチャート
(その1)である。FIG. 4 is a time chart (No. 1) for explaining the competition in FIG.
【図5】図1における競合を説明するタイムチャート
(その2)である。5 is a time chart (No. 2) for explaining the competition in FIG. 1. FIG.
【図6】本発明の第2の実施例を示す信号競合回路の回
路図である。FIG. 6 is a circuit diagram of a signal competing circuit showing a second embodiment of the present invention.
【図7】図6中のクロック発生回路を示す回路図であ
る。7 is a circuit diagram showing a clock generation circuit in FIG.
【図8】図7のクロック発生回路の発生する制御クロッ
ク信号を示すタイムチャートである。FIG. 8 is a time chart showing a control clock signal generated by the clock generation circuit of FIG.
10,10−2,10−3 信号競合回路 11 第1のフリップフロッ
プ 12 第2のフリップフロッ
プ 13 第3のフリップフロッ
プ 14 第4のフリップフロッ
プ 31〜34 第1のフリップフロッ
プ 41〜44 第2のフリップフロッ
プ 50 クロック発生回路 51 分周器 CKP ,CKN 第1及び第2のクロッ
ク信号 CK 基準クロック信号 CK1 〜CK4 制御クロック信号 DREQ,RESET S1〜S4 入力信号 BREQ,rst ,S41〜S44 出力信号10, 10-2, 10-3 signal competing circuit 11 first flip-flop 12 second flip-flop 13 third flip-flop 14 fourth flip-flop 31 to 34 first flip-flop 41 to 44 second Flip-flop 50 Clock generation circuit 51 Frequency divider CKP, CKN First and second clock signals CK Reference clock signal CK1 to CK4 Control clock signal DREQ, RESET S1 to S4 Input signal BREQ, rst, S41 to S44 Output signal
Claims (2)
る第1の入力信号のレベルを第1のクロック信号に同期
してラッチする第1のフリップフロップと、 有効レベルまたは無効レベルの2値をとる第2の入力信
号のレベルを前記第1のクロック信号とは逆位相の第2
のクロック信号に同期してラッチする第2のフリップフ
ロップと、 前記第1のフリップフロップのラッチしたレベルを前記
第1のクロック信号に同期してラッチし第1の出力信号
を送出する第3のフリップフロップと、 前記第2のフリップフロップのラッチしたレベルを前記
第2のクロック信号に同期してラッチし第2の出力信号
を送出する第4のフリップフロップとを備え、 前記第3のフリップフロップは、前記第2の出力信号が
有効レベルのときはリセットされて前記第1の出力信号
を無効レベルにする構成とし、 前記第4のフリップフロップは、前記第1の出力信号が
有効レベルのときはリセットされて前記第2の出力信号
を無効レベルにする構成とした、 ことを特徴とする信号競合回路。1. A first flip-flop that latches the level of a first input signal that takes a binary value of a valid level or an invalid level in synchronization with a first clock signal, and a binary value of a valid level or an invalid level. The level of the second input signal is set to the phase of the second clock having a phase opposite to that of the first clock signal.
A second flip-flop that latches in synchronization with the first clock signal, and a third flip-flop that latches the latched level of the first flip-flop in synchronization with the first clock signal and outputs a first output signal. A third flip-flop; a flip-flop, and a fourth flip-flop that latches the latched level of the second flip-flop in synchronization with the second clock signal and sends out a second output signal. Is configured to reset the first output signal to an invalid level when the second output signal is at a valid level, and the fourth flip-flop is configured to set when the first output signal is at a valid level. Is reset to set the second output signal to an invalid level, the signal competing circuit.
器を有し、該基準クロック信号及び該分周されたクロッ
ク信号に基づき同一の周期を持ち且つ互いに位相の異な
る複数の制御クロック信号を発生するクロック発生回路
と、 各々が有効レベルまたは無効レベルの2値をとる複数の
入力信号のレベルを前記各制御クロック信号に同期して
それぞれラッチする複数の第1のフリップフロップと、 前記各第1のフリップフロップのラッチしたレベルを前
記各制御クロック信号に同期してラッチして出力信号を
それぞれ送出する複数の第2のフリップフロップとを備
え、 前記各第2のフリップフロップは、他の第2のフリップ
フロップのうちで有効レベルを出力しているものがある
ときにはリセットされて前記出力信号をそれぞれ無効レ
ベルにする構成とした、 ことを特徴とする信号競合回路。2. A plurality of control clock signals having a frequency divider for dividing one reference clock signal, having the same period based on the reference clock signal and the divided clock signal, and having different phases from each other. And a plurality of first flip-flops for respectively latching the levels of a plurality of input signals, each of which takes a binary value of a valid level or an invalid level, in synchronization with each of the control clock signals, and A plurality of second flip-flops for latching the latched level of the first flip-flops in synchronization with the respective control clock signals and sending output signals, respectively. If any of the second flip-flops outputs an effective level, it is reset to set the output signal to an invalid level. A signal competing circuit characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7122197A JPH08316806A (en) | 1995-05-22 | 1995-05-22 | Signal contention circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7122197A JPH08316806A (en) | 1995-05-22 | 1995-05-22 | Signal contention circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH08316806A true JPH08316806A (en) | 1996-11-29 |
Family
ID=14829972
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7122197A Pending JPH08316806A (en) | 1995-05-22 | 1995-05-22 | Signal contention circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH08316806A (en) |
-
1995
- 1995-05-22 JP JP7122197A patent/JPH08316806A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0666541B1 (en) | Apparatus and method for operating chips synchronously at speeds exceeding the bus speed | |
JP3616162B2 (en) | Device for performing synchronous data transmission between digital devices operating at a frequency having a P / Q integer ratio relationship | |
US5654988A (en) | Apparatus for generating a pulse clock signal for a multiple-stage synchronizer | |
KR101089153B1 (en) | Integrated circuits and methods of transmitting data signals between different clock domains | |
JP2007058881A (en) | Method and apparatus for determining status of shared resource | |
JPH08298503A (en) | Nonintegral multiple clock converter and its method | |
US5148112A (en) | Efficient arbiter | |
US4829515A (en) | High performance low pin count bus interface | |
JPH09167134A (en) | Data synchronization system | |
JPH08316806A (en) | Signal contention circuit | |
US7162557B2 (en) | Competition arbitration system | |
US5442658A (en) | Synchronization apparatus for a synchronous data processing system | |
JPH02255908A (en) | Clock signal supplying device and electronic computer | |
JP3604637B2 (en) | Asynchronous transfer device and asynchronous transfer method | |
JP2508039B2 (en) | Arbiter circuit | |
JP2507643B2 (en) | Common bus control method, control device therefor, master device and computer system | |
JP4524724B2 (en) | Input/Output Devices | |
JP2502030B2 (en) | Synchronizer for a synchronous data processing system. | |
JPH01233849A (en) | Timing system | |
JP2000353939A (en) | Clock signal synchronous flip flop circuit | |
JPH08162918A (en) | Pulse signal generation circuit | |
JPS62154057A (en) | signal control circuit | |
KR910008418B1 (en) | Round-Robin Selective Bus Arbitration Circuit | |
JPH08288836A (en) | Random timer circuit | |
Del Corso et al. | Resynchronization Interfaces: Sources of Metastability Errors in Computing Systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20001107 |