JP2001167082A - Synchronous integration circuit - Google Patents

Synchronous integration circuit

Info

Publication number
JP2001167082A
JP2001167082A JP35290199A JP35290199A JP2001167082A JP 2001167082 A JP2001167082 A JP 2001167082A JP 35290199 A JP35290199 A JP 35290199A JP 35290199 A JP35290199 A JP 35290199A JP 2001167082 A JP2001167082 A JP 2001167082A
Authority
JP
Japan
Prior art keywords
memory
clock
output
input
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
JP35290199A
Other languages
Japanese (ja)
Inventor
Shinji Yamasumi
真二 山角
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.)
NEC Engineering Ltd
Original Assignee
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP35290199A priority Critical patent/JP2001167082A/en
Publication of JP2001167082A publication Critical patent/JP2001167082A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a synchronous integration circuit facilitated in time shortening and control without necessity to clear contents in a memory before starting synchronous integration. SOLUTION: This circuit is provided with an adder 8 for adding an external signal entry and a feedback signal inputted to a pair of input terminals and a memory 9 for inputting the added output of this adder 8 to a data input terminal writing the output, reading out this output and feeding it back to the adder 8. The write and read addresses of the memory 9 are available from an address counter 10. Besides, a 2:1 selector 13 is provided on the feedback path.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は同期積算回路、特に
ディジタルマッチドフィルタの相関値出力積算回路に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a synchronous integration circuit, and more particularly to a correlation value output integration circuit of a digital matched filter.

【0002】[0002]

【従来の技術】デジタルデータの演算処理を行う基本回
路の1つに、積算回路がある。斯かる積算回路の従来例
は、例えば特開平2-14634号公報の「スペクトル
拡散通信用拡散コード同期判定回路」および特開平2-
83777号公報等に開示されている。
2. Description of the Related Art One of basic circuits for performing arithmetic processing of digital data is an integrating circuit. A conventional example of such an integrating circuit is disclosed in, for example, "Spread code synchronization determination circuit for spread spectrum communication" in Japanese Patent Application Laid-Open No. 2-14634.
83777 and the like.

【0003】[0003]

【発明が解決しようとする課題】しかし、斯かる従来の
積算回路にあっては、補足タイミング回路および積分回
数制御回路が独立しており、積分器の積算に回数の制御
はあるが、積分の始めと終わりのタイミングが不明であ
る。また、積分動作を開始するために、予めラインメモ
リと呼ぶメモリを「0」で初期化してからデータの読み
出しおよび書き込みを行っていた。更に、積算したデー
タを低速メモリに転送するときは、積算動作を停止し、
アドレス制御を切り替えて低速動作していた。従って、
そこから積算を続けるには、メモリを初期化しなければ
ならず、連続した事象を積算するために空白時間が発生
し、特定の事象にしか有効でなかった。更にまた、積算
結果に桁あふれが生じても救済されないので、結果に誤
りが含まれる虞があった。
However, in such a conventional integration circuit, the supplementary timing circuit and the integration number control circuit are independent, and the integration of the integrator is controlled by the number of integrations. The timing of the beginning and end is unknown. Further, in order to start the integration operation, a memory called a line memory is initialized to "0" in advance, and then data reading and writing are performed. Furthermore, when transferring the integrated data to the low-speed memory, stop the integrating operation,
The address control was switched to operate at low speed. Therefore,
To continue the integration from that point, the memory had to be initialized, and a blank time occurred to accumulate successive events, which was only valid for certain events. Furthermore, even if an overflow occurs in the integration result, the result is not rescued, and thus the result may include an error.

【0004】[0004]

【発明の目的】従って、本発明の目的は、上述した従来
技術の課題を克服乃至軽減する同期積算回路を提供する
ことである。即ち、同期積算を開始する前にメモリ内容
をクリア(初期化)することを必要とせず、時間の短縮
が図れ、しかも桁あふれに起因する誤りを排除可能にす
る同期積算回路を提供することである。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a synchronous integrating circuit which overcomes or alleviates the above-mentioned problems of the prior art. That is, it is not necessary to clear (initialize) the contents of the memory before starting the synchronous integration, and it is possible to shorten the time and to provide a synchronous integration circuit which can eliminate an error caused by overflow. is there.

【0005】[0005]

【課題を解決するための手段】本発明の同期積算回路
は、1対の入力端子に入力される外部信号入力および帰
還信号を加算する加算器と、この加算器の加算出力をデ
ータ入力端子に入力して書き込み、データ出力端子から
読み出したメモリ出力を加算器の帰還信号とするメモリ
と、第1クロックを受け、メモリの書き込みアドレスお
よび読み出しアドレスを生成するアドレスカウンタと、
第1クロックを受け、夫々メモリの書き込みおよび読み
出しを行う第2クロックおよび第3クロックを生成する
クロック分配回路とを備える。
According to the present invention, there is provided a synchronous integrating circuit for adding an external signal input to a pair of input terminals and a feedback signal, and an output of the adder to a data input terminal. A memory for inputting, writing, and reading a memory output from a data output terminal as a feedback signal of an adder; an address counter for receiving a first clock and generating a write address and a read address of the memory;
And a clock distribution circuit that receives the first clock and generates a second clock and a third clock for writing and reading the memory, respectively.

【0006】同期積算回路の好適実施形態例によると、
メモリおよび加算器間の帰還路にメモリから読み出され
たメモリ出力又は「0」を選択する2:1選択器を設け
る。また、アドレスカウンタのキャリービットを受ける
回数カウンタを設け、この回数カウンタの出力により
2:1選択器の切り替えを制御する。この回数カウンタ
は、外部から回数設定信号を受ける。
According to a preferred embodiment of the synchronous integrating circuit,
A 2: 1 selector for selecting a memory output read from the memory or "0" is provided in a feedback path between the memory and the adder. Further, a count counter for receiving the carry bit of the address counter is provided, and switching of the 2: 1 selector is controlled by the output of the count counter. The number counter receives a number setting signal from the outside.

【0007】また、同期積算回路の好適実施形態例によ
ると、アドレスカウンタの出力を受け、第3クロックに
より動作するフリップフロップを設け、上述したメモリ
の書き込みアドレスを得ることを特徴とする。また、第
3クロックは第1クロックより所定時間T1だけ遅延
し、第2クロックは第3クロックより所定時間T2だけ
遅延した同一周期である。
Further, according to a preferred embodiment of the synchronous integrating circuit, a flip-flop which receives an output of the address counter and operates by a third clock is provided to obtain the above-mentioned write address of the memory. Also, the third clock is delayed by a predetermined time T1 from the first clock, and the second clock is the same cycle delayed by a predetermined time T2 from the third clock.

【0008】[0008]

【発明の実施の形態】次に、本発明による同期積算回路
の好適実施形態例の構成および動作を、添付図を参照し
て詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The configuration and operation of a preferred embodiment of a synchronous integration circuit according to the present invention will be described in detail with reference to the accompanying drawings.

【0009】先ず、図1は、本発明による同期積算回路
の好適実施形態例の構成を示すブロック図である。この
特定の同期積算回路は、加算器8、メモリ9、アドレス
カウンタ10、フリップフロップ(F/F)12、2:
1(2入力1出力)選択器13およびクロック分配回路
14より構成される。
FIG. 1 is a block diagram showing the configuration of a preferred embodiment of a synchronous integration circuit according to the present invention. This specific synchronous integrating circuit includes an adder 8, a memory 9, an address counter 10, a flip-flop (F / F) 12, and 2:
It comprises a 1 (2 input 1 output) selector 13 and a clock distribution circuit 14.

【0010】加算器8の一方の入力端子1には外部信号
入力が入力され、他方の入力端子には、2:1選択器1
3の出力が入力される。この加算器8の加算出力は、メ
モリ9のデータ入力端子に入力される。クロック端子3
に入力される第1クロック信号(CLK1)アドレスカ
ウンタ10およびクロック分配回路14に入力される。
クロック分配回路14は、CLK1に基づき第2クロッ
ク信号(CLK2)および第3クロック信号(CLK
3)を生成する。アドレスカウンタ10の出力は、メモ
リ9の読み出しアドレス端子に直接入力されると共にF
/F12を介してメモリ9の書き込みアドレス端子に入
力される。
An external signal input is input to one input terminal 1 of the adder 8, and a 2: 1 selector 1 is input to the other input terminal.
3 is input. The addition output of the adder 8 is input to a data input terminal of the memory 9. Clock terminal 3
1 is input to the address counter 10 and the clock distribution circuit 14.
The clock distribution circuit 14 receives the second clock signal (CLK2) and the third clock signal (CLK
3) is generated. The output of the address counter 10 is directly input to the read address terminal of the memory 9 and F
/ F12 is input to the write address terminal of the memory 9.

【0011】また、F/F12のクロック端子5には、
クロック分配回路14からの第3クロック信号(CLK
3)が入力される。更に、メモリ9の書き込みクロック
端子および読み出しクロック端子には、夫々クロック分
配回路14からの第2クロック信号(CLK2)および
第3クロック信号(CLK3)が入力される。また、メ
モリ9のデータ出力端子2からは、メモリ出力が読み出
され、2:1選択器13の一方の入力端子に入力され、
他方の入力端子には固定値「0」が入力されて本発明の
同期積算回路を完成している。
The clock terminal 5 of the F / F 12 has
The third clock signal (CLK) from the clock distribution circuit 14
3) is input. Further, the second clock signal (CLK2) and the third clock signal (CLK3) from the clock distribution circuit 14 are input to the write clock terminal and the read clock terminal of the memory 9, respectively. A memory output is read from the data output terminal 2 of the memory 9 and input to one input terminal of the 2: 1 selector 13,
A fixed value "0" is input to the other input terminal, thereby completing the synchronous integration circuit of the present invention.

【0012】上述の如く、メモリ9は、2つの入出力手
段を持ち、書き込みおよび読み出しを夫々F/F12お
よびアドレスカウンタ10の出力に応じて実行する。ク
ロック分配回路14は、アドレスカウンタ10を動作さ
せる第1クロック(CLK1)に対して、ある遅延時間
T1を持った第3クロック(CLK3)およびこの第3
クロック(CLK3)からある遅延時間T2を持った第
2クロック(CLK2)を出力するよう構成されてい
る。
As described above, the memory 9 has two input / output means, and executes writing and reading according to the output of the F / F 12 and the address counter 10, respectively. The clock distribution circuit 14 generates a third clock (CLK3) having a certain delay time T1 and a third clock (CLK3) with respect to the first clock (CLK1) for operating the address counter 10.
It is configured to output a second clock (CLK2) having a certain delay time T2 from the clock (CLK3).

【0013】次に、図1に示す本発明の同期積算回路の
動作を説明する。第1のクロック(CLK1)によりア
ドレスカウンタ10は順次計数(カウント動作)し、こ
のアドレスカウンタ10が生成したアドレスにおいて読
み出しクロック端子4Rに入力される第3クロック(C
LK3)により、メモリ9に書き込まれている(記憶さ
れている)デ−タがデータ(メモリ)出力端子2からメ
モリ出力として読み出される。このように読み出された
メモリ出力デ−タは、2:1選択器13を経由し加算器
8の他方の入力端子に入力される。この加算器8は、
2:1選択器13で選択されたメモリ出力データと入力
端子1に入力される外部入力信号とを加算して、メモリ
9のデータ入力端子に入力される。
Next, the operation of the synchronous integration circuit of the present invention shown in FIG. 1 will be described. The address counter 10 sequentially counts (counts) by the first clock (CLK1), and the third clock (C) input to the read clock terminal 4R at the address generated by the address counter 10
LK3), the data written (stored) in the memory 9 is read out from the data (memory) output terminal 2 as a memory output. The memory output data read in this manner is input to the other input terminal of the adder 8 via the 2: 1 selector 13. This adder 8
The memory output data selected by the 2: 1 selector 13 and the external input signal input to the input terminal 1 are added and input to the data input terminal of the memory 9.

【0014】次に、メモリ9は、上述した加算器8から
の加算出力をデータ入力端子に受け、第3クロック(C
LK3)で動作するF/F12の出力による書き込みア
ドレスにおいてメモリ9の書き込みクロック端子4Wに
入力される第2クロック(CLK2)により、メモリ9
に書き込まれる。これにより、メモリ9の書き込みアド
レスには、順次読み出しアドレスのメモリ出力データと
入力端子1に入力される外部信号入力データとが、順次
加算されて書き込まれることとなる。
Next, the memory 9 receives the addition output from the adder 8 at a data input terminal, and outputs the third clock (C
LK3) at the write address based on the output of the F / F 12 and the second clock (CLK2) input to the write clock terminal 4W of the memory 9 at the write address.
Is written to. As a result, the memory output data of the sequential read address and the external signal input data input to the input terminal 1 are sequentially added and written to the write address of the memory 9.

【0015】次に、図2は、本発明による同期積算回路
の第2実施形態例の構成を示すブロック図である。尚、
図1の構成要素と対応する構成要素には、便宜上、同様
の参照符号を使用している。図2に示す同期加算回路
は、加算器8、メモリ9、アドレスカウンタ10、回数
カウンタ11、F/F12、2:1選択器13およびク
ロック分配回路14より構成される。換言すると、図1
の第1実施形態例の同期積算回路に比較して、回数カウ
ンタ11を付加している。
FIG. 2 is a block diagram showing the configuration of a second embodiment of the synchronous integration circuit according to the present invention. still,
The same reference numerals are used for the components corresponding to the components in FIG. 1 for convenience. The synchronous addition circuit shown in FIG. 2 includes an adder 8, a memory 9, an address counter 10, a number counter 11, an F / F 12, a 2: 1 selector 13, and a clock distribution circuit 14. In other words, FIG.
The number of times counter 11 is added as compared with the synchronous integrating circuit of the first embodiment.

【0016】加算器8は、一方の入力端子1に入力され
る外部信号入力と他方の入力端子に入力される2:1
(2入力1出力)選択器13からの出力であるメモリ9
のメモリ出力データを加算し、メモリ9のデータ入力端
子に対して出力する。メモリ9は、使用状況に合わせて
1アドレス当たりのビット数およびアドレス長を予め決
めておき、書き込み動作と読み出し動作が独立して行わ
れる、例えばFIFO(先入れ先出し)メモリである。
アドレスカウンタ10は、メモリ10の全アドレスが走
査できるものであり、メモリ9のアドレス数により決ま
る段数を有する。このアドレスカウンタ10は、クロッ
ク端子5に入力される第1クロック(CLK1)により
動作する。また、クロック分配回路14は、第1クロッ
ク(CLK1)から時間差をおいて分配する、第2クロ
ック(CLK2)および第3クロック(CLK3)を生
成すること上述の場合と同様である。
The adder 8 has an external signal input to one input terminal 1 and a 2: 1 input to the other input terminal.
(2 inputs, 1 output) Memory 9 as output from selector 13
And outputs the result to the data input terminal of the memory 9. The memory 9 is, for example, a FIFO (first-in first-out) memory in which the number of bits per address and the address length are determined in advance in accordance with the use state, and the write operation and the read operation are performed independently.
The address counter 10 can scan all addresses of the memory 10 and has a number of stages determined by the number of addresses of the memory 9. The address counter 10 operates by a first clock (CLK1) input to the clock terminal 5. Further, the clock distribution circuit 14 generates the second clock (CLK2) and the third clock (CLK3) which are distributed with a time difference from the first clock (CLK1), as in the case described above.

【0017】回数カウンタ11は、アドレスカウンタ1
0のキャリービット(CR)が入力され、これをカウン
ト(計数)する。この計数値が端子7から設定入力され
る同期積算回数設定値と等しい場合には、出力信号を
2:1選択器13の選択端子Sに入力し、その入力端子
を通常状態のB端子からA端子に切り替えて、出力端子
Yから夫々選択された信号が出力される。B端子にはメ
モリ9のメモリ出力データが入力され、A端子には全て
のビットに固定値「0」が入力されているので、メモリ
9の内容がメモリ出力端子2からメモリ出力として得ら
れる。また、リセット(RESET)端子6から入力さ
れるリセット信号により、アドレスカウンタ10および
回数カウンタ11をリセットする。
The number counter 11 is an address counter 1
A carry bit (CR) of 0 is input, and this is counted. When this count value is equal to the set value of the number of synchronous integrations set and input from the terminal 7, the output signal is input to the selection terminal S of the 2: 1 selector 13, and the input terminal is changed from the B terminal in the normal state to the A terminal. Switching to the terminal, the selected signal is output from the output terminal Y. Since the memory output data of the memory 9 is input to the B terminal and the fixed value “0” is input to all bits to the A terminal, the contents of the memory 9 are obtained from the memory output terminal 2 as a memory output. Further, the address counter 10 and the number counter 11 are reset by a reset signal input from a reset (RESET) terminal 6.

【0018】F/F12は、アドレスカウンタ10が生
成したアドレス、即ちメモリ9が読み出されるアドレス
を第3クロック(CLK3)でラッチし、メモリ9の書
き込みアドレス端子に入力される。
The F / F 12 latches the address generated by the address counter 10, that is, the address from which the memory 9 is read out, at the third clock (CLK3), and inputs the latched address to the write address terminal of the memory 9.

【0019】次に、図2の同期積算回路の動作を、図3
および図4のタイミングチャートを参照して説明する。
図3は、メモり9の読み出しアドレス、書き込みアドレ
ス、第1乃至第3クロック(CLK1乃至CLK3)お
よび各回路ブロックの出力信号のタイミングを示す。即
ち、図3(a)は、第1クロック信号(CLK1)、
(b)はアドレスカウンタ10からの読み出しアドレ
ス、(c)は第3クロック信号(CLK3)、(d)乃
至(g)は夫々信号MD、信号MD’、外部信号Dおよ
び信号D’、(h)はメモリ9の書き込みアドレスおよ
び(i)は第2クロック信号(CLK2)を示す。ここ
では、メモリ9のアドレスが1乃至1024まで設定さ
れたと仮定する。
Next, the operation of the synchronous integration circuit of FIG.
This will be described with reference to the timing chart of FIG.
FIG. 3 shows the read address and write address of the memory 9, the first to third clocks (CLK1 to CLK3), and the timing of the output signal of each circuit block. That is, FIG. 3A shows the first clock signal (CLK1),
(B) is the read address from the address counter 10, (c) is the third clock signal (CLK3), and (d) to (g) are the signal MD, signal MD ', external signal D and signal D', (h), respectively. ) Indicates the write address of the memory 9 and (i) indicates the second clock signal (CLK2). Here, it is assumed that the addresses of the memory 9 are set from 1 to 1024.

【0020】先ず、図3(a)に示す第1クロック(C
LK1)にて、アドレスカウンタ10が動作して、図3
(b)の読み出しアドレスを生成する。この読み出しア
ドレスを仮に「001」番地とし、メモリ9に与えられ
る。更に、図3(c)に示す第3クロック(CLK3)
が、読み出しクロックとして与えられる。この読み出し
クロック(CLK3)は、読み出しアドレスの変化点か
らT1時間遅れて立ち上がる関係である。メモリ9のデ
−タ出力端子2からメモリ出力信号(以下、「001」
番地のメモリ出力データを「MD001」という)が出
力される。このメモリ出力信号「MD001」は、上述
の如く、2:1選択器13のB入力端子に入力される。
制御(選択入力)端子Sの選択信号入力は、B入力を選
択するように回数カウンタ11から設定されている。従
って、図3(e)に示す如く、出力端子Yからは、信号
「MD’001」が加算器8の他方の入力端子に出力さ
れる。
First, the first clock (C) shown in FIG.
LK1), the address counter 10 operates, and FIG.
The read address of (b) is generated. This read address is temporarily set to the address “001” and is given to the memory 9. Further, a third clock (CLK3) shown in FIG.
Is given as a read clock. This read clock (CLK3) has a relationship of rising with a delay of T1 time from the change point of the read address. A memory output signal (hereinafter, "001") from the data output terminal 2 of the memory 9
The memory output data at the address is referred to as “MD001”. This memory output signal “MD001” is input to the B input terminal of the 2: 1 selector 13 as described above.
The selection signal input of the control (selection input) terminal S is set from the number counter 11 so as to select the B input. Accordingly, as shown in FIG. 3E, the signal “MD′001” is output from the output terminal Y to the other input terminal of the adder 8.

【0021】一方、図3(f)に示す如く、加算器8の
入力端子1への外部入力信号「D001」が第3クロッ
ク(CLK3)に同期して入力される。これは、加算器
8にて2:1選択回路13からの信号MD’で加算演算
した後、図3(g)に示す如く、データ「D’001」
としてメモリ9への書き込みデータ入力信号となる。メ
モリ9への書き込みデータ入力信号「D’001」の書
き込みは、図3(h)に示す如く、アドレスカウンタ1
0で生成した書き込みアドレスを、第3クロックCLK
3)の立ち上がりでF/F12によりラッチしてメモリ
9に与える。ここで、書き込みデータ「D’001」と
書き込みアドレスは、第3クロック(CLK3)に同期
しているので、「001」番目のデータは、書き込みア
ドレス「001」に記憶される準備がされる。次に、図
3(i)に示す如く、第3クロック(CLK3)の立ち
上がりから時間T2だけ遅れ且つ第3クロックと同じ周
期の第2クロック(CLK2)を与えて、このクロック
(CLK2)の立ち上がりタイミングでデータ「D’0
01」をメモリ9に書き込む。
On the other hand, as shown in FIG. 3 (f), an external input signal "D001" is input to the input terminal 1 of the adder 8 in synchronization with the third clock (CLK3). This is because the adder 8 performs an addition operation on the signal MD ′ from the 2: 1 selection circuit 13 and then outputs the data “D′ 001” as shown in FIG.
Becomes a write data input signal to the memory 9. Writing of the write data input signal "D'001" to the memory 9 is performed by the address counter 1 as shown in FIG.
0 generated by the third clock CLK
At the rise of 3), the data is latched by the F / F 12 and given to the memory 9. Here, the write data “D′ 001” and the write address are synchronized with the third clock (CLK3), so that the “001” -th data is prepared to be stored at the write address “001”. Next, as shown in FIG. 3 (i), a second clock (CLK2) delayed by the time T2 from the rising of the third clock (CLK3) and having the same cycle as the third clock is applied, and the rising of the clock (CLK2) is performed. At the timing, the data "D'0
01 ”is written in the memory 9.

【0022】この第2クロック(CLK2)でめもり9
にデータ「D’001」を書き込んでいるとき、図3
(b)の読み出し側のアドレスは、既に1つ進み「00
2」になっており、読み出しアドレス(図3(b)参
照)と書き込みアドレス(図3(h)参照)とが整合又
は一致することはないことに注目されたい。
With this second clock (CLK2),
When data "D'001" is written in
The address on the read side of (b) has already been advanced by one, and is "00".
Note that the read address (see FIG. 3B) does not match or match the write address (see FIG. 3H).

【0023】上述の動作を続行して、アドレスカウンタ
10が「001」から「1024」の最終アドレス値ま
でカウントすると、アドレスカウンタ10はキャリービ
ットを出して、回数カウンタ11のカウント値を1つ進
める。回数カウンタ11は、そのカウント値が回数設定
端子7の同期積算回数設定値と等しくなると、2:1選
択器13の制御端子Sに制御信号を送る。そこで、2:
1選択器13は、A端子の入力(即ち「0」)を選択
し、その出力端子Yから全ビット「0」が加算器8に入
力され、次の新しいデータの書き込みに入る。メモリ9
のメモリ出力端子2から加算されたデータを外部に出力
し、回数カウンタ11の内容を「0」にする。
When the above operation is continued and the address counter 10 counts from "001" to the final address value of "1024", the address counter 10 outputs a carry bit and advances the count value of the number counter 11 by one. . The count counter 11 sends a control signal to the control terminal S of the 2: 1 selector 13 when the count value becomes equal to the set value of the synchronous integration count of the count setting terminal 7. So 2:
The 1 selector 13 selects the input of the A terminal (that is, “0”), all the bits “0” are input to the adder 8 from the output terminal Y, and the next new data is written. Memory 9
Is output from the memory output terminal 2 to the outside, and the content of the counter 11 is set to "0".

【0024】新しいデータ列がメモリ9に書込まれる
と、アドレスカウンタ10は、キャリーを出して、回数
カウンタ11を「0」から「1」へと進める。回数カウ
ンタ11の内容が「0」でなくなると、回数カウンタ1
1は、2:1選択器13の入力をB端子に切り替え、メ
モリ9の外部への出力を停止する。
When a new data string is written into the memory 9, the address counter 10 issues a carry and advances the number counter 11 from "0" to "1". When the content of the frequency counter 11 is no longer "0", the frequency counter 1
1 switches the input of the 2: 1 selector 13 to the B terminal and stops the output of the memory 9 to the outside.

【0025】次に、図4のタイミングチャートを参照し
て、図2の回数カウンタ11が「000」の場合の動作
を説明する。図4中、(a)は第1クロック(CLK
1)、(b)はアドレスカウンタ10からの読み出しア
ドレス、(c)は第3クロック(CLK3)、(d)は
メモリ出力信号MD、(e)は2:1選択器13の出力
信号である。また、図4(f)は加算器8の入力端子1
への外部信号D、(g)は加算器8の出力信号D’、
(h)はメモリ9の書き込みアドレス、(j)は回数カ
ウンタ11のカウンタ値および(i)は第2クロック
(CLK2)であり、図3の場合と同じである。
Next, with reference to the timing chart of FIG. 4, the operation when the number counter 11 of FIG. 2 is "000" will be described. In FIG. 4, (a) shows the first clock (CLK
1) and (b) are read addresses from the address counter 10, (c) is a third clock (CLK3), (d) is a memory output signal MD, and (e) is an output signal of the 2: 1 selector 13. . FIG. 4F shows the input terminal 1 of the adder 8.
(G) is the output signal D ′ of the adder 8,
(H) is the write address of the memory 9, (j) is the counter value of the number counter 11, and (i) is the second clock (CLK2), which is the same as in FIG.

【0026】RESET端子6にリセット信号が入力さ
れて回数カウンタ11が初期化されて「000」となる
と、2:1選択器13は、A端子の入力を選択する。そ
こで、加算器8は、「0」である2:1選択器13のY
端子出力である全て「0」と入力端子1の外部入力信
号、例えば「D001」を加算演算する。これにより、
不定又は不要なデータを取り込まず、外部信号入力「D
001」をそのままメモリ9に入力する。その結果、メ
モリ9の内容を「0」で初期化する時間を節約できると
いう利点がある。
When a reset signal is input to the RESET terminal 6 and the number counter 11 is initialized to "000", the 2: 1 selector 13 selects the input of the A terminal. Therefore, the adder 8 outputs the Y signal of the 2: 1 selector 13 which is “0”.
All terminal outputs “0” and an external input signal of the input terminal 1, for example, “D001” are added and calculated. This allows
External signal input "D"
"001" is input to the memory 9 as it is. As a result, there is an advantage that the time for initializing the contents of the memory 9 to “0” can be saved.

【0027】また、外部信号入力「D001」を適切に
2の補数形式に変換して、この回路を使用すると、
「0」近傍の信号は正負平均化されて、相関値のように
飛び出した数値は「0」近傍より離れているために、正
数のみで示すと雑音レベルによりメモリがオーバーフロ
ーになり易いが、この方式によるとメモリのビット数を
小さくすることができる。
When the external signal input "D001" is appropriately converted to a two's complement format and this circuit is used,
Signals near “0” are averaged by positive and negative, and the protruding numerical value such as the correlation value is farther from the vicinity of “0”. Therefore, if only a positive number is indicated, the memory easily overflows due to the noise level. According to this method, the number of bits of the memory can be reduced.

【0028】以上、本発明による同期積算回路の好適実
施形態例を詳述した。しかし、本発明はかかる特定実施
形態例のみに限定するべきではなく、本発明の要旨を逸
脱することなく種々の変形変更が可能であること、当業
者には容易に理解できよう。
The preferred embodiment of the synchronous integrating circuit according to the present invention has been described in detail. However, it should be understood by those skilled in the art that the present invention should not be limited to only the specific embodiments, and various modifications can be made without departing from the gist of the present invention.

【0029】[0029]

【発明の効果】上述の説明から明らかな如く、本発明の
同期積算回路によると、加算器の出力をそのままメモリ
に書き込むとメモリの示す最大値を超えると極性が反転
して最小値になる等のデ−タ誤りが防止できる。その理
由は、2組のデ−タの加算(マイナスも含む)時に、オ
−バ−フロ−/アンダ−フロ−発生時に加算器出力デ−
タをメモリの示す最大値又はメモリの示す最小値に固定
して出力することでデ−タ誤りを防止できるからであ
る。
As is apparent from the above description, according to the synchronous integration circuit of the present invention, when the output of the adder is written to the memory as it is, the polarity is inverted to the minimum value when the output exceeds the maximum value indicated by the memory. Can be prevented. The reason is that when two sets of data are added (including minus), the output data of the adder is generated when an overflow / underflow occurs.
This is because a data error can be prevented by fixing and outputting the maximum value indicated by the memory or the minimum value indicated by the memory.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明による同期積算回路の第1実施形態例の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of a synchronous integration circuit according to the present invention.

【図2】本発明による同期積算回路の第2実施形態例の
構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a second embodiment of the synchronous integration circuit according to the present invention.

【図3】本発明による同期積算回路のメモリ周辺の動作
タイミングを示すタイミングチャ−トである。
FIG. 3 is a timing chart showing the operation timing around the memory of the synchronous integration circuit according to the present invention.

【図4】本発明による同期積算回路の回数カウンタ出力
が「000」の場合のメモリ周辺の動作を示すタイミン
グチャ−トである。
FIG. 4 is a timing chart showing the operation around the memory when the output of the number counter of the synchronous integration circuit according to the present invention is "000";

【符号の説明】[Explanation of symbols]

1 外部信号入力端子 2 メモリ出力端子 6 リセット入力端子 7 同期積算回数設定入力端子 8 加算器 9 メモリ 10 アドレスカウンタ 11 回数カウンタ 12 フリップフロップ(F/F) 13 2:1選択器 14 クロック分配回路 DESCRIPTION OF SYMBOLS 1 External signal input terminal 2 Memory output terminal 6 Reset input terminal 7 Synchronous integration number setting input terminal 8 Adder 9 Memory 10 Address counter 11 Number counter 12 Flip-flop (F / F) 13 2: 1 selector 14 Clock distribution circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】1対の入力端子に夫々入力される外部信号
入力および帰還信号を加算する加算器と、 該加算器の加算出力をデータ入力端子へ入力して書き込
み、データ出力端子から読み出したメモリ出力を前記加
算器への前記帰還信号とするメモリと、 第1クロックを受け、前記メモリの書き込みアドレスお
よび読み出しアドレスを生成するアドレスカウンタと、 前記第1クロックを受け、前記メモリの書き込みおよび
読み出しを行う第2クロックおよび第3クロックを生成
するクロック分配回路とを備えることを特徴とする同期
積算回路。
An adder for adding an external signal input and a feedback signal respectively input to a pair of input terminals, and an added output of the adder is input to a data input terminal, written, and read from the data output terminal. A memory that uses a memory output as the feedback signal to the adder; an address counter that receives a first clock and generates a write address and a read address of the memory; and that receives and receives the first clock and writes and reads the memory. And a clock distribution circuit that generates a second clock and a third clock.
【請求項2】前記メモリおよび前記加算器間の帰還路に
前記メモリから読み出された前記メモリ出力又は「0」
を選択する2:1選択器を設けることを特徴とする請求
項1に記載の同期積算回路。
2. The memory output read from the memory or "0" on a feedback path between the memory and the adder.
2. The synchronous integration circuit according to claim 1, further comprising a 2: 1 selector for selecting a signal.
【請求項3】前記アドレスカウンタのキャリービットを
受ける回数カウンタを設け、該回数カウンタの出力によ
り前記2:1選択器の切り替えを制御することを特徴と
する請求項2に記載の同期積算回路。
3. The synchronous integration circuit according to claim 2, further comprising a number counter for receiving a carry bit of said address counter, wherein switching of said 2: 1 selector is controlled by an output of said number counter.
【請求項4】前記回数カウンタは、外部から回数設定信
号を受けることを特徴とする請求項3に記載の同期積算
回路。
4. The synchronous integrating circuit according to claim 3, wherein said number counter receives a number setting signal from outside.
【請求項5】前記アドレスカウンタの出力を受け、前記
第3クロックで動作するフリップフロップを設け、前記
メモリの前記書き込みアドレスを得ることを特徴とする
請求項1、2、3又は4に記載の同期積算回路。
5. The memory according to claim 1, wherein a flip-flop which receives an output of said address counter and operates with said third clock is provided to obtain said write address of said memory. Synchronous integration circuit.
【請求項6】前記第3クロックは前記第1クロックより
所定時間T1だけ遅延し、前記第2クロックは前記第3
クロックより所定時間T2だけ遅延した同一周期のクロ
ックであることを特徴とする請求項1乃至5のいずれか
に記載の同期積算回路。
6. The third clock is delayed from the first clock by a predetermined time T1, and the second clock is delayed by the third clock.
6. The synchronous integrating circuit according to claim 1, wherein the clocks have the same cycle and are delayed by a predetermined time T2 from the clock.
JP35290199A 1999-12-13 1999-12-13 Synchronous integration circuit Pending JP2001167082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35290199A JP2001167082A (en) 1999-12-13 1999-12-13 Synchronous integration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35290199A JP2001167082A (en) 1999-12-13 1999-12-13 Synchronous integration circuit

Publications (1)

Publication Number Publication Date
JP2001167082A true JP2001167082A (en) 2001-06-22

Family

ID=18427235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35290199A Pending JP2001167082A (en) 1999-12-13 1999-12-13 Synchronous integration circuit

Country Status (1)

Country Link
JP (1) JP2001167082A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100403591B1 (en) * 2001-08-13 2003-10-30 삼성전자주식회사 Discrimanating method of print media

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100403591B1 (en) * 2001-08-13 2003-10-30 삼성전자주식회사 Discrimanating method of print media

Similar Documents

Publication Publication Date Title
US7586337B2 (en) Circuit for switching between two clock signals independently of the frequency of the clock signals
JPH0713926A (en) Buffer control circuit and its operating method
JP2576366B2 (en) Variable delay buffer circuit
KR20050041613A (en) Data output control circuit
JP2001167082A (en) Synchronous integration circuit
US7428287B2 (en) Method and device for synchronizing data transmission between two circuits
KR100223026B1 (en) Synchronizing circuit
KR100546272B1 (en) Data input circuit using data strobe signal
JPH05145519A (en) Digital correlation device
JP2002109881A (en) Semiconductor integrated circuit
JPH11338854A (en) Synchronous integration circuit
JP2677280B2 (en) LCD driver data input circuit
US6990596B2 (en) Memory device outputting read data in a time starting from a rising edge of an external clock that is shorter than that of known devices
KR950009772Y1 (en) Data convert circuit
JP2000353939A (en) Clock signal synchronous flip flop circuit
US5615141A (en) Multiplying apparatus
JP2004112450A (en) Time division multiplexer
JP4750505B2 (en) Clock switching circuit
JP2586340B2 (en) Test signal insertion circuit
KR100220388B1 (en) Asynchronous data interfacing apparatus
JPH1141298A (en) Serial data communication circuit
JPH05128898A (en) Semiconductor memory
JPH07168785A (en) System bus interface circuit
JPH11184808A (en) Serial communication method
JPH08329670A (en) Semiconductor device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050113

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050510