JPS6237750A - Address generating circuit - Google Patents

Address generating circuit

Info

Publication number
JPS6237750A
JPS6237750A JP17715685A JP17715685A JPS6237750A JP S6237750 A JPS6237750 A JP S6237750A JP 17715685 A JP17715685 A JP 17715685A JP 17715685 A JP17715685 A JP 17715685A JP S6237750 A JPS6237750 A JP S6237750A
Authority
JP
Japan
Prior art keywords
address
difference
read
write
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
JP17715685A
Other languages
Japanese (ja)
Inventor
Toshiya Takahashi
俊也 高橋
Toshihide Akiyama
秋山 利秀
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP17715685A priority Critical patent/JPS6237750A/en
Publication of JPS6237750A publication Critical patent/JPS6237750A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the destruction of data and to minimize the degree of the discontinuance of data in a read mode by detecting the difference between a write address and a read address and adding the read address with +alpha as the write address when the difference between both addresses exceeds a prescribed level. CONSTITUTION:As the difference between the write and read addresses to be given to a RAM 5, a reset terminal 32 is added with alpha. The slight difference of frequency is produced between the clocks of the write and read address generating circuits 2 and 1. Thus the difference between the write and read addresses is gradually increased. When this difference exceeds a set level, an address load signal is produced from an address difference detecting circuit 3. Then the read address is loaded to the write address generating circuit 2. As a result, the difference of both addresses is reset to +alpha and the discontinuous period of the read data is only a period alpha.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、メモリにデータを書き込み、また読み出す際
のアドレス発生回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an address generation circuit for writing and reading data to and from a memory.

従来の技術 近年、ディジタル信号処理技術が進歩をとげ、様々な分
野でディジタル化が図られている。ここでは、そのうち
コンパクト・ディスク(以下、CDと称す)プレーヤを
一例に取上げ、その中で用いられている従来のアドレス
発生回路について説明する。
BACKGROUND OF THE INVENTION In recent years, digital signal processing technology has made progress, and various fields are being digitized. Here, a compact disc (hereinafter referred to as CD) player will be taken as an example, and a conventional address generation circuit used therein will be explained.

ディジタル信号の記録、再生には、そのデータ信号の誤
りを防止するため、様々な手法が開発されており、CD
では、そのうち、クロス、インターリーブ、リードソロ
モン符号が用いられている。
Various methods have been developed for recording and reproducing digital signals to prevent errors in the data signals.
Among them, cross, interleaved, and Reed-Solomon codes are used.

この符号は、データ24シンボル(1シンボル−8ビツ
ト)に対して、8シンボルのパリティを付は加えるとと
もに、スクランブルやインターリーブと呼ばれる時間軸
操作を施した誤り検出訂正符号である。復号の際には、
このスクランブルやインターリーブを解く必要があるが
、通常、これはランダムアクセスメモリ (以下、RA
Mと称す)のアドレスを、規則に従って発生させ、デー
タを読み出すことによって行う。
This code is an error detection and correction code in which 8 symbols of parity are added to 24 data symbols (1 symbol - 8 bits) and time axis operations called scrambling and interleaving are performed. When decrypting,
It is necessary to solve this scrambling and interleaving, but this is usually done using random access memory (RA
This is done by generating an address (referred to as M) according to a rule and reading the data.

第3図に、CDプレーヤのEFM復調及び誤り訂正部分
のブロック図を示す。第3図において、10はEFM復
調回路、20は誤り訂正回路、30はRAM、40は分
周回路である。また、第4図に、誤り訂正回路のうち、
従来用いられていた、アドレス発生回路のブロック図を
示す。第4図で、50は水晶で発振させたクロックを分
周する回路、60は書き込みの、70は読み出しのアド
レス発生回路、90は読み出しアドレスと書き込みアド
レスを選択するセレクターである。
FIG. 3 shows a block diagram of the EFM demodulation and error correction portion of the CD player. In FIG. 3, 10 is an EFM demodulation circuit, 20 is an error correction circuit, 30 is a RAM, and 40 is a frequency dividing circuit. Also, in Fig. 4, among the error correction circuits,
1 shows a block diagram of a conventionally used address generation circuit. In FIG. 4, 50 is a circuit that divides the frequency of a clock oscillated by a crystal, 60 is a write address generation circuit, 70 is a read address generation circuit, and 90 is a selector that selects a read address and a write address.

以下、図を参照しながら説明する。This will be explained below with reference to the figures.

CDから光学ピックアップにより検出された信号は、デ
ジタルレベルに波形整形されると同時に、各データに同
期したビットクロックが抽出される。
A signal detected from a CD by an optical pickup is waveform-shaped to a digital level, and at the same time, a bit clock synchronized with each data is extracted.

このデータは、EFMと呼ばれる変調を受けているので
、それを復調回路第3図10で復調し、その後誤り訂正
回路20に送られる。誤り訂正回路では、まずデータを
RAM30に書き込むが、この書き込みアドレスの発生
は、前期したビットクロックを分周器20に通して作ら
れたクロックに同期して行われる。また、RAMの読み
出しは、水晶により作られたクロックを分周器50に通
したものに同期して行われる。RAMへの書き込みのク
ロックと、読み出しのクロックは、木来同じであること
が望ましいが、抽出されたクロックは、ディスクの偏心
や回転むらなどにより、安定しておらず、ジッタを含ん
でいる。一方、再生側は、一定のタイミングで読み出し
を行わなければならないため、書き込みと同じクロック
を用いず、水晶より作られたクロックで読み出しを行う
。第5図は、メモリのアドレスの状態を示した図である
。読み出し、書き込みともアドレスは下位から上位へ進
み、またアドレスが最上位までいくと、最下位にもどる
、いわゆるリングメモリ構成になっているものとする。
Since this data has undergone modulation called EFM, it is demodulated by a demodulation circuit in FIG. 3, and then sent to the error correction circuit 20. The error correction circuit first writes data into the RAM 30, and this write address is generated in synchronization with a clock generated by passing the previously generated bit clock through the frequency divider 20. Further, reading of the RAM is performed in synchronization with a clock generated by a crystal and passed through a frequency divider 50. It is desirable that the clock for writing to the RAM and the clock for reading are the same, but the extracted clock is not stable and contains jitter due to disk eccentricity and uneven rotation. On the other hand, on the reproduction side, since reading must be performed at a fixed timing, reading is performed using a clock generated from a crystal, rather than using the same clock as for writing. FIG. 5 is a diagram showing the state of memory addresses. It is assumed that the memory has a so-called ring memory configuration in which the address advances from the lowest to the highest in both reading and writing, and returns to the lowest when it reaches the highest address.

第5図で、斜線部分はデータネ定部、白抜き部分はすで
にデータが書き込まれている部分を示している。第5図
では、両方のアドレスの差はαあり、読み出し、書き込
みとも正常に行われていることを表している。(参考文
献、特開昭58−123253号公報) 発明が解決しようとする問題点 しかしながら、上記のような構成では、読み出しと書き
込みのクロックのタイミングずれが蓄積されていくと、
読み出す前のデータの上に書き込んでしまう状態、ある
いは、読み出しが早くなり、書き込む前に読み出す状態
が生ずる可能性がある。
In FIG. 5, the shaded area indicates a data entry area, and the white area indicates an area where data has already been written. In FIG. 5, the difference between both addresses is α, indicating that both reading and writing are performed normally. (Reference document, JP-A-58-123253) Problems to be Solved by the Invention However, in the above configuration, as the timing deviation between the read and write clocks accumulates,
There is a possibility that a state may occur in which data is written on top of data before it is read, or a state in which data is read out so quickly that it is read out before it is written.

このような状態になると、データが壊れてしまい、CD
再生時には、大きな異音が生ずるという問題点を有して
いた。
If this happens, the data will be corrupted and the CD will be damaged.
There was a problem in that a large abnormal noise was generated during playback.

本発明は上記問題点に鑑み、データの破壊を防ぎ、かつ
読み出し時のデータの不連続性を最小限に抑えるように
したものである。
In view of the above-mentioned problems, the present invention is designed to prevent data destruction and minimize data discontinuity during reading.

問題点を解決するための手段 上記問題点を解決するために本発明のアドレス発生回路
は、書き込み側と読み出し側のアドレスの差を検出する
回路と、その差がある数を超えた場合には、読み出しの
アドレスを0にせず、書き込みのアドレスのみを読み出
しのアドレス+αとする回路を備えたものである。
Means for Solving the Problems In order to solve the above problems, the address generation circuit of the present invention includes a circuit that detects the difference between the addresses on the writing side and the reading side, and a circuit that detects the difference between the addresses on the write side and the read side, and a circuit that detects the difference in address when the difference exceeds a certain number. , is equipped with a circuit that does not set the read address to 0, but sets only the write address to the read address +α.

作用 本発明は上記した構成によって、書き込みと読み出しの
アドレスの差を検出し、その差がある数を超えた場合に
は、書き込みのアドレスを、読み出しのアドレス+αと
するので、データが無効になるのは最大α間のみとなり
、異音も小さくできるようになる。
Operation The present invention uses the above-described configuration to detect the difference between the write and read addresses, and when the difference exceeds a certain number, the write address is set to the read address + α, so that the data becomes invalid. is limited to the maximum α range, and abnormal noise can also be reduced.

実施例 以下、本発明のアドレス発生回路の一実施例について図
面を参照しながら説明する。
Embodiment Hereinafter, one embodiment of the address generation circuit of the present invention will be described with reference to the drawings.

第1図は、本発明の一実施例のブロック図である。lは
読み出しの、2は書き込みのアドレス発生回路で、それ
ぞれ11.21のクロック入力端子を有し、このクロッ
クに同期して12.22の出力端子よりアドレスを発生
する。入力のクロックは、1と2で周波数がわずかに異
なる。また、書き込みアドレス発生回路2はアドレスを
+αする回路を内蔵し、またアドレスロード制御端子2
4、アドレス入力端子23も有し、24のロード信号で
23から読み出しのアドレスがロードされ、22からク
ロック21に同期して出力される。3は、読み出しアド
レスと書き込みアドレスの差を検出する回路で、口−ド
信号出力端子31とロード信号を強制的に出力させるた
めの外部リセット端子32を具備する。6はメモリ回路
で、4の両アドレスの選択回路、5のRAMより構成さ
れる。
FIG. 1 is a block diagram of one embodiment of the present invention. 1 is a read address generation circuit, and 2 is a write address generation circuit, each having a clock input terminal of 11.21, and generates an address from an output terminal of 12.22 in synchronization with this clock. The input clocks have slightly different frequencies between 1 and 2. In addition, the write address generation circuit 2 has a built-in circuit that increases the address by +α, and the address load control terminal 2
4. It also has an address input terminal 23, a read address is loaded from 23 with a load signal 24, and outputted from 22 in synchronization with the clock 21. 3 is a circuit for detecting a difference between a read address and a write address, and is provided with a load signal output terminal 31 and an external reset terminal 32 for forcibly outputting a load signal. Reference numeral 6 denotes a memory circuit, which is composed of a selection circuit 4 for both addresses and a RAM 5.

上記の回路における動作を、以下に説明する。The operation of the above circuit will be explained below.

RAM5へのデータ書き込み、読み出しのアドレスの差
は、リセ・ノド端子32に入力が加わったことにより、
αとなっているものとする。書き込み、読み出しともそ
れぞれのアドレス発生回路の入力クロックに同期してい
るが、両者のクロックは周波数がわずかに異なるため、
徐々に両アドレスの差は広がる。このアドレスの差が、
設定した許容値を超えると、アドレス差検出回路8から
アドレスロード信号が出力され、読み出しアドレスが書
き込みアドレス発生回路にロードされる。その結果、両
者のアドレスは+αのアドレス差にもどり、読み出しデ
ータの不連続期間は、α間だけとなる。
The difference between the addresses for writing and reading data to the RAM 5 is due to the addition of input to the recess/node terminal 32.
It is assumed that α is set. Both writing and reading are synchronized with the input clock of the respective address generation circuits, but since the two clocks have slightly different frequencies,
The difference between the two addresses gradually widens. The difference between these addresses is
When the set tolerance value is exceeded, an address load signal is output from the address difference detection circuit 8, and the read address is loaded into the write address generation circuit. As a result, both addresses return to the address difference of +α, and the discontinuous period of read data becomes only the period α.

第2図は本発明の他の実施例であって、読み出しのアド
レス発生回路1として、16進カウンタ101、書き込
みのアドレス発生回路2として、ロード型の16進カウ
ンタ2旧、十α加算器202、アドレス差検出回路とし
て、EOR,AND、ORゲートから成る回路を用いて
いる。外部リセット端子32に旧gh人力が加えられる
と、ロード信号入力端子24がllighとなり、読み
込み側のアドレスがカウンタ201にロードされ、加算
器202により+αされ、書き込みアドレスが、読み出
しアドレス」−αとなる。書き込み、読み出しのタイミ
ングが一致している場合には、カウンタ101. 20
1は、それぞれクロック11.21で動作する。しかし
、タイミングがずれた場合には、3のアドレス差検出回
路(図では、±2のアドレス差を検出するように構成さ
れている)により、ロード信号入力端子24が旧ghと
なり、外部リセット入力が加わった場合と同じ動作で、
書き込みアドレスは、読み出しアドレス十αとなる。
FIG. 2 shows another embodiment of the present invention, in which the read address generation circuit 1 is a hexadecimal counter 101, the write address generation circuit 2 is a load type hexadecimal counter 2, and a ten α adder 202. , a circuit consisting of EOR, AND, and OR gates is used as the address difference detection circuit. When the old GH power is applied to the external reset terminal 32, the load signal input terminal 24 becomes lligh, the read side address is loaded into the counter 201, and the adder 202 increments it by +α, and the write address becomes the read address "-α". Become. If the writing and reading timings match, the counter 101. 20
1 operate with clocks 11 and 21, respectively. However, if the timing deviates, the address difference detection circuit 3 (configured to detect an address difference of ±2 in the figure) causes the load signal input terminal 24 to become the old GH, and the external reset input The same behavior as when adding
The write address becomes the read address 10α.

第2図では、加算器202はカウンタ201の後に接続
されていたが、アドレスロード端子23とカウンタ20
1の間に、接続しても同様の動作となる。
In FIG. 2, the adder 202 is connected after the counter 201, but the address load terminal 23 and the counter 20
Even if it is connected during 1, the same operation will occur.

この場合にはアドレスを発生する毎に加算するのではな
く、ロードする毎に加算するので、第2図に比べ、加算
回数が減り、より高速な動作とすることができる。
In this case, addition is not made every time an address is generated, but every time it is loaded, so the number of additions is reduced compared to FIG. 2, and faster operation can be achieved.

発明の効果 以上、述べてきたように、本発明によれば周波数のわず
かに異なる2つのクロックでRAMの読み出し、書き込
みを行ってもデータの不連続は最小限に抑えることがで
き、CDプレーヤに用いた場合には、異音を小さくでき
ることとなる。
Effects of the Invention As described above, according to the present invention, data discontinuity can be minimized even when RAM is read and written using two clocks with slightly different frequencies, and a CD player can When used, abnormal noise can be reduced.

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

第1図は本発明の一実施例におけるアドレス発生回路を
示すブロック図、第2図は本発明の他の実施例のアドレ
ス発生回路を示すブロック図、第3図はCDプレーヤの
誤り訂正部分のブロック図、第4図は従来のアドレス発
生回路を示すブロック図、第5図はメモリのアドレスの
状態を示す状態図である。 1・・・・・・読み出しアドレス発生回路、2・・・・
・・書き込みアドレス発生回路、3・・・・・・アドレ
ス差検出回路、4・・・・・・セレクター、5・・・・
・・RAM、6・・・・・・メモリ回路、11.21・
・・・・・クロック入力端子、12.22・・・・・・
アドレス発生端子、31・・・・・・アドレス、ロード
信号出力端子、32・・・・・・アドレス、リセット外
部入力端子。 代理人の氏名 弁理士 中尾敏男 はか1名第1図 第 2 口                /θl・
・ /2邊ウウンタ20グ ・−/・ 2ρ2、加簿各
FIG. 1 is a block diagram showing an address generation circuit in one embodiment of the present invention, FIG. 2 is a block diagram showing an address generation circuit in another embodiment of the invention, and FIG. 3 is a block diagram showing an error correction section of a CD player. FIG. 4 is a block diagram showing a conventional address generation circuit, and FIG. 5 is a state diagram showing the address state of the memory. 1... Read address generation circuit, 2...
...Write address generation circuit, 3...Address difference detection circuit, 4...Selector, 5...
...RAM, 6...Memory circuit, 11.21.
...Clock input terminal, 12.22...
Address generation terminal, 31...address, load signal output terminal, 32...address, reset external input terminal. Name of agent: Patent attorney Toshio Nakao (1 person) Figure 1 Part 2 /θl・
・ /2 side counter 20g ・−/・ 2ρ2, each adding book

Claims (1)

【特許請求の範囲】[Claims] データを一時貯えておくためのメモリー回路と、クロッ
クに同期して上記メモリの読み出しアドレスを発生させ
る第1のアドレス発生回路と、第1のアドレス発生回路
と異なるクロックに同期して上記メモリの書き込みアド
レスを発生させる第2のアドレス発生回路と、両方の回
路より作られたアドレスの差を検出する回路とを備え、
そのアドレスの差がある値を越えると、第2のアドレス
発生回路より発生するアドレスを、第1のアドレス発生
回路より発生されたアドレス+α(任意の整数)とする
ことを特徴とするアドレス発生回路。
a memory circuit for temporarily storing data; a first address generation circuit that generates a read address for the memory in synchronization with a clock; and a write address for the memory in synchronization with a clock different from that of the first address generation circuit. comprising a second address generation circuit that generates an address and a circuit that detects a difference between the addresses generated by both circuits,
An address generation circuit characterized in that when the difference between the addresses exceeds a certain value, the address generated by the second address generation circuit is set to the address generated by the first address generation circuit + α (arbitrary integer). .
JP17715685A 1985-08-12 1985-08-12 Address generating circuit Pending JPS6237750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17715685A JPS6237750A (en) 1985-08-12 1985-08-12 Address generating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17715685A JPS6237750A (en) 1985-08-12 1985-08-12 Address generating circuit

Publications (1)

Publication Number Publication Date
JPS6237750A true JPS6237750A (en) 1987-02-18

Family

ID=16026162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17715685A Pending JPS6237750A (en) 1985-08-12 1985-08-12 Address generating circuit

Country Status (1)

Country Link
JP (1) JPS6237750A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5015441A (en) * 1973-06-08 1975-02-18
JPS53109437A (en) * 1977-03-01 1978-09-25 Ericsson Telefon Ab L M Address and break signal generator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5015441A (en) * 1973-06-08 1975-02-18
JPS53109437A (en) * 1977-03-01 1978-09-25 Ericsson Telefon Ab L M Address and break signal generator

Similar Documents

Publication Publication Date Title
US6061315A (en) Disc data reproducing apparatus and signal processing circuit
EP0563922B1 (en) Data processing circuit for disc player
JP4618760B2 (en) Optical disc reproducing apparatus and data reproducing method thereof
KR100491654B1 (en) Code error correcting apparatus
JPS6237750A (en) Address generating circuit
JP2973539B2 (en) Data playback device
JPS60101766A (en) Address detection system
US6226236B1 (en) Information data transfer system
JPS6035376A (en) Data recording and inspecting system
KR100209675B1 (en) Synchronous protecting circuit and method
JPH038175A (en) Synchronizing signal detecting method
JP2882612B2 (en) Synchronous circuit
KR100238132B1 (en) Address generator for player optical disc
JP3239370B2 (en) Data decryption device
JP2990823B2 (en) Disk-shaped recording medium reproducing device and memory control circuit
JPS62183059A (en) Address circuit
JP2615727B2 (en) Control device for error correction circuit
JPH0591099A (en) Data recovery method
JPH05210920A (en) Error correction circuit
JP2001202692A (en) Address data detector and disk device having the detector
JPH0883471A (en) Protection circuit for synchronizing signal
JPH0731880B2 (en) Digital signal demodulator
JPH04339362A (en) Method and device for synchronization detection
JPH0591097A (en) Bit clock recovery circuit
JPS5952456A (en) Disc record reproducer