JPS6114531B2 - - Google Patents

Info

Publication number
JPS6114531B2
JPS6114531B2 JP56101082A JP10108281A JPS6114531B2 JP S6114531 B2 JPS6114531 B2 JP S6114531B2 JP 56101082 A JP56101082 A JP 56101082A JP 10108281 A JP10108281 A JP 10108281A JP S6114531 B2 JPS6114531 B2 JP S6114531B2
Authority
JP
Japan
Prior art keywords
register
output
clock pulse
flip
flop
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
Application number
JP56101082A
Other languages
Japanese (ja)
Other versions
JPS582934A (en
Inventor
Takashi Matsuda
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56101082A priority Critical patent/JPS582934A/en
Publication of JPS582934A publication Critical patent/JPS582934A/en
Publication of JPS6114531B2 publication Critical patent/JPS6114531B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • G06F5/08Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor having a sequence of storage locations, the intermediate ones not being accessible for either enqueue or dequeue operations, e.g. using a shift register

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Shift Register Type Memory (AREA)
  • Information Transfer Systems (AREA)

Description

【発明の詳細な説明】 本発明は互いに非同期なクロツクパルスで書込
みをするレジスタ間のデータ転送方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer system between registers in which data is written using mutually asynchronous clock pulses.

第1図は従来例のデータ転送方式のブロツク
図、第2図は出力不確定領域のタイムチヤート
で、AはクロツクパルスCP1、Bはレジスタ1
の出力Q1、Cはレジスタ1の出力Q2、Dはクロ
ツクパルスCP2を示す。
Figure 1 is a block diagram of the conventional data transfer system, and Figure 2 is a time chart of the output uncertainty region, where A is the clock pulse CP1 and B is the register 1.
output Q 1 , C represents the output Q 2 of register 1, and D represents the clock pulse CP2.

図中1,2はレジスタ、CP1,CP2はお互に
非同期なクロツクパルス、DI1〜DIoは並列入力信
号、DO1〜DOoは並列出力信号である。
In the figure, 1 and 2 are registers, CP1 and CP2 are mutually asynchronous clock pulses, DI 1 to DI o are parallel input signals, and DO 1 to DO o are parallel output signals.

第1図にて並列入力信号DI1〜DIoをクロツクパ
ルスCP1にてレジスタ1に書込みこの出力をク
ロツクパルスCP2にてレジスタ2に書込み並列
出力信号DO1〜DOoとして転送している。当然ク
ロツクパルスCP2の周期はクロツクパルスCP1
の周期と等しいか早くなければ転送は行なへない
ので転送方式はどれでもこのようになつている。
しかし第2図の如くクロツクパルスCP1の立上
りでDATANを読込んだ場合レジスタ1の出力
Q1,Q2がDATANになるのにはレジスタ1内の
素子のばらつきにより時間的に差が出る。この差
の生ずる時点にクロツクパルスCP2があつてレ
ジスタ2に書込むとレジスタ1の出力Q1の方は
DATANを書込むがレジスタ1の出力Q2の方は
DATAN−1の方を書込みレジスタ2へは誤つた
データを書込むことになり並列出力信号DO1
DOoは並列入力信号DI1〜DIoとは異つたものとな
る。今は2つの信号で説明したがこの信号が多け
れば上記のレジスタ1の出力の時間差は更に多く
なり誤信号になることが多くなる。これを出力が
スキユーすると云い又この時点を出力不確定領域
と云う。上記説明の現象が従来の転送方式では起
る欠点がある。
In FIG. 1, parallel input signals DI 1 to DI o are written to register 1 using clock pulse CP1, and the output thereof is written to register 2 using clock pulse CP2 and transferred as parallel output signals DO 1 to DO o . Naturally, the period of clock pulse CP2 is clock pulse CP1.
All transfer methods are like this because the transfer will not take place unless the period is equal to or faster than the period of .
However, if DATAN is read at the rising edge of clock pulse CP1 as shown in Figure 2, the output of register 1
There is a time difference in the time for Q 1 and Q 2 to become DATAN due to variations in the elements in register 1. If clock pulse CP2 occurs at the time when this difference occurs and writes to register 2, the output Q1 of register 1 will be
DATAN is written, but the output Q2 of register 1 is
If you write DATAN-1, incorrect data will be written to register 2, and the parallel output signal DO 1 ~
DO o will be different from the parallel input signals DI 1 to DI o . Although the explanation has been made using two signals, if there are many signals, the time difference between the outputs of the register 1 described above will further increase, and erroneous signals will often occur. This is called the output skew, and this point is called the output uncertainty region. There is a drawback that the phenomenon described above occurs in the conventional transfer method.

本発明の目的は上記の欠点をなくするために前
段レジスタの出力不確定領域を避け安定領域で次
段にデータを書込むことにより誤りなくデータ転
送が出来るデータ転送方式の提供にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data transfer system that avoids the output uncertainty region of the previous stage register and writes data to the next stage in a stable region in order to eliminate the above-mentioned drawbacks, thereby allowing error-free data transfer.

本発明は上記の目的を達成するために互いに非
同期なクロツクパルスCP1,CP2で駆動するレ
ジスタ1及び2に対応して、ある固定レベルをサ
ンプル保持するためのフリツプフロツプFF1,
FF2を設け、この固定レベルがフリツプフロツ
プFF2の出力に転送された時をもつて安定領域
とみなしクロツクパルスCP2の次のクロツクパ
ルスでデータをレジスタ1からレジスタ2へ転送
することにより誤りなくデータ転送が可能となる
ことを特徴とするデータ転送方式である。
In order to achieve the above object, the present invention provides flip-flops FF1 and FF1 for sample-holding a certain fixed level, corresponding to registers 1 and 2 driven by clock pulses CP1 and CP2 asynchronous to each other.
FF2 is provided, and the time when this fixed level is transferred to the output of flip-flop FF2 is regarded as a stable region, and data can be transferred without error by transferring data from register 1 to register 2 with the next clock pulse of clock pulse CP2. This is a data transfer method characterized by:

以下本発明の1実施例につき図に従つて説明す
る。
An embodiment of the present invention will be described below with reference to the drawings.

第3図は本発明の実施例のデータ転送方式のブ
ロツク図、第4図は第3図の場合のタイムチヤー
トでありA〜Hは第1図のA〜H点に対応してお
りレジスタ1及びレジスタ2の出力は1入力のみ
を代表で示してある。
3 is a block diagram of a data transfer system according to an embodiment of the present invention, and FIG. 4 is a time chart in the case of FIG. 3. A to H correspond to points A to H in FIG. For the output of register 2, only one input is shown as a representative.

図中第1図と同一機能のものは同一記号で示
す。3,4はNAND回路で共に遅延時間の等しい
ものであり、FF1,FF2はDタイプのフリツプ
フロツプである。又フリツプフロツプFF1の入
力Dは“H”レベルとしてある。クロツクパルス
CP1とCP2は非同期である。動作としてはクロ
ツクパルスCP1系で生成された並列データDI1
DIoをレジスタ1にクロツクパルスCP1で書込む
と同時にフリツプフロツプFF1に“H”レベル
を書込み、その出力をデータセツト完了信号第4
図Bとする。この信号を、クロツクパルスCP2
をNAND回路3で反転したクロツクパルス第4図
EでフリツプフロツプFF2書込みその出力第4
図Fをデータ転送許可信号とする。この信号とク
ロツクパルスCP2をNAND回路4にてナンドを
とりレジスタ2の書込みクロツク及びフリツプフ
ロツプFF1のリセツト信号(第4図G)とす
る。これによりレジスタ1の出力データの出力不
確定領域を避け、誤りなくレジスタ1からレジス
タ2えデータを転送することが出来る。即ちクロ
ツクパルスCP2のクロツクでレジスタ1へ並列
入力信号が書込まれたことを確認し次のクロツク
でレジスタ2へ書込むしレジスタ1の出力のスキ
ユーの時間はクロツクパルスCP2の周期の間隔
程長くないので不安定領域を避け安定領域で書込
むことが出来る。これは正論理を用いた構成で説
明したが負論理を用いた構成でも可能である。
Components in the figure that have the same functions as those in FIG. 1 are indicated by the same symbols. 3 and 4 are NAND circuits with the same delay time, and FF1 and FF2 are D-type flip-flops. Input D of flip-flop FF1 is set at "H" level. clock pulse
CP1 and CP2 are asynchronous. As for operation, parallel data DI 1 ~ generated by clock pulse CP1 system
At the same time as writing DI o to register 1 using clock pulse CP1, write "H" level to flip-flop FF1, and use the output as data set completion signal No. 4.
Let's call it Figure B. This signal is clock pulse CP2
is inverted by the NAND circuit 3 and the clock pulse E in FIG. 4 is used to write the flip-flop FF2 to its output No.
Figure F is a data transfer permission signal. This signal and the clock pulse CP2 are NANDed by a NAND circuit 4 and used as a write clock for the register 2 and a reset signal for the flip-flop FF1 (FIG. 4G). As a result, it is possible to avoid an output uncertain region of the output data of register 1 and transfer data from register 1 to register 2 without error. That is, it is confirmed that the parallel input signal has been written to register 1 with the clock pulse CP2, and it is written to register 2 with the next clock, and the skew time of the output of register 1 is not as long as the interval between the cycles of clock pulse CP2. It is possible to avoid unstable areas and write in stable areas. Although this has been explained with a configuration using positive logic, it is also possible with a configuration using negative logic.

以上詳細に説明した如く本発明によれば互いに
非同期なクロツク系において並列信号を転送する
際レジスタの出力の不安定領域を避けてデータの
受渡しが行なえるので誤りなくデータ転送が可能
となる効果がある。
As explained in detail above, according to the present invention, when transferring parallel signals in a mutually asynchronous clock system, data can be transferred while avoiding the unstable region of the output of the register, so that data can be transferred without error. be.

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

第1図は従来例のデータ転送方式のブロツク
図、第2図は第1図の場合の出力不確定領域のタ
イムチヤート、第3図は本発明の実施例のデータ
転送方式のブロツク図、第4図は第3図の場合の
タイムチヤートである。 図中1,2はレジスタ、3,4はNAND回路、
FF1,FF2はフリツプフロツプ、CP1,CP2
はクロツクパルス、DI1〜DIoは並列入力信号、
DO1〜DOoは並列出力信号である。
FIG. 1 is a block diagram of a conventional data transfer method, FIG. 2 is a time chart of the output uncertainty region in the case of FIG. 1, and FIG. 3 is a block diagram of a data transfer method according to an embodiment of the present invention. FIG. 4 is a time chart for the case of FIG. In the figure, 1 and 2 are registers, 3 and 4 are NAND circuits,
FF1, FF2 are flip-flops, CP1, CP2
is the clock pulse, DI 1 to DI o is the parallel input signal,
DO 1 to DO o are parallel output signals.

Claims (1)

【特許請求の範囲】[Claims] 1 2ビツト以上の並列信号を入力とし、第1の
クロツクパルスで駆動し該入力信号をサンプル保
持する第1のレジスタと、固定レベルを保持する
第1のフリツプフロツプと、第2のクロツクパル
スで駆動し第1のフリツプフロツプの出力をサン
プル保持する第2のフリツプフロツプとを設け、
第2のフリツプフロツプの出力と第2のクロツク
パルスの論理積をとつたパルスで、第1のレジス
タの出力をサンプル保持する第2のレジスタの書
込みクロツク及び第1のフリツプフロツプのクリ
ア信号とすることを特徴とするデータ転送方式。
1. A first register receives a parallel signal of 2 or more bits as input and is driven by a first clock pulse to sample and hold the input signal, a first flip-flop that holds a fixed level, and a second register driven by a second clock pulse. a second flip-flop that samples and holds the output of the first flip-flop;
A pulse obtained by ANDing the output of the second flip-flop and the second clock pulse is used as a write clock for the second register that samples and holds the output of the first register, and as a clear signal for the first flip-flop. Data transfer method.
JP56101082A 1981-06-29 1981-06-29 Data transfer system Granted JPS582934A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56101082A JPS582934A (en) 1981-06-29 1981-06-29 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56101082A JPS582934A (en) 1981-06-29 1981-06-29 Data transfer system

Publications (2)

Publication Number Publication Date
JPS582934A JPS582934A (en) 1983-01-08
JPS6114531B2 true JPS6114531B2 (en) 1986-04-19

Family

ID=14291171

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56101082A Granted JPS582934A (en) 1981-06-29 1981-06-29 Data transfer system

Country Status (1)

Country Link
JP (1) JPS582934A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0731656B2 (en) * 1984-12-26 1995-04-10 株式会社日立製作所 Asynchronous signal synchronization circuit
JPH08263435A (en) * 1995-03-23 1996-10-11 Kofu Nippon Denki Kk Inter-device data transfer circuit

Also Published As

Publication number Publication date
JPS582934A (en) 1983-01-08

Similar Documents

Publication Publication Date Title
US5278957A (en) Data transfer circuit for interfacing two bus systems that operate asynchronously with respect to each other
US10999050B1 (en) Methods and apparatus for data synchronization in systems having multiple clock and reset domains
JPS62140072A (en) Digital phase meter circuit
CA1310711C (en) Two-stage synchronizer
JPS6114531B2 (en)
GB1427215A (en) Magnetic recording systems
AU594593B2 (en) Method and arrangement for generating a correction signal in a digital timing recovery device
JP3097404B2 (en) Status reading circuit by microcomputer
JP3088144B2 (en) FIFO reset circuit
JP2644112B2 (en) FIFO test diagnostic circuit
SU949657A1 (en) Microprogram control device
RU1817134C (en) Device for solving conflict situations in two-port storage
JPH02206085A (en) Data setting circuit
JPS6124853B2 (en)
JPH06222977A (en) Arbitrating circuit for two-port data guarantee
SU970367A1 (en) Microprogram control device
SU1605244A1 (en) Data source to receiver interface
JP2508322B2 (en) Serial I / O circuit built-in micro computer
SU1397925A1 (en) Device for interfacing computer with peripheral device
SU1179318A1 (en) Device for rounding number
JP2994906B2 (en) Data receiving circuit
JPH073019U (en) Operation mode setting circuit
JPS6174197A (en) Magnetic bubble memory device
JPH03136516A (en) Phase comparison circuit
JPS6246017B2 (en)