JP2000278252A - Device and method for synchronizing asynchronous signal - Google Patents

Device and method for synchronizing asynchronous signal

Info

Publication number
JP2000278252A
JP2000278252A JP11080921A JP8092199A JP2000278252A JP 2000278252 A JP2000278252 A JP 2000278252A JP 11080921 A JP11080921 A JP 11080921A JP 8092199 A JP8092199 A JP 8092199A JP 2000278252 A JP2000278252 A JP 2000278252A
Authority
JP
Japan
Prior art keywords
synchronization
signal
asynchronous
circuit
latch circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11080921A
Other languages
Japanese (ja)
Inventor
Kazunori Sato
和徳 佐藤
Masahiro Wakushima
雅博 涌島
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.)
NEC Corp
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC Corp
NEC IC Microcomputer Systems Co 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 NEC Corp, NEC IC Microcomputer Systems Co Ltd filed Critical NEC Corp
Priority to JP11080921A priority Critical patent/JP2000278252A/en
Publication of JP2000278252A publication Critical patent/JP2000278252A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a device for synchronizing asynchronous signal where the existing specification definition technology for an asynchronous signal can be followed, it is not required to increase specification definitions for the clock and synchronization can be warranted with a minimum clock pulse width, and to provide an asynchronous signal synchronization method. SOLUTION: The device is provided with a single phase synchronization circuit 100 that has a 1st synchronization latch circuit 20 and a 2nd synchronization latch circuit 30 which are connected in cascade. The device uses the 1st synchronization latch circuit 20 and the 2nd synchronization latch circuit 30 to apply synchronization processing to received digital asynchronous data strobe signal/WR so as to generate a synchronized data strobe signal 40a.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタル伝送され
てきた信号を受信側のクロックに同期させるための非同
期信号同期化技術に係り、特に現用の非同期信号間のス
ペック定義技術を踏襲でき、対クロックのスペックを増
やす必要が無く、最低クロックパルス幅での同期動作を
保証する非同期信号同期化装置および非同期信号同期化
方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an asynchronous signal synchronizing technique for synchronizing a digitally transmitted signal with a clock on a receiving side, and more particularly to a technique for defining specifications between current asynchronous signals. The present invention relates to an asynchronous signal synchronizer and an asynchronous signal synchronizing method that guarantee a synchronous operation with a minimum clock pulse width without having to increase clock specifications.

【0002】[0002]

【従来の技術】近年、デジタル回路は上位記述から論理
合成するものが多くなり、同期回路が多くなってきてい
るが、非同期思想の下で作られた回路を、資源の有効活
用のため、上位記述化しようとすると、どうしても回路
を同期回路にしなければならない。このようなニーズに
応えるべく、デジタル伝送されてきた信号を受信側のク
ロックに同期させるための非同期信号同期化装置の開発
が盛んに行われている。このような従来技術としては、
例えば、特開平10−135938号公報に記載のもの
がある。すなわち、従来技術は、入力データストローブ
信号をクロック信号の立ち上がりで取り込む第1のフリ
ップフロップと、第1のフリップフロップの出力をクロ
ック信号の立ち上がりで取り込む第2のフリップフロッ
プと、上記第1のフリップフロップの出力と第2のフリ
ップフロップの反転出力との論理積を出力するゲート
と、ゲートの出力が真であるとともにクロック信号の立
ち上がりの時入力データ信号を取り込む第3のフリップ
フロップとを具備し、さらに、外部入力信号を外部クロ
ック信号の立ち上がりで取り込むnビットシフトレジス
タ(nは整数)と、シフトレジスタ中にn−1個データ
が入力されたことを検出するビット数検出手段と、ビッ
ト数検出手段の出力を外部クロック信号の立ち上がりで
取り込む第4のフリップフロップを備え、シフトレジス
タの出力を入力データ信号とし、第4のフリップフロッ
プの出力を入力データストローブ信号とする非同期信号
同期化回路である。これにより、データストローブ信号
をクロック信号の立ち上がりで取り込む第1のフリップ
フロップと第1のフリップフロップの出力をクロック信
号の立ち上がりで取り込む第2のフリップフロップと、
第1のフリップフロップの出力と第2のフリップフロッ
プの反転出力との論理積を出力するゲートとゲートの出
力が真でかつクロック信号の立ち上がりの時入力データ
信号を取り込む第3のフリップフロップを設けることに
より、設計時に論理合成をすることができるので設計コ
ストを下げることができ、テストパターンに不確定な時
間要素を含まないので製品の良否の判定が確実となるこ
とが開示されている。
2. Description of the Related Art In recent years, the number of digital circuits that are logically synthesized from a higher-level description has increased, and the number of synchronous circuits has increased. To describe it, the circuit must be a synchronous circuit. In order to meet such a need, an asynchronous signal synchronizer for synchronizing a digitally transmitted signal with a clock on a receiving side has been actively developed. Such conventional techniques include:
For example, there is one described in JP-A-10-135938. That is, in the related art, a first flip-flop that takes in an input data strobe signal at a rising edge of a clock signal, a second flip-flop that takes in an output of the first flip-flop at a rising edge of a clock signal, and the first flip-flop. A gate that outputs the logical product of the output of the flip-flop and the inverted output of the second flip-flop, and a third flip-flop that takes in the input data signal when the output of the gate is true and the clock signal rises. An n-bit shift register (n is an integer) for taking in an external input signal at the rising edge of the external clock signal; a bit number detecting means for detecting that n-1 data has been input into the shift register; Fourth flip-flop which takes in the output of the detecting means at the rising edge of the external clock signal Comprising a flop, the output of the shift register as input data signals, an asynchronous signal synchronization circuit for receiving the data strobe signal output of the fourth flip-flop. Thus, a first flip-flop that captures the data strobe signal at the rising edge of the clock signal and a second flip-flop that captures the output of the first flip-flop at the rising edge of the clock signal,
A gate for outputting a logical product of the output of the first flip-flop and the inverted output of the second flip-flop; and a third flip-flop for taking in the input data signal when the output of the gate is true and the clock signal rises. Thus, it is disclosed that logic synthesis can be performed at the time of design, so that design cost can be reduced, and since a test pattern does not include an uncertain time element, the quality of a product can be reliably determined.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来技
術には回路の切り口のタイミングに問題があった。すな
わち、従来技術では、単純に非同期入力を同期化するの
であればフリップフロップを2段用い、同期クロックで
非同期信号を生起しているため、非同期入力信号のパル
ス幅の定義を同期クロックのサイクル単位で実行しなけ
ればならず、同期クロックが低速になるほど長いパルス
を入力する必要があるという問題点があった。
However, the prior art has a problem in the timing of the cut of the circuit. That is, in the prior art, if the asynchronous input is simply synchronized, two stages of flip-flops are used and the asynchronous signal is generated by the synchronous clock. Therefore, the definition of the pulse width of the asynchronous input signal is defined in units of the cycle of the synchronous clock. Therefore, there is a problem that it is necessary to input a longer pulse as the synchronous clock becomes slower.

【0004】本発明は斯かる問題点を鑑みてなされたも
のであり、その目的とするところは、現用の非同期信号
間のスペック定義技術を踏襲でき、対クロックのスペッ
クを増やす必要が無く、最低クロックパルス幅での同期
動作を保証する非同期信号同期化装置および非同期信号
同期化方法を提供する点にある。
The present invention has been made in view of such a problem, and an object of the present invention is to be able to follow the specification definition technique between the current asynchronous signals, to eliminate the need to increase the specification for the clock, and to minimize the specification. An object of the present invention is to provide an asynchronous signal synchronizer and an asynchronous signal synchronizer method that guarantee a synchronous operation with a clock pulse width.

【0005】[0005]

【課題を解決するための手段】本発明の請求項1に記載
の要旨は、現用の非同期信号間のスペック定義技術を踏
襲でき、対クロックのスペックを増やす必要が無く、最
低クロックパルス幅での同期動作を保証する非同期信号
同期化装置であって、同期クロックをクロック入力とす
る第1同期化用ラッチ回路および第2同期化用ラッチ回
路を2段縦続接続した回路を備え、デジタル伝送されて
きた非同期データ・ストローブ信号を当該第1同期化用
ラッチ回路および第2同期化用ラッチ回路を用いて同期
化処理して同期データ・ストローブ信号として生成する
ように構成した一相同期回路を有することを特徴とする
非同期信号同期化装置に存する。また本発明の請求項2
に記載の要旨は、前記一相同期回路は、前記非同期デー
タ・ストローブ信号の立ち上がりをトリガとして非同期
信号検知フラグ信号を生成・出力するとともに、当該非
同期信号検知フラグ信号を前記第1同期化用ラッチ回路
の同期化用の信号として出力する非同期信号検知回路を
有することを特徴とする請求項1に記載の非同期信号同
期化装置に存する。また本発明の請求項3に記載の要旨
は、前記一相同期回路は、前記非同期信号検知フラグ信
号が前記第1同期化用ラッチ回路に入力される時に前記
同期クロックとの間に競合が起こる場合に、前記第2同
期化用ラッチ回路が再度前記同期クロックとの同期化処
理を行って第2同期データ・ストローブ信号を生成・出
力するように構成されていることを特徴とする請求項1
または2に記載の非同期信号同期化装置に存する。また
本発明の請求項4に記載の要旨は、前記一相同期回路
は、前記第2同期化用ラッチ回路の前記第2同期データ
・ストローブ信号を前記非同期信号検知回路に帰還させ
た回路構成を有することを特徴とする請求項3に記載の
非同期信号同期化装置に存する。また本発明の請求項5
に記載の要旨は、現用の非同期信号間のスペック定義技
術を踏襲でき、対クロックのスペックを増やす必要が無
く、最低クロックパルス幅での同期動作を保証する非同
期信号同期化方法であって、同期クロックをクロック入
力とする第1同期化用ラッチ回路および第2同期化用ラ
ッチ回路を2段縦続接続した回路を備え、デジタル伝送
されてきた非同期データ・ストローブ信号を当該第1同
期化用ラッチ回路および第2同期化用ラッチ回路を用い
て同期化処理して同期データ・ストローブ信号として生
成するように構成した一相同期処理工程を有することを
特徴とする非同期信号同期化方法に存する。また本発明
の請求項6に記載の要旨は、前記一相同期処理工程は、
前記非同期データ・ストローブ信号の立ち上がりをトリ
ガとして非同期信号検知フラグ信号を生成・出力すると
ともに、当該非同期信号検知フラグ信号を前記第1同期
化用ラッチ回路の同期化用の信号として出力する非同期
信号検知工程を含むことを特徴とする請求項5に記載の
非同期信号同期化方法に存する。また本発明の請求項7
に記載の要旨は、前記一相同期処理工程は、前記非同期
信号検知フラグ信号が前記第1同期化用ラッチ回路に入
力される時に前記同期クロックとの間に競合が起こる場
合に、前記第2同期化用ラッチ回路が再度前記同期クロ
ックとの同期化処理を行って第2同期データ・ストロー
ブ信号を生成・出力する工程を含むことを特徴とする請
求項5または6に記載の非同期信号同期化方法に存す
る。また本発明の請求項8に記載の要旨は、前記一相同
期処理工程は、前記第2同期化用ラッチ回路の前記第2
同期データ・ストローブ信号を前記非同期信号検知工程
に帰還させる工程を含むことを特徴とする請求項7に記
載の非同期信号同期化方法に存する。
SUMMARY OF THE INVENTION The gist of the first aspect of the present invention is to follow the technique for defining the specifications between the currently used asynchronous signals, there is no need to increase the specifications for the clock, and the minimum clock pulse width is not required. An asynchronous signal synchronizing device for guaranteeing a synchronous operation, comprising a circuit in which a first synchronizing latch circuit and a second synchronizing latch circuit, which receive a synchronous clock as a clock input, are cascaded in two stages, and digitally transmitted. Having a one-phase synchronization circuit configured to synchronize the asynchronous data strobe signal using the first synchronization latch circuit and the second synchronization latch circuit to generate a synchronous data strobe signal. An asynchronous signal synchronizer characterized by the following. Claim 2 of the present invention
The gist of the invention is that the one-phase synchronization circuit generates and outputs an asynchronous signal detection flag signal triggered by a rise of the asynchronous data strobe signal, and outputs the asynchronous signal detection flag signal to the first synchronization latch. 2. The asynchronous signal synchronizer according to claim 1, further comprising an asynchronous signal detection circuit that outputs the signal as a signal for circuit synchronization. According to another aspect of the present invention, in the one-phase synchronization circuit, when the asynchronous signal detection flag signal is input to the first synchronization latch circuit, contention occurs with the synchronization clock. 2. In this case, the second synchronization latch circuit is configured to perform synchronization processing with the synchronization clock again to generate and output a second synchronization data strobe signal.
Alternatively, the present invention resides in the asynchronous signal synchronizer according to 2. The gist of claim 4 of the present invention is that the one-phase synchronization circuit has a circuit configuration in which the second synchronization data strobe signal of the second synchronization latch circuit is fed back to the asynchronous signal detection circuit. 4. The asynchronous signal synchronizer according to claim 3, wherein: Claim 5 of the present invention
The gist described in is an asynchronous signal synchronization method that can follow the specification definition technique between the current asynchronous signals, does not need to increase the specification of the clock, and guarantees the synchronous operation with the minimum clock pulse width. A first synchronizing latch circuit and a second synchronizing latch circuit having a clock input as a clock input, wherein the first and second synchronizing latch circuits are cascaded in two stages, and the digitally transmitted asynchronous data strobe signal is transmitted to the first synchronizing latch circuit. And a one-phase synchronization processing step configured to perform synchronization processing using a second synchronization latch circuit to generate a synchronization data strobe signal. The gist of claim 6 of the present invention is that the one-phase synchronization processing step comprises:
Asynchronous signal detection that generates and outputs an asynchronous signal detection flag signal with a rising edge of the asynchronous data strobe signal as a trigger, and outputs the asynchronous signal detection flag signal as a signal for synchronization of the first synchronization latch circuit. 6. The method for synchronizing an asynchronous signal according to claim 5, comprising a step. Claim 7 of the present invention
The gist of the invention is that, in the one-phase synchronization processing step, when a conflict occurs with the synchronization clock when the asynchronous signal detection flag signal is input to the first synchronization latch circuit, 7. The asynchronous signal synchronization according to claim 5, further comprising the step of: generating a second synchronous data strobe signal by outputting a second synchronous data strobe signal by the synchronization latch circuit performing synchronization processing with the synchronous clock again. Be in the way. The gist of claim 8 of the present invention is that the one-phase synchronization processing step includes the step of:
The method according to claim 7, further comprising a step of feeding back a synchronous data strobe signal to the asynchronous signal detecting step.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態を図面
に基づいて詳細に説明する。図1は本発明の一実施の形
態にかかる非同期信号同期化装置に設けられている一相
同期回路100を説明するための回路図である。図1を
参照すると、本実施の形態の一相同期回路100は、非
同期信号検知回路(第1のD型フリップフロップ)1
0、第1同期化用ラッチ回路(第2のD型フリップフロ
ップ)20、第2同期化用ラッチ回路(第3のD型フリ
ップフロップ)30,OR論理素子40,50を備えて
いる。非同期信号検知回路(第1のD型フリップフロッ
プ)10は、D端子が一定電位(例えば、電源電位)に
プルアップされ、C端子に非同期データ・ストローブ信
号/WR(/は負論理を意味する),R端子にOR論理
素子50のリセット信号50aが入力され、非同期信号
検知フラグ信号10aがQ端子を介して次段の第1同期
化用ラッチ回路(第2のD型フリップフロップ)20の
D端子に入力されるように構成されている。第1同期化
用ラッチ回路(第2のD型フリップフロップ)20は、
D端子に非同期信号検知フラグ信号10a,C端子に同
期クロックCLK,R端子にリセット信号RSTが入力
され、第1同期データ・ストローブ信号20aがQ端子
を介して次段の第2同期化用ラッチ回路(第3のD型フ
リップフロップ)30のD端子に入力されるように構成
されている。第2同期化用ラッチ回路(第3のD型フリ
ップフロップ)30は、D端子に第1同期データ・スト
ローブ信号20a,C端子に同期クロックCLK,R端
子にリセット信号RSTが入力され、第2同期データ・
ストローブ信号30aがQ端子を介して次段のOR論理
素子40,50の各入力端子に入力されるように構成さ
れている。OR論理素子40は、第1同期データ・スト
ローブ信号20aと第2同期データ・ストローブ信号3
0aとの論理和演算を実行して同期データ・ストローブ
信号40aを生成して非同期データバスインタフェース
200に出力するように構成されている。OR論理素子
50は、リセット信号RSTと第2同期データ・ストロ
ーブ信号30aとの論理和演算を実行して生成したリセ
ット信号50aを非同期信号検知回路(第1のD型フリ
ップフロップ)10のR端子に出力するように構成され
ている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a circuit diagram for explaining a one-phase synchronous circuit 100 provided in an asynchronous signal synchronizer according to one embodiment of the present invention. Referring to FIG. 1, a one-phase synchronous circuit 100 according to the present embodiment includes an asynchronous signal detection circuit (first D-type flip-flop) 1
0, a first synchronization latch circuit (second D-type flip-flop) 20, a second synchronization latch circuit (third D-type flip-flop) 30, and OR logic elements 40 and 50. In the asynchronous signal detection circuit (first D-type flip-flop) 10, the D terminal is pulled up to a constant potential (for example, a power supply potential), and the asynchronous data strobe signal / WR (/ means negative logic) at the C terminal. ), The reset signal 50a of the OR logic element 50 is input to the R terminal, and the asynchronous signal detection flag signal 10a is supplied to the next-stage first synchronization latch circuit (second D-type flip-flop) 20 via the Q terminal. It is configured to be input to the D terminal. The first synchronization latch circuit (second D-type flip-flop) 20
The asynchronous signal detection flag signal 10a is input to the D terminal, the synchronous clock CLK is input to the C terminal, the reset signal RST is input to the R terminal, and the first synchronous data strobe signal 20a is input via the Q terminal to the second-stage second synchronization latch. The circuit (third D-type flip-flop) 30 is configured to be input to the D terminal. The second synchronization latch circuit (third D-type flip-flop) 30 receives the first synchronization data strobe signal 20a at the D terminal, the synchronization clock CLK at the C terminal, and the reset signal RST at the R terminal. Synchronous data
The strobe signal 30a is configured to be input to the input terminals of the OR logic elements 40 and 50 at the next stage via the Q terminal. The OR logic element 40 includes a first synchronous data strobe signal 20a and a second synchronous data strobe signal 3
It is configured to execute a logical sum operation with 0a to generate a synchronous data strobe signal 40a and output it to the asynchronous data bus interface 200. The OR logic element 50 outputs a reset signal 50a generated by executing a logical OR operation of the reset signal RST and the second synchronous data strobe signal 30a to an R terminal of the asynchronous signal detection circuit (first D-type flip-flop) 10. Is configured to be output.

【0007】図2は本発明の一実施の形態にかかる非同
期信号同期化装置に設けられている非同期データバスイ
ンタフェース200を説明するための回路図である。図
2を参照すると、本実施の形態の非同期データバスイン
タフェース200は、データバスバッファ(第4のD型
フリップフロップ)60、セレクタ70、書き込み先レ
ジスタ(第5のD型フリップフロップ)80を備えてい
る。データバスバッファ(第4のD型フリップフロッ
プ)60はD型フリップフロップであって、D端子にデ
ジタル伝送されてきた信号であるデータ信号DI(7:
0),C端子に非同期データ・ストローブ信号/WR,
R端子にリセット信号RSTが入力され、出力信号60
aがQ端子を介して次段のセレクタ70の入力端子1に
入力されるように構成されている。
FIG. 2 is a circuit diagram for explaining an asynchronous data bus interface 200 provided in the asynchronous signal synchronizer according to one embodiment of the present invention. Referring to FIG. 2, the asynchronous data bus interface 200 according to the present embodiment includes a data bus buffer (fourth D-type flip-flop) 60, a selector 70, and a write destination register (fifth D-type flip-flop) 80. ing. The data bus buffer (fourth D-type flip-flop) 60 is a D-type flip-flop, and is a data signal DI (7:
0), the asynchronous data strobe signal / WR,
The reset signal RST is input to the R terminal, and the output signal 60
a is input to the input terminal 1 of the next-stage selector 70 via the Q terminal.

【0008】セレクタ70は、書き込み先レジスタ(第
5のD型フリップフロップ)80が生成・出力する同期
データ・ストローブ信号80aが入力端子0に、出力信
号60aが入力端子1に各々入力され、同期データ・ス
トローブ信号40aの論理値に応じた信号が出力信号7
0aとして書き込み先レジスタ(第5のD型フリップフ
ロップ)80のD端子に入力されるように構成されてい
る。
In the selector 70, a synchronous data strobe signal 80a generated and output by a write destination register (fifth D-type flip-flop) 80 is input to an input terminal 0, and an output signal 60a is input to an input terminal 1, respectively. A signal corresponding to the logical value of data strobe signal 40a is output signal 7
It is configured to be input to the D terminal of the write destination register (fifth D-type flip-flop) 80 as 0a.

【0009】書き込み先レジスタ(第5のD型フリップ
フロップ)80は、D端子に出力信号70a,C端子に
同期クロックCLK,R端子にリセット信号RSTが入
力され、出力信号である同期データ・ストローブ信号8
0aが外部回路(不図示)とセレクタ70の入力端子0
に入力されるように構成されている。
In a write destination register (fifth D-type flip-flop) 80, an output signal 70a is input to a D terminal, a synchronous clock CLK is input to a C terminal, and a reset signal RST is input to an R terminal. Signal 8
0a is an external circuit (not shown) and the input terminal 0 of the selector 70.
It is configured to be inputted to.

【0010】次に非同期データバスインタフェース20
0の動作(非同期信号同期化方法方法)について説明す
る。図3は本発明の一実施の形態にかかる非同期信号同
期化装置の動作を説明するためのタイミングチャートで
ある。図2のデータバスバッファ(第4のD型フリップ
フロップ)60は、非同期回路と同様の非同期受けを行
う。非同期回路の非同期受けのタイミングで受けたデー
タ信号DI(7:0)は、非同期データ・ストローブ信
号/WRに同期して図3に示したタイミングでデータバ
スバッファ(第4のD型フリップフロップ)60に取り
込まれる。図1の一相同期回路100で用いられる非同
期データ・ストローブ信号/WRの同期化は、データバ
スバッファ(第4のD型フリップフロップ)60のデー
タ取り込みタイミングである非同期データ・ストローブ
信号/WRの立ち上がりをトリガとして非同期信号検知
回路(第1のD型フリップフロップ)10が生成・出力
する非同期信号検知フラグ信号10aを、非同期信号検
知回路(第1のD型フリップフロップ)10の後段に接
続されている2段の第1同期化用ラッチ回路(第2のD
型フリップフロップ)20および第2同期化用ラッチ回
路(第3のD型フリップフロップ)30で同期化するこ
とにより実現している。非同期信号検知回路(第1のD
型フリップフロップ)10が生成・出力する非同期信号
検知フラグ信号10aが第1同期化用ラッチ回路(第2
のD型フリップフロップ)20に入力される時に同期ク
ロックCLKとの間に競合が起こる場合があるが、その
場合でも第2同期化用ラッチ回路(第3のD型フリップ
フロップ)30を用いて再度同期クロックCLKとの同
期化処理を行った第2同期データ・ストローブ信号30
aを生成・出力するので問題ない。図1の一相同期回路
100が生成・出力する同期データ・ストローブ信号4
0aは、図3に示したタイミングでセレクタ70に取り
込まれる。セレクタ70からの出力信号70aは、図3
に示した同期信号CLOCKのタイミングで書き込み先
レジスタ(第5のD型フリップフロップ)80に取り込
まれる。書き込み先レジスタ(第5のD型フリップフロ
ップ)80は書き込み先のレジスタであって、図3に示
した同期信号CLOCKのタイミングでセレクタ70か
らの出力信号70aを取り込むとともに、同期データ・
ストローブ信号80aとして出力する。同期データ・ス
トローブ信号40aを用いて図3に示したタイミングで
セレクタ70を制御し、データバスバッファ(第4のD
型フリップフロップ)60で同期化された出力信号60
aを書き込み先レジスタ(第5のD型フリップフロッ
プ)80へ伝達する。出力信号60aは同期クロックC
LKのタイミングで書き込み先レジスタ(第5のD型フ
リップフロップ)80へ書き込まれる。本実施の形態で
は、非同期データ・ストローブ信号/WRは同期クロッ
クCLKに依存しないが、ライトサイクル(非同期デー
タ・ストローブ信号/WRのアクティブエンドから次の
非同期データ・ストローブ信号/WRのアクティブエン
ド迄の時間)は同期クロックCLKのサイクルに準ず
る。
Next, the asynchronous data bus interface 20
The operation 0 (asynchronous signal synchronization method) will be described. FIG. 3 is a timing chart for explaining the operation of the asynchronous signal synchronizer according to one embodiment of the present invention. The data bus buffer (fourth D-type flip-flop) 60 shown in FIG. 2 performs the same asynchronous reception as the asynchronous circuit. The data signal DI (7: 0) received at the asynchronous reception timing of the asynchronous circuit is synchronized with the asynchronous data strobe signal / WR at the timing shown in FIG. 3 for the data bus buffer (fourth D-type flip-flop). It is taken into 60. The synchronization of the asynchronous data strobe signal / WR used in the one-phase synchronous circuit 100 of FIG. 1 is performed by synchronizing the asynchronous data strobe signal / WR, which is the data fetch timing of the data bus buffer (fourth D-type flip-flop) 60. The asynchronous signal detection flag signal 10a generated and output by the asynchronous signal detection circuit (first D-type flip-flop) 10 triggered by the rising edge is connected to the subsequent stage of the asynchronous signal detection circuit (first D-type flip-flop) 10. Two stages of the first synchronizing latch circuit (the second D
And a second synchronizing latch circuit (third D-type flip-flop) 30. Asynchronous signal detection circuit (first D
Type flip-flop) 10 generates and outputs an asynchronous signal detection flag signal 10a to a first synchronization latch circuit (second
In some cases, a conflict may occur with the synchronous clock CLK when the data is input to the D-type flip-flop 20). In such a case, the second synchronization latch circuit (third D-type flip-flop) 30 is used. Second synchronization data strobe signal 30 that has been synchronized with synchronization clock CLK again
There is no problem because a is generated and output. Synchronous data strobe signal 4 generated and output by one-phase synchronous circuit 100 in FIG.
0a is taken into the selector 70 at the timing shown in FIG. The output signal 70a from the selector 70 is shown in FIG.
At the timing of the synchronization signal CLOCK shown in FIG. A write destination register (fifth D-type flip-flop) 80 is a write destination register, which fetches the output signal 70a from the selector 70 at the timing of the synchronization signal CLOCK shown in FIG.
Output as strobe signal 80a. Using the synchronous data strobe signal 40a, the selector 70 is controlled at the timing shown in FIG.
Output signal 60 synchronized by the flip-flop 60)
is transmitted to the write destination register (fifth D-type flip-flop) 80. The output signal 60a is a synchronous clock C
The data is written to the write destination register (fifth D-type flip-flop) 80 at the timing of LK. In the present embodiment, the asynchronous data strobe signal / WR does not depend on the synchronous clock CLK, but the write cycle (from the active end of the asynchronous data strobe signal / WR to the active end of the next asynchronous data strobe signal / WR). Time) is based on the cycle of the synchronous clock CLK.

【0011】なお、本発明と類似する従来技術として、
例えば、特開昭58−79329号公報、特開平4−1
37815号公報、特開平10−135938号公報、
特開平10−149335号公報に記載のものがある。
特開昭58−79329号公報に記載の従来技術は、逆
相同期クロック、S−Rラッチ、微分回路を用いてお
り、本発明の背景にある一相同期回路100の思想とは
根本的に異なっている。また特開平4−137815号
公報に記載の従来技術は、非同期回路より発する信号の
ハザードを後段のD型フリップフロップで同期化するこ
とにより消すというものであるが、本発明は非同期回路
を一相同期化するにあたり、マクロの切り口で設定され
ている非同期信号どうしの交流スペックの定義を変えず
に一相同期回路100に適用する目的から、初段のD型
フリップフロップにて非同期信号どうしを直接入力し、
それを同期化した非同期データ・ストローブ信号のタイ
ミングで取り込むというものであり、データ取り込み部
分の回路構成が特開平4−137815号公報に記載の
従来技術とは異なる。また、フリップフロップを用いた
回路構成も、初段の非同期信号検知回路(第1のD型フ
リップフロップ)10に最後段の第2同期化用ラッチ回
路(第3のD型フリップフロップ)30の第2同期デー
タ・ストローブ信号30a(すなわち、リセット信号5
0a)を帰還させている回路構成が本発明とは異なって
いる。また特開平10−135938号公報に記載の従
来技術で述べている回路構成は、逆相同期クロックを用
いており一相同期回路100の構成になっていない他、
本発明が意図するところの、「マクロの切り口で設定さ
れている現用の非同期信号間のスペック定義を一相同期
回路100に適用する」という目的を実現できる回路構
成にはなっていない。また特開平10−149335号
公報に記載の従来技術のPCIは元々同期回路であり、
ACスペックは対同期クロックCLKのものばかりであ
る。よって、特開平10−149335号公報に記載の
従来技術では、本発明が行っているところの、「マクロ
の切り口で設定されている現用の非同期信号間のスペッ
ク定義を一相同期回路100に適用する」という目的を
実現していない。
As a prior art similar to the present invention,
For example, JP-A-58-79329 and JP-A-4-1
No. 37815, JP-A-10-135938,
There is one described in JP-A-10-149335.
The prior art described in Japanese Patent Application Laid-Open No. 58-79329 uses an anti-phase synchronous clock, an SR latch, and a differentiating circuit, and is fundamentally different from the idea of the one-phase synchronous circuit 100 which is the background of the present invention. Is different. In the prior art described in Japanese Patent Application Laid-Open No. 4-137815, the hazard of a signal emitted from an asynchronous circuit is eliminated by synchronizing with a D-type flip-flop at the subsequent stage. In order to apply to the one-phase synchronous circuit 100 without changing the definition of AC specifications between asynchronous signals set at the macro cutoff, the asynchronous signals are directly input to each other by the first stage D-type flip-flop. And
This is taken in at the timing of a synchronized asynchronous data strobe signal, and the circuit configuration of the data taking part is different from that of the prior art described in JP-A-4-137815. In addition, the circuit configuration using the flip-flop also has a configuration in which the first-stage asynchronous signal detection circuit (first D-type flip-flop) 10 is connected to the second-stage second synchronization latch circuit (third D-type flip-flop) 30. 2 synchronous data strobe signal 30a (ie, reset signal 5
The circuit configuration for feeding back 0a) is different from the present invention. Further, the circuit configuration described in the prior art described in Japanese Patent Application Laid-Open No. H10-135938 uses an anti-phase synchronous clock and does not have the configuration of the one-phase synchronous circuit 100.
The present invention does not have a circuit configuration capable of realizing the purpose of "applying the specification definition between the current asynchronous signals set at the macro cutoff to the one-phase synchronous circuit 100". The PCI of the prior art described in JP-A-10-149335 is originally a synchronous circuit,
The AC specifications are only those for the synchronous clock CLK. Therefore, in the prior art described in Japanese Patent Application Laid-Open No. H10-149335, "the specification definition between the currently used asynchronous signals set at the macro cutoff is applied to the one-phase synchronous circuit 100". The purpose of "doing".

【0012】以上説明したように、本実施の形態によれ
ば、初段の非同期信号検知回路(第1のD型フリップフ
ロップ)10で非同期データ・ストローブ信号/WRを
検知して非同期信号検知フラグ信号10aを生成・出力
し、第2同期化用ラッチ回路(第3のD型フリップフロ
ップ)30を用いて再度同期クロックCLKとの同期化
処理を行った第2同期データ・ストローブ信号30aを
生成・出力するので、非同期信号検知フラグ信号10a
と同期クロックCLKとの間の競合を防ぐことができ、
また同期化条件も同期クロックCLKに依存しないよう
にできる。その結果、低速な動作を要求される場合にお
いても同期化処理を従前と同様に行うことができるとい
った効果を奏する。
As described above, according to the present embodiment, the asynchronous data strobe signal / WR is detected by the first-stage asynchronous signal detection circuit (first D-type flip-flop) 10 and the asynchronous signal detection flag signal is detected. 10a, and generates and outputs a second synchronization data strobe signal 30a that has been synchronized with the synchronization clock CLK again using the second synchronization latch circuit (third D-type flip-flop) 30. Output, the asynchronous signal detection flag signal 10a
And the synchronization clock CLK can be prevented,
Further, the synchronization condition can be made independent of the synchronization clock CLK. As a result, even when a low-speed operation is required, the synchronization processing can be performed in the same manner as before.

【0013】なお、本発明が上記各実施形態に限定され
ず、本発明の技術思想の範囲内において、各実施形態は
適宜変更され得ることは明らかである。また上記構成部
材の数、位置、形状等は上記実施の形態に限定されず、
本発明を実施する上で好適な数、位置、形状等にするこ
とができる。また、各図において、同一構成要素には同
一符号を付している。
It should be noted that the present invention is not limited to the above embodiments, and each embodiment can be appropriately changed within the technical idea of the present invention. Further, the number, position, shape, and the like of the constituent members are not limited to the above-described embodiment,
The number, position, shape, and the like suitable for carrying out the present invention can be obtained. In each drawing, the same components are denoted by the same reference numerals.

【0014】[0014]

【発明の効果】本発明は以上のように構成されているの
で、初段の非同期信号検知回路(第1のD型フリップフ
ロップ)で非同期データ・ストローブ信号を検知して非
同期信号検知フラグ信号を生成・出力し、第2同期化用
ラッチ回路(第3のD型フリップフロップ)を用いて再
度同期クロックとの同期化処理を行った信号を生成・出
力するので、非同期信号検知フラグ信号と同期クロック
との間の競合を防ぐことができ、また同期化条件も同期
クロックに依存しないようにできる。その結果、低速な
動作を要求される場合においても同期化処理を従前と同
様に行うことができるといった効果を奏する。
Since the present invention is configured as described above, the asynchronous data strobe signal is detected by the first-stage asynchronous signal detection circuit (first D-type flip-flop) to generate the asynchronous signal detection flag signal. Output and use the second synchronization latch circuit (third D-type flip-flop) to generate and output a signal that has been synchronized with the synchronous clock again, so that the asynchronous signal detection flag signal and the synchronous clock And the synchronization condition can be made independent of the synchronization clock. As a result, even when a low-speed operation is required, the synchronization processing can be performed in the same manner as before.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態にかかる非同期信号同期
化装置に設けられている一相同期回路を説明するための
回路図である。
FIG. 1 is a circuit diagram for explaining a one-phase synchronous circuit provided in an asynchronous signal synchronizer according to an embodiment of the present invention.

【図2】本発明の一実施の形態にかかる非同期信号同期
化装置に設けられている非同期データバスインタフェー
スを説明するための回路図である。
FIG. 2 is a circuit diagram for explaining an asynchronous data bus interface provided in the asynchronous signal synchronizer according to one embodiment of the present invention;

【図3】本発明の一実施の形態にかかる非同期信号同期
化装置の動作を説明するためのタイミングチャートであ
る。
FIG. 3 is a timing chart for explaining the operation of the asynchronous signal synchronizer according to one embodiment of the present invention;

【符号の説明】[Explanation of symbols]

10…非同期信号検知回路(第1のD型フリップフロッ
プ) 10a…非同期信号検知フラグ信号 20…第1同期化用ラッチ回路(第2のD型フリップフ
ロップ) 20a…第1同期データ・ストローブ信号 30…第2同期化用ラッチ回路(第3のD型フリップフ
ロップ) 30a…第2同期データ・ストローブ信号 40,50…OR論理素子 40a…同期データ・ストローブ信号 50a…リセット信号 60…データバスバッファ(第4のD型フリップフロッ
プ) 60a…出力信号 70…セレクタ 70a…出力信号 80…書き込み先レジスタ(第5のD型フリップフロッ
プ) 80a…同期データ・ストローブ信号 100…一相同期回路 200…非同期データバスインタフェース CLK…同期クロック DI(7:0)…データ信号 RST…リセット信号 /WR…非同期データ・ストローブ信号(/は負論理を
意味する)
10: Asynchronous signal detection circuit (first D-type flip-flop) 10a: Asynchronous signal detection flag signal 20: first synchronization latch circuit (second D-type flip-flop) 20a: first synchronous data strobe signal 30 ... second synchronization latch circuit (third D-type flip-flop) 30a ... second synchronization data strobe signal 40, 50 ... OR logic element 40a ... synchronization data strobe signal 50a ... reset signal 60 ... data bus buffer ( A fourth D-type flip-flop) 60a output signal 70 selector 70a output signal 80 write destination register (fifth D-type flip-flop) 80a synchronous data strobe signal 100 single-phase synchronous circuit 200 asynchronous data Bus interface CLK: Synchronous clock DI (7: 0): Data signal RST ... Reset signal / WR ... Asynchronous data strobe signal (/ means negative logic)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 涌島 雅博 神奈川県川崎市中原区小杉町一丁目403番 53 日本電気アイシーマイコンシステム株 式会社内 Fターム(参考) 5B077 FF01 GG13 MM01 MM02 5K047 AA01 GG07 GG24 MM27 MM28 MM53  ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Masahiro Wakushima 1-403, Kosugi-cho, Nakahara-ku, Kawasaki-shi, Kanagawa 53 F-term within NEC Icy Microcomputer Systems Co., Ltd. 5B077 FF01 GG13 MM01 MM02 5K047 AA01 GG07 GG24 MM27 MM28 MM53

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 現用の非同期信号間のスペック定義技術
を踏襲でき、対クロックのスペックを増やす必要が無
く、最低クロックパルス幅での同期動作を保証する非同
期信号同期化装置であって、 同期クロックをクロック入力とする第1同期化用ラッチ
回路および第2同期化用ラッチ回路を2段縦続接続した
回路を備え、デジタル伝送されてきた非同期データ・ス
トローブ信号を当該第1同期化用ラッチ回路および第2
同期化用ラッチ回路を用いて同期化処理して同期データ
・ストローブ信号として生成するように構成した一相同
期回路を有することを特徴とする非同期信号同期化装
置。
1. An asynchronous signal synchronizer which can follow a specification definition technique between current asynchronous signals, does not need to increase the specification of a clock, and guarantees a synchronous operation with a minimum clock pulse width. And a circuit in which a first synchronizing latch circuit and a second synchronizing latch circuit, each of which has a clock input, are connected in cascade, and the digitally transmitted asynchronous data strobe signal is transmitted to the first synchronizing latch circuit. Second
An asynchronous signal synchronizer comprising a one-phase synchronous circuit configured to generate a synchronous data strobe signal by performing a synchronization process using a latch circuit for synchronization.
【請求項2】 前記一相同期回路は、 前記非同期データ・ストローブ信号の立ち上がりをトリ
ガとして非同期信号検知フラグ信号を生成・出力すると
ともに、当該非同期信号検知フラグ信号を前記第1同期
化用ラッチ回路の同期化用の信号として出力する非同期
信号検知回路を有することを特徴とする請求項1に記載
の非同期信号同期化装置。
2. The one-phase synchronization circuit generates and outputs an asynchronous signal detection flag signal triggered by a rise of the asynchronous data strobe signal, and outputs the asynchronous signal detection flag signal to the first synchronization latch circuit. 2. The asynchronous signal synchronizer according to claim 1, further comprising: an asynchronous signal detection circuit that outputs the signal as a signal for synchronization.
【請求項3】 前記一相同期回路は、 前記非同期信号検知フラグ信号が前記第1同期化用ラッ
チ回路に入力される時に前記同期クロックとの間に競合
が起こる場合に、前記第2同期化用ラッチ回路が再度前
記同期クロックとの同期化処理を行って第2同期データ
・ストローブ信号を生成・出力するように構成されてい
ることを特徴とする請求項1または2に記載の非同期信
号同期化装置。
3. The one-phase synchronization circuit, wherein when the asynchronous signal detection flag signal is input to the first synchronization latch circuit and a conflict occurs with the synchronization clock, the second synchronization is performed. 3. The asynchronous signal synchronization according to claim 1, wherein the latch circuit is configured to perform a synchronization process with the synchronization clock again to generate and output a second synchronization data strobe signal. 4. Device.
【請求項4】 前記一相同期回路は、 前記第2同期化用ラッチ回路の前記第2同期データ・ス
トローブ信号を前記非同期信号検知回路に帰還させた回
路構成を有することを特徴とする請求項3に記載の非同
期信号同期化装置。
4. The circuit according to claim 1, wherein the one-phase synchronization circuit has a circuit configuration in which the second synchronization data strobe signal of the second synchronization latch circuit is fed back to the asynchronous signal detection circuit. 4. The asynchronous signal synchronizer according to 3.
【請求項5】 現用の非同期信号間のスペック定義技術
を踏襲でき、対クロックのスペックを増やす必要が無
く、最低クロックパルス幅での同期動作を保証する非同
期信号同期化方法であって、 同期クロックをクロック入力とする第1同期化用ラッチ
回路および第2同期化用ラッチ回路を2段縦続接続した
回路を備え、デジタル伝送されてきた非同期データ・ス
トローブ信号を当該第1同期化用ラッチ回路および第2
同期化用ラッチ回路を用いて同期化処理して同期データ
・ストローブ信号として生成するように構成した一相同
期処理工程を有することを特徴とする非同期信号同期化
方法。
5. An asynchronous signal synchronizing method which can follow a specification definition technique between current asynchronous signals, does not need to increase the specification of a clock, and guarantees a synchronous operation with a minimum clock pulse width. And a circuit in which a first synchronizing latch circuit and a second synchronizing latch circuit, each of which has a clock input, are connected in cascade, and the digitally transmitted asynchronous data strobe signal is transmitted to the first synchronizing latch circuit. Second
An asynchronous signal synchronization method comprising a one-phase synchronization processing step configured to perform synchronization processing using a synchronization latch circuit to generate a synchronous data strobe signal.
【請求項6】 前記一相同期処理工程は、 前記非同期データ・ストローブ信号の立ち上がりをトリ
ガとして非同期信号検知フラグ信号を生成・出力すると
ともに、当該非同期信号検知フラグ信号を前記第1同期
化用ラッチ回路の同期化用の信号として出力する非同期
信号検知工程を含むことを特徴とする請求項5に記載の
非同期信号同期化方法。
6. The one-phase synchronization processing step includes: generating and outputting an asynchronous signal detection flag signal with a rising edge of the asynchronous data strobe signal as a trigger; and outputting the asynchronous signal detection flag signal to the first synchronization latch. 6. The asynchronous signal synchronization method according to claim 5, further comprising an asynchronous signal detection step of outputting the signal as a signal for circuit synchronization.
【請求項7】 前記一相同期処理工程は、 前記非同期信号検知フラグ信号が前記第1同期化用ラッ
チ回路に入力される時に前記同期クロックとの間に競合
が起こる場合に、前記第2同期化用ラッチ回路が再度前
記同期クロックとの同期化処理を行って第2同期データ
・ストローブ信号を生成・出力する工程を含むことを特
徴とする請求項5または6に記載の非同期信号同期化方
法。
7. The one-phase synchronization processing step includes: when a conflict occurs with the synchronization clock when the asynchronous signal detection flag signal is input to the first synchronization latch circuit, the second synchronization is performed. 7. The method according to claim 5, further comprising the step of: performing a synchronization process with the synchronization clock again to generate and output a second synchronization data strobe signal. .
【請求項8】 前記一相同期処理工程は、 前記第2同期化用ラッチ回路の前記第2同期データ・ス
トローブ信号を前記非同期信号検知工程に帰還させる工
程を含むことを特徴とする請求項7に記載の非同期信号
同期化方法。
8. The one-phase synchronization processing step includes a step of feeding back the second synchronization data strobe signal of the second synchronization latch circuit to the asynchronous signal detection step. 3. The method for synchronizing asynchronous signals according to item 1.
JP11080921A 1999-03-25 1999-03-25 Device and method for synchronizing asynchronous signal Pending JP2000278252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11080921A JP2000278252A (en) 1999-03-25 1999-03-25 Device and method for synchronizing asynchronous signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11080921A JP2000278252A (en) 1999-03-25 1999-03-25 Device and method for synchronizing asynchronous signal

Publications (1)

Publication Number Publication Date
JP2000278252A true JP2000278252A (en) 2000-10-06

Family

ID=13731896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11080921A Pending JP2000278252A (en) 1999-03-25 1999-03-25 Device and method for synchronizing asynchronous signal

Country Status (1)

Country Link
JP (1) JP2000278252A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101034338B1 (en) 2004-04-01 2011-05-16 오끼 덴끼 고오교 가부시끼가이샤 Data transmission circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101034338B1 (en) 2004-04-01 2011-05-16 오끼 덴끼 고오교 가부시끼가이샤 Data transmission circuit

Similar Documents

Publication Publication Date Title
US8301932B2 (en) Synchronising between clock domains
JPH07253947A (en) Data communication equipment
JP2007122804A (en) Synchronous semiconductor device
JP3560793B2 (en) Data transfer method
EP0319184B1 (en) Two stage synchronizer
US6341326B1 (en) Method and apparatus for data capture using latches, delays, parallelism, and synchronization
JP2000278252A (en) Device and method for synchronizing asynchronous signal
US6907538B1 (en) Circuit and method for providing centralized synchronization for the transportation of data between devices in a different clock domains on a data bus
KR100223026B1 (en) Synchronizing circuit
JP3039441B2 (en) Synchronous edge detection method between different clocks and synchronous edge detection method between different clocks
JPH1115783A (en) Synchronous circuit
JP2984665B1 (en) Waveform shaping circuit
JP2000353939A (en) Clock signal synchronous flip flop circuit
JPH04233014A (en) Clock generating circuit of multiple-chip computer system
JP2783495B2 (en) Clock transfer circuit
JPH11150458A (en) Semiconductor device
JPH0282812A (en) Clock switching system
JP2002204448A (en) Dot de-interleave circuit
JP2896276B2 (en) Logic circuit
JP3001544B1 (en) Pulse synchronization circuit
US6601182B1 (en) Optimized static sliding-window for ACK sampling
US6470459B1 (en) Half-word synchronization method for internal clock
JP2701717B2 (en) Pulse synchronization circuit
JPH09298453A (en) Periodic signal shaping circuit and information processing unit
JPH0738386A (en) Data latch circuit