JPH06130924A - Constitution for fifo synchronizing circuit - Google Patents
Constitution for fifo synchronizing circuitInfo
- Publication number
- JPH06130924A JPH06130924A JP4278664A JP27866492A JPH06130924A JP H06130924 A JPH06130924 A JP H06130924A JP 4278664 A JP4278664 A JP 4278664A JP 27866492 A JP27866492 A JP 27866492A JP H06130924 A JPH06130924 A JP H06130924A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- data
- delay
- timing
- fifo
- 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.)
- Withdrawn
Links
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、三次元グラフィック表
示装置で用いる画像合成回路における同期回路の構成方
法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of constructing a synchronizing circuit in an image synthesizing circuit used in a three-dimensional graphic display device.
【0002】三次元グラフィック表示装置では、画像を
高速に表示するために、図4に示すように、複数の三次
元フレームメモリ(以下、3D−FM」という。)40
〜43を設け、各3D−FM40〜43に書き込まれた
画像データを合成するという方法をとることがある。In a three-dimensional graphic display device, a plurality of three-dimensional frame memories (hereinafter, referred to as 3D-FM) 40, as shown in FIG. 4, in order to display an image at high speed.
To 43, and the image data written in each of the 3D-FMs 40 to 43 may be combined.
【0003】画像合成部44〜46は、同じユニット内
の3D−FM40〜42に書き込まれた画像データと、
次段にある各ユニットから送られる画像データとの合成
を行なうものである。また、表示部47は、合成された
画像データを表示出力するものである。The image synthesizing sections 44 to 46 store the image data written in the 3D-FMs 40 to 42 in the same unit,
The image data sent from each unit in the next stage is combined. In addition, the display unit 47 displays and outputs the combined image data.
【0004】異なるユニット間で画像データを転送する
場合、各ユニットにおけるクロックのずれや転送時の遅
延などから、あるユニットのデータ入出力タイミングと
他のユニットのデータ入出力タイミングとの間でずれが
生じる。そのため、ユニット間で、データ入出力タイミ
ングの同期をとる必要がある。When image data is transferred between different units, there is a difference between the data input / output timing of one unit and the data input / output timing of another unit due to a clock shift in each unit and a delay in transfer. Occurs. Therefore, it is necessary to synchronize the data input / output timing between the units.
【0005】[0005]
【従来の技術】図5に、従来技術の構成を示す。図5に
おいて、自段ユニット50は、次段ユニットから画像デ
ータを入力すると共に、その3D−FMから合成を行な
う画像データを読み出す。そして、データ処理部52が
合成した画像データを前段ユニットへ出力する。2. Description of the Related Art FIG. 5 shows the configuration of a conventional technique. In FIG. 5, the self-stage unit 50 inputs the image data from the next-stage unit and reads the image data to be combined from the 3D-FM. Then, the image data combined by the data processing unit 52 is output to the preceding unit.
【0006】従来は、図5に示すように、ユニット50
の入力部にレジスタ51を設けることにより、データ入
力タイミングに一定のディレイをかけ、自段ユニット5
0と次段ユニットとの間で、データ入出力タイミングの
ずれを吸収させていた。Conventionally, as shown in FIG.
By providing the register 51 in the input section of the unit, a fixed delay is applied to the data input timing, and the self-stage unit 5
The data input / output timing deviation between 0 and the next-stage unit was absorbed.
【0007】[0007]
【発明が解決しようとする課題】しかし、この従来の方
法では設計時に想定したずれと、実際のずれとが異なっ
た場合には、正しくデータを処理することができないと
いう問題点を有する。この場合、ユニット結合後に各ユ
ニットで調整を要し、各ユニットの同期回路を個別に作
る必要性も生じる。また、この調整は結合段数が変わる
ごとに行なわなければならないであろう。However, this conventional method has a problem that the data cannot be processed correctly when the deviation assumed at the time of design and the actual deviation are different. In this case, it is necessary to adjust each unit after the units are combined, and it is necessary to individually form a synchronization circuit for each unit. Also, this adjustment would have to be made each time the number of coupling stages changed.
【0008】本発明は、このような従来の問題点に鑑み
て為されたものであり、ユニット結合の構成が変更され
ても、タイミング調整の作業を加える必要がないよう
に、ユニット間で、データ入出力タイミングを通知する
水平同期信号を受け渡させると共に、その水平同期信号
のずれを自動的に検出し、調整するための回路構成を提
供することを目的とする。The present invention has been made in view of the above-mentioned conventional problems, and even if the configuration of unit coupling is changed, it is not necessary to add timing adjustment work between units. It is an object of the present invention to provide a circuit configuration for transmitting and receiving a horizontal sync signal for notifying a data input / output timing and automatically detecting and adjusting a deviation of the horizontal sync signal.
【0009】[0009]
【課題を解決するための手段】本発明によれば、上述の
目的は、前記特許請求の範囲に記載した手段にて達成さ
れる。According to the invention, the above mentioned objects are achieved by means of the patent claims.
【0010】すなわち、請求項1の発明は、図1の原理
説明図を示すように、次段ユニットが出力するデータ
を、次段ユニットが作成する同期信号に基づいて入力す
ると共に、前段ユニットに対してデータを、その送出タ
イミングを示す同期信号と共に出力する自段ユニット1
0において、次段ユニットから入力したデータを、入力
した順番に出力するFIFO部11と、このFIFO部
11が次段ユニットからデータを入力するタイミングの
遅れ又は進みを検出し、次段ユニットに対して同期制御
のための信号を送出するディレイ調整回路12と、を設
けるFIFO同期回路の構成である。That is, according to the first aspect of the invention, as shown in the principle explanatory diagram of FIG. 1, the data output from the next-stage unit is input based on the synchronization signal created by the next-stage unit, and the data is output to the previous-stage unit. On the other hand, a self-stage unit 1 that outputs data together with a synchronization signal indicating the transmission timing thereof.
At 0, the FIFO unit 11 that outputs the data input from the next-stage unit in the order of input, and the delay or advance of the timing at which the FIFO unit 11 inputs the data from the next-stage unit are detected and And a delay adjustment circuit 12 for transmitting a signal for synchronization control by the FIFO synchronization circuit.
【0011】また、請求項2の発明は、前記FIFO部
が、データを保持する複数個のレジスタと、入力データ
を書き込むレジスタを示すライトカウンタと、出力デー
タを読み出すレジスタを示すリードカウンタと、を有す
るものであると共に、前記ディレイ調整回路が、前記ラ
イトカウンタの値と、前記リードカウンタとの値を比較
する手段と、その差が一定の範囲内にない場合には、次
段ユニットに対して同期制御のための信号を送出する手
段と、を有するものであるFIFO同期回路の構成であ
る。According to a second aspect of the present invention, the FIFO unit includes a plurality of registers for holding data, a write counter indicating a register for writing input data, and a read counter indicating a register for reading output data. In addition to the above, the delay adjustment circuit compares the value of the write counter with the value of the read counter, and if the difference is not within a certain range, the delay adjustment circuit is used for the next-stage unit. And a means for transmitting a signal for synchronous control, which is a structure of a FIFO synchronous circuit.
【0012】[0012]
【作用】図1において、FIFO(ファーストインファ
ーストアウトメモリ)部11は、書き込まれたデータ
を、書き込まれた順番に出力するものである。次段ユニ
ットにおけるデータ出力タイミングは、自段ユニット1
0が次段ユニットへ送出する水平同期信号によって決ま
る。In FIG. 1, a FIFO (first-in first-out memory) unit 11 outputs written data in the written order. The data output timing in the next-stage unit is
0 is determined by the horizontal sync signal sent to the next unit.
【0013】ディレイ調整回路12は、例えば、FIF
O部11の中間までデータが書き込まれた時点で、FI
FO部11からのデータ出力が始まるように、次段ユニ
ットに送出する水平同期信号のディレイを変化させるも
のである。データ処理部13は、画像データの合成を行
なうものである。The delay adjusting circuit 12 is, for example, a FIF.
When the data is written up to the middle of the O section 11, the FI
The delay of the horizontal synchronizing signal sent to the next-stage unit is changed so that the data output from the FO unit 11 starts. The data processing unit 13 synthesizes image data.
【0014】[0014]
【実施例】図2に、本発明による一実施例の構成を示
す。図2において、ライトカウンタ22は、次段ユニッ
トからの水平同期信号が有効になるとカウントアップを
始める。そして、カウント値が、”(FFの個数)−
1”になると、カウント値を‘0’に戻す。分配器20
は、入力されたデータを、ライトカウンタ22のカウン
ト値に従って各フリップフロップ25〜27に分配す
る。FIG. 2 shows the configuration of an embodiment according to the present invention. In FIG. 2, the write counter 22 starts counting up when the horizontal synchronizing signal from the next-stage unit becomes valid. Then, the count value is "(number of FFs)-
When it becomes "1", the count value is returned to "0".
Distributes the input data to the flip-flops 25 to 27 according to the count value of the write counter 22.
【0015】リードカウンタ23は、自段ユニットの水
平同期信号が有効になるとカウントアップを始める。そ
して、カウント値が、”(FFの個数)−1”になる
と、カウント値を‘0’に戻す。選択器21は、リード
カウンタ23のカウント値に従って、各フリップフロッ
プ25〜27のデータを選択する。The read counter 23 starts counting up when the horizontal synchronizing signal of its own unit becomes valid. Then, when the count value becomes "(number of FFs) -1", the count value is returned to "0". The selector 21 selects the data of each flip-flop 25 to 27 according to the count value of the read counter 23.
【0016】ディレイ調整回路24は、スキャンライン
の先頭で入力データの遅れ、又は進みを判定し、次段ユ
ニットに送る水平同期信号のディレイを1周期ずつ調整
するものである。The delay adjustment circuit 24 determines the delay or advance of the input data at the head of the scan line, and adjusts the delay of the horizontal synchronizing signal sent to the next stage unit by one cycle.
【0017】ディレイの調整は、以下のように行なえば
よい。すなわち、リードカウンタ23のカウント値が
‘0’のとき、ライトカウンタ22のカウント値を読
む。ライトカウンタ22のカウント値が、カウント値の
最大値の半分よりも小さければディレイを1周期減少さ
せ、大きければディレイを1周期増加させる。また、等
しい場合には、変化させない。The delay adjustment may be performed as follows. That is, when the count value of the read counter 23 is “0”, the count value of the write counter 22 is read. If the count value of the write counter 22 is smaller than half of the maximum count value, the delay is decreased by one cycle, and if it is larger, the delay is increased by one cycle. If they are equal, no change is made.
【0018】例えば、フリップフロップの個数が五個の
ときのディレイ調整回路24の動作例を図3に基づいて
説明する。図3(a)の場合、リードカウンタ23のカ
ウント値が‘0’のとき、ライトカウンタ22のカウン
ト値は‘3’である。この‘3’は、カウント値の最大
値である‘4’の半分、つまり‘2’よりも大きい。従
って、ディレイを1周期減少させ、タイミングを1周期
だけ遅らせる。For example, an operation example of the delay adjusting circuit 24 when the number of flip-flops is five will be described with reference to FIG. In the case of FIG. 3A, when the count value of the read counter 23 is “0”, the count value of the write counter 22 is “3”. This "3" is larger than half of "4" which is the maximum count value, that is, "2". Therefore, the delay is reduced by one cycle and the timing is delayed by one cycle.
【0019】また、図3(b)の場合、リードカウンタ
23のカウント値が‘0’のとき、ライトカウンタ22
のカウント値は‘1’であり、‘2’よりも小さい。従
って、ディレイを1周期増加させ、タイミングを1周期
だけ進める。Further, in the case of FIG. 3B, when the count value of the read counter 23 is "0", the write counter 22
Has a count value of "1", which is smaller than "2". Therefore, the delay is increased by one cycle and the timing is advanced by one cycle.
【0020】図3(a)の場合も、(b)の場合も、ど
ちらも次のスキャンでタイミングが補正されて、以降、
リードカウンタ23のカウント値が‘0’のとき、ライ
トカウンタ22のカウント値は‘2’となり、安定す
る。In both the case of FIG. 3A and the case of FIG. 3B, the timing is corrected in the next scan, and thereafter,
When the read counter 23 has a count value of "0", the write counter 22 has a count value of "2" and is stable.
【0021】[0021]
【発明の効果】以上説明したように、本発明によれば、
データ入出力のタイミングの遅れや進みを判定し、自動
的にタイミングを調整することができるので、複数個の
ユニットを結合する際の調整が不要である。また、各ユ
ニットで独立に同期が行なわれるため、全ユニットを通
しての制御が不要であるという効果を奏する。As described above, according to the present invention,
Since it is possible to determine the delay or advance of the data input / output timing and automatically adjust the timing, it is not necessary to make adjustments when connecting a plurality of units. Further, since the synchronization is performed independently in each unit, there is an effect that control through all units is unnecessary.
【図1】本発明の原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.
【図2】本発明の一実施例を示す図である。FIG. 2 is a diagram showing an embodiment of the present invention.
【図3】ディレイ調整回路の動作例を説明するタイミン
グチャートの図である。FIG. 3 is a timing chart illustrating an operation example of a delay adjustment circuit.
【図4】三次元グラフィック表示装置の概要図である。FIG. 4 is a schematic diagram of a three-dimensional graphic display device.
【図5】従来の技術を示す図である。FIG. 5 is a diagram showing a conventional technique.
10,50 ユニット 11 FIFO部 12,24 ディレイ調整回路 13,52 データ処理部 20 分配器 21 選択器 22 ライトカウンタ 23 リードカウンタ 25〜27 フリップフロップ 40〜43 三次元フレームメモリ 44〜46 画像合成部 47 表示部 51 レジスタ 10, 50 unit 11 FIFO unit 12, 24 Delay adjustment circuit 13, 52 Data processing unit 20 Distributor 21 Selector 22 Write counter 23 Read counter 25-27 Flip-flop 40-43 Three-dimensional frame memory 44-46 Image composition unit 47 Display unit 51 register
Claims (2)
ニットが作成する同期信号に基づいて入力すると共に、
前段ユニットに対してデータを、その送出タイミングを
示す同期信号と共に出力する自段ユニット(10)にお
いて、 次段ユニットから入力したデータを、入力した順番に出
力するFIFO部(11)と、 このFIFO部(11)が次段ユニットからデータを入
力するタイミングの遅れ又は進みを検出し、次段ユニッ
トに対して同期制御のための信号を送出するディレイ調
整回路(12)と、を設けることを特徴とするFIFO
同期回路の構成。1. The data output from the next-stage unit is input based on a synchronization signal generated by the next-stage unit, and
In the self-stage unit (10) that outputs data to the preceding unit together with a synchronization signal indicating the transmission timing, a FIFO unit (11) that outputs the data input from the succeeding unit in the order of input, and this FIFO unit A delay adjusting circuit (12) for detecting a delay or advance of the timing at which the section (11) inputs data from the next-stage unit and sending a signal for synchronization control to the next-stage unit. FIFO to be
Synchronous circuit configuration.
個のレジスタと、入力データを書き込むレジスタを示す
ライトカウンタと、出力データを読み出すレジスタを示
すリードカウンタと、を有すると共に、 前記ディレイ調整回路は、前記ライトカウンタの値と、
前記リードカウンタとの値を比較する手段と、その差が
一定の範囲内にない場合には、次段ユニットに対して同
期制御のための信号を送出する手段と、を有する請求項
1記載のFIFO同期回路の構成。2. The FIFO unit has a plurality of registers for holding data, a write counter showing a register for writing input data, and a read counter showing a register for reading output data, and the delay adjusting circuit. Is the value of the light counter,
2. The method according to claim 1, further comprising means for comparing the value of the read counter and means for sending a signal for synchronous control to the next-stage unit if the difference is not within a certain range. Configuration of FIFO synchronization circuit.
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4278664A JPH06130924A (en) | 1992-10-16 | 1992-10-16 | Constitution for fifo synchronizing circuit |
US08/031,121 US5412611A (en) | 1992-03-17 | 1993-03-12 | FIFO memory device capable of writing contiguous data into rows |
GB9305423A GB2265233B (en) | 1992-03-17 | 1993-03-16 | Fifo memory devices |
GB9519223A GB2291231B (en) | 1992-10-16 | 1993-03-16 | Synchronizing circuitry |
US08/391,647 US5521876A (en) | 1992-03-17 | 1995-02-21 | FIFO memory device capable of writing contiguous data into rows |
US08/391,657 US5515330A (en) | 1992-01-15 | 1995-02-21 | FIFO memory device capable of writing contiguous data into rows |
US08/391,656 US5513145A (en) | 1992-03-17 | 1995-02-21 | FIFO memory device capable of writing contiguous data into rows |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4278664A JPH06130924A (en) | 1992-10-16 | 1992-10-16 | Constitution for fifo synchronizing circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06130924A true JPH06130924A (en) | 1994-05-13 |
Family
ID=17600441
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4278664A Withdrawn JPH06130924A (en) | 1992-01-15 | 1992-10-16 | Constitution for fifo synchronizing circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06130924A (en) |
-
1992
- 1992-10-16 JP JP4278664A patent/JPH06130924A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3856696B2 (en) | Configurable synchronizer for double data rate synchronous dynamic random access memory | |
JP2000076186A (en) | Internal loop synchronization part | |
US6118835A (en) | Apparatus and method of synchronizing two logic blocks operating at different rates | |
US5247485A (en) | Memory device | |
US6816979B1 (en) | Configurable fast clock detection logic with programmable resolution | |
US7549074B2 (en) | Content deskewing for multichannel synchronization | |
US5963221A (en) | Device for writing and reading of size reduced video on a video screen by fixing read and write of alternating field memories during resize operation | |
KR100817270B1 (en) | Interface device and method for synchronizing data | |
JP2001255860A (en) | Video data transfer device and video data transferring method | |
JPH06130924A (en) | Constitution for fifo synchronizing circuit | |
JP3031249B2 (en) | Parallel data phase synchronization circuit | |
JP3441275B2 (en) | Data parallel interface circuit | |
JP2005101771A (en) | Clock transferring circuit and method thereof | |
JP2944549B2 (en) | Cell processing circuit | |
JPH11353289A (en) | Parallel processing processor and parallel processing method | |
KR940010429B1 (en) | Generator of syncro-signal | |
JP2000353939A (en) | Clock signal synchronous flip flop circuit | |
JPH04121892A (en) | Buffer memory control system | |
JP2003309784A (en) | Video signal processor | |
KR0137559B1 (en) | Fifo | |
JPH05100820A (en) | Fifo register device | |
JP2836129B2 (en) | Frame synchronization method in image processing | |
JP2845768B2 (en) | Time information synchronization device | |
JP2000040054A (en) | Serial interface | |
GB2291231A (en) | Synchronizing circuitry |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20000104 |