JPH05268201A - Clock transfer circuit - Google Patents

Clock transfer circuit

Info

Publication number
JPH05268201A
JPH05268201A JP4091588A JP9158892A JPH05268201A JP H05268201 A JPH05268201 A JP H05268201A JP 4091588 A JP4091588 A JP 4091588A JP 9158892 A JP9158892 A JP 9158892A JP H05268201 A JPH05268201 A JP H05268201A
Authority
JP
Japan
Prior art keywords
read
phase
write
memory
clock
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
Application number
JP4091588A
Other languages
Japanese (ja)
Inventor
Tamako Yamada
珠子 山田
Fumio Iwaki
史生 岩城
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 JP4091588A priority Critical patent/JPH05268201A/en
Publication of JPH05268201A publication Critical patent/JPH05268201A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

(57)【要約】 【目的】 本発明は、例えばエラスティックストア回路
などのような、時分割多重されたデータのクロック乗換
えを行うクロック乗換え回路に関するものであり、回路
規模が小さいクロック乗換え回路を提供することを目的
とする。 【構成】 複数面のメモリを備え、書込み側では書込み
クロックを用いて時分割多重データをこれらのメモリを
フレーム毎に順番に切り替えて書き込み、読出し側では
読出し側クロックを用いてこれらのメモリをフレーム毎
に順番に切り替えて書き込んだデータを読み出すことで
クロックの乗換えを行うクロック乗換え回路において、
同一メモリにおける書込み位相と読出し位相の衝突の有
無を監視し検出する位相監視部11と、位相監視部11
で書込み位相と読出し位相の衝突が検出された時に読出
し位相を変えて書込み位相と読出し位相を所定位相差離
す位相制御部12とを備えたことを特徴とするものであ
る。
(57) [Summary] [Object] The present invention relates to a clock transfer circuit, such as an elastic store circuit, which performs clock transfer of time-division-multiplexed data. The purpose is to provide. [Structure] A multi-sided memory is provided, and the write side uses a write clock to write time-division multiplexed data by sequentially switching these memories for each frame, and the read side uses a read side clock to frame these memories. In a clock transfer circuit that switches clocks by switching in sequence for each time and reading the written data,
A phase monitoring unit 11 that monitors and detects the collision of the write phase and the read phase in the same memory, and the phase monitoring unit 11
When the collision between the write phase and the read phase is detected, the phase control unit 12 is provided which changes the read phase and separates the write phase and the read phase by a predetermined phase difference.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばエラスティック
ストア回路などのような、時分割多重されたデータのク
ロック乗換えを行うクロック乗換え回路に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock transfer circuit such as an elastic store circuit for performing clock transfer of time-division multiplexed data.

【0002】[0002]

【従来の技術】図6には従来のクロック乗換え回路が示
される。この従来例回路は時分割多重データ中の音声デ
ータ部分についてクロック乗換えを行うものであり、時
分割多重データからデマルチプレクサ21で音声データ
を分離し、この音声データをD/A変換器22でディジ
タル/アナログ変換し、その変換後のアナログ音声デー
タを再びA/D変換器23でアナログ/ディジタル変換
し、その変換後のディジタル音声データを再びマルチプ
レクサ24で多重化して時分割多重データにする。この
変換の際、デマルチプレクサ21とD/A変換器22は
書込みクロック(通常は伝送路クロック)で動作させ、
A/D変換器23とマルチプレクサ24は読出しクロッ
ク(通常は局内クロック)で動作させることにより、時
分割多重データを書込みクロックから読出しクロックに
乗せ換えている。
2. Description of the Related Art FIG. 6 shows a conventional clock transfer circuit. This conventional circuit performs clock transfer on the audio data portion in the time division multiplexed data, separates the audio data from the time division multiplexed data by the demultiplexer 21, and digitalizes this audio data by the D / A converter 22. / Analog conversion, the converted analog voice data is again analog / digital converted by the A / D converter 23, and the converted digital voice data is again multiplexed by the multiplexer 24 to form time division multiplexed data. At the time of this conversion, the demultiplexer 21 and the D / A converter 22 are operated by a write clock (usually a transmission line clock),
By operating the A / D converter 23 and the multiplexer 24 with the read clock (usually the in-station clock), the time division multiplexed data is transferred from the write clock to the read clock.

【0003】[0003]

【発明が解決しようとする課題】従来のクロック乗換え
回路は、時分割多重データをD/A変換し、さらにA/
D変換してクロック乗換えを行っているため、D/A変
換器とA/D変換器が必要となるが、これらD/A変換
器とA/D変換器は回路規模が大きいという問題があ
る。
In the conventional clock transfer circuit, time division multiplexed data is D / A converted, and further A / D conversion is performed.
The D / A converter and the A / D converter are necessary because the clock conversion is performed after the D conversion, but the D / A converter and the A / D converter have a problem that the circuit scale is large. ..

【0004】本発明はかかる問題点に鑑みてなされたも
のであり、その目的とするところは、回路規模が小さい
クロック乗換え回路を提供することにある。
The present invention has been made in view of such problems, and an object thereof is to provide a clock transfer circuit having a small circuit scale.

【0005】[0005]

【課題を解決するための手段】図1は本発明にかかる原
理説明図である。本発明のクロック乗換え回路は、複数
面のメモリを備え、書込み側では書込みクロックを用い
て時分割多重データをこれらのメモリをフレーム毎に順
番に切り替えて書き込み、読出し側では読出し側クロッ
クを用いてこれらのメモリをフレーム毎に順番に切り替
えて書き込んだデータを読み出すことでクロックの乗換
えを行うクロック乗換え回路において、同一メモリにお
ける書込み位相と読出し位相の衝突の有無を監視し検出
する位相監視部11と、位相監視部11で書込み位相と
読出し位相の衝突が検出された時に読出し位相を変えて
書込み位相と読出し位相を所定位相差離す位相制御部1
2とを備えたことを特徴とするものである。
FIG. 1 is a diagram illustrating the principle of the present invention. The clock transfer circuit of the present invention comprises a plurality of planes of memory, the write side uses the write clock to write the time division multiplexed data by sequentially switching these memories for each frame, and the read side uses the read side clock. In a clock transfer circuit that switches clocks by sequentially switching these memories for each frame and reading out written data, a phase monitoring unit 11 that monitors and detects the presence or absence of a collision between a write phase and a read phase in the same memory. When the phase monitoring unit 11 detects a collision between the write phase and the read phase, the phase control unit 1 changes the read phase to separate the write phase from the read phase by a predetermined phase difference.
2 is provided.

【0006】また本発明のクロック乗換え回路は、上述
のクロック乗換え回路において、メモリとして2面のメ
モリを持つようにし、位相制御部11は、2面のメモリ
の読出し/非読出しを切り替えるための読出し切替え信
号を生成する読出し切替え信号生成部と、位相監視部か
らの衝突検出信号で出力信号の極性が反転するトグルス
イッチと、読出し切替え信号生成部からの読出し切替え
信号とトグルスイッチからの出力信号とが入力されて、
2面のフレームメモリのうちの一方を読出し側として指
定する読出しメモリ切替え信号を出力する排他的論理和
ゲートとで構成するようにすることができる。
In the clock transfer circuit of the present invention, the above-mentioned clock transfer circuit has a two-sided memory as a memory, and the phase control unit 11 reads the two-sided memory for reading / non-reading. A read switching signal generator that generates a switching signal, a toggle switch that reverses the polarity of the output signal by the collision detection signal from the phase monitor, a read switching signal from the read switching signal generator, and an output signal from the toggle switch. Is entered,
It can be configured with an exclusive OR gate that outputs a read memory switching signal that designates one of the two side frame memories as the read side.

【0007】[0007]

【作用】位相監視部11により同一メモリにおける書込
み位相と読出し位相の衝突が有るか否かを監視し、衝突
が検出された時には位相制御部12により読出し位相を
変化させて、上記書込み位相と読出し位相を所定位相差
だけ離し、衝突状態を回避させる。
The phase monitoring unit 11 monitors whether or not there is a collision between the write phase and the read phase in the same memory, and when the collision is detected, the phase control unit 12 changes the read phase to change the write phase and the read phase. The phases are separated by a predetermined phase difference to avoid a collision state.

【0008】メモリが2面構成である場合、この位相制
御部12としては、位相監視部11で衝突が検出される
毎にトグルスイッチの出力信号の極性を反転するように
し、このトグルスイッチの出力信号を用いて排他的論理
和ゲートを通過する読出し切替え信号の極性を制御する
ようにして読出しメモリ切替え信号とする構成とするこ
とができる。これにより、衝突が検出される毎に読出し
側のメモリが一方から他方に瞬時に切り替わることにな
り、したがって書込み位相と読出し位相が瞬時にほぼ1
80度離れることになる。
When the memory has a two-sided structure, the phase controller 12 inverts the polarity of the output signal of the toggle switch every time the phase monitor 11 detects a collision, and outputs the output of the toggle switch. A signal can be used to control the polarity of the read switching signal that passes through the exclusive OR gate, and the read memory switching signal can be configured. This causes the memory on the read side to switch instantly from one to the other each time a collision is detected, so that the write and read phases are instantaneously close to one.
It will be 80 degrees apart.

【0009】[0009]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図2には本発明の一実施例としてのクロック乗換
え回路が示される。この実施例は時分割多重データのフ
レーム中の一部分に入れられている音声データについて
書込みクロック(伝送路クロック)から読出しクロック
(局内クロック)にクロック乗換えを行うものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 shows a clock transfer circuit as an embodiment of the present invention. In this embodiment, the voice data contained in a part of the frame of the time division multiplexed data is clock-changed from the write clock (transmission path clock) to the read clock (internal station clock).

【0010】図2において、1、2はそれぞれが書込み
/読出し可能な2面のメモリであり、時分割多重データ
のフレーム毎に交互に切り替えられて、その時分割多重
データ中の音声データが書込みクロック速度で書き込ま
れ、また書き込まれたデータが読出しクロック速度で読
み出されるものである。これらのメモリ1、2にはnビ
ット並列の時分割多重データがそれぞれデータ入力され
ており、書込み側の制御信号としては、書込みクロック
発生器6で発生した書込みクロックCLKw 、フレーム
中の音声データの位置に応じた書込みタイミング信号
(d)、一方のメモリを書込みイネーブル状態にするた
めの書込み用メモリ切替え信号(c)がそれぞれ入力さ
れ、また読出し側の制御信号としては、読出しクロック
発生器40で発生した読出しクロックCLKR 、読出し
タイミング信号(h)、一方のメモリを読出しイネーブ
ル状態にするための読出し用メモリ切替え信号(l)が
それぞれ入力される。
In FIG. 2, reference numerals 1 and 2 designate two writable / readable memories, which are alternately switched for each frame of the time division multiplexed data so that the audio data in the time division multiplexed data is a write clock. It is written at a speed and the written data is read at a read clock speed. Data of n-bit parallel time-division multiplexed data are input to the memories 1 and 2, respectively. The write-side control signal is the write clock CLK w generated by the write clock generator 6, and the audio data in the frame. , A write timing signal (d) corresponding to the position of (1) and a write memory switching signal (c) for putting one of the memories into a write enable state are input, and a read clock generator 40 is used as a read side control signal. The read clock CLK R , the read timing signal (h), and the read memory switching signal (l) for putting one of the memories into the read enable state are input.

【0011】3はメモリ1、2のうちの一方を書込みイ
ネーブル状態に切り替えるための書込み用メモリ切替え
信号(c)を生成する書込み用メモリ切替え信号生成部
3であり、その生成した書込み用メモリ切替え信号は
系メモリ1とインバータを介して系メモリ2とに入力
されており、それにより一方のメモリが書込みイネーブ
ル状態の時には他方のメモリは書込みディスエーブル状
態となるようになっている。この書込み用メモリ切替え
信号は後述する書込み/読出し位相監視部42にも入力
される。
Reference numeral 3 denotes a write memory switching signal generator 3 for generating a write memory switching signal (c) for switching one of the memories 1 and 2 to a write enable state. The signal is input to the system memory 1 and the system memory 2 via the inverter, so that when one memory is in the write enable state, the other memory is in the write disable state. This write memory switching signal is also input to the write / read phase monitoring unit 42 described later.

【0012】4は位相監視制御部であり、この位相監視
制御部4は同一メモリにおける書込み位相と読出し位相
の衝突の有無を監視していて、衝突検出時にはその読出
し位相を変化させることにより両位相を180度離すよ
う動作する。すなわち、この位相監視制御部4は、読出
し用メモリ切替え信号(l)を系メモリ1とインバー
タを介して系メモリ2とに供給しており、一方のメモ
リにおいて書込み位相と読出し位相の衝突が生じた際に
は、読出し用メモリ切替え信号の極性を反転すること
で、読出しイネーブル状態のメモリを一方のメモリから
他方のメモリに瞬時に切り替え、それにより書込み位相
と読出し位相を180度離すようにしている。
Reference numeral 4 denotes a phase monitoring control unit, which monitors the presence or absence of a collision between the write phase and the read phase in the same memory, and when the collision is detected, the read phase is changed to change both phases. Operate to be separated by 180 degrees. That is, the phase monitoring control unit 4 supplies the read memory switching signal (l) to the system memory 1 and the system memory 2 via the inverter, and the write phase and the read phase collide in one memory. In this case, by inverting the polarity of the read memory switching signal, the memory in the read enabled state is instantaneously switched from one memory to the other memory, whereby the write phase and the read phase are separated by 180 degrees. There is.

【0013】この位相監視制御部4は、読出しクロック
CLKR を発生する読出しクロック発生器40、読出し
用切替え信号(g)を生成する読出し用切替え信号生成
部41、書込み位相と読出し位相の衝突を監視する書込
み/読出し位相監視部42、トグルスイッチとしてのト
グルフリップフロップ43、排他的論理和(XOR)ゲ
ート44等を含み構成される。
The phase monitoring controller 4 includes a read clock generator 40 for generating a read clock CLK R , a read switching signal generator 41 for generating a read switching signal (g), and a collision between a write phase and a read phase. It includes a write / read phase monitoring unit 42 for monitoring, a toggle flip-flop 43 as a toggle switch, an exclusive OR (XOR) gate 44, and the like.

【0014】読出し用切替え信号生成部41は読出しク
ロックCLKR と読出し用フレームパルス(f)が入力
されて、メモリ1と2の読出しイネーブル/ディスエー
ブルの期間を決める読出し切替え信号(g)を生成す
る。この読出し切替え信号(g)はXORゲート44を
通ることにより読出し用メモリ切替え信号(l)となっ
てメモリ1、2に供給される。
The read switching signal generator 41 receives the read clock CLK R and the read frame pulse (f) and generates a read switching signal (g) that determines the read enable / disable period of the memories 1 and 2. To do. This read switching signal (g) is supplied to the memories 1 and 2 as a read memory switching signal (l) by passing through the XOR gate 44.

【0015】書込み/読出し位相監視部42は書込み用
メモリ切替え信号(c)、書込みタイミング信号
(d)、読出し用メモリ切替え信号(l)、読出しタイ
ミング信号(h)が入力されて、それらに基づいて同一
メモリでの書込み位相と読出し位相の衝突を検出するも
ので、その詳細な構成が図3に示される。すなわち、
系メモリ1での両位相の衝突を検出するためのANDゲ
ート421、422、フリップフロップ425と、系
メモリ2での両位相の衝突を検出するためのANDゲー
ト423、424、フリップフロップ426と、両検出
信号を重ねるORゲート427からなる。
The write / read phase monitor 42 receives the write memory switching signal (c), the write timing signal (d), the read memory switching signal (l) and the read timing signal (h), and based on them. It detects a collision between a write phase and a read phase in the same memory, and its detailed configuration is shown in FIG. That is,
AND gates 421 and 422 and a flip-flop 425 for detecting a collision of both phases in the system memory 1, AND gates 423 and 424 and a flip-flop 426 for detecting a collision of both phases in the system memory 2, It consists of an OR gate 427 that superimposes both detection signals.

【0016】ここで、ANDゲート421には書込み用
メモリ切替え信号(c)と書込みタイミング信号(d)
が入力されてそのAND出力信号(e)がフリップフロ
ップ425のデータ入力端子に入力され、ANDゲート
422には読出し用メモリ切替え信号(l)と読出しタ
イミング信号(h)が入力されてそのAND出力である
位相衝突検出用クロック(i)がフリップフロップ42
5のクロック入力端子に入力される。したがって、系
メモリ1において書込みタイミング信号(d)が入力さ
れている間に読出しタイミング信号(h)が入力される
と、フリップフロップ425の出力信号(j)は“H”
になり、両タイミングが離れるまでその状態を継続す
る。この出力信号(j)が衝突検出信号としてORゲー
ト427を通って後段のトグルフリップフロップ43に
送出される。
Here, the AND gate 421 has a write memory switching signal (c) and a write timing signal (d).
Is input and the AND output signal (e) is input to the data input terminal of the flip-flop 425, and the AND gate
The read memory switching signal (l) and the read timing signal (h) are input to 422, and the phase collision detection clock (i), which is the AND output, is input to the flip-flop 42.
5 is input to the clock input terminal. Therefore, when the read timing signal (h) is input while the write timing signal (d) is input in the system memory 1, the output signal (j) of the flip-flop 425 is "H".
, And that state continues until both timings separate. This output signal (j) is sent as a collision detection signal to the toggle flip-flop 43 at the subsequent stage through the OR gate 427.

【0017】系メモリ2用の衝突監視回路も、書込み
用メモリ切替え信号(c)と読出し用メモリ切替え信号
(l)がそれぞれインバータで極性反転されてANDゲ
ート423、424に入力されていることを除いて、同
様の回路構成からなる。
Also in the collision monitoring circuit for the system memory 2, the write memory switching signal (c) and the read memory switching signal (l) are polarity-inverted by the respective inverters and input to the AND gates 423 and 424. Except for this, the circuit configuration is the same.

【0018】トグルフリップフロップ43は書込み/読
出し位相監視部42から“H”の衝突検出信号が入力さ
れる度に、その出力信号(k)の極性を反転する。この
出力信号(k)はXORゲート44に入力されており、
したがってこのトグルフリップフロップ43の出力信号
(k)が反転される毎に(したがって書込み位相と読出
し位相の衝突が起こる毎に)、書込み/読出し位相監視
部42からの読出し切替え信号(g)に基づく読出し用
メモリ切替え信号(l)の極性が反転し、読出しイネー
ブル状態のメモリが一方から他方に瞬時に切り替わる。
すなわち書込み位相と読出し位相が180度瞬時に離れ
る。
The toggle flip-flop 43 inverts the polarity of its output signal (k) every time the collision detection signal of "H" is input from the write / read phase monitor 42. This output signal (k) is input to the XOR gate 44,
Therefore, each time the output signal (k) of the toggle flip-flop 43 is inverted (hence, whenever a collision between the write phase and the read phase occurs), it is based on the read switching signal (g) from the write / read phase monitor 42. The polarity of the read memory switching signal (1) is inverted, and the memory in the read enabled state is instantaneously switched from one to the other.
That is, the writing phase and the reading phase are instantaneously separated by 180 degrees.

【0019】5は読出し切替え部であり、各メモリ1、
2から読み出した音声データが入力されて読出し用メモ
リ切替え信号(l)で開閉制御されるANDゲート5
1、52、これらANDゲート51、52の出力信号を
重ねるORゲート53、読み出した音声データを打ち直
すフリップフロップ54などを含み構成される。この読
出し切替え部5は読出し用メモリ切替え信号(l)で読
出しイネーブル状態に切り替えられた側のメモリから読
み出した音声データを選択してそれを時分割多重データ
として局内へ出力する回路である。
Reference numeral 5 denotes a read switching unit, which is used for each memory 1,
The AND gate 5 to which the voice data read from 2 is input and whose opening and closing is controlled by the read memory switching signal (l)
1, 52, an OR gate 53 for superimposing the output signals of the AND gates 51, 52, a flip-flop 54 for correcting the read audio data, and the like. The read switching unit 5 is a circuit that selects the audio data read from the memory switched to the read enable state by the read memory switching signal (1) and outputs it as time division multiplexed data to the inside of the station.

【0020】この実施例回路の動作を図4のタイムチャ
ートを参照しつつ以下に説明する。図4は実施例回路の
各部信号のタイムチャートである。この図4において、
(a)は入力側の時分割多重データ、(b)は書込み側
フレームパルス、(c)は書込み用メモリ切替え信号、
(d)は書込みタイミング信号、(e)は書込み用メモ
リ切替え信号と書込みタイミング信号のAND信号(す
なわち書込み/読出し位相監視部42におけるANDゲ
ート421の出力信号)、(f)は読出し側フレームパ
ルス、(g)は読出し用切替え信号、(h)は読出しタ
イミング信号、(i)は衝突検出用クロック(すなわち
書込み/読出し位相監視部42におけるANDゲート4
22の出力信号)、(j)は書込み/読出し位相監視部
42におけるフリップフロップ425の出力信号、
(k)はトグルフリップフロップ43の出力信号、
(l)は位相監視制御部4から出力される読出し用メモ
リ切替え信号である。
The operation of this embodiment circuit will be described below with reference to the time chart of FIG. FIG. 4 is a time chart of signals at various parts of the embodiment circuit. In this FIG.
(A) is time division multiplexed data on the input side, (b) is a frame pulse on the writing side, (c) is a memory switching signal for writing,
(D) is a write timing signal, (e) is an AND signal of the write memory switching signal and the write timing signal (that is, an output signal of the AND gate 421 in the write / read phase monitor 42), and (f) is a read side frame pulse. , (G) is a read switching signal, (h) is a read timing signal, and (i) is a collision detection clock (that is, the AND gate 4 in the write / read phase monitoring unit 42).
22 output signal), (j) is the output signal of the flip-flop 425 in the write / read phase monitoring unit 42,
(K) is the output signal of the toggle flip-flop 43,
(L) is a read memory switching signal output from the phase monitoring controller 4.

【0021】まずメモリ1、2の書込み動作を説明す
る。書込みメモリ切替え信号(c)は時分割多重データ
(a)のフレーム周期に同期して“H”と“L”に極性
切替えしており、この書込みメモリ切替え信号(c)が
“H”の時には系メモリ1が書込みモードとなり、
“L”の時には系メモリ2が書込みモードとなる。そ
して書込みタイミング信号(d)が入力されたタイミン
グで、書込みモードとなっている側のメモリに時分割多
重データ(a)が書き込まれる。ここでは、時分割多重
データ中の音声データ(図3の(a)における斜線部
分)がメモリに書き込まれる。
First, the write operation of the memories 1 and 2 will be described. The write memory switching signal (c) is switched between "H" and "L" in synchronization with the frame cycle of the time division multiplexed data (a). When the write memory switching signal (c) is "H", System memory 1 is in write mode,
When it is "L", the system memory 2 is in the write mode. Then, at the timing when the write timing signal (d) is input, the time division multiplexed data (a) is written to the memory in the write mode. Here, the audio data in the time division multiplexed data (the hatched portion in FIG. 3A) is written in the memory.

【0022】次に、メモリ1、2からの読出し動作を説
明する。位相監視制御部4から出力される読出し用メモ
リ切替え信号(l)が“H”である時には系メモリ1
が読出しモードとなり、“L”である時には系メモリ
2が読出しモードとなり、読出しタイミング信号(h)
が入力されたタイミングで、読出しモードとなっている
側のメモリから音声データが読み出されて、読出し切替
え部5を介して後段回路に送出される。
Next, the read operation from the memories 1 and 2 will be described. When the read memory switching signal (l) output from the phase monitoring controller 4 is "H", the system memory 1
Becomes the read mode, and when it is "L", the system memory 2 becomes the read mode and the read timing signal (h)
Is input, the audio data is read from the memory on the side in the read mode and sent to the subsequent circuit via the read switching unit 5.

【0023】いま、系メモリ1において書込み位相と
読出し位相が衝突したものとする。すなわち、図4のタ
イムチャートの中央付近に示すように、信号(e)と信
号(i)が重なり合ったため位相衝突状態が検出された
ものとする。これにより書込み/読出し位相監視部42
のフリップフロップ425の出力信号(j)は“H”と
なり、この出力信号(j)によってトグルフリップフロ
ップ43の出力信号(k)はそれまでの“L”から
“H”に極性反転する。この結果、読出し用メモリ切替
え信号(l)も極性反転し、読出しモードのメモリが
系メモリ1から系メモリ2に切り替わる。これにより
書込み位相と読出し位相は180度瞬時に離されたこと
になり、両位相の衝突状態を解消することができる。
Now, it is assumed that the writing phase and the reading phase collide with each other in the system memory 1. That is, as shown near the center of the time chart of FIG. 4, it is assumed that the phase collision state is detected because the signal (e) and the signal (i) overlap each other. As a result, the write / read phase monitoring unit 42
The output signal (j) of the flip-flop 425 becomes "H", and the polarity of the output signal (k) of the toggle flip-flop 43 is inverted from "L" to "H". As a result, the read memory switching signal (l) is also inverted in polarity, and the memory in the read mode is switched from the system memory 1 to the system memory 2. As a result, the writing phase and the reading phase are instantaneously separated by 180 degrees, and the collision state of both phases can be eliminated.

【0024】この衝突時における音声データの読出し態
様について図5を参照して以下に説明する。図中、
(イ)は書込みクロックCLKw より読出しクロックC
LKR のほうが速かった場合、(ロ)は読出しクロック
CLKR より書込みクロックCLKw が速かった場合の
ものである。
The manner of reading the audio data at the time of this collision will be described below with reference to FIG. In the figure,
(A) is read clock C from write clock CLK w
When LK R is faster, (B) is when the write clock CLK w is faster than the read clock CLK R.

【0025】まず、(イ)の読出しクロックが速い場合
について説明する。いま、メモリ1には時分割多重デー
タのフレームが到来する毎に、音声データがa、c、
e、g、i・・・の順で書き込まれ、メモリ2には音声
データがb、d、f、h・・・の順で書き込まれるもの
とする。読出しは図中の矢印のポイントで行われる。つ
まり、まずメモリ1の音声データaを読み出し、次にメ
モリ2の音声データbを読み出し、・・というように読
み出しを行う。いまメモリ1の音声データeを読み出そ
うとした時、書込み位相と読出し位相が衝突したものと
する。すると、本実施例のクロック乗換え回路は、上述
した動作により読出しモードのメモリをメモリ1からメ
モリ2に切り替え、メモリ2から音声データfを読み出
すようにし、以降、通常の読出し動作を繰り返す。この
結果、読み出された音声データは、a、b、c、d、
f、g、h・・・となり、音声データeは読み飛ばされ
ることになる。このようにこの実施例回路では、ビット
あふれ時には読出しデータが廃棄されることになる。
First, the case (a) where the read clock is fast will be described. Now, every time a frame of time division multiplexed data arrives in the memory 1, the audio data a, c,
It is assumed that the data is written in the order of e, g, i ... And the audio data is written in the memory 2 in the order of b, d, f, h. Reading is performed at the point of the arrow in the figure. That is, the voice data a of the memory 1 is read first, the voice data b of the memory 2 is read next, and so on. It is assumed that the write phase and the read phase collide when the audio data e in the memory 1 is about to be read. Then, the clock transfer circuit of the present embodiment switches the memory in the read mode from the memory 1 to the memory 2 by the above-described operation, reads the audio data f from the memory 2, and thereafter repeats the normal read operation. As a result, the read audio data is a, b, c, d,
f, g, h ... and the audio data e is skipped. As described above, in the circuit of this embodiment, read data is discarded when a bit overflows.

【0026】次に、まず、(ロ)の書込みクロックが速
い場合について説明する。上述と同じように、メモリ1
には時分割多重データのフレームが到来する毎に、音声
データがa、c、e、g、i・・・の順でメモリ2には
音声データがb、d、f、h・・・の順で書き込まれ
る。読出しは、最初はメモリ1の音声データaを読み出
し、次にメモリ2の音声データbを読み出し、・・とい
うように、音声データeまで読み出されたものとし、次
にメモリ2の音声データfを読み出そうとした時に書込
み位相と読出し位相の衝突が起こったものとする。この
時、読出しモードのメモリはメモリ2からメモリ1に切
り替わり、メモリ1の音声データeが再び読み出され、
次にはメモリ2から音声データfが読み出される。この
結果、読み出された音声データは、a、b、c、d、
e、e、f、g、h・・・となり、音声データeは二度
読みされることになる。このようにこの実施例回路で
は、ビット欠けを起こした時には読出しデータが繰り返
し読み出されることになる。
Next, the case where the write clock (b) is fast will be described. Memory 1 as above
Every time a frame of time-division multiplexed data arrives, the audio data is stored in the memory 2 in the order of a, c, e, g, i ... Written in order. It is assumed that the voice data a in the memory 1 is read first, the voice data b in the memory 2 is read next, the voice data e is read, and so on, and then the voice data f in the memory 2 is read. It is assumed that a collision between the writing phase and the reading phase occurs when an attempt is made to read. At this time, the memory in the read mode is switched from the memory 2 to the memory 1, and the voice data e in the memory 1 is read again,
Next, the audio data f is read from the memory 2. As a result, the read audio data is a, b, c, d,
e, e, f, g, h ..., The audio data e is read twice. As described above, in the circuit of this embodiment, the read data is repeatedly read when a bit loss occurs.

【0027】さて、このようにビット書込み/読出し位
相の衝突時にビット欠けを起こした時には前フレームの
データを繰り返し送出し、ビットあふれ時にはデータを
捨てることになるが、取り扱うデータが音声データであ
る場合、音声データは前後のデータとの相関性が強いの
で、それらビット欠け/ビットあふれした位置にダミー
のデータを挿入するよりも、聴感上の雑音感を軽減でき
るというメリットがある。
When a bit loss occurs in the bit write / read phase collision as described above, the data of the previous frame is repeatedly transmitted, and when the bit overflows, the data is discarded, but when the data to be handled is voice data. Since the voice data has a strong correlation with the preceding and following data, there is an advantage in that the sense of noise in the auditory sense can be reduced as compared with inserting dummy data at the positions where the bits are missing / overflowed.

【0028】本発明の実施にあたっては種々の変形形態
が可能である。例えば上述の実施例では、時分割多重デ
ータを書き込むメモリとして2面設けたが、これを3面
として、時分割多重データをそれらに順繰りに書き込
み、また順繰りに読み出す構成としてもよい。
Various modifications are possible in carrying out the present invention. For example, in the above-described embodiment, two memories are provided as the memory for writing the time-division multiplexed data. However, three memories may be provided, and the time-division multiplexed data may be sequentially written in or read from them.

【0029】[0029]

【発明の効果】以上に説明したように、本発明によれ
ば、D/A変換器やA/D変換器を用いなくともクロッ
ク乗換えを行うことができるから、クロック乗換え回路
の回路規模を小さくできる。また音声データのクロック
乗換えにあたっては書込み/読出し位相の衝突があって
も雑音感を小さくすることができる。
As described above, according to the present invention, clock transfer can be performed without using a D / A converter or an A / D converter, so that the circuit scale of the clock transfer circuit can be reduced. it can. Further, when changing the clock of the audio data, it is possible to reduce the feeling of noise even if there is a write / read phase collision.

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

【図1】本発明に係る原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の一実施例としてのクロック乗換え回路
を示す図である。
FIG. 2 is a diagram showing a clock transfer circuit as an embodiment of the present invention.

【図3】実施例回路における書込み/読出し位相監視部
の構成例を示す図である。
FIG. 3 is a diagram showing a configuration example of a write / read phase monitoring unit in the embodiment circuit.

【図4】実施例回路のタイムチャートである。FIG. 4 is a time chart of an example circuit.

【図5】実施例回路における書込み/読出し位相衝突時
の読出しデータの状態を説明する図である。
FIG. 5 is a diagram for explaining a state of read data at the time of write / read phase collision in the embodiment circuit.

【図6】クロック乗換え回路の従来例を示す図である。FIG. 6 is a diagram showing a conventional example of a clock transfer circuit.

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

1、2 メモリ 3 書込み用メモリ切替え信号生成部 4 位相監視制御部 5 読出し切替え部 6 書込みクロック発生器 21 デマルチプレクサ 22 D/A変換器 23 A/D変換器 24 マルチプレクサ 40 読出しクロック発生器 41 読出し用切替え信号生成部 42 書込み/読出し位相監視部 43 トグルフリップフロップ 44 XORゲート 51、52 ANDゲート 53 ORゲート 54 フリップフロップ 421〜424 ANDゲート 425、426 フリップフロップ 427 ORゲート 1, 2 memory 3 write memory switching signal generation unit 4 phase monitoring control unit 5 read switching unit 6 write clock generator 21 demultiplexer 22 D / A converter 23 A / D converter 24 multiplexer 40 read clock generator 41 read Switching signal generator 42 write / read phase monitor 43 toggle flip-flop 44 XOR gate 51, 52 AND gate 53 OR gate 54 flip-flop 421-424 AND gate 425, 426 flip-flop 427 OR gate

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数面のメモリを備え、書込み側では書
込みクロックを用いて時分割多重データをこれらのメモ
リをフレーム毎に順番に切り替えて書き込み、読出し側
では読出し側クロックを用いてこれらのメモリをフレー
ム毎に順番に切り替えて書き込んだデータを読み出すこ
とでクロックの乗換えを行うクロック乗換え回路におい
て、 同一メモリにおける書込み位相と読出し位相の衝突の有
無を監視し検出する位相監視部(11)と、 該位相監視部で該書込み位相と読出し位相の衝突が検出
された時に読出し位相を変えて該書込み位相と読出し位
相を所定位相差離す位相制御部(12)とを備えたこと
を特徴とするクロック乗換え回路。
1. A memory comprising a plurality of planes, wherein the write side uses a write clock to write time division multiplexed data by sequentially switching these memories for each frame, and the read side uses a read side clock to write these memories. In a clock transfer circuit that switches clocks by sequentially switching for each frame and reading out written data, a phase monitoring unit (11) that monitors and detects the collision of the write phase and the read phase in the same memory, A clock comprising a phase controller (12) for changing the read phase and separating the write phase and the read phase by a predetermined phase when the phase monitor detects a collision between the write phase and the read phase. Transfer circuit.
【請求項2】 該メモリとして2面のメモリを備え、 該位相制御部は、 該2面のメモリの読出し/非読出しを切り替えるための
読出し切替え信号を生成する読出し切替え信号生成部
と、 該位相監視部からの衝突検出信号で出力信号の極性が反
転するトグルスイッチと、 該読出し切替え信号生成部からの読出し切替え信号と該
トグルスイッチからの出力信号とが入力されて、該2面
のフレームメモリのうちの一方を読出し側として指定す
る読出しメモリ切替え信号を出力する排他的論理和ゲー
トとからなる請求項1記載のクロック乗換え回路。
2. A two-sided memory as the memory, wherein the phase control section generates a read-out switching signal for switching between reading and non-reading of the two-sided memory, and the phase control section. The toggle switch whose polarity of the output signal is inverted by the collision detection signal from the monitoring unit, the read switching signal from the read switching signal generating unit and the output signal from the toggle switch are input, and the two-sided frame memory 2. The clock transfer circuit according to claim 1, comprising an exclusive OR gate for outputting a read memory switching signal designating one of the two as a read side.
JP4091588A 1992-03-17 1992-03-17 Clock transfer circuit Withdrawn JPH05268201A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4091588A JPH05268201A (en) 1992-03-17 1992-03-17 Clock transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4091588A JPH05268201A (en) 1992-03-17 1992-03-17 Clock transfer circuit

Publications (1)

Publication Number Publication Date
JPH05268201A true JPH05268201A (en) 1993-10-15

Family

ID=14030713

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4091588A Withdrawn JPH05268201A (en) 1992-03-17 1992-03-17 Clock transfer circuit

Country Status (1)

Country Link
JP (1) JPH05268201A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397272B1 (en) 1998-03-02 2002-05-28 Oki Electric Industry Co., Ltd. Interruption processing circuit for receiving and storing data associated with an event
US6597627B2 (en) 2001-08-13 2003-07-22 Oki Electric Industry Co., Ltd. Clock switching circuitry for avoiding conflict of data handling occuring in a memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397272B1 (en) 1998-03-02 2002-05-28 Oki Electric Industry Co., Ltd. Interruption processing circuit for receiving and storing data associated with an event
US6597627B2 (en) 2001-08-13 2003-07-22 Oki Electric Industry Co., Ltd. Clock switching circuitry for avoiding conflict of data handling occuring in a memory

Similar Documents

Publication Publication Date Title
JP2999845B2 (en) Double speed control method for serial access memory
JPH02192337A (en) Phase adjusting circuit
JPS63139415A (en) Clock signal multiplexer
JPS62206976A (en) Control device for video memory
JP4387371B2 (en) Memory device, its use, and data word synchronization method
JPH03127526A (en) Synchronizing device
JP2626476B2 (en) Frame aligner
US6907095B1 (en) Clock ride-over method and circuit
JPH01208791A (en) Semiconductor storage circuit
JP3989099B2 (en) Phase adjustment circuit
JP2973725B2 (en) Subframe synchronization signal detection circuit
KR19980050372A (en) Clock generator for data transmission synchronization
KR970002767B1 (en) SRAM Write Circuit in Switch Matching Device of Electronic Switching System
JPH02114732A (en) Frame conversion circuit
JP2871688B2 (en) Digital signal multiplexing and demultiplexing circuits
JPH0691523B2 (en) Frame synchronization method
KR0172459B1 (en) Clock playback method and device
JPH10145344A (en) Bit phase synchronizing circuit
JPS62259133A (en) Slip control system by delayed loading and unloading
JPH0630513B2 (en) Data transmission buffer circuit
JPH1127250A (en) Bit synchronizing device
JPH09135268A (en) Data exchange
JPH04258047A (en) Data converter
JPH0897729A (en) Elastic storage circuit
JPH02123843A (en) Delay insertion and removal system

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: 19990518