JPS59127445A - Memory access circuit - Google Patents
Memory access circuitInfo
- Publication number
- JPS59127445A JPS59127445A JP271383A JP271383A JPS59127445A JP S59127445 A JPS59127445 A JP S59127445A JP 271383 A JP271383 A JP 271383A JP 271383 A JP271383 A JP 271383A JP S59127445 A JPS59127445 A JP S59127445A
- Authority
- JP
- Japan
- Prior art keywords
- counter
- value
- address
- order
- memory
- 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
Links
- 230000015654 memory Effects 0.000 title claims abstract description 18
- 230000005540 biological transmission Effects 0.000 claims 1
- 238000000034 method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000000295 complement effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1806—Pulse code modulation systems for audio signals
- G11B20/1809—Pulse code modulation systems for audio signals by interleaving
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Error Detection And Correction (AREA)
Abstract
Description
【発明の詳細な説明】
本発明はPCM再生装置等に用いるメモリのアクセス回
路に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a memory access circuit used in a PCM playback device or the like.
第1図にPCM古生装置等で用いられろインターリーブ
カ式の一例を示す。本例はlフレーム16ワードインタ
ーリーブ長D=16である。第1図のl−■は書き込み
アドレスを示し、l−〇は読み出しアドレスを示す。本
例の書き込み、読み出しを、従来ハードウェアで実現し
1こ−[flJを第2図に示す。第2図において、2−
(4)は読み出しフレームカウンタ、2−■は読み出し
ワードカウンタ、2−■は書き込みフレームカウンタ、
2−■は書き込みワードカウンタ、2−■はD=16を
実現する演算器、2−のはセレクタ、2−@はRAM、
2−■はコントローラである。書き込み時はコントロー
ラ2−■からのセレクト信号により曹き込みフレームカ
ウンタ2−■、書き込みワードカウンタ2−■のカウン
タ値がセレクタ2−■によりセレクトされ、RAM2−
@のアドレスを決定する。読み出し時は、読み出しフレ
ームカウンタ2−■のカウンタ値と読み出しワードカウ
ンタ2−■のカウンタ値を減算し所定のアドレスを生成
し読み出し時のみセレクタ2−■により選択し、RAM
2−(mのアドレスとするものである。本例の場合D−
16を実現するために、読み出しフレ−ムカウンタ値か
ら読み出しワードカウンタ値を減算するごとにより行な
っている。つまり、今lワード目の読み出しフレーム位
置を14、ワード番号をm (o<m <、 7 )と
すると読み出しフレームnはn==n1−16Xmとな
り、(n、m)のアドレスをアクセスすることKなる。FIG. 1 shows an example of an interleave type used in PCM paleogetic devices and the like. In this example, the interleaving length D=16 is 16 words per frame. In FIG. 1, 1-■ indicates a write address, and 1-0 indicates a read address. Writing and reading in this example are realized using conventional hardware and are shown in FIG. In Figure 2, 2-
(4) is a read frame counter, 2-■ is a read word counter, 2-■ is a write frame counter,
2-■ is a write word counter, 2-■ is an arithmetic unit that realizes D=16, 2- is a selector, 2-@ is a RAM,
2-■ is a controller. During writing, the counter values of the fill frame counter 2-■ and write word counter 2-■ are selected by the selector 2-■ in response to a select signal from the controller 2-■, and are stored in the RAM 2-■.
Determine the @ address. At the time of reading, a predetermined address is generated by subtracting the counter value of the read frame counter 2-■ and the counter value of the read word counter 2-■.
2-(m). In this example, D-
16, this is done every time the read word counter value is subtracted from the read frame counter value. In other words, if the l-th word read frame position is 14 and the word number is m (o<m<, 7), the read frame n is n==n1-16Xm, and the address of (n, m) can be accessed. K becomes.
前記従来の方法により、例えばwIJ1図1−■の書き
込みアドレス、1−@の読み出し了ドレスにてインター
リーブを行なうインターリーブ方法をハードウェアにて
実現するとき、l−■を実現するために加算器を追加し
、l−〇を実現するためにコントロール部の変更等が必
要となる。When implementing the interleaving method in hardware using the conventional method, for example, interleaving is performed at the write address of wIJ1 Figure 1-■ and the read end address of 1-@, an adder is required to implement l-■. In addition, it is necessary to change the control section, etc. in order to realize l-〇.
本発明はROMの内容を変更するのみで任意のインター
リーブ、ディンターリーブな実現することを可能にする
メモリアクセス回路を提供することを目的とする。SUMMARY OF THE INVENTION An object of the present invention is to provide a memory access circuit that enables arbitrary interleaving and dinterleaving by simply changing the contents of a ROM.
以下、本発明の一実施例を第3図につ(・て説明する。An embodiment of the present invention will be described below with reference to FIG.
3−■は読み出しフレームカウンタ、3−■は読み出し
ワードカウンタ、3−■は書き込みフレームカウンタ、
3−■は書き込みワードカウンタ、3−■はワードカウ
ンタセレクタ、3−■及び3−GDは読みめし又は書き
込みフレームアドレスと実際にアクセスすべきフレーム
アドレスの相附値を有する記憶素子(例えはROM)、
3−@は読み出し、書き込みフレームカウンタ値を選択
するセレクタ、3−■は加算又は減算器(本例の場合加
算器)、3−■は制御回路、3−■はRAMである〇
ここで3−(f)及び3−(f)のROMは第1図の場
合、16X2=32ワード、12bit/ワードの容量
を有するように構成すればよい。またこのROMに記憶
すべきデータは第1図のl−■、l−@の場合(第1の
方法)は表1に示ずデータとなり、第1図のl−■、l
−■の場合(第2の方法)は表2に示すデータとなる。3-■ is a read frame counter, 3-■ is a read word counter, 3-■ is a write frame counter,
3-■ is a write word counter, 3-■ is a word counter selector, 3-■ and 3-GD are storage elements (for example, ROM ),
3-@ is a selector that selects the read/write frame counter value, 3-■ is an adder or subtractor (adder in this example), 3-■ is a control circuit, and 3-■ is a RAM. Here, 3 In the case of FIG. 1, the ROMs -(f) and 3-(f) may be configured to have a capacity of 16×2=32 words and 12 bits/word. In addition, the data to be stored in this ROM is not shown in Table 1 in the case of l-■, l-@ in Figure 1 (first method), and is data l-■, l in Figure 1.
In the case of −■ (second method), the data is shown in Table 2.
第1の方法、第2の方法とも第3図の回路動作はまった
く同様である。したがって、第2の方法で回路動作を説
明する。まず、書き込み時は書き込みワードカウンタ値
がセレクタ3−■により選択され、ROM3−[F]、
3−C)のアドレスをアク表 1
表 2
セス1−1例えば該カウンタ値がダであれば1す(HE
X)がROM3−■、3−■より出力され、上位8bi
tは曹き込みフレームカウンタ3−■の値と加算され、
加算結果NlN2 + DI = NlN2がメモリの
上位アドレスとなる。また、下位4 bitはそのまま
メモリの下位4 bitアドレスとなり、結果■の出力
は戸11 となり、メモリアドレスはNlNz十OLが
上位アドレスとなり、下位−アドレスはlである。上記
動作により第3図の書き込みフレームカウンタl−■の
操作が行ない得る。The circuit operation of FIG. 3 is exactly the same in both the first method and the second method. Therefore, the circuit operation will be explained in the second method. First, during writing, the write word counter value is selected by selector 3-■, and ROM3-[F],
3-C) address Table 1 Table 2 Access 1-1 For example, if the counter value is DA, it is 1 (HE
X) is output from ROM3-■, 3-■, upper 8bit
t is added to the value of the frame counter 3-■,
The addition result NlN2 + DI = NlN2 becomes the upper address of the memory. Further, the lower 4 bits become the lower 4 bit address of the memory as they are, the output of the result ① becomes door 11, the memory address is NlNz0OL becomes the upper address, and the lower address is 1. By the above operation, the write frame counter l--2 in FIG. 3 can be operated.
また、読み出し時は、読み出しワードカウンタ3−bの
値がセレクタ3−■により選択されROM3−■、3−
■のいずれか一力をアクセスする。Also, when reading, the value of the read word counter 3-b is selected by the selector 3-■ and the ROM 3-■, 3-
■Access one of the following.
このとき、制御回路3−■より出力される他の1本のに
6M アドレス線は+) l′L となっているとする
。At this time, it is assumed that the other 6M address line output from the control circuit 3-2 is +)l'L.
これによりROM3−■、3−■のアドレスは8〜15
がアクセスされることになり、読み出し時に対応した相
対アドレスデータがアクセスされることになる。例えは
読み出しワードカウンタ3−■の出力が61″であれば
、上位8 bitはF〆が出力され、下位4 bitは
61″が出力される。上位8bitは読み出しフレーム
カウンタ3−■の出力と加算され、EFが加算器3−■
より出力され、RAM3−■の上位8 bitアドレス
となる。下位4 bitアドレス値は3−Oの値となる
。上記のように考えれば第1図1−〇のRA M操作が
出来る。As a result, the addresses of ROM3-■ and 3-■ are 8 to 15.
will be accessed, and the corresponding relative address data will be accessed at the time of reading. For example, if the output of the read word counter 3-■ is 61'', the upper 8 bits output F〆, and the lower 4 bits output 61''. The upper 8 bits are added to the output of the read frame counter 3-■, and EF is added to the output of the read frame counter 3-■.
It becomes the upper 8-bit address of RAM3-■. The lower 4 bit address value becomes the value 3-O. If we consider the above, we can perform the RAM operation shown in Figure 1, 1-0.
他の実施例として、第4図に示すインターリーブ構造を
有する場合について示す。4−■は曹き込み、4−■は
C1読み出し、4−■はC2読み出し、4−■はD/A
読み出しとする。D/Aの読み出し順は第4図に数字で
示した順番とする。この場合を実現するハードウェア構
成は第3図とまつ1こ(同様でROM3−(f)、3−
Oの内容を追加し、各状態に対応するROMアドレス制
御線(制御回路3−■からROM3−O,3−e)へ出
力される3−[有]の破線で示す。)を追加するのみで
よ%s。As another example, a case having an interleaved structure shown in FIG. 4 will be described. 4-■ is for filling in, 4-■ is for C1 reading, 4-■ is for C2 reading, 4-■ is for D/A.
Read. The reading order of the D/A is as shown by the numbers in FIG. The hardware configuration that realizes this case is shown in Figure 3.
The contents of O are added and shown by broken lines of 3-[present] which are output to the ROM address control lines (from control circuit 3-■ to ROM3-O, 3-e) corresponding to each state. ) just add %s.
なお、この場合4−■、4−■、4−■の操作表
3
はlフレーム内にアクセスされるものとする。第4図の
アクセスを実現する1こめのROMの内容は表3に示す
内容となる。この例の場合上位g bitは書き込み用
データとしては加算のためのデータか、C2,D/A用
データとしては減算のためのデータ、すなわち減算値の
2の補数値化されたデータがROM内に格納される(加
算器で加算及び減算を行う1こめ)。In this case, the operation table for 4-■, 4-■, 4-■
3 is accessed within l frame. The contents of the first ROM for realizing the access shown in FIG. 4 are shown in Table 3. In this example, the upper G bit is data for addition as write data, or data for subtraction as data for C2 and D/A, that is, data converted into a two's complement value of the subtraction value in the ROM. (the first step in which addition and subtraction are performed by the adder).
以上述べ良ようにハードウェアの大幅な変更を必岐とす
ることなくROM内容の変更のみで種々のメモリアクセ
ス方法[対処できる。As stated above, various memory access methods can be used by simply changing the ROM contents without requiring any major changes to the hardware.
第1図はメモリのアクセス方法を示す図、第2図は従来
列な示すブロック図、第3図は本発明の一実施例を示す
ブロック図、第4囚は本発明の他への転用列のアクセス
方法を示す図である。
3−■・・・読み出しフレームカウンタ、3−■・・・
読み出しワードカウンタ、3−■・・・曹き出しフレー
ムカウンタ、3−■・・・書き出しワードカウンタ。
3−■・−・R(JM、3−■・・・1(σM、3−[
有]・・・’110算器、3−■・・・RAM、3−■
・・・制御回路。
特許出願人 赤井電機株式会社Fig. 1 is a diagram showing a memory access method, Fig. 2 is a block diagram showing a conventional column, Fig. 3 is a block diagram showing an embodiment of the present invention, and the fourth figure is a block diagram showing a column used for other purposes according to the present invention. FIG. 3-■...Reading frame counter, 3-■...
Read word counter, 3-■...Start frame counter, 3-■...Write word counter. 3-■・-・R(JM, 3-■・・・・1(σM, 3-[
Yes]...'110 calculator, 3-■...RAM, 3-■
...Control circuit. Patent applicant Akai Electric Co., Ltd.
Claims (1)
りをランダム誤りに変換すべき、記憶素子を用いたイン
ターリーブ、ディンターリーブ回路において、アクセス
ずべぎ記憶素子のアドレスを読み出しフレームカウンタ
と、書き込みフレームカウンタト、フレームアドレスと
、アクセスすべきアドレスの相苅値を有する記憶素子と
、該記憶素子のデータと前記カウンタ値を加算又は減算
するための加算又は減算器および前記構成要素を制御す
る制御回路とにより構成したことを特徴とするメモリア
クセス回路。In an interleave/dinterleave circuit using memory elements that converts burst errors into random errors in a transmission line that causes burst errors, the address of the access memory element is read out and the frame counter and the write frame counter are , a storage element having a frame address and a mutual value of the address to be accessed, an adder or subtracter for adding or subtracting the data of the storage element and the counter value, and a control circuit for controlling the component. A memory access circuit characterized by comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP271383A JPS59127445A (en) | 1983-01-10 | 1983-01-10 | Memory access circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP271383A JPS59127445A (en) | 1983-01-10 | 1983-01-10 | Memory access circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS59127445A true JPS59127445A (en) | 1984-07-23 |
Family
ID=11536939
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP271383A Pending JPS59127445A (en) | 1983-01-10 | 1983-01-10 | Memory access circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS59127445A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1989001265A1 (en) * | 1987-07-31 | 1989-02-09 | Kabushiki Kaisha Csk | Interleaving method and device therefor |
| JPH01124163A (en) * | 1987-11-06 | 1989-05-17 | Mitsubishi Electric Corp | Address control circuit |
| JPH01124162A (en) * | 1987-11-06 | 1989-05-17 | Mitsubishi Electric Corp | Address control circuit |
| JPH05342769A (en) * | 1990-08-09 | 1993-12-24 | Samsung Electron Co Ltd | Cross interleave circuit |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS554774A (en) * | 1978-06-27 | 1980-01-14 | Sharp Corp | Pcm-system signal recording system |
| JPS5538617A (en) * | 1978-09-04 | 1980-03-18 | Matsushita Electric Ind Co Ltd | Pcm recording and reproducing device |
| JPS5570918A (en) * | 1978-11-20 | 1980-05-28 | Sony Corp | Digital signal processing unit |
-
1983
- 1983-01-10 JP JP271383A patent/JPS59127445A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS554774A (en) * | 1978-06-27 | 1980-01-14 | Sharp Corp | Pcm-system signal recording system |
| JPS5538617A (en) * | 1978-09-04 | 1980-03-18 | Matsushita Electric Ind Co Ltd | Pcm recording and reproducing device |
| JPS5570918A (en) * | 1978-11-20 | 1980-05-28 | Sony Corp | Digital signal processing unit |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1989001265A1 (en) * | 1987-07-31 | 1989-02-09 | Kabushiki Kaisha Csk | Interleaving method and device therefor |
| JPH01124163A (en) * | 1987-11-06 | 1989-05-17 | Mitsubishi Electric Corp | Address control circuit |
| JPH01124162A (en) * | 1987-11-06 | 1989-05-17 | Mitsubishi Electric Corp | Address control circuit |
| JPH05342769A (en) * | 1990-08-09 | 1993-12-24 | Samsung Electron Co Ltd | Cross interleave circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0226950B1 (en) | Memory access control circuit | |
| JP3643698B2 (en) | Dynamic memory test circuit address generation apparatus and method | |
| EP0473275B1 (en) | Memory control unit and memory unit | |
| KR870009389A (en) | Semiconductor memory device | |
| JPS59127445A (en) | Memory access circuit | |
| KR100339258B1 (en) | FIFO memory device and method for controlling same | |
| CA2012318C (en) | Microprocessor system having an extended address space | |
| JPH0923458A (en) | Time division switch | |
| JPH07113904B2 (en) | Memory access device | |
| US4516219A (en) | Address designating method of memory and apparatus therefor | |
| JP2976276B2 (en) | Timing generator | |
| JPH08273347A (en) | Data temporary storage | |
| JP2009517763A (en) | Method and arrangement for efficiently accessing matrix elements in memory | |
| US5130923A (en) | Selective dynamic RAM address generator with provision for automatic refresh | |
| JPH1194920A (en) | Pattern generator for semiconductor testing device | |
| JP4940894B2 (en) | Synchronous memory circuit | |
| JPS6226548A (en) | Memory controller | |
| KR100280470B1 (en) | Data input / output device of flash memory | |
| EP0530991A1 (en) | System and method for interleaving memory in a computer system | |
| JP4086365B2 (en) | Serial semiconductor memory | |
| JPH0227759B2 (en) | ||
| JPH02202640A (en) | pattern generator | |
| JPH05206398A (en) | Semiconductor memory device | |
| JPH10222460A (en) | Data transfer controller | |
| JPS61165795A (en) | Audio signal processor |