JPS58139385A - Information signal generator for memory address - Google Patents

Information signal generator for memory address

Info

Publication number
JPS58139385A
JPS58139385A JP2029082A JP2029082A JPS58139385A JP S58139385 A JPS58139385 A JP S58139385A JP 2029082 A JP2029082 A JP 2029082A JP 2029082 A JP2029082 A JP 2029082A JP S58139385 A JPS58139385 A JP S58139385A
Authority
JP
Japan
Prior art keywords
memory
data
read
signal
address
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
JP2029082A
Other languages
Japanese (ja)
Inventor
Morihisa Oka
岡 守久
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.)
Pioneer Corp
Original Assignee
Pioneer Corp
Pioneer Electronic Corp
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 Pioneer Corp, Pioneer Electronic Corp filed Critical Pioneer Corp
Priority to JP2029082A priority Critical patent/JPS58139385A/en
Publication of JPS58139385A publication Critical patent/JPS58139385A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C8/00Arrangements for selecting an address in a digital store
    • G11C8/18Address timing or clocking circuits; Address control signal generation or management, e.g. for row address strobe [RAS] or column address strobe [CAS] signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

PURPOSE:To improve the efficiency of use of memories, by providing the 1st, the 2nd and the 3rd numerical information signal generating circuit, and outputting a write address signal in response to the result of summation of numerals of each output of the 1st, the 2nd, and the 3rd circuits and a readout signal with the result of summation of the 1st and the 2nd circuits. CONSTITUTION:At the readout mode, the output of a relative address generating circuit 8 as the 1st numeral information generating circuit and of an absolute address generating circuit 12 as the 2nd numeral information generating circuit is added at a full adder and a signal in response to the readout address is outputted from a full adder 13. At the write mode, the outputs of the circuits 8, 12 and of a presettable up/down counter 15 as the 3rd numerical information generating circuit are full-added and a signal in response to the write address signal is outputted from the full adder 13. Thus, the detection of the generation of overflow/underflow of the memory and the amount of jitter margin is made easy, to improve the efficiency of use of memory.

Description

【発明の詳細な説明】 本発明は、互いに独立して規則的に変化する読出しアド
レス及び書込みアドレスの各々に応じたアドレス情報信
号を発生してメモリに供給するメモリアドレス情報信号
発生装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory address information signal generating device that generates address information signals corresponding to read addresses and write addresses that change regularly and independently of each other and supplies them to a memory.

アナログ信号をディジタル化して記録再生する例えばP
CM(Pa1.?y Codg Modyblatio
rL)録音再生方式においては記録媒体上で発生したバ
ースト性の符号誤シの補正を容易にするために誤シ訂正
符号の付加と共にインタリーブがなされている。
For example, P
CM (Pa1.?y Codg Modyblation
rL) In the recording and reproducing system, interleaving is performed along with addition of an error correction code in order to facilitate correction of burst code errors occurring on the recording medium.

このため、記録媒体から読出された符号列は所定の約束
のもとて配列順序が時間軸上で変更されたものとなって
おシ、再生時においては符号列を元の配列に戻すいわゆ
るディインタリーブをなす必要がある。このディインタ
リーブは、例えば記録媒体から読出された符号列を読出
された順にバッファメモリに先頭番地から順次書込んだ
のち書込まれた符号列を元の配列に戻るようにバッファ
メモリのアドレス制御をなしつつ読出すことによってな
される。かかる場合、バッファメモリへ符号列を書込む
ときに1ずつ規則的に増加する書込みアドレスを発生し
バッファメモリから符号列を読出すときにはその符号列
の配列を元に戻すように所定の規則に従って変化する読
出しアドレスを発生するメモリアドレス情報信号発生装
置が用いられることが多い。かかるメモリアドレス情報
信号発生装置は、メモリのオーバーフロー、アンダーフ
ローの発生の検出及びこれらオーバーフロー、アンダー
フローの発生を防止するだめになす書込みアドレスと読
出しアドレスとの差に応じたノックマージン量の検出を
容易になすことができるとともにインタリーブサイズの
変更に容易に対応することができかつIC慄積回路)化
に適した構成となっていることが望ましい。ここで、メ
モリのオーバーフローとは書込みアドレスが異常に増加
して以前に書込まれたデータの読出しが終了してない場
所に新たなデータが誤って書込まれてしまう現象のこと
であり、メモリのアンダーフローとは読出しアドレスが
異常に増加して新たなデータの書込みがなされていない
場所がら誤っ念データが読出される現象のことである。
For this reason, the sequence of code strings read from a recording medium is changed on the time axis based on a predetermined agreement, and when played back, a so-called process that returns the code string to its original arrangement occurs. It is necessary to interleave. This deinterleaving is performed, for example, by sequentially writing code strings read from a recording medium into the buffer memory in the order in which they were read, starting from the first address, and then controlling the address of the buffer memory so that the written code strings are returned to their original arrangement. This is done by reading the data while doing so. In such a case, when writing a code string to the buffer memory, a write address is generated that regularly increases by 1, and when reading the code string from the buffer memory, the arrangement of the code string is changed according to a predetermined rule so as to return to the original arrangement. A memory address information signal generator is often used that generates a read address that corresponds to the read address. Such a memory address information signal generating device detects the occurrence of memory overflow and underflow, and detects the amount of knock margin according to the difference between the write address and the read address to prevent the occurrence of these overflows and underflows. It is desirable to have a configuration that can be easily implemented, can easily accommodate changes in interleave size, and is suitable for use as an IC (integral circuit). Memory overflow is a phenomenon in which the number of write addresses increases abnormally, causing new data to be written to a location where previously written data has not yet been read. Underflow is a phenomenon in which the number of read addresses increases abnormally and erroneous data is read from a location where no new data has been written.

以上の如く構成されたメモリアドレス情報信号発生装置
の従来例を第1図に示す。第1図において、1はmビッ
トのWL(書込み用下位アドレス)カウンタである。W
Lカウンタ1のクロック入力端子には符号列を形成する
所定数ビットのデータがディインタリー/用のバッファ
メモリ(図示せず)に書込まれるごとにタイミングパル
ス発生器(図示せず)より出力されるWRITEデータ
クロックCLlが供給される。このWLカウンタ1の計
数値は、クロックCLlによって1ずつ増加し、wLカ
ウンタ1はlフレームを形成するデータの数と同数のク
ロックCL1が発生すると計数値が零に戻るようになっ
ている。また、WLカウンタlの出力は、書込みアドレ
スの下位mビットを形成しつつ(n−m)ビットのWH
(書込み用上位アドレス)カウンタ2の出力と共に信号
選択回路3の一方の入力端子群に供給されている。WH
カウンタ2のクロック入力端子にはlフレーム分のデー
タがバッファメモリに書込まれるごとにタイミング・に
ルス発生器より出力されるWRITEフレームクロック
CL2が供給されている。WHカウンタ2の出力は書込
みアドレスの上位(rL−−)ビットを形成する。信号
選択回路3の制御入力端子にはバッファメモリを書込み
モード及び読出しモードのうちのいずれか一方のモード
にするためのモード切換制御信号則/wRITEが供給
されている。一方、ノぐラフアメモリに書込まれたデー
タがバッファメモリから読出されるとタイミングパルス
発生器からRJDADデータクロックCL3が出力され
てmビットの町(読出し用下位アト9レス)カウンタ4
のクロック入力端子に供給される。このRLi;ウンタ
4もWLカウンタ1と同様に1フレームを形成するデー
タの数と同数のクロックCL3が発生すると計数値が零
に戻るようになっている。RLカウンタ4の出力は読出
しアドレスの下位mビットを形成しつつ信号選択回路3
の他方の入力端子群に供給されると共にROM(読出し
専用メモリ)5のm個のアト°レス入力端子に供給され
る。ROM 5 KおけるRLカウンタ4の出力によっ
て指定される記憶場所にはインクIJ−ブを解除するだ
めの(n−m)ビットのデータが格納されている。この
ROM5の出力は全加算器6において(rL−rIL)
ビットのRH(読出し用上位アドレス)カウンタ7の出
力と加算される。RHカウンタフのクロック入力端子に
はバッファメモリから1フレ一ム分のデータが読出され
るごとにタイミングパルス発生器より出力される擬汰D
フレームクロックCL4が供給されている。全加算器6
の出力は読出しアドレスの上位(n−m)ビットを形成
しつつカウンタ′FLLの出力と共に信号選択回路3の
他方の入力端子群に供給されている。そして、この信号
選択回路3が切換制御信号R,EAD /WRI TE
によってLビットの読出しアドレス及び書込みアドレス
のうちの一方に応じたアドレス情報信号を出力すること
によシディインタリープ用のバッファメモリのアドレス
制御がなされる。
A conventional example of a memory address information signal generating device constructed as described above is shown in FIG. In FIG. 1, 1 is an m-bit WL (lower address for writing) counter. W
A timing pulse generator (not shown) outputs a clock input terminal of the L counter 1 every time a predetermined number of bits of data forming a code string are written into a buffer memory (not shown) for de-interleaving. A WRITE data clock CLl is supplied. The count value of this WL counter 1 is incremented by 1 in response to the clock CLl, and the count value of the wL counter 1 returns to zero when the same number of clocks CL1 as the number of data forming 1 frame is generated. In addition, the output of the WL counter l forms the lower m bits of the write address and (n-m) bits of WH
(Upper address for writing) It is supplied to one input terminal group of the signal selection circuit 3 together with the output of the counter 2. W.H.
The clock input terminal of the counter 2 is supplied with a WRITE frame clock CL2 outputted from a pulse generator at timing every time data for one frame is written into the buffer memory. The output of WH counter 2 forms the upper (rL--) bits of the write address. The control input terminal of the signal selection circuit 3 is supplied with a mode switching control signal rule /wRITE for setting the buffer memory in either the write mode or the read mode. On the other hand, when the data written in the loga memory is read out from the buffer memory, the RJDAD data clock CL3 is output from the timing pulse generator, and the m-bit town (lower address for reading 9 addresses) counter 4 is outputted from the timing pulse generator.
is supplied to the clock input terminal of Similar to the WL counter 1, this RLi counter 4 is also configured such that its count value returns to zero when the same number of clocks CL3 as the number of data forming one frame is generated. The output of the RL counter 4 is sent to the signal selection circuit 3 while forming the lower m bits of the read address.
is supplied to the other input terminal group of the ROM (read-only memory) 5, and m address input terminals of the ROM (read-only memory) 5. The memory location designated by the output of the RL counter 4 in the ROM 5K stores (n-m) bits of data for canceling the ink IJ-b. The output of this ROM 5 is sent to the full adder 6 (rL-rIL)
It is added to the output of the bit RH (read upper address) counter 7. The clock input terminal of the RH counter receives the pseudo data D output from the timing pulse generator every time data for one frame is read from the buffer memory.
A frame clock CL4 is supplied. Full adder 6
The output of is supplied to the other input terminal group of the signal selection circuit 3 together with the output of the counter 'FLL, forming the upper (nm) bits of the read address. Then, this signal selection circuit 3 selects the switching control signals R, EAD /WRI TE
By outputting an address information signal corresponding to one of the L-bit read address and write address, address control of the buffer memory for side interleap is performed.

この場合、オーバーフロー、アンダーフローの検出はW
Hカウンタ2の値とメモリ読出しアドレスの上位(n−
m)ビットの値の一致を検出することにより可能である
が、ノツターマージンの検出にはRHカウンタ7とWH
カウンタ2との距離検出回路(例えば引算回路)が必要
になるばかりかメモリの未使用部分が生じ、メモリの使
用効率が悪くなり、メモリの使用効率を上げるため未使
用部分をなくスとオーバーフロー、アンダーフロー等の
検出が困難となる欠点があった。
In this case, overflow and underflow detection is performed by W
The value of H counter 2 and the upper memory read address (n-
m) This is possible by detecting the coincidence of bit values, but the notter margin can be detected by using the RH counter 7 and the WH counter.
Not only is a distance detection circuit (for example, a subtraction circuit) with counter 2 required, but an unused portion of the memory is generated, resulting in poor memory usage efficiency. , there was a drawback that it was difficult to detect underflow, etc.

そこで、本発明の目的はメモリのオーバーフロー、アン
ダーフローの発生及びジッタマージン量の検出を容易に
なすことができるとともにインタリーブ長の変更への対
応が容易でありカへつIC化に適した構成にてメモリの
使用効率を向上させることができるメモリアドレス情報
信号発生装置を提供することである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to easily detect the occurrence of memory overflows and underflows and to detect the amount of jitter margin, and to easily adapt to changes in interleave length, thereby providing a configuration suitable for use in a cache IC. An object of the present invention is to provide a memory address information signal generation device that can improve memory usage efficiency.

本発明によるメモリアドレス情報信号発生装置は、メモ
リにデータが書込まれるときデータの書込みがなされる
毎に第1所定規則に従って変化する数値に応じた信号を
発生しメモリからデータが読出されるときはデータの読
出しがなされる毎に第2所定規則に従って変化する数値
に応じた信号を発生する第1数値情報信号発生回路と、
メモリからデータが第1所定数個読出される毎に第2所
所定数個読出されるか又はメモリにデータが第1所定数
個書込まれる毎に第3所定数ずつ変化する数値に応じた
信号を発生する第3数値情報信号発生回路とを含み、第
1.第2及び第3数値情報信号発生回路の各出力が春わ
す数値の加算結果に応じた信号を書込みアドレス情報信
号として出力し第1及び第2数値情報信号発生回路の各
出力が表わす数値の加算結果に応じた信号を読出しアド
レス情報信号として出力する構成となっている。
The memory address information signal generating device according to the present invention generates a signal corresponding to a numerical value that changes according to a first predetermined rule every time data is written to the memory, and when data is read from the memory. a first numerical information signal generation circuit that generates a signal corresponding to a numerical value that changes according to a second predetermined rule each time data is read;
A numeric value that changes by a third predetermined number each time a first predetermined number of data is read from the memory, or a second predetermined number of data is read from the memory, or a third predetermined number is written each time a first predetermined number of data is written to the memory. a third numerical information signal generation circuit for generating a signal; Each output of the second and third numerical information signal generation circuits outputs a signal corresponding to the result of addition of the generated numerical values as a write address information signal, and the numerical values represented by the respective outputs of the first and second numerical information signal generation circuits are added. The configuration is such that a signal corresponding to the result is output as a read address information signal.

以下、本発明を第2図乃至第5図を参照して詳細に説明
する。
Hereinafter, the present invention will be explained in detail with reference to FIGS. 2 to 5.

第2図において、モード切換制御信号READ/WFL
ITE、読出しデータ数信号DR及び書込みデータ数信
号DWが第1数値情報信号発生回路としての相対アドレ
ス発生器8に供給されている。読出しデータ数信号DB
は、例えばディインタリーブ用のバッファメモリよりデ
ータの読出しがなされるごとに1ずつカウントアツプし
lフレーム分のデータの読出しがなされると計数値が零
に戻るqビットのカウンタ(図示せず)より出力される
信号である。また、書込みデータ数信号彼は、例えばデ
ィインタリーブ用のバッファメモリにデータが書込まれ
るごとにlずつカウントアツプしlフレーム分のデータ
の書込みがなされると計数値が零に戻るqビットのカウ
ンタ(図示せず)より出力される信号である。相対アド
レス発生器8において、これら読出しデータ数信号DR
及び書込みデータ数信号1)Wはそれぞれ信号選択回路
902つの入力端子群の各々に供給されている。信号選
択回路9の制御入力端子にはモード切換制御信号肚劫/
WRITEが供給されている。信号選択回路9は、モー
ド切換制御信号READ/WRITEに応じて読出しデ
ータ数信号DR及び書込みデータ数信号賭のうちのいず
れか一方を選択的に出力する。この信号選択回路9の出
力はアドレス入力としてROM (読出し専用メモリ)
 10に供給されている。このROMl0の最上位アド
レスビット入力端子にはモード切換信号RF、I山/W
RITEが供給されている。そして、信号選択回路9の
出力及びモード切換制御信号READ/WRI TEに
よって指定されるROM 10内の各記憶場所にはrビ
ットのデータが格納されている。
In FIG. 2, the mode switching control signal READ/WFL
ITE, read data number signal DR, and write data number signal DW are supplied to a relative address generator 8 as a first numerical information signal generation circuit. Read data number signal DB
is, for example, a q-bit counter (not shown) that counts up by 1 each time data is read from a deinterleaving buffer memory, and returns to zero when data for one frame has been read. This is the signal that is output. In addition, the write data count signal is, for example, a q-bit counter that counts up by l each time data is written to a buffer memory for deinterleaving, and returns to zero when data for l frames have been written. (not shown). In the relative address generator 8, these read data number signals DR
and the write data number signal 1)W are respectively supplied to each of the two input terminal groups of the signal selection circuit 90. The control input terminal of the signal selection circuit 9 receives the mode switching control signal 肚劫/
WRITE is supplied. The signal selection circuit 9 selectively outputs either the read data number signal DR or the write data number signal BET in response to the mode switching control signal READ/WRITE. The output of this signal selection circuit 9 is used as an address input in ROM (read-only memory).
10 is supplied. The most significant address bit input terminal of this ROM10 is the mode switching signal RF, I mountain/W.
RITE is supplied. Then, r-bit data is stored in each storage location in the ROM 10 designated by the output of the signal selection circuit 9 and the mode switching control signal READ/WRITE.

ROM toの出力はSビットの全加算器11において
第2数値情報信号発生回路としての絶対アドレス発生器
12の出力と加算される。絶対アドレス発生器12は、
例えばtピットのバイナリカウンタからなっている。こ
の絶対アドレス発生器12のカウントアツプ用クロック
入力端子UPにはREADフレームクロックCL4が供
給されている。全加算器11の出力は加数人力として几
ビットの全加算器13に供給される。全加算器13には
信号選択回路14の出力が被加数入力として供給されて
いる。信号選択回路14の一方の入力端子群は接地され
ており、他方の入力端子群には第3数値情報信号発生回
路としてのWビットのグリセッタブルーアッゾダウン・
カウンタ15の出力が供給されている。この信号選択回
路14の制御入力端子にはモード切換制御信号READ
 /wRITEが供給されており、信号選択回路14は
このモード切換制御信号R,EIJ山/WRITEに応
じてカウンタ15の出力及び全ビット零となったUビッ
トの2進データに応じた信号のうちのいずれか一方を選
択的に出力する。カウンタ15のカラン−ムクロックC
L4 及ヒwRITEフレームクロックCL2の各々が
供給される。l□寸だ、カウンタ15のプリセット指令
入力端子PRには例えば電源投入時等において発生する
初期設定用リセット信号が供給イインタリーブ用のバッ
ファメモリのアドレへとして出力される。
The output of ROM to is added to the output of an absolute address generator 12 as a second numerical information signal generating circuit in an S-bit full adder 11. The absolute address generator 12 is
For example, it consists of a t-pit binary counter. A READ frame clock CL4 is supplied to the count-up clock input terminal UP of the absolute address generator 12. The output of the full adder 11 is supplied as an addend to the full adder 13 of the bit bit. The output of the signal selection circuit 14 is supplied to the full adder 13 as an addend input. One group of input terminals of the signal selection circuit 14 is grounded, and the other group of input terminals is connected to a W-bit Grisetta Blue Azzodown signal as a third numerical information signal generation circuit.
The output of counter 15 is supplied. The control input terminal of this signal selection circuit 14 receives a mode switching control signal READ.
/wRITE is supplied, and the signal selection circuit 14 selects one of the outputs of the counter 15 according to the mode switching control signals R, EIJ peak /WRITE, and the signal corresponding to the U-bit binary data whose all bits are zero. Selectively output either one. Column clock C of counter 15
Each of the L4 and RITE frame clocks CL2 are supplied. At the preset command input terminal PR of the counter 15, an initialization reset signal generated, for example, when the power is turned on, is outputted to the address of the supply interleaving buffer memory.

以上の構成において、モード切換制御信号FLEAD/
Wl(ITgによシパッファメモリが読出しモードとな
シ信号選択回路9及び14の各々より読出しデータ数信
号DB、及び全ピット零となったWビットの2進デ一タ
信号の各々が選択的に出力されると、このときの相対ア
ドレス発生器8の出力が表わす数値ROAt及び絶対ア
ドレス発生器12の出力が表わす数値HILiを加算し
て得られる読出しアドレスRMALに応じた信号が全加
算器13よシ出力される。
In the above configuration, the mode switching control signal FLEAD/
When the buffer memory is in the read mode by ITg, the read data number signal DB and the W-bit binary data signal whose all pits are zero are selectively selected from each of the signal selection circuits 9 and 14. When the signal is output to the full adder 13, a signal corresponding to the read address RMAL obtained by adding the numerical value ROAt represented by the output of the relative address generator 8 and the numerical value HILi represented by the output of the absolute address generator 12 at this time is outputted to the full adder 13. It will be outputted.

また、モード切換制御信号RBAの/wRITEにより
バッファメモリが書込みモードとなり信号選択回路9及
び14の各々より書込みデータ数信号腑及びカウンタ1
5の出力の各々が選択的に出力されると、このときの相
対アドレス発生器8の出力が表わす数値WOki 、数
値阻“龜及びカウンタ15の出力が表わす数値WPiを
加算して得られる書込みアドレスVMkiに応じた信号
が全加算器13より出力される。
In addition, the buffer memory is set to the write mode by /wRITE of the mode switching control signal RBA, and the write data number signal and the counter 1 are output from each of the signal selection circuits 9 and 14.
When each of the outputs of 5 is selectively output, the write address obtained by adding the numerical value WOki represented by the output of the relative address generator 8 at this time, the numerical value WPi represented by the output of the numerical value lock and the counter 15. A signal corresponding to VMki is output from the full adder 13.

このため、■フレーム内のデータ数をND1インタリー
ブ長をd1ジッタマージンをMとしたときに数値ROA
i 、 wOAiの各々がそれぞれ第1勇及び第2表に
示す如く変化するようにRAM 10にデータを予め書
込みかつカウンタ15のプリセット値が(M+l)とな
るようにすると、ディインタリーブ用のバッファメモリ
とじて最低必要な記憶容量QrrLLnが次式の如くな
りかつバッファメモリを効率よく使用することができる
こととなる。
For this reason, ■ the number of data in a frame is ND1, the interleave length is d1, the jitter margin is M, and the numerical ROA
If data is written in the RAM 10 in advance so that each of i and wOAi changes as shown in Tables 1 and 2, and the preset value of the counter 15 becomes (M+l), the buffer memory for deinterleaving is As a result, the minimum required storage capacity QrrLLn becomes as shown in the following equation, and the buffer memory can be used efficiently.

例えば、ND=4.d=3.M=2である場合はQrI
LLn=4(2+1 )+3(1+2+3+4 )=4
2となり、42デ一タ分の記憶容量を有するバッファメ
モリによってディインタリーブをなすことができること
となる。すなわち、かかる場合においては全加算器13
は42を0,43を1の如く出力し、数値1IAi 、
 ROAi 、ViOA i 、wPi及び読出しアト
v ス’BMki 。
For example, ND=4. d=3. If M=2, QrI
LLn=4(2+1)+3(1+2+3+4)=4
2, and deinterleaving can be performed using a buffer memory having a storage capacity of 42 data. That is, in such a case, the full adder 13
outputs 42 as 0, 43 as 1, and the numerical value 1IAi,
ROAi, ViOAi, wPi and readout space v'BMki.

書込みアドレス’WMlyiは第3表に示す如く変化す
る。ここで、読出しアドレスRMki及び書込みアドレ
スVINikiによって指定される読出し位置及び書込
み位置について第3図を参照して説明する。
The write address 'WMlyi changes as shown in Table 3. Here, the read position and write position specified by the read address RMki and the write address VINiki will be explained with reference to FIG. 3.

第3図において、1フレ一ム分のデータの読出し位置を
指定する読出しアドレスをそれぞれRMAl。
In FIG. 3, each read address designating the read position of data for one frame is RMAl.

RMA2. RMA3. RMA4としたときにバッフ
ァメモリをRMA1〜RMA4がそれぞれ先頭アドレス
となる4つのブロックに区分したのちに最後尾が横一列
に並ぶように各ブロックを互いに平行に並べて得られる
メモリマツプが示されている。このメモリマツプにおい
て1フレ一ム分のデータの書込み位置は書込み領域8w
内において横一列に並ぶようになっている。すなわち、
1フレ一ム分のデータの書込み位置を指定する書込みア
ドレスを帖仏19帖仏、。
RMA2. RMA3. A memory map obtained by dividing the buffer memory into four blocks whose starting addresses are RMA1 to RMA4 and then arranging the blocks in parallel with each other so that the last ends are lined up horizontally is shown. In this memory map, the writing position of one frame's worth of data is write area 8w.
They are lined up horizontally inside. That is,
The write address that specifies the writing position of one frame's worth of data is 19 jobutsu.

帖仏、、WwL4とすると、例えば第3表における最初
の1フレ一ム分のデータの書込みアドレスはそれぞれW
MA =12=RMA+12.WMA2=24=RMA
21 +9 、WMA −33=RMA  +6 、WMA4
=39=RMA4−3 +3となって第3図に示す如くなる。
For example, the write address for the first frame of data in Table 3 is WwL4.
MA=12=RMA+12. WMA2=24=RMA
21 +9, WMA -33=RMA +6, WMA4
=39=RMA4-3 +3, as shown in FIG.

今、■フレーム分のデータの読出しのみがなされると絶
対アドレス発生器12の計数値が1つ大きくなりかつカ
ウンタ15の計数値が1つ小さくなる。
Now, when only the data for frame (2) is read, the count value of the absolute address generator 12 increases by one, and the count value of the counter 15 decreases by one.

そうすると書込み領域Ewが1アドレス分後方に移動す
るが書込み位置は変化しないので書込み位置と読出し領
域ERとの距離が小さくなる。そして、第4表に示す如
く書込みデータ数に比して読出しデータ数が多くなって
WPtが0になると読出しアドレスRh/iAiと書込
みアドレスWMAiが等しくなってアンダーフローが発
生することとなる。
Then, the write area Ew moves backward by one address, but the write position does not change, so the distance between the write position and the read area ER becomes smaller. Then, as shown in Table 4, when the number of read data becomes larger than the number of write data and WPt becomes 0, the read address Rh/iAi becomes equal to the write address WMAi and an underflow occurs.

また、1フレ一ム分のデータの書込みのみがなされると
WPiが1つ大きくなる。そうすると書込み領域Ewは
移動せず書込み位置のみが後方に移動して書込み位置と
読出し領域ERとの距離が変化する。そして、第5表に
示す如く読出しデータ数に比して書込みデータ数が多く
なってWPtが6になると読出しアドレスRMkiと書
込みアドレスWPiが等しくなってオーバーフローが発
生することとなる。
Further, when only data for one frame is written, WPi increases by one. In this case, the writing area Ew does not move, but only the writing position moves backward, and the distance between the writing position and the reading area ER changes. Then, as shown in Table 5, when the number of write data becomes larger than the number of read data and WPt becomes 6, the read address RMki becomes equal to the write address WPi, causing an overflow.

従って、カウンタ15の計数値が3のときのジッタマー
ジンMは第4図に示す□如くなシ、カウンタ15の計数
値のみによってオーバーフロー、アンターフローの発生
の検出及びジッタマージン量の検出を容易になすことが
できることになる。また、データの読出しアドレスHM
A、〜RMA4及び書込みアドレスWMA 1〜WMA
4はフレームが変わる毎に1アドレスずつ変化するので
バッファメモリ内に使用されない部分が生じることがな
くなシメモリの使用効率を向上させることができること
になる。
Therefore, when the count value of the counter 15 is 3, the jitter margin M is as shown in □ shown in FIG. You will be able to do what you want. Also, the data read address HM
A, ~RMA4 and write address WMA1~WMA
Since address number 4 changes by one address each time the frame changes, there will be no unused portion in the buffer memory, and memory usage efficiency can be improved.

また、1フレーム内のデータ数NDが増加した場合には
ROM10の記憶容量を増加させればよく、またインタ
リープ長dが変更された場合にはROM1oに予め書込
むデータを変更すればよく、またジッタマージンMを増
加させたい場合にはカウンタ15のビット数を増加させ
るだけでよいので、PCM録音再生システム等における
システムの拡大に対する対応が容易となっている。例え
ば、ND=5.d=5、M=3となったときには第6表
に示す如(RMki 。
Furthermore, when the number of data ND in one frame increases, the storage capacity of ROM 10 may be increased, and when the interleap length d is changed, the data written in advance to ROM 1o may be changed; When it is desired to increase the jitter margin M, it is sufficient to simply increase the number of bits of the counter 15, so that it is easy to cope with system expansion in a PCM recording/playback system or the like. For example, ND=5. When d=5 and M=3, as shown in Table 6 (RMki).

WMAiを発生させるように変更してシステムの拡大に
対して容易に対応することができる。尚、この場合のバ
ッファメモリとして必要な最低記憶容量は6X(3+1
 )+5(1+2+3+4+5+6)=129テあシ、
全加算器13.は129を0 、130を1の如く出力
する。また、この場合にRMki及びWMAiによって
指定される読出し位置及び書込み位置を第3図と同様に
して第5図に示す。尚、この第5図においては第6表に
おける最初のフレーム;の各データの読出し位置及び書
込み位置が容易に判るようにバッファメモリの各記憶場
所にアドレスを示す数値が付されている。
It is possible to easily respond to system expansion by changing the system to generate WMAi. In addition, the minimum storage capacity required for the buffer memory in this case is 6X (3+1
) + 5 (1 + 2 + 3 + 4 + 5 + 6) = 129 units,
Full adder 13. outputs 129 as 0 and 130 as 1. Further, the read position and write position designated by RMki and WMAi in this case are shown in FIG. 5 in the same manner as in FIG. 3. In this FIG. 5, a numerical value indicating an address is attached to each storage location of the buffer memory so that the reading position and writing position of each data in the first frame in Table 6 can be easily recognized.

また、本発明によるメモリアドレス情報信号発生装置は
、相対アドレス発生器8が書き込みアドレスの発生時及
び読出しアドレスの発生時の双方において共通使用され
る構成となっているため、回路構成が簡単になって必要
な配線数を少なくすることができるとともに単一のlを
使用して構成できることから囮を形成する入力デコーダ
回路及び出力バッファ回路を単一にすることができるこ
とになる。従って、本発明によればディジタルオーディ
オ機器等のIC化の際にチップ面積を小さくすることが
できるという効果も期待できるのである。
Further, in the memory address information signal generating device according to the present invention, the relative address generator 8 is configured to be used in common both when generating a write address and when generating a read address, so the circuit configuration is simplified. Since the number of wiring lines required can be reduced and the structure can be configured using a single l, the input decoder circuit and output buffer circuit forming the decoy can be made into a single unit. Therefore, according to the present invention, it can be expected that the chip area can be reduced when converting digital audio equipment into an IC.

以上詳述した如く本発明によるメモリアドレス情報信号
発生装置は、メモリのオーバーフロー、アンダースロー
の発生及びジッタマージン量の検出を容易になすことが
できかつインタリーブ長の変更への対応が容易であると
ともにメモリの使用効率を向上させることができかつI
C化に適した構成となっているのでディジタルオーディ
オ機器におけるディインタリーブ用のメモリのメモリ制
御装置に用いて好適である。
As described in detail above, the memory address information signal generating device according to the present invention can easily detect the occurrence of memory overflow, underthrow, and jitter margin amount, and can easily cope with changes in interleave length. can improve the usage efficiency of I
Since the configuration is suitable for C conversion, it is suitable for use in a memory control device for deinterleaving memory in digital audio equipment.

尚、上記実施例においては信号選択回路90入力が読出
しデータ数信号DB及び書込みデータ数信号彼の2信号
であるとしたが、“信号選択回路9の入力数は2以上い
ずれでも良く、例えば誤り訂正用データ数信号を追加し
て読出しエリア内のデータの誤り訂正を可能にすること
ができる。ただし、入力数の増加分だけROMl0の記
憶容量を大きくすることが必要となる。
In the above embodiment, the inputs to the signal selection circuit 90 are the read data number signal DB and the write data number signal. However, the number of inputs to the signal selection circuit 9 may be two or more; It is possible to add a correction data number signal to enable error correction of data in the read area. However, it is necessary to increase the storage capacity of ROM10 by the increase in the number of inputs.

7−′ 第1表 第2表7-' Table 1 Table 2

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

第1図は、従来のメモリアドレス情報信号発生装置を示
すブロック図、第2図は、本発明の一実施例を示すブロ
ック図、第3図は、ND:4 、 d=3、M=2の場
合に第2図の装置の出力をアドレス入力とするバッファ
メモリのメモリマツプを示す図、第4図は、第2図の装
置におけるカウンター5の計数値とジッタマージンとの
関係を示す図、第5図は、ND=6.d=5.M=3の
場合に第2図の装置の出力をアドレス入力とするバッフ
7メモリのメモリマツプを示す図である。 主要部分の符号の説明 訃・・相対アドレス発生器 11 、13・−・全加算器 12・・・絶対アドレス発生器 14・・・信号選択回路      15・・・カウン
タ111 出願人 ノ々イオニア株式会社 代理人 弁理士藤村元彦 第  1  図
FIG. 1 is a block diagram showing a conventional memory address information signal generating device, FIG. 2 is a block diagram showing an embodiment of the present invention, and FIG. 3 is a block diagram showing a conventional memory address information signal generator. 4 is a diagram showing the relationship between the count value of the counter 5 and the jitter margin in the device of FIG. 2, and FIG. Figure 5 shows ND=6. d=5. 3 is a diagram showing a memory map of a buffer 7 memory in which the output of the device of FIG. 2 is used as an address input when M=3; FIG. Description of symbols of main parts: Relative address generators 11, 13, full adder 12, absolute address generator 14, signal selection circuit 15, counter 111 Applicant: Nono Ionia Co., Ltd. Agent Motohiko Fujimura, patent attorney Figure 1

Claims (1)

【特許請求の範囲】[Claims] 互いに独立して規則的に変化する読出しアドレス及び書
込みアドレスの各々に応じたアドレス情報信号を発生し
てメモリに供給するメモリアドレス情報信号発生装置で
あって、前記メモリにデータが書込まれるときデータの
書込みがなされる毎に第1所定規則に従って変化する数
値に応じた信号を発生し前記メモリからデータが読出さ
れるときデータの読出しがなされる毎に第2所定規則に
従って変化する数直に応じた信号を発生する第1数値情
報信号発生回路と、前記メモリからデータが第1所定数
個読出される毎に第2所定数ずつ変化する数値に応じた
信号を発生する第2数値情報信号発生回路と、前記メモ
リからデータが前記第1所定数個読出され乙か又は前記
メモリにデータが前記第1所定数個書込まれる毎に第3
所定数ずつ変化する数値に応じた信号を発生する第3数
値情報信号発生回路とを含み、前記第1.第2及び第3
数値情報信号発生回路の各出方が表わす数値の加算結果
に応じた信号を書込みアドレス情報信号として出力し前
記第1及び第2数値情報信号発生回路の各出力が表わす
数値の加算結果に応じた信号を読出しアドレス情報信号
として出力することを特徴とするメモリアドレス情報信
号発生装置。
A memory address information signal generation device that generates address information signals corresponding to read addresses and write addresses that change regularly and independently of each other and supplies them to a memory, wherein when data is written to the memory, the data generates a signal corresponding to a numerical value that changes according to a first predetermined rule each time data is written; and generates a signal corresponding to a numerical value that changes according to a second predetermined rule each time data is read from the memory; a first numerical information signal generation circuit that generates a signal corresponding to a numerical value that changes by a second predetermined number each time a first predetermined number of data are read from the memory; a third circuit, each time the first predetermined number of data is read from the memory or the first predetermined number of data is written to the memory;
a third numerical information signal generation circuit that generates a signal corresponding to a numerical value that changes by a predetermined number; 2nd and 3rd
A signal corresponding to the addition result of the numerical value represented by each output of the numerical information signal generation circuit is output as a write address information signal, and a signal corresponding to the addition result of the numerical value represented by each output of the first and second numerical information signal generation circuit is outputted. A memory address information signal generating device characterized in that the signal is output as a read address information signal.
JP2029082A 1982-02-10 1982-02-10 Information signal generator for memory address Pending JPS58139385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2029082A JPS58139385A (en) 1982-02-10 1982-02-10 Information signal generator for memory address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2029082A JPS58139385A (en) 1982-02-10 1982-02-10 Information signal generator for memory address

Publications (1)

Publication Number Publication Date
JPS58139385A true JPS58139385A (en) 1983-08-18

Family

ID=12023030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2029082A Pending JPS58139385A (en) 1982-02-10 1982-02-10 Information signal generator for memory address

Country Status (1)

Country Link
JP (1) JPS58139385A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5658113A (en) * 1979-10-13 1981-05-21 Toshiba Corp Data delaying device
JPS5658114A (en) * 1979-10-13 1981-05-21 Toshiba Corp Data delaying device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5658113A (en) * 1979-10-13 1981-05-21 Toshiba Corp Data delaying device
JPS5658114A (en) * 1979-10-13 1981-05-21 Toshiba Corp Data delaying device

Similar Documents

Publication Publication Date Title
US20070050663A1 (en) Error correction apparatus for performing consecutive reading of multiple code words
JPH1198462A (en) Data reproduction device
JP3313056B2 (en) Memory reading method and circuit for error correction in decoding device of CD-ROM drive
JPS58139385A (en) Information signal generator for memory address
US6038692A (en) Error correcting memory system
JP4386615B2 (en) Data processing device
JPH07113904B2 (en) Memory access device
JPH0439149B2 (en)
JPS58161114A (en) Memory address information signal generating device
JPH0352694B2 (en)
KR100224798B1 (en) Data shuffling device
JPS5856209A (en) Error flag processor for each frame
JPH04212755A (en) Signal processing method of optical disk
JP4004102B2 (en) Code error correction detection device
JPS58125210A (en) Device for producing memory address information signal
KR100559280B1 (en) Apparatus for data recording control
CA1316269C (en) Interleaving method and apparatus
JPH0646520B2 (en) Semiconductor memory device
JPH0696112A (en) Vector data processing circuit
JPS60125970A (en) Error correcting device
JPH0846522A (en) Error check and correction device for multiple byte
JPS6386161A (en) Error correcting device
JPH0520209A (en) Storage device
JP2003209802A (en) Encoder
JPS54145445A (en) Bubble memory unit