JP3326617B2 - Accumulator circuit - Google Patents
Accumulator circuitInfo
- Publication number
- JP3326617B2 JP3326617B2 JP26613891A JP26613891A JP3326617B2 JP 3326617 B2 JP3326617 B2 JP 3326617B2 JP 26613891 A JP26613891 A JP 26613891A JP 26613891 A JP26613891 A JP 26613891A JP 3326617 B2 JP3326617 B2 JP 3326617B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- output
- bit
- adder
- 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.)
- Expired - Fee Related
Links
Landscapes
- Complex Calculations (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は、高品位テレビジョン
受像機のフレーム差分検出回路などに適用して好適なア
キュムレータ回路、特にその累積処理時間を短縮できる
ようにしたアキュムレータ回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an accumulator circuit suitable for use in a frame difference detection circuit of a high-definition television receiver and the like, and more particularly to an accumulator circuit capable of shortening the accumulated processing time.
【0002】[0002]
【従来の技術】MUSE方式などを採用した高品位テレ
ビジョン受像機では、映像が動画像か静止画像かによっ
て動きベクトル補償回路の補償動作が相違するため、動
画像か否かを判別するため、図6に示すようなフレーム
差分検出回路10を使用する場合がある。2. Description of the Related Art In a high-definition television receiver adopting the MUSE system or the like, the compensation operation of a motion vector compensation circuit differs depending on whether a video is a moving image or a still image. In some cases, a frame difference detection circuit 10 as shown in FIG. 6 is used.
【0003】同図に示すフレーム差分検出回路10にお
いて、端子11には入力映像信号のうち特に輝度信号が
供給され、これがフレーム遅延回路12において1フレ
ームだけ遅延されると共に、減算器13においてこの1
フレーム遅延輝度信号が現輝度信号から減算されて、フ
レーム差信号が検出される。フレーム差信号はさらに絶
対値検出回路14でその絶対値が検出され、これがさら
にアキュムレータ回路20に供給されて、所定時間内で
累積される。[0003] In a frame difference detection circuit 10 shown in FIG. 1, a luminance signal of an input video signal is supplied to a terminal 11, which is delayed by one frame in a frame delay circuit 12.
The frame delay luminance signal is subtracted from the current luminance signal, and a frame difference signal is detected. The absolute value of the frame difference signal is further detected by an absolute value detection circuit 14, which is further supplied to an accumulator circuit 20 and accumulated within a predetermined time.
【0004】端子16より出力されたこのフレーム差分
検出出力(累積出力)が所定値以上のときには動画像と
みなし、所定値以下のときには静止画像とみなして後段
に設けられた動き補償回路での補償処理動作が所望のご
とく制御される。When the frame difference detection output (cumulative output) output from the terminal 16 is equal to or more than a predetermined value, it is regarded as a moving image. Processing operations are controlled as desired.
【0005】このようなフレーム差検出処理に使用され
るアキュムレータ回路20としては、図7に示すような
回路構成のものが使用される場合がある。同図は最もポ
ピュラな回路構成を示すものであって、高速処理が可能
な加算器21と、その加算出力をメモリするメモリ(本
例ではRAM)22とアンド回路23とを有する。加算
器21はnビットの2入力加算器構成であって、端子2
0aに供給されたディジタル入力信号とアンド回路23
の出力が夫々入力され、両者の加算結果である(n+
k)ビット(kは整数)の加算出力がRAM22にメモ
リされる。RAM22より読み出された加算出力は出力
端子20bに出力されると共に、アンド回路23に入力
する。このアンド回路23にはさらに端子24よりクリ
ア信号が供給され、アキュムレータの初期状態がセット
される。As an accumulator circuit 20 used for such a frame difference detection process, there is a case where a circuit configuration as shown in FIG. 7 is used. FIG. 1 shows the most popular circuit configuration, which includes an adder 21 capable of high-speed processing, a memory (RAM in this example) 22 for storing the added output, and an AND circuit 23. The adder 21 has an n-bit 2-input adder configuration, and has a terminal 2
0a and the AND circuit 23
Are input, and the result of addition of the two (n +
The added output of k) bits (k is an integer) is stored in the RAM 22. The addition output read from the RAM 22 is output to the output terminal 20b and is input to the AND circuit 23. A clear signal is further supplied to the AND circuit 23 from a terminal 24, and the initial state of the accumulator is set.
【0006】[0006]
【発明が解決しようとする課題】ところで、このように
構成されたアキュムレータ回路では、RAM22に格納
された加算結果そのものを入力側に戻して入力信号と再
び加算してその累積結果をRAM22にメモリするよう
にしている。そして、加算器21としては比較的語長の
長い加算器を使用している場合が多い。By the way, in the accumulator circuit configured as described above, the addition result itself stored in the RAM 22 is returned to the input side, added again to the input signal, and the accumulated result is stored in the RAM 22. Like that. In many cases, an adder having a relatively long word length is used as the adder 21.
【0007】そのため、累積回数が多くなればなるほ
ど、加算器21での桁上げに伴う遅延時間が増大して動
作速度が低下してしまう。この加算処理時間を短縮する
には加算器21として高速処理が可能な加算器を使用す
るしかない。しかし、高速処理できる加算器は周知のよ
うに回路規模が大きく、高価である。For this reason, as the cumulative number increases, the delay time associated with the carry in the adder 21 increases, and the operating speed decreases. The only way to shorten the addition processing time is to use an adder capable of high-speed processing as the adder 21. However, as is well known, an adder capable of high-speed processing has a large circuit scale and is expensive.
【0008】そこで、この発明はこのような従来の課題
を解決したものであって、高速処理できる加算器を使用
することなく、処理速度を改善できるアキュムレータ回
路を提案するものである。The present invention has been made to solve such a conventional problem, and proposes an accumulator circuit capable of improving the processing speed without using an adder capable of high-speed processing.
【0009】[0009]
【課題を解決するための手段】上述の課題を解決するた
め、この発明においては、nビットの2入力加算器とそ
の加算出力をメモリするメモリとを有するnビットの下
位アキュムレータと、上位ビットの決定回路とで構成さ
れ、nビットで構成されたディジタル入力信号が上記下
位アキュムレータに供給されて、前回の累積出力と加算
処理されてnビットの信号として出力されると共に、上
記入力信号のうちそのMSBと上記加算器より得られる
桁上げ信号が上記上位ビット決定回路に供給されて、両
信号に基づいてそのときの上位ビットk(kは1以上の
整数)が決定され、(n+k)ビットがアキュムレータ
回路より出力されるようにしたことを特徴とするもので
ある。In order to solve the above-mentioned problems, the present invention provides an n-bit lower accumulator having an n-bit two-input adder and a memory for storing the output of the adder, and an n-bit lower accumulator. A digital input signal composed of n bits is supplied to the lower accumulator, added to the previous accumulated output, output as an n-bit signal, and output from the input signal. The MSB and the carry signal obtained from the adder are supplied to the upper bit determination circuit, and the upper bit k (k is an integer of 1 or more) at that time is determined based on both signals, and the (n + k) bits are determined. The signal is output from an accumulator circuit.
【0010】[0010]
【作用】図1において、nビットの入力信号は下位アキ
ュムレータ20AにおいてRAM32よりリードされた
nビットの加算出力信号(に初期化用ゲートを通した信
号)と加算される。加算出力もnビットである。In FIG. 1, an n-bit input signal is added to an n-bit addition output signal (a signal passed through an initialization gate) read from a RAM 32 in a lower accumulator 20A. The addition output is also n bits.
【0011】入力信号の最上位ビットMSBはさらに加
算器31より出力された桁上げ信号と共に上位ビット決
定回路20Bに供給される。上位ビット決定回路20B
では図2に示すように入力信号の正負、そのときの桁上
げ信号の内容(キャリーかボローか)によって増減回路
41での増減処理(RAM42の出力に対する「+1」
処理若しくは「−1」処理)が制御される。The most significant bit MSB of the input signal is supplied to an upper bit decision circuit 20B together with the carry signal output from the adder 31. Upper bit determination circuit 20B
In FIG. 2, as shown in FIG. 2, whether the input signal is positive or negative and the content of the carry signal at that time (carry or borrow), the increase / decrease processing in the increase / decrease circuit 41 (“+1” with respect to the output of the RAM 42)
Process or “−1” process) is controlled.
【0012】つまり、この上位ビット決定回路20Bで
は入力信号が正であるときは加算器31からの桁上げ信
号はキャリーとなる可能性が高いので予め「+1」の計
算をし、下位の加算結果として桁上げ信号が“1”とな
ったときにはその計算値が上位ビットとして使用され
る。同様に、入力信号が負であるときは桁上げ信号はボ
ローとなる可能性が高いのでこのときは予め「−1」の
計算をし、実際に下位の加算結果の桁上げ信号が“1”
となったときはその計算値が上位ビットとして使用され
る。That is, in the upper bit determination circuit 20B, when the input signal is positive, the carry signal from the adder 31 is likely to be a carry, so that "+1" is calculated in advance, and the lower addition result is calculated. When the carry signal becomes "1", the calculated value is used as an upper bit. Similarly, when the input signal is negative, the carry signal is likely to be borrowed. In this case, "-1" is calculated in advance, and the carry signal of the lower addition result is actually "1".
When, the calculated value is used as upper bits.
【0013】このように下位ビットの加算処理とは別個
に上位ビットを計算しておけば、累積回数が増えても、
それに伴って処理時間が増大することはない。As described above, if the upper bits are calculated separately from the lower bit addition processing, even if the cumulative number increases,
Accordingly, the processing time does not increase.
【0014】[0014]
【実施例】続いて、この発明に係るアキュムレータ回路
の一例を上述したフレーム差分検出回路系に適用した場
合につき、図面を参照して詳細に説明する。Next, a case where an example of an accumulator circuit according to the present invention is applied to the above-described frame difference detection circuit system will be described in detail with reference to the drawings.
【0015】図1はこの発明に係るアキュムレータ回路
20の一例を示す系統図であって、下位アキュムレータ
20Aと上位ビット決定回路20Bとで構成される。下
位アキュムレータ20Aは通常の処理速度をもった加算
器31を有し、加算器31には端子20aよりnビット
の入力信号と、前回の加算結果である加算出力(同じく
nビット)とが入力され、両者の加算処理が実行され
る。FIG. 1 is a system diagram showing an example of an accumulator circuit 20 according to the present invention, which comprises a lower accumulator 20A and an upper bit decision circuit 20B. The lower accumulator 20A has an adder 31 having a normal processing speed. The adder 31 receives an n-bit input signal from a terminal 20a and an addition output (n bits also) as a previous addition result. , Are added.
【0016】加算出力はメモリ(本例ではRAM)32
に供給されてこれがメモリされる。メモリ出力であるn
ビットの加算出力は端子20bに加算結果として出力さ
れる他、アンド回路33に供給される。アンド回路33
には加算出力の他に端子24よりクリア信号(CLEARバ
ー)が供給されているので、電源投入時のような初期段
階のあとは加算出力がそのままゲート出力(論理積出
力)となる。ゲートされた加算出力は直前に加算された
結果として上述した加算器31に供給されることにな
る。The addition output is a memory (RAM in this example) 32
And this is stored. N which is the memory output
The bit addition output is output to the terminal 20b as an addition result and is also supplied to the AND circuit 33. AND circuit 33
Since a clear signal (CLEAR bar) is supplied from the terminal 24 in addition to the addition output, the addition output becomes a gate output (logical product output) as it is after an initial stage such as when the power is turned on. The gated addition output is supplied to the above-described adder 31 as a result of the immediately preceding addition.
【0017】上位ビット決定回路20Bは、図のように
本例では増減回路41と、その増減出力をメモリするメ
モリ(本例ではRAM)42と、RAM42をコントロ
ールするための信号を生成する論理回路群(イクスクル
ージブオア回路43とノア回路44)とで構成されてい
る。As shown in the figure, the upper bit decision circuit 20B includes an increase / decrease circuit 41, a memory (RAM in this example) 42 for storing the increase / decrease output, and a logic circuit for generating a signal for controlling the RAM 42. It is composed of a group (an exclusive OR circuit 43 and a NOR circuit 44).
【0018】増減回路41は加算器31での加算結果が
キャリーとなるかボローとなるかを予め入力信号の値に
よって判定し、その判定結果に応じたkビット(kは整
数)の上位ビット(本例では2ビット構成)を出力する
機能を有する。そのため、端子20aに供給された入力
信号のうち、最上位ビットMSBが増減回路41の増減
制御端子に供給され、図2に示すようにMSBが「0」
か「1」かによって、これに入力された前回の上位ビッ
ト信号に「+1」するか「−1」するかが決定される。The increase / decrease circuit 41 determines in advance whether the result of addition in the adder 31 is a carry or a borrow, based on the value of the input signal, and determines the higher-order bits of k bits (k is an integer) according to the result of the determination. (In this example, a 2-bit configuration). Therefore, the most significant bit MSB of the input signal supplied to the terminal 20a is supplied to the increase / decrease control terminal of the increase / decrease circuit 41, and the MSB is “0” as shown in FIG.
Depending on whether it is "1" or not, it is determined whether "+1" or "-1" is given to the previous upper bit signal input thereto.
【0019】増減回路41の出力である上位ビット信号
はメモリとして機能するRAM42に供給され、加算結
果に桁上げがあったとき若しくは入力信号のMSBが
「1」であったときに、上位ビット信号がメモリされ
る。そのため、入力信号のMSBと桁上げ信号とがイク
スクルージブオア回路43に供給され、その排他的論理
和出力がオア回路44を経てRAM42のイネーブル端
子WEに供給される。オア回路44には反転クリア信号
が供給される。The upper bit signal output from the increase / decrease circuit 41 is supplied to a RAM 42 functioning as a memory, and when a carry is added to the addition result or when the MSB of the input signal is "1", the upper bit signal is output. Is stored. Therefore, the MSB of the input signal and the carry signal are supplied to the exclusive OR circuit 43, and the exclusive OR output thereof is supplied to the enable terminal WE of the RAM 42 via the OR circuit 44. The OR circuit 44 is supplied with an inverted clear signal.
【0020】このクリア信号の存在で、初期化のときは
RAM42の書き換えが強制され、同じく初期化された
カウンタの出力である0が書き込まれる。それ以外のと
きは図2にも示すように入力信号のMSBが「1」のと
きか若しくは桁上げ信号が「1」のとき、つまり加算結
果に桁上げがあったときに応じてRAM42がライトイ
ネーブル状態となって、このRAM42に増減回路41
の出力がメモリされる。In the presence of this clear signal, rewriting of the RAM 42 is forced at the time of initialization, and 0, which is the output of the initialized counter, is written. In other cases, as shown in FIG. 2, when the MSB of the input signal is "1" or when the carry signal is "1", that is, when the addition result has a carry, the RAM 42 writes. When the RAM 42 is enabled, the RAM 42
Is stored in memory.
【0021】メモリ出力は上位ビット信号として出力端
子20bに供給されて、(n+k)ビットの加算出力と
なって出力される。上位ビット信号はさらに増減回路4
1に対して前回の上位ビット信号として入力される。加
算器31より得られる桁上げ信号(キャリー信号)は便
宜上、桁下げ信号(ボロー信号)を含むものとする。The memory output is supplied to the output terminal 20b as an upper bit signal, and is output as an (n + k) -bit addition output. Upper bit signal is further increased / decreased by 4
1 is input as the previous upper bit signal. The carry signal (carry signal) obtained from the adder 31 includes a carry signal (borrow signal) for convenience.
【0022】なお、図1において端子26に供給された
ADRSはRAM32、42に対するアドレス信号であ
る。また、増減回路41において、「INI」は初期化
のために使用される端子であって、クリア信号が供給さ
れる。この初期化での処理は、ビット拡張処理であっ
て、図2に示すようにMSBが「0」であるときは「0
0」に、「1」であるときには「11」にそれぞれビッ
ト拡張され、それぞれの値が上位ビット信号としてRA
M42に書き込まれる。In FIG. 1, ADRS supplied to the terminal 26 is an address signal for the RAMs 32 and 42. In addition, in the increase / decrease circuit 41, “INI” is a terminal used for initialization, and is supplied with a clear signal. The process in this initialization is a bit extension process, and when the MSB is “0” as shown in FIG.
When it is “1”, it is bit-extended to “11”, and each value is RA as an upper bit signal.
M42 is written.
【0023】さて、図1の加算動作は図2に整理してあ
る通りであって、入力信号が正(そのMSBが「0」)
であるときには増減回路41では「+1」する処理が行
なわれる。そして、桁上げ信号が「0」であるときには
RAM42への書き込みが禁止されるので、今回の上位
ビット信号は前回の上位ビット信号と同じものとなる。
しかし、桁上げ信号が「1」であるときには、つまりキ
ャリーであるときにはRAM42への書き込みが許可さ
れて、その上位ビット信号が書き込まれると共に、その
新たな上位ビット信号が今回の上位ビット信号として使
用される。The adding operation of FIG. 1 is as arranged in FIG. 2, and the input signal is positive (its MSB is "0").
In the case of, the increase / decrease circuit 41 performs a process of "+1". When the carry signal is "0", writing to the RAM 42 is prohibited, so that the present upper bit signal is the same as the previous upper bit signal.
However, when the carry signal is "1", that is, when it is a carry, writing to the RAM 42 is permitted, the upper bit signal is written, and the new upper bit signal is used as the current upper bit signal. Is done.
【0024】これに対して、入力信号が負(つまりその
MSBが「1」)であるときには、増減回路41では前
回の上位ビット信号に「−1」する処理が行なわれる。
そして桁上げ信号が「0」したがってボローになってい
るときには、「−1」された上位ビット信号がRAM4
2に書き込まれ、その新たな上位ビット信号が今回の上
位ビット信号として用いられる。しかし、桁上げ信号が
「1」であるときには排他的論理和出力が「0」になる
ため、RAM42への書き込み処理は行なわれない。し
たがって、このときには前回の上位ビット信号がそのま
ま今回の上位ビット信号として利用される。On the other hand, when the input signal is negative (that is, its MSB is "1"), the increase / decrease circuit 41 performs a process of "-1" to the previous upper bit signal.
When the carry signal is "0" and therefore borrowed, the upper bit signal which has been "-1" is stored in the RAM4.
2 and the new upper bit signal is used as the current upper bit signal. However, when the carry signal is “1”, the exclusive-OR output becomes “0”, so that the write processing to the RAM 42 is not performed. Therefore, at this time, the previous upper bit signal is used as it is as the current upper bit signal.
【0025】図3はより具体的な加算処理動作の一例を
示すもので、図では4ビット入力(−8から+7までの
正負を含めた16通りの信号)の場合であるときで、 ΣP=F(=−1)+3+7=9 の加算処理例を示してある。RAM32のアドレスとし
ては4チャネル(番地としてP,Q,R,S)分用意さ
れている場合で、図ではP番地が使用されている。加算
動作の初期段階では、増減回路41でビット拡張処理が
行なわれ、その値ががRAM42にメモリされる。次の
サイクルでは「3」が入力されるので、そのときのMS
Bは「0」であるために、増減回路では「+1」する処
理となり、また加算結果はボローとなるので、増減回路
41の出力である上位ビット信号「00」がRAM42
に書き込まれる。次のサイクルでは今度は「7」が入力
されるが、このときの加算結果はキャリーでも、ボロー
でもないので、増減回路41の出力はRAM42には書
き込まれない。したがって、上位ビット信号は前のサイ
クルの上位ビット信号「00」のままになるから、最終
累積結果(加算出力)として「9」が得られる。FIG. 3 shows an example of a more specific addition processing operation. FIG. 3 shows a case of a 4-bit input (16 signals including positive and negative from -8 to +7). An example of the addition process of F (=-1) + 3 + 7 = 9 is shown. In the case where four channels (addresses P, Q, R, and S) are prepared as addresses in the RAM 32, the address P is used in the figure. In the initial stage of the addition operation, a bit expansion process is performed in the increase / decrease circuit 41, and the value is stored in the RAM. In the next cycle, "3" is input, and the MS at that time is input.
Since B is “0”, the increase / decrease circuit performs processing of “+1”, and the addition result becomes a borrow. Therefore, the upper bit signal “00” output from the increase / decrease circuit 41 is stored in the RAM 42.
Is written to. In the next cycle, “7” is input this time. Since the addition result at this time is neither a carry nor a borrow, the output of the increase / decrease circuit 41 is not written to the RAM 42. Therefore, the high-order bit signal remains at the high-order bit signal “00” of the previous cycle, and “9” is obtained as the final accumulated result (addition output).
【0026】図4はこの発明の他の例を示す。同図はR
AM32,42の代わりにレジスタ35,45を使用し
た場合であって、端子26にはアドレス信号の代わりに
所定のクロックCKが供給され、レジスタ45のクロッ
クイネーブル端子CK・Eにはオア回路44より出力さ
れたイネーブル信号がクロック制御信号として供給され
る。このクロック制御信号が得られたときだけ、レジス
タ45の書き換えが行なわれるので、図1と同様な動作
となる。FIG. 4 shows another example of the present invention. The figure shows R
In this case, registers 35 and 45 are used in place of the AMs 32 and 42. A predetermined clock CK is supplied to a terminal 26 instead of an address signal, and an OR circuit 44 supplies a clock enable terminal CK.E of the register 45. The output enable signal is supplied as a clock control signal. Only when this clock control signal is obtained, the register 45 is rewritten, so that the operation is the same as that of FIG.
【0027】図5はこの発明のさらに他の例を示すもの
で、この例は図4の変形例であって上位ビット決定回路
20Bが1個のカウンタ46で置き換えられている。入
力信号のMSBはカウンタ20Bの初期値セット端子に
供給されると共にアップダウン制御端子にも供給され、
イクスクルージブオア回路43の出力がカウントイネー
ブル端子CEに供給される。また、クリア信号がロード
端子LOADに供給されると共に、所定のクロックCK
はクロック入力端子CKに供給される。FIG. 5 shows still another embodiment of the present invention. This embodiment is a modification of FIG. 4, in which the upper bit decision circuit 20B is replaced by one counter 46. The MSB of the input signal is supplied to the initial value set terminal of the counter 20B and also to the up / down control terminal,
The output of the exclusive OR circuit 43 is supplied to the count enable terminal CE. Also, a clear signal is supplied to the load terminal LOAD and a predetermined clock CK
Are supplied to the clock input terminal CK.
【0028】MSBが「0」のときは、加算結果がキャ
リーとなる可能性が高いので、上述したと同じく「+
1」処理を行なうべくカウントアップ処理に制御され
る。MSBが「1」のときには加算結果がボローとなる
可能性が高く、このときはカウントダウンするように制
御される。そして、排他的論理和出力が「1」のときに
は常にカウント動作がなされるように制御され、そのカ
ウント内容そのものが今回の上位ビット信号として利用
される。その他については上述したと同様であるのでそ
の説明は省略する。When the MSB is "0", there is a high possibility that the addition result is a carry.
Control is performed by a count-up process to perform the “1” process. When the MSB is “1”, there is a high possibility that the addition result will be a borrow, and in this case, control is performed so as to count down. When the exclusive OR output is "1", the count operation is controlled so that the count operation is always performed, and the count itself is used as the upper bit signal of this time. Others are the same as those described above, and the description thereof is omitted.
【0029】上述した実施例のうちRAMを使用する場
合にあって、RAMのアクセスタイムなどの理由からさ
らに高速化が必要なときにはRAMの入力部、出力部あ
るいはRAMそのものの内部に高速動作のためのパイプ
ラインレジスタを置くようにしてもよい。In the above-mentioned embodiment, when a RAM is used, and further speed-up is required due to the access time of the RAM, etc., a high-speed operation is performed in the input portion, the output portion or the RAM itself of the RAM. May be placed.
【0030】[0030]
【発明の効果】以上のように、この発明に係るアキュム
レータ回路では桁上げや桁下げ動作を、下位ビットの加
算処理動作とは切り離して行なうようにし、最後に下位
ビットの加算処理出力と桁上げや桁下げに伴う出力を用
いて、最終的な加算出力として利用するようにしたもの
である。As described above, in the accumulator circuit according to the present invention, the carry operation and the carry operation are performed separately from the lower bit addition processing operation, and finally, the lower bit addition processing output and the carry operation are carried out. In this case, the output associated with the carry is used as the final addition output.
【0031】このように切り離して処理する場合には、
加算器の桁上げ処理などに伴う遅延時間の増大や、取り
扱う語長の増加に伴う加算処理時間の増大などがないた
めに、加算器として高速動作の加算器を使用しないで
も、処理時間の短縮を図ることができる。In the case where the processing is performed separately as described above,
Since there is no increase in delay time due to carry processing of the adder or increase in addition processing time due to an increase in the word length to be handled, the processing time can be reduced without using a high-speed adder as an adder. Can be achieved.
【0032】高速処理の加算器などを使用しないため
に、回路規模も小さくなりその分コストダウンを図るこ
とができるなどの特徴を有する。したがって、この発明
では長時間の累積処理を必要とする上述した動きベクト
ル補償回路などに適用して極めて好適である。Since an adder or the like for high-speed processing is not used, the circuit size is reduced and the cost can be reduced accordingly. Therefore, the present invention is extremely suitable for application to the above-described motion vector compensating circuit or the like which requires a long-time accumulation process.
【図1】この発明に係るアキュムレータ回路の一例を示
す系統図である。FIG. 1 is a system diagram showing an example of an accumulator circuit according to the present invention.
【図2】その動作説明に供する処理モードの説明図であ
る。FIG. 2 is an explanatory diagram of a processing mode for explaining the operation.
【図3】その加算処理動作の一例を示すタイミングチャ
ート図である。FIG. 3 is a timing chart showing an example of the addition processing operation.
【図4】この発明の他の例を示す系統図である。FIG. 4 is a system diagram showing another example of the present invention.
【図5】この発明の他の例を示す系統図である。FIG. 5 is a system diagram showing another example of the present invention.
【図6】フレーム差分検出回路の一例を示す系統図であ
る。FIG. 6 is a system diagram illustrating an example of a frame difference detection circuit.
【図7】従来のアキュムレータ回路の一例を示す系統図
である。FIG. 7 is a system diagram showing an example of a conventional accumulator circuit.
10 フレーム差分検出回路 20 アキュムレータ回路 20A 下位アキュムレータ 20B 上位ビット決定回路 31 加算器 32,42 RAM 41 増減回路 DESCRIPTION OF SYMBOLS 10 Frame difference detection circuit 20 Accumulator circuit 20A Lower accumulator 20B Upper bit determination circuit 31 Adder 32,42 RAM 41 Increase / decrease circuit
Claims (1)
をメモリするメモリとを有するnビットの下位アキュム
レータと、上位ビットの決定回路とで構成され、 nビットで構成されたディジタル入力信号が上記下位ア
キュムレータに供給されて、前回の累積出力と加算処理
されてnビットの信号として出力されると共に、 上記入力信号のうちそのMSBと上記加算器より得られ
る桁上げ信号が上記上位ビット決定回路に供給されて、
両信号に基づいてそのときの上位ビットk(kは1以上
の整数)が決定され、(n+k)ビットがアキュムレー
タ回路より出力されるようにしたことを特徴とするアキ
ュムレータ回路。1. An n-bit lower accumulator having an n-bit two-input adder and a memory for storing an added output thereof, and a higher-order bit decision circuit, wherein a digital input signal composed of n bits is provided. It is supplied to the lower accumulator, added to the previous accumulated output, and output as an n-bit signal. The MSB of the input signal and the carry signal obtained from the adder are used as the upper bit decision circuit. Supplied to
An accumulator circuit wherein the upper bit k (k is an integer of 1 or more) at that time is determined based on both signals, and (n + k) bits are output from the accumulator circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26613891A JP3326617B2 (en) | 1991-10-15 | 1991-10-15 | Accumulator circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26613891A JP3326617B2 (en) | 1991-10-15 | 1991-10-15 | Accumulator circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH05108691A JPH05108691A (en) | 1993-04-30 |
JP3326617B2 true JP3326617B2 (en) | 2002-09-24 |
Family
ID=17426846
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26613891A Expired - Fee Related JP3326617B2 (en) | 1991-10-15 | 1991-10-15 | Accumulator circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3326617B2 (en) |
-
1991
- 1991-10-15 JP JP26613891A patent/JP3326617B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH05108691A (en) | 1993-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
USRE41565E1 (en) | Single chip frame buffer and graphics accelerator | |
US5802399A (en) | Data transfer control unit for reducing memory requirements in an information processor by converting bit width of data being transferred between memory and processing parts | |
US5860084A (en) | Method for reading data in a memory cell | |
US5122784A (en) | Method and apparatus for color conversion | |
US5406527A (en) | Partial write transferable multiport memory | |
US5359722A (en) | Method for shortening memory fetch time relative to memory store time and controlling recovery in a DRAM | |
JPH01111279A (en) | Reading/writing memory having multiplex train selection mode | |
JPH03184081A (en) | Video display system | |
JPH059872B2 (en) | ||
JPH0528765A (en) | Memory control circuit | |
JPH0420489B2 (en) | ||
US4868781A (en) | Memory circuit for graphic images | |
US4016409A (en) | Longitudinal parity generator for use with a memory | |
US5021977A (en) | Image data read out system in a digital image processing system | |
JP3326617B2 (en) | Accumulator circuit | |
US4641278A (en) | Memory device with a register interchange function | |
US5487051A (en) | Image processor memory for expediting memory operations | |
US5649172A (en) | Color mixing device using a high speed image register | |
JP2768350B2 (en) | Bitmap data bit building method and graphics controller | |
US5910919A (en) | Circuits, systems and methods for modifying data stored in a memory using logic operations | |
US5701144A (en) | High-speed image register for graphics display | |
USRE33922E (en) | Memory circuit for graphic images | |
US6133860A (en) | Variable length decoder with enhanced routing of data to multiplexers | |
JPH0795269B2 (en) | Instruction code decoding device | |
JP2878714B2 (en) | Serial access memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080712 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090712 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |