JPS5965377A - Method and device for address control - Google Patents
Method and device for address controlInfo
- Publication number
- JPS5965377A JPS5965377A JP17499882A JP17499882A JPS5965377A JP S5965377 A JPS5965377 A JP S5965377A JP 17499882 A JP17499882 A JP 17499882A JP 17499882 A JP17499882 A JP 17499882A JP S5965377 A JPS5965377 A JP S5965377A
- Authority
- JP
- Japan
- Prior art keywords
- address number
- address
- register
- output
- contents
- 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
- 238000000034 method Methods 0.000 title claims description 9
- 230000005055 memory storage Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Computational Mathematics (AREA)
- Pure & Applied Mathematics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Algebra (AREA)
- Complex Calculations (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は、複数のデータを周期的に反復して使用のうえ
、積または和の演算、あるいはサンプリング、符号化、
復号化等の信号処理を高速によシ行なう場合、データを
アクセスする記憶装置のアドレス指定に用いられるアド
レス制御方法およびその装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention uses a plurality of data cyclically and repeatedly to perform product or sum operations, sampling, encoding,
The present invention relates to an address control method and device used to specify the address of a storage device that accesses data when signal processing such as decoding is performed at high speed.
第1図は、従来のアドレス制御方法の原理図であシ、ア
ドレス制御装置ADCか□□□Hビットからなるアドレ
ス信号bO〜bH−1がメモリ装置MMのアドレス入力
へ与えられ、このアドレス信号と対応するm個の記憶領
域においてデータのアクセスが行なわれ、これによって
アクセスされるデータに基づき各種の信号処理が行なわ
れるものとなっている。FIG. 1 is a principle diagram of a conventional address control method, in which an address signal bO to bH-1 consisting of □□□H bits is applied to an address input of a memory device MM from an address control device ADC, and this address signal Data is accessed in m storage areas corresponding to , and various signal processing is performed based on the accessed data.
なお、この場合Hビットのアドレス信号bO〜bH−1
によって指定される記憶領域の数mは、m=: 2H−
1となる。In this case, the H-bit address signal bO to bH-1
The number m of storage areas specified by m=: 2H−
It becomes 1.
また、この種の信号処理の一例として線形予測符号化が
あシ、この符号化処理には、過去のいくつかのサンプル
点における信号値から予測し「;値を用い、残差信号を
符号化することが行なわれている。In addition, linear predictive coding is an example of this type of signal processing. things are being done.
第2図は、線形予測符号化における信号の流れ図であシ
、入力信号xtと予測信号へとを減算器SUBへ与え、
次式の演算によシ時刻tにおける残差信号eltを求め
ている。FIG. 2 is a signal flow diagram in linear predictive coding, in which the input signal xt and the predicted signal are supplied to the subtracter SUB,
The residual signal elt at time t is calculated by the following equation.
@ j”XtXtll @ @ a * e * (1
)との残差信号etは、符号化器Cへ与えられ、符号化
残差信号rtとなったうえ出力OUTへ送出されるが、
同時に加算器ADへ与えられ、予測信号xtとによシ次
式の演算が行なわれ、符号化器△
号xtが求められる。@ j”XtXtll @ @ a * e * (1
) is given to the encoder C, becomes the encoded residual signal rt, and is sent to the output OUT,
At the same time, it is applied to the adder AD, and a computation of the following equation is performed with the prediction signal xt to obtain the encoder Δ signal xt.
Δ 〜 へ
xt= xt−4−et e拳・・・・・ (2)△
また、符号化信号xtは線形予測器Pへ与えられ、こ\
において、n次の線形予測係数α1〜αn△
△
と、過去におけるn個の符号化信号Xt−1〜XI−。Δ ~ to xt = xt-4-et e fist... (2) △ Also, the encoded signal xt is given to the linear predictor P, and this
, n-th linear prediction coefficients α1 to αn△
Δ and n encoded signals Xt-1 to XI- in the past.
隙づく次式の演算が行なわれ、予測信号xtが求められ
る。The calculation of the following equation is performed to obtain the prediction signal xt.
なお、前述の線形予測符号化処理においては、予測信号
Xtの導出に、一般的にはメモリ装置中△
の線形予測係数αにと、符号化信号X1.、−)cとの
積和演算が行なわれておシ、この際、符号化信号△
xt−にユ、符号化のステップが進行するのに伴ない逐
次新らたなデータを使用するため、過去のデータが逐次
に不要となることによル、符号化信号xt−kに対する
アドレス指定は、開始アドレス番号を一つづ\変化させ
ながら更新し、n回のインクリメントを反復するものと
なっている。In the above-mentioned linear predictive coding process, in order to derive the predictive signal Xt, the linear predictive coefficient α of Δ in the memory device and the encoded signal X1 . , -) c is performed, and at this time, the encoded signal △ As past data becomes unnecessary one after another, the addressing for the encoded signal xt-k is updated while changing the starting address number one by one, and incrementing is repeated n times. .
しかし、この手法では、開始アドレス番号が増加する一
方であり、メモリ装置の容量を最小とする目的上、第1
表にメモリ装置の内容を示すとおシ、一般にn個のアド
レスへn個の符号化信号を示すデータを格納し、逐次不
要となった過去のデータを新らたなデータによシ置換す
る操作を行なうものとなっている。However, in this method, the starting address number continues to increase, and for the purpose of minimizing the capacity of the memory device, the first
When the contents of a memory device are shown in the table, it is generally an operation of storing data representing n encoded signals at n addresses and sequentially replacing unnecessary past data with new data. It is supposed to be carried out.
第1表
したがって、アドレス指定に際し、アドレス番号を一つ
づ\増加させると共に、周期nによシアドレス指定を循
環させるととが必要となって>、)、従来は第3図に示
す構成のアドレス制御装置が用いられていた。Table 1 Therefore, when specifying an address, it is necessary to increment the address number by one and to cycle the address specification by the period n. A control device was used.
同図は機能的なブロック図であり、n個めアドレスを有
するメモリ装置に対し、周期nによって循環するアドレ
ス指定を行なうものとすれば、レジスタR1にアドレス
番号の増分1をセットし、レジスタR2,Rsに初期ア
ドレス番号Oをセット口、カッ、レジスタR4にアドレ
ス指定の循環領域における最鼾アドレス番号をセットし
、レジスタR5にn−1をセットすると共に、カウンタ
C1,C2をリセットしてから第1周期の動作を開始さ
せる。The figure is a functional block diagram, and if addressing is to be performed in cycles n for a memory device having the nth address, an increment of 1 for the address number is set in register R1, and register R2 is , Set the initial address number O to Rs, set the highest address number in the addressing circulation area to register R4, set n-1 to register R5, and reset counters C1 and C2. The first period of operation is started.
すると、レジスタR3の初期アドレス番号が加算器AD
DにおいてレジスタR1の増分と加算され、つぎのアド
レス番号となってから、セレクタSELを介してレジス
タR3へ与えられ、これの内容が更新されると共に、こ
の動作を反復するため、レジスタR3からの出力OUT
には、逐次増分によって増加するアドレス番号が得られ
る。Then, the initial address number of register R3 is
At D, it is added to the increment in register R1 to obtain the next address number, which is then given to register R3 via selector SEL, and its contents are updated.In order to repeat this operation, the increment from register R3 is added. Output OUT
gives an address number that increases by successive increments.
また、カウンタC2は、レジスタR3の内容が更新され
る度毎に一つづ\インクリメントされ、これの内容がn
−1と等しくなれば、比較器COMP2が一致出力を送
出して制御回路C0NT2を動作させ、図上省略した径
路によシカウンタC1を一つづ\インクリメントすると
共に、セレクタSELの入力を加算器ADDからカウン
タC1の出力へ切替えるため、レジスタR3の内容はカ
ウンタC1の内容によシ更新される。Further, the counter C2 is incremented by one each time the contents of the register R3 are updated, and the counter C2 is incremented by one each time the contents of the register R3 are updated.
-1, the comparator COMP2 sends out a coincidence output to operate the control circuit C0NT2, incrementing the counter C1 by one via a path not shown in the figure, and inputting the input of the selector SEL from the adder ADD. In order to switch to the output of counter C1, the contents of register R3 are updated by the contents of counter C1.
なお、セレクタSELは、カウンタC1の内容によシレ
ジスタR3の内容が更新された直後に、再び加算器AD
Dの出力を選択する。Note that, immediately after the contents of the register R3 are updated by the contents of the counter C1, the selector SEL selects the adder AD again.
Select the output of D.
このため、第2周期における最初のアドレス番号を示す
カウンタC1の内容がレジスタR3へ与えられた後、こ
れを基準として増分との加算が反復され、上述と同様、
逐次増加するアドレス番号が送出される。Therefore, after the contents of the counter C1 indicating the first address number in the second period are given to the register R3, addition with increments is repeated using this as a reference, and as described above,
Sequentially increasing address numbers are sent.
また、カウンタC2の内容がレジスタR5の内容表等し
くなる前に、すなわち周期の中間においてレジスタR3
の内容がn−1となシ、レジスタR4の最終アドレス番
号に等しくなれば、比較器COMP1が一致出力を生じ
て制御回路C0NTsを動作させ、セレクタSELの入
力を加算器ADDからレジスタR2の出力へ切替えるた
め、レジスタR3の内容は、レジスタR2の初期アドレ
ス番号0にょ力更新される。Also, before the contents of counter C2 become equal to the contents table of register R5, that is, in the middle of the period, register R3
If the content of is equal to n-1 and is equal to the final address number of register R4, comparator COMP1 generates a match output, operates control circuit C0NTs, and transfers the input of selector SEL from adder ADD to the output of register R2. , the contents of register R3 are updated to the initial address number 0 of register R2.
なお、セレクタSELは、レジスタR2の内容によシレ
ジースタR3の内容が更新された直後に、再び加算器A
DDの出力を選択するため、初期アドレス番号を基準と
して増分との加算が反復され、この結果がレジスタR3
から送出される。Note that, immediately after the contents of the register R3 are updated by the contents of the register R2, the selector SEL selects the adder A again.
To select the output of DD, addition with the increment is repeated based on the initial address number, and the result is stored in register R3.
Sent from
したがって、以上の動作を反復することにより各周期の
循環するアドレス番号が発生され、このアドレス番号は
第2表に示す線形予測符号化用のものとなる。Therefore, by repeating the above operations, a circulating address number for each cycle is generated, and this address number is used for linear predictive coding as shown in Table 2.
第2表
すなわち、カウンタC1の内容がOの第1周期において
は、カウンタC2の内容とアドレス番号とが一致するも
のとなるが、カウンタC1の内容が1の第2周期におい
ては、カウンタC2の内容に対し、開始アドレス番号が
1となシ、かつ、終了アドレス番号が0となシ、カウン
タC1の内容によって示される循環周期が歩進する度毎
に、各周期の開始アドレス番号が一つづ\増大し、これ
を基準として各周期におけるアドレス番号の増加が行な
われる。Table 2: In the first period when the contents of counter C1 is O, the contents of counter C2 match the address number, but in the second period when the contents of counter C1 is 1, the contents of counter C2 match. If the start address number is 1 and the end address number is 0, the start address number of each cycle is incremented by one each time the cycle period indicated by the contents of counter C1 increments. \increase, and the address number is increased in each cycle using this as a reference.
しかし、第3図の構成による場合には、アドレス番号が
最終アドレス番号と々る度毎に、比較器COMP1およ
び制御回路C0NTtによるセレクタSELの制御を必
要とし、回路規模が大と々る欠点を生ずる。However, in the case of the configuration shown in FIG. 3, it is necessary to control the selector SEL by the comparator COMP1 and the control circuit C0NTt every time the address number reaches the final address number, which has the drawback of increasing the circuit scale. arise.
なお、前述の制御をソフトウェアによシ行なえば、回路
規模は小となるが、条件ジャンプ命令等に多くのプログ
ラム社ツブを要し、これの実行に要する所要時間が大と
なシ、高速により線形予測符号化を行なうことが不可能
となる欠点を生ずる。Note that if the above control is performed by software, the circuit scale will be small, but conditional jump instructions etc. will require a lot of programming time, and the time required to execute them will be large. This results in a drawback that it is impossible to perform linear predictive coding.
本発明は、従来のか\る欠点に鑑みてなされたものでs
b、簡単な演算によって必要とするアドレス番号を発生
するアドレス制御方法を提供することを第1および第2
の目的とし、簡単な構成の回路のアドレス番号を発生す
るアドレス制御装置を提供することを第3の目的とする
本のである。The present invention was made in view of the drawbacks of the conventional art.
b. The first and second aspects are to provide an address control method that generates a required address number through simple calculations.
This is a book whose third purpose is to provide an address control device that generates address numbers for circuits with a simple configuration.
第4図は、本発明の原理を示す図であシ、同図ム門
(、)のとおシ、全記憶領域数m = 2 を有す
る装置MMにおける記憶領域数n=21−1の記憶領域
MEに対し、アドレス制御回路ADCからのHビットか
らなるアドレス信号bO〜bI(−1によりアドレス指
定を行なう場合、記憶領域数m=2”−”を有する記憶
領域MEの最小アドレス番号をAO1最大アドレス番号
をAyl−1(たソしn−2)とすれば、同図(b)に
よシ示されるとおり、アドレス番号An−1を一つ増加
させれば、アドレス番号はAn とならず自ずからAO
となシ、アドレス番号を逐次増加させれば、アドレス番
号は周期nによシ循環するものとなる。FIG. 4 is a diagram illustrating the principle of the present invention. As shown in FIG. When specifying an address using address signals bO to bI (-1) consisting of H bits from the address control circuit ADC to the ME, the minimum address number of the storage area ME having the number of storage areas m=2"-" is set to AO1 maximum. If the address number is Ayl-1 (Tasoshi n-2), as shown in Figure (b), if address number An-1 is increased by one, the address number will not become An. Naturally AO
In other words, if the address number is increased sequentially, the address number will rotate at a cycle n.
なお、増加量の如何にか\わらず、アドレス番号の循環
は同様となる。Incidentally, regardless of the amount of increase, the circulation of address numbers remains the same.
第5図は、第4図(b)の記憶領域MEK、おけるアド
レス番号の循環を直線的に展開して示す図であシ、(a
)は循環が加算によシ行なわれる場合、(b)は循環が
減算によシ行なわれる場合を示し、記憶領域の最小アド
レス番号がAo、最大アドレス番号がAn−1,前アド
レス番号がDo (たソしAO=−〇≦An−1)、
演算によって求める現在のアドレス番号がDlまたは
D2(だドしA O(D 1 <An−、。FIG. 5 is a diagram showing a linear expansion of the circulation of address numbers in the storage area MEK of FIG. 4(b).
) shows a case in which circulation is performed by addition, and (b) shows a case in which circulation is performed by subtraction, where the minimum address number of the storage area is Ao, the maximum address number is An-1, and the previous address number is Do. (Tasoshi AO=-〇≦An-1),
If the current address number obtained by the calculation is Dl or D2 (D AO(D 1 <An-,.
またはAo(D2(AH−x)、増加量が11(た譬し
11>An−1−1)o )、減少量がI2 (たソし
I2 〉DO−Ao) と表つてお!D、(、)にお
いては、前アドレス番号1)oへ増加量11を加えれば
DO+11となシ、これが現在のアドレス番号Dlとな
るが、 増加量11には、前アドレス番号DOと最大ア
ドレス番号An−t との差An−1−DOおよび、記
憶領域を1循するためによって生ずる最大アドレス番号
An−1と最小アドレス番号AOとの差An−f−AO
が含まれていることによ、!l’ 、D O+I 1と
これの直前における最大アドレス番号Al−tとQ試1
l−(AH−x−AO) −(An −1−Do )と
なッテイル。Or Ao(D2(AH-x), the amount of increase is 11 (parable 11>An-1-1)o), and the amount of decrease is I2 (Tax I2>DO-Ao)! In D, (,), if you add the increment amount 11 to the previous address number 1)o, you get DO+11, which becomes the current address number Dl, but the increment amount 11 includes the previous address number DO and the maximum address number. The difference An-1-DO from An-t and the difference An-f-AO between the maximum address number An-1 and the minimum address number AO caused by going through the storage area once.
It's great that it's included! l', DO+I 1 and the maximum address number Al-t immediately before this and Q test 1
l-(AH-x-AO)-(An-1-Do).
このため、最小アドレス番号Aoと現在のアドレス番号
Diとの差もI 1−(An−1−Ao)−(An−t
−1)−o )となシ、現在のアドレス番号D1には
この差が最小アドレス番号AOに加えられるものとなる
ことによシ、循環回数をk(た’Nl、に一Ω、1.2
・・・)とすれば、一般的に次式が成立する。Therefore, the difference between the minimum address number Ao and the current address number Di is also I1-(An-1-Ao)-(An-t
-1)-o) and the current address number D1 is such that this difference is added to the minimum address number AO, so that the number of cycles is k(t'Nl, 1Ω, 1. 2
), then the following formula generally holds true.
DI=AO+[I 1−k(An−1−AO)−(An
−1−DO)]・・・・@−・ (4)
また、(b)においては、前アドレス番号DO/−5減
少量■2を加えればDO+I2となり、これが現在のア
ドレス番号D2となるが、減少量I2には、前アドレス
番号DOと最小アドレス番号との差、DO−A aおよ
び、記憶領域を1循理することによって生ずる最大アド
レス番号An−1と最小アドレス番号AOとの差An−
1−AOが含まれており、])o+I2とこれの直後に
おける最大アドレス番号An−1との差は、I2−(A
n−1−AD)−(Do−Ao)となる。DI=AO+[I 1-k(An-1-AO)-(An
-1-DO)]...@-. (4) Also, in (b), if you add the previous address number DO/-5 decrease ■2, it becomes DO+I2, which becomes the current address number D2. , the decrease amount I2 includes the difference between the previous address number DO and the minimum address number, DO-Aa, and the difference An between the maximum address number An-1 and the minimum address number AO, which is generated by one cycle of the storage area. −
1-AO is included, and the difference between ])o+I2 and the maximum address number An-1 immediately after this is I2-(A
n-1-AD)-(Do-Ao).
このため、最大アドレス番号An−1と現在のアドレス
番号D2との差もI2−(An−1−Ao)−(DO−
AO)となシ、現在のアドレス番号D2はこの差を最大
アドレス番号から減じたものとなることによシ、循環回
数をk(たソしに=0.1.2・・・)とすれば、一般
的に次式が成立する。Therefore, the difference between the maximum address number An-1 and the current address number D2 is also I2-(An-1-Ao)-(DO-
AO), the current address number D2 is the difference obtained by subtracting this difference from the maximum address number, so the number of cycles is set to k (=0.1.2...). For example, the following formula generally holds.
1)241−1−(I2−k(An−1−Ao)−(1
)o−AO))1]e・・・(5)
したがって、(4)式または(5)式の演算を演算回路
またはソフトウェアにより実現すれば、現在のアドレス
番号D1またはp2を逐次求めることができ。1) 241-1-(I2-k(An-1-Ao)-(1
)o-AO))1]e...(5) Therefore, if the calculation of equation (4) or equation (5) is realized by an arithmetic circuit or software, the current address number D1 or p2 can be sequentially obtained. I can do it.
る。Ru.
第6図は、第5図において示される思想を導入したアド
レス制御装置の機能的なブロック図であシ、第1のレジ
スレR11が設けられ、これの出力が加算器ADDの一
方の入力へ与えられており、これの出力は論理積回路計
りの一方の入力へ与えられていると共に、同回路MΦの
出力はセレクタSELの一方の入力を介して第2のレジ
スタR13へ与えられている。FIG. 6 is a functional block diagram of an address control device incorporating the idea shown in FIG. The output of this circuit is applied to one input of the AND circuit counter, and the output of the same circuit MΦ is applied to the second register R13 via one input of the selector SEL.
また、レジスタR1aの出力は出力OUTへ送出される
と共に、加算器ADDの他方の入力へ与えられておシ、
論理積回路にΦの他方の入力には第3のレジスタR12
の出力が与えられ、これらによシ基本的な回路が構成さ
れている。Further, the output of the register R1a is sent to the output OUT, and is also given to the other input of the adder ADD.
The other input of Φ to the AND circuit is a third register R12.
The basic circuit is constructed from these outputs.
なお、セレクタSELの他方の入力には第1のカウンタ
C1の出力が与えられている一方、第4のレジスタR1
4と第2のカウンタC2とが設けられ、これらの出力が
比較器COMPの内入力へ与えられており、内入力の一
致により比較器COMPが一致出力を生じ、これによっ
て制御回路C0NTを動作させ、セレクタSELに論理
積回路ANDからカウンタC1の出力への切替えを行な
わせるものとなっている。Note that the output of the first counter C1 is given to the other input of the selector SEL, while the output of the fourth register R1
4 and a second counter C2 are provided, and their outputs are given to the inner inputs of a comparator COMP, and when the inner inputs match, the comparator COMP produces a match output, thereby operating the control circuit C0NT. , the selector SEL switches from the AND circuit AND to the output of the counter C1.
こ\において、線形予測符号化に必要な周期nによシ循
環するアドレス番号を出力OUTから得るには、レジス
タR11に増加量■1または減少量I2に相当する増分
1をセットし、レジスタR1zに循環周期n(た’:
L n = 21−1)を示す下位の■ビットがすべて
11′′であシ他は10′のデータをセラかつ
トレメtジスタR13に初期アドレス番号Oをセット口
、レジスタR14に最大アドレス番号n−1を示すデー
タをセットすると共に、カウンタC1、C2をリセット
してから第1周期の動作を開始させる。In this case, in order to obtain from the output OUT an address number that circulates every period n necessary for linear predictive encoding, set an increment of 1 corresponding to the increase amount 1 or the decrease amount I2 in the register R11, and set the register R1z has a circulation period n(ta':
L n = 21-1), the lower bits are all 11'', the rest is 10' data, the initial address number O is set in register R13, and the maximum address number n is set in register R14. After setting data indicating -1 and resetting the counters C1 and C2, the first period of operation is started.
すると、レジスタR13の内容は前アドレス番号Do
として加算器ADDによシ増加量が加算され、DO+
11またはDO+I2 に相当する本のとなったうえ
、論理積回路ANDによシ下位のX′1“を示す各ビッ
トとの論理積が取られ、現在のアドレス番号D1まだは
D2 となってからセレクタSELを介してレジスタ
R13へ与えられ、これの内容を更新した後、出力OU
Tから現在のアドレス番号D1iたはD2として送出さ
れる。Then, the contents of register R13 are the previous address number Do.
The increment amount is added to the adder ADD as DO+
11 or DO+I2, and the logical product circuit AND takes the logical product with each bit indicating the lower X'1'', and the current address number D1 becomes D2. After updating the contents of the register R13 via the selector SEL, the output OU
It is sent from T as the current address number D1i or D2.
また、カウンタC2は、レジスタR13の内容が更新さ
れる度毎に一つづ\インクリメントされ、これの内容が
レジスタR14の内容と等しくなれば、比較器COMP
が一致出力を送出して制御回路C0NTを動作させ、図
上省略した径路によシカウンタC1を一つづ\インクリ
メントすると共に、セレクタSELを制御してカウンタ
C1の出力を選択させる。Further, the counter C2 is incremented by one each time the contents of the register R13 are updated, and when the contents of the counter C2 become equal to the contents of the register R14, the comparator COMP
sends out a coincidence output to operate the control circuit C0NT, incrementing the counter C1 one by one through a path not shown in the figure, and controlling the selector SEL to select the output of the counter C1.
このため、レジスタR13の内容はカウンタCsの内容
によシ更新され、これが第2周期における開始アドレス
番号となる。Therefore, the contents of register R13 are updated by the contents of counter Cs, and this becomes the starting address number in the second cycle.
たソし、セレクタSELは、カウンタC1の内容によシ
レジスタR13の内容が更新された直後、再び論理積回
路ANDの出力を選択するた検、開始アドレス番号を基
準とした加算が加算器ADDにおいて行なわれ、逐次増
加する現在のアドレス番号が送出され、以上の動作を反
復する。However, immediately after the contents of the register R13 are updated according to the contents of the counter C1, the selector SEL selects the output of the AND circuit AND again. The current address number is sequentially increased and the above operation is repeated.
なお、第6図においては、加算器ADDの出力を論理積
回路ANDを通過させ、レジスタR12の内容との論理
積を取ることによシ下位からIビット目の桁上げが無視
され、自動的に最小アドレス番号0がレジスタR13へ
与えられる。In addition, in FIG. 6, by passing the output of the adder ADD through the AND circuit AND and taking the AND with the contents of the register R12, the carry of the I-th bit from the lower order is ignored and automatically executed. , the minimum address number 0 is given to register R13.
したがって、第3図において必要としたレジスタR4、
比較器C0MPt、制御回路C0NTtおよびレジスタ
R2等が不要となシ、簡単な構成によシ、第2表に示す
線形予測符号化用のアドレス番号を高速に発生すること
ができる。Therefore, the register R4 required in FIG.
The comparator C0MPt, control circuit C0NTt, register R2, etc. are not required, and the address numbers for linear predictive encoding shown in Table 2 can be generated at high speed with a simple configuration.
また、(4)式または(5)式を用いれば、簡単な演算
によシ線形予測符号化用のアドレス番号を得ることがで
きるため、演算所要時間が短縮され、高速に必要とする
アドレス番号を発生させることができる。In addition, by using equation (4) or (5), it is possible to obtain the address number for linear predictive coding through simple calculations, so the calculation time is shortened and the required address number can be obtained quickly. can be generated.
た譬し、第6図において、線形予測符号化を1回のみ行
なう場合は、セレクタSELを削除してもよく、これに
応じてレジスタR14、カウンタC1゜C2、比較器C
OMPおよび制御回路C0NTを削除することができる
。For example, in FIG. 6, if linear predictive coding is performed only once, the selector SEL may be deleted, and the register R14, counter C1°C2, and comparator C
OMP and control circuit C0NT can be deleted.
以上の説明によシ明らかなとおシ本発明によれば、デー
タを周期的に反復して使用する信号処理を行なう場合、
プログラムのステップ数が減少し高速処理が実現する一
方、制御装置の回路規模が縮小され、集積回路化に際し
てチップ面積が小となシ、各種のディジタル式信号処理
装置において顕著な効果が得られる。As is clear from the above description, according to the present invention, when performing signal processing that uses data periodically and repeatedly,
While the number of program steps is reduced and high-speed processing is realized, the circuit scale of the control device is reduced, and the chip area is reduced when integrated circuits are integrated, resulting in significant effects in various digital signal processing devices.
第1図は従来のアドレス制御方法の原理図、第2図は線
形予測符号化における信号の流れ図、第3図は従来のア
ドレス制御装置を示す機能的なブロック図、第4図は本
発明の原理図、第5図はアドレス番号の循環を直線的に
展開して示す図、第6図は本発明の実施例を示すアドレ
ス制御装置の機能的なブロック図である。
MM・・・・メモリ装置、ME・・4・・記憶領域、A
O・・・曇最小アドレス、Ah−】 ・・・・最大ア
ドレス、R11〜R1a・・・・レジスタ、ADD・・
・・加算器、AND−・・・論理積回路。
特許出願人 日本電信電話公社
代理人 山 川 政 樹
第1図
第2図
第3図
10[
LJT
第5図
(0)
(bl
第6図
UTFig. 1 is a principle diagram of a conventional address control method, Fig. 2 is a signal flow diagram in linear predictive coding, Fig. 3 is a functional block diagram showing a conventional address control device, and Fig. 4 is a diagram of the present invention. FIG. 5 is a diagram illustrating the cycle of address numbers developed linearly, and FIG. 6 is a functional block diagram of an address control device showing an embodiment of the present invention. MM...Memory device, ME...4...Storage area, A
O...Minimum address, Ah-]...Maximum address, R11 to R1a...Register, ADD...
... Adder, AND-... Logical product circuit. Patent Applicant Masaki Yamakawa Agent, Nippon Telegraph and Telephone Public Corporation Figure 1 Figure 2 Figure 3 Figure 10 [LJT Figure 5 (0) (bl Figure 6 UT
Claims (3)
領域を使用するアドレス制御方法において、前記々憶領
敢におけるアドレス番号中の最小アドレス番号をAO1
最大アドレス番号をAn−tとし、かつ前アドレス番号
をDo(た’f、 L A o≦Do≦AH−t)、増
加量をIs(たソしIt)An−t→0)としたとき、
現在のアドレス番号DI(た讐しAo(Dl(An−t
)を D 1=AO+(ll−k(An−1−A(+)−(A
n−t−Do)) (たソしに=o、1.2・・・) によって求めることを特徴とするアドレス制御方法。(1) In an address control method in which the storage area of a memory device is used by specifying an address number, the minimum address number among the address numbers in the memory storage is set to AO1.
When the maximum address number is An-t, the previous address number is Do (Ta'f, L A o ≦ Do ≦ AH-t), and the amount of increase is Is (Tasoshi It) An-t → 0). ,
Current address number DI(Ao(Dl(An-t)
) to D 1=AO+(ll-k(An-1-A(+)-(A
nt-Do)) (Tasoshini=o, 1.2...).
領域セーするアドレス制御方法において、前記々憶領域
におけるアト・レス番号中の雇小アドレス番号を八〇、
最大アドレス番号をAn−1とし、かつ、前アドレス番
号をDo(た’fLAo≦DO≦Ar1−1 )、減少
量をI2(たソしI2>DO−Ao)としたとき、現在
のアドレス番号D2(たソしA O<D 2(An−1
)をDz==An−t−(Iz−k(An−t−Ao)
−(Do−Ao) (たyしに=o、1.2、・・・
) によって求めることを特徴とするアドレス制御方法。(2) In an address control method for saving a storage area of a memory device by specifying an address number, the address number among the address numbers in the storage area is set to 80,
When the maximum address number is An-1, the previous address number is Do (fLAo≦DO≦Ar1-1), and the amount of decrease is I2 (I2>DO-Ao), the current address number is D2(Tasoshi A O<D 2(An-1
) as Dz==An-t-(Iz-k(An-t-Ao)
-(Do-Ao) (Tay = o, 1.2,...
).
タの出力が一方の入力へ与えられる加算器と、該加算器
の出力が一方の入力へ与えられかつ前記第2のレジスタ
の出力が他方の入力へ与えられる論理積回路と、該論理
積回路の出力が与えられかつ自己の出力を前記加算器の
他方の入力へ与える第3のレジスタとを備えたことを特
徴とするアドレス制御装置。(3) first and second registers, an adder to which the output of the first register is applied to one input, and an output of the adder to which the output of the adder is applied to one input, and an output of the second register; Address control characterized by comprising: an AND circuit to which is given to the other input; and a third register to which the output of the AND circuit is given and which gives its own output to the other input of the adder. Device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17499882A JPS5965377A (en) | 1982-10-05 | 1982-10-05 | Method and device for address control |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17499882A JPS5965377A (en) | 1982-10-05 | 1982-10-05 | Method and device for address control |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5965377A true JPS5965377A (en) | 1984-04-13 |
Family
ID=15988424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17499882A Pending JPS5965377A (en) | 1982-10-05 | 1982-10-05 | Method and device for address control |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5965377A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6160133A (en) * | 1984-08-15 | 1986-03-27 | テクトロニツクス・インコーポレイテツド | Address calculator |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS52135629A (en) * | 1976-05-08 | 1977-11-12 | Toshiba Corp | Address computing unit |
-
1982
- 1982-10-05 JP JP17499882A patent/JPS5965377A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS52135629A (en) * | 1976-05-08 | 1977-11-12 | Toshiba Corp | Address computing unit |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6160133A (en) * | 1984-08-15 | 1986-03-27 | テクトロニツクス・インコーポレイテツド | Address calculator |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5005118A (en) | Method and apparatus for modifying micro-instructions using a macro-instruction pipeline | |
US4539635A (en) | Pipelined digital processor arranged for conditional operation | |
JPH10341167A (en) | Variable length code decoding circuit | |
JPH0651943A (en) | Decoding circuit for variable length code | |
HK85794A (en) | Device for the processing of the viterbi algorithm comprising a processor and a specialized unit | |
US4270184A (en) | Microprocessor-based programmable logic controller | |
US4598358A (en) | Pipelined digital signal processor using a common data and control bus | |
JPH03501540A (en) | Data processing system and storage program controller | |
US5185870A (en) | System to determine if modification of first macroinstruction to execute in fewer clock cycles | |
JPS5965377A (en) | Method and device for address control | |
US4812970A (en) | Microprogram control system | |
EP0162928B1 (en) | Microprogram control method | |
KR100382018B1 (en) | Processor device | |
US5991340A (en) | Method and system for encoding and decoding data using run prediction | |
JPH0844773A (en) | Automatic high-level composing method | |
US4893184A (en) | Arrangement for DPCM-coding with high data rate | |
US5146479A (en) | Up/down counter for counting binary data stored in flip flops | |
JPH11103257A (en) | Arithmetic encoding/decoding device | |
JP2675010B2 (en) | Information processing device | |
US6005502A (en) | Method for reducing the number of bits needed for the representation of constant values in a data processing device | |
JPH05298088A (en) | Microcomputer | |
Daalder et al. | High-level synthesis optimisation with genetic algorithms | |
JP3409139B2 (en) | Variable length code decoder | |
JPH04421B2 (en) | ||
JPS63165922A (en) | Input/output timing generator for subscreen |