JPH0572765B2 - - Google Patents

Info

Publication number
JPH0572765B2
JPH0572765B2 JP17321782A JP17321782A JPH0572765B2 JP H0572765 B2 JPH0572765 B2 JP H0572765B2 JP 17321782 A JP17321782 A JP 17321782A JP 17321782 A JP17321782 A JP 17321782A JP H0572765 B2 JPH0572765 B2 JP H0572765B2
Authority
JP
Japan
Prior art keywords
delay
input
clock
output
data
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 - Lifetime
Application number
JP17321782A
Other languages
Japanese (ja)
Other versions
JPS5963812A (en
Inventor
Seiji Kashioka
Hirotada Ueda
Hitoshi Matsushima
Takafumi Myatake
Masakazu Ejiri
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP17321782A priority Critical patent/JPS5963812A/en
Publication of JPS5963812A publication Critical patent/JPS5963812A/en
Publication of JPH0572765B2 publication Critical patent/JPH0572765B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/0009Time-delay networks

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、デイジタル信号処理において遅延信
号を得るための回路をランダムアクセスメモリを
用いて構成し、また段数可変とし、段数を外部か
ら指定可能としたものである。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention comprises a circuit for obtaining a delayed signal in digital signal processing using a random access memory, the number of stages is variable, and the number of stages can be specified externally. This is what I did.

〔従来技術〕[Prior art]

デイジタル信号処理では遅延回路を用いること
が多い。たとえば画像処理において、走査形入力
装置からの信号を1走査線に相当する時間のみ遅
延させることにより、垂直方向に隣接する点の情
報を並列に取り出すことができ、各種の2次元パ
ターンの処理に用いられている。デイジタル情報
の遅延を行なわせるためには一般にシフトレジス
タが用いられる。このとき、結合する入力装置の
変更や、処理クロツクの変更に応じてシフトレジ
スタ段数を任意に変更できるることが望ましい。
そのためには最長段数のシフトレジスタを準備し
全ての段の中から選択してその信号を取出し出力
するのが普通考えられる方法である。しかしこの
方法ではシフトレジスタと俗択回路との間の結線
の数が多いこと、選択回路の規模が大きくなるこ
となどの問題がある。一方、電子通信学会誌62巻
4号461頁に示されている別の例においては、1,
2,22,…,2nの長さのシフトレジスタを持ち、
必要な段数を2進数表現して各位の“0”,“1”
に対応して、各シフトレジスタをバイパスするか
どうかを制御し、これらを連結することによつて
任意の段数に切換えることのできるシフトレジス
タにて作成している。しかしこれらの回路を既存
の標準集積回路で構成しようとすると多くの集積
回路素子を必要とする。またこれらの回路を1つ
の集積回路で構成しようとするときにはチヤージ
カツプルドデバイスを用いるのが有利であるが、
さらに高速を達成するためバイポーラ回路を用い
ようとするとシフトレジスタは比較的面積を要す
る回路となる。
Delay circuits are often used in digital signal processing. For example, in image processing, by delaying the signal from a scanning input device by a time corresponding to one scanning line, information on vertically adjacent points can be extracted in parallel, which is useful for processing various two-dimensional patterns. It is used. Shift registers are generally used to delay digital information. At this time, it is desirable to be able to arbitrarily change the number of shift register stages in accordance with changes in input devices to be coupled or changes in processing clocks.
For this purpose, a commonly thought method would be to prepare a shift register with the maximum number of stages, select one of the stages, and extract and output the signal. However, this method has problems such as a large number of connections between the shift register and the general selection circuit, and an increase in the scale of the selection circuit. On the other hand, in another example shown in the Journal of the Institute of Electronics and Communication Engineers Vol. 62, No. 4, page 461, 1,
It has a shift register of length 2, 2 2 ,…, 2 n ,
The required number of stages is expressed in binary numbers, with each digit being “0” and “1”.
In response to this, the shift registers are made with shift registers that can be switched to any number of stages by controlling whether or not to bypass each shift register, and by connecting them. However, constructing these circuits using existing standard integrated circuits requires a large number of integrated circuit elements. Furthermore, when attempting to configure these circuits in one integrated circuit, it is advantageous to use a charge coupled device;
If a bipolar circuit is used to achieve even higher speeds, the shift register becomes a circuit that requires a relatively large area.

〔発明の目的〕[Purpose of the invention]

本発明の回的は、集積化に適し、かつ任意にシ
フト段数を設定できる遅延回路の構成を提供する
ことになる。
An advantage of the present invention is to provide a delay circuit configuration that is suitable for integration and allows the number of shift stages to be set arbitrarily.

〔発明の概要〕[Summary of the invention]

このため本発明では、高集積化が徹底して行な
われてるランダムアクセスメモリを用い、アドレ
スを指定の周期でスキヤンし、メモリに対して読
出し後書込みを繰返すことによつてシフトレジス
タと同等の機能を持たせることにした。さらに入
出力の取込み/出力タイミングをそろえ出力を保
持するためババツフアを設けた。
For this reason, the present invention uses a highly integrated random access memory, scans addresses at specified intervals, and repeats reading and writing to the memory, thereby achieving the same function as a shift register. I decided to have it. Additionally, a buffer was installed to align the input/output timing and maintain the output.

つまり、本発明の構成の一態様として、クロツ
クに同期して入力データを一時に保持する入力バ
ツフア5−1〜4と、上記入力バツフアに保持し
た入力データを、上記クロツクを所定時間遅延さ
せた遅延クロツクに同期して指定アドレスに書き
込んだ後、上記指定アドレスの次のアドレスに書
き込まれた入力データを少なくとも上記クロツク
の一周期内に読み出すランダムアクセスメモリ7
−1〜4と、読み出したデータを一時的に保持す
る出力バツフア6−1〜4)とを備えた遅延回路
を複数本有し、かつ上記出力バツフアの出力を上
記入力バツフアの入力となるように上記複数本の
遅延回路を縦続接続し、上記クロツクの一周期内
であつて、上記クロツクを所定時間遅延させ上記
遅延クロツクを生成する遅延手段9を備え、カウ
ント値を周期的に生成し、所定のカウント値を上
記指定アドレスとして、上記ランダムアクセスメ
モリが上記入力データを上記指定アドレスに書き
込んだ後、上記所定のカウント値を歩進し、その
歩進したカウント値を上記次の指定アドレスとす
るように構成したカウンタ8を備え、上記カウン
タ値の周期を設定する手段12を備え、上記ラン
ダムアクセスメモリから読み出したデータを入力
し、その読み出したデータを遅延させ、上記出力
バツフアに入力する遅延調節手段33−1〜3を
上記複数本の遅延回路のうち少なくとも1本に備
え、上記遅延調節手段にて遅延させるか否かを制
御する手段31を備えたものである。
In other words, one aspect of the configuration of the present invention is that the input buffers 5-1 to 5-4 temporarily hold input data in synchronization with a clock, and the input data held in the input buffers are delayed by a predetermined time with respect to the clock. A random access memory 7 that writes input data to a designated address in synchronization with a delayed clock and then reads input data written to an address next to the designated address within at least one cycle of the clock.
-1 to 4) and output buffers 6-1 to 6-4 for temporarily holding the read data, and the output of the output buffer is input to the input buffer. a plurality of delay circuits connected in cascade, a delay means 9 for generating the delayed clock by delaying the clock for a predetermined time within one cycle of the clock, and periodically generating a count value; After the random access memory writes the input data to the specified address using the predetermined count value as the specified address, it increments the predetermined count value and sets the incremented count value as the next specified address. a counter 8 configured to do this; further comprising means 12 for setting the cycle of the counter value; a delay for inputting data read from the random access memory; delaying the read data; and inputting the read data to the output buffer. Adjustment means 33-1 to 33-3 are provided in at least one of the plurality of delay circuits, and means 31 is provided for controlling whether or not the delay adjustment means delays.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図により説明す
る。この回路全体1はシフトレジスタの機能を持
ち、2は入力信号、3は出力信号、4はクロツク
である。5,6はD−タイプのフリツプフロツプ
で、各々入力、出力のバツフアの役割を果す。7
は例えば日立製HM6147のような読み書き可能な
スタテイツク形ランダムアクセスメモリであり以
後単にメモリと呼ぶ。8はメモリのアドレスを与
えるカウンタである。9はパルス遅延回路であ
り、入力クロツクから遅延したクロツク10を発
生し、メモリの書込みパルスおよびカウンタ8の
クロツクとして供給する。11はカウンタ8のキ
ヤリイ出力であり、自身の初期値ロード信号とし
て用いる。この結果、カウンタ8は、レジスタ1
2の出力値からスタートし、最大カウントまでを
繰返しカウントする。従つてレジスタ12によつ
て周期を決定できる。
An embodiment of the present invention will be described below with reference to FIG. The entire circuit 1 has the function of a shift register, 2 is an input signal, 3 is an output signal, and 4 is a clock. 5 and 6 are D-type flip-flops, which serve as input and output buffers, respectively. 7
is a static type random access memory that can be read and written, such as Hitachi's HM6147, and will be simply referred to as "memory" hereinafter. 8 is a counter giving a memory address. A pulse delay circuit 9 generates a clock 10 delayed from the input clock and supplies it as a memory write pulse and a clock to the counter 8. 11 is a carry output of the counter 8, which is used as its own initial value load signal. As a result, counter 8 registers 1
Starting from the output value of 2, the count is repeated until the maximum count is reached. Therefore, the period can be determined by the register 12.

第1図の実施例における動作のタイミングを第
6図に示す。第6図において、上から順に、クロ
ツク4、遅延したクロツク10、入力バツフア5
の出力51、カウンタ8の出力81、メモリ7の
出力71、そして出力バツフア6の出力信号3を
示している。
The timing of the operation in the embodiment of FIG. 1 is shown in FIG. In FIG. 6, from top to bottom, clock 4, delayed clock 10, input buffer 5
The output 51 of the counter 8, the output 71 of the memory 7, and the output signal 3 of the output buffer 6 are shown.

まず入力および出力バツフア5,6はクロツク
4で駆動しているのでクロツク4の後縁t0にて入
力信号2の入力バツフア5への取込みと、出力信
号3の更新は同時に行なわれる。クロツク4の後
縁t0の後、入力バツフア5の出力51が安定する
t1の後で、遅延したクロツク10がt2からt3まで
メモリ7の書込みパルスとして加えられ、入力バ
ツフア5に取込まれた情報をメモリ7に書込む。
このようにメモリ7への書込み中の入力は一旦入
力バツフア5に保持されているため不変であるこ
とが保証される。またt2から後述のt5までメモリ
7の出力71が変化するが、出力バツフア6には
この間クロツク4の後縁が与えられないため、出
力信号3には影響がない。
First, since the input and output buffers 5 and 6 are driven by the clock 4, the input signal 2 is taken into the input buffer 5 and the output signal 3 is updated at the same time at the trailing edge t0 of the clock 4. After the trailing edge t 0 of clock 4, the output 51 of input buffer 5 becomes stable.
After t 1 , delayed clock 10 is applied as a write pulse to memory 7 from t 2 to t 3 to write the information captured in input buffer 5 to memory 7 .
In this way, the input that is being written to the memory 7 is temporarily held in the input buffer 5, so it is guaranteed that it will remain unchanged. Further, the output 71 of the memory 7 changes from t 2 to t 5 described later, but since the trailing edge of the clock 4 is not applied to the output buffer 6 during this period, the output signal 3 is not affected.

カウンタ8としてエツジトリガタイプのもの、
例えば、テキサスインンツルメント社の集積回路
SN74163あるいはそれと同様なものを用いると、
遅延したクロツク10の後縁t3以降に、アクセス
タイムt4−t3を経て、カウンタ出力81が変化す
るのでメモリ7への書込が正しく終了した後アド
レスが進むというシーケンスとすることができ
る。メモリ7に与えられるアドレスが確定するの
がt4(第6図のA点参照)とすると、メモリ7が
スタテイツク形であり、書込みパルスである遅延
したクロツク10が入力されていないので、メモ
リ7のアクセスタイムt5−t4を経たt5にはカウン
タ8の出力81から与えられる新しいアドレスの
データが読出されており(第6図B点参照)、ク
ロツク4の次の後縁t0がt5の後に来るようにクロ
ツク4の周期(t0から次のt0までの間隔)を設定
すれば、出力バツフア6へ供給する次のデータ
(メモリ7の出力71)が正しく準備できること
になる。
An edge trigger type counter 8,
For example, Texas Instruments' integrated circuits
Using SN74163 or similar,
Since the counter output 81 changes after the delayed trailing edge t3 of the clock 10 and after the access time t4 - t3 , it is possible to create a sequence in which the address advances after writing to the memory 7 is correctly completed. . Assuming that the address given to the memory 7 is determined at t 4 (see point A in FIG. 6), the memory 7 is of a static type and the delayed clock 10, which is a write pulse, is not input. At t5 , after the access time t5 - t4 , the data at the new address given from the output 81 of the counter 8 is read out (see point B in Figure 6), and the next trailing edge t0 of the clock 4 is read out. By setting the period of clock 4 (interval from t 0 to the next t 0 ) so that it comes after t 5 , the next data (output 71 of memory 7) to be supplied to output buffer 6 can be prepared correctly. .

以上の説明でわかるように入力バツフア5の役
割りは、t0のタイングにおける入力信号の値をメ
モリ7への書込みの終るt3まで保持することであ
る。これによつて、本回路を使用する際に、外部
回路は、t0のタイングにおける信号の値を確保す
るだけで済み、全体の回路設計の自由度を大きく
することができる。
As can be seen from the above explanation, the role of the input buffer 5 is to hold the value of the input signal at timing t 0 until t 3 when writing to the memory 7 ends. As a result, when using this circuit, the external circuit only needs to secure the signal value at the timing of t0 , and the degree of freedom in the overall circuit design can be increased.

出力バツフア6の役割りは、出力信号3を1サ
イクルの間一定に保つことであり、これがないと
第6図に示したメモリ7の出力71の変化が、直
接出力されるため、正しいデータはt6から次のt0
の間だけにあつてしまい、この間に外部回路で必
要な論理演算を完了させなければならず、クロツ
ク4の周期(t0から次のt0までの間隔)を短くし
ようとする高速のシステムにおいては、高速化を
阻害する要因となる。
The role of the output buffer 6 is to keep the output signal 3 constant for one cycle. Without it, changes in the output 71 of the memory 7 shown in FIG. 6 would be directly output, so correct data would not be available. from t 6 to next t 0
In a high-speed system that attempts to shorten the period of clock 4 (the interval from one t 0 to the next t 0 ), the necessary logical operations must be completed in an external circuit during this time. is a factor that hinders speeding up.

特定の応用、たとえば、本実施例のシフトレジ
スタを縦続接続するときには、出力バツフア6の
出力信号3を入力バツフア5に直結し、間に回路
が挿入しないので遅延はほぼ0であり、また出力
信号はタイミングt0でのみ用いられ他の時間帯で
は利用されないので出力バツフア6を省略しても
正しく動作させることができる。しかし、一般の
応用では、回路網への入力として利用するので、
t1からt0までの長い時間帯で変化しないことが望
ましい。したがつて応用範囲を広くするためには
入力バツフア5、出力バツフア6をともに備える
ことが望ましい。
In a specific application, for example, when the shift registers of this embodiment are connected in series, the output signal 3 of the output buffer 6 is directly connected to the input buffer 5, and no circuit is inserted between them, so the delay is almost 0, and the output signal is used only at timing t0 and is not used in other time periods, so correct operation can be achieved even if the output buffer 6 is omitted. However, in general applications, it is used as an input to a circuit network, so
It is desirable that it does not change over a long period of time from t 1 to t 0 . Therefore, in order to widen the range of application, it is desirable to provide both an input buffer 5 and an output buffer 6.

ここでカウンタ8の周期と、データの遅延サイ
クルの関係を第2図を用いて明らかにしておく。
この図は、入力信号2、入力バツフア5、メモリ
7、出力バツフア6、出力信号3の各部位のデー
タを、各サイクルの最終状態すなわち入力クロツ
ク4の入力直前の状態でのものとしてカウンタ8
の値と共に示したものである。カウンタ8とし
て、前述のSN74163を結合したような加算型カウ
ンタを用いメモリのアドレス範囲は2kとする。図
中メモリの記憶セルは一次元に配列されているよ
うに表現し16,17のマークは、各サイクルの
各々始期、最終状態における記憶セルの位置を示
すものである。データはD1の形で表現する。こ
こでiはそのデータが入力信号にあつたサイクル
の番号を示す。説明に関係しない部位のデータは
省略する。レジスタ12にはあらかじめ2k−nの
値が外部からセツトされているとする。以下サイ
クルの順に説明する。サイクル番号0の直前にカ
ウンタの値が2k−2から2k−1になつたとする。
このとき入力信号にあつたデータをD0とする。
次のクロツク4によつて入力バツフア5はD0
取込み、その値をメモリ7の2k−1番地に書込
む。そしてカウンタ8ではキヤリー信号Cがロー
ド端子Dに線11を介して入力されているので、
カウンタ8はこのサイクルで発生されるキヤリー
信号Cによりレジスタ12の出力2k−nの値を取
込む。このサイクルがサイクル番号1である。次
のサイクル2では、データD1を入力バツフア5
が取込み、同時にメモリ7の2k−n番地にもD1
が書込まれ、カウンタ8がカウントアツプされ2k
−nから2k−(n−1)となる。以下サイクルが
進んでサイクル番号nの終りには再びカウンタ8
の内容が2k−1に達する。次のサイクルであるサ
イクル番号n+1では、このカウンタ8の値がメ
モリ7の読出しアドレスとして与えられるからメ
モリ7の2k−1番地に書かれていたD0のデータ
が読出されて出力バツフア6に移り出力信号3と
して出力される。サイクル番号0のときに入力に
あつたデータがサイクル番号n+1になつて出力
されるため遅延段数はn+1段あることになる。
Here, the relationship between the period of the counter 8 and the data delay cycle will be clarified using FIG.
This figure shows the data of the input signal 2, input buffer 5, memory 7, output buffer 6, and output signal 3 in the final state of each cycle, that is, in the state immediately before the input clock 4 is input to the counter 8.
This is shown together with the value of . As the counter 8, an addition type counter such as a combination of the above-mentioned SN74163 is used, and the memory address range is 2k . In the figure, the storage cells of the memory are represented as being arranged in one dimension, and marks 16 and 17 indicate the positions of the storage cells at the start and final states of each cycle, respectively. Data is expressed in the form D 1 . Here, i indicates the cycle number in which the data was received as an input signal. Data on parts not related to the explanation will be omitted. It is assumed that a value of 2 k -n is previously set in the register 12 from the outside. The cycles will be explained below in order. Assume that the counter value changes from 2 k -2 to 2 k -1 immediately before cycle number 0.
At this time, let the data that is the input signal be D 0 .
At the next clock 4, the input buffer 5 takes in D0 and writes the value into the memory 7 at address 2k -1. In the counter 8, the carry signal C is input to the load terminal D via the line 11, so
The counter 8 takes in the value of the output 2 k -n of the register 12 by the carry signal C generated in this cycle. This cycle is cycle number 1. In the next cycle 2, data D 1 is input to buffer 5.
At the same time, D 1 is also stored at address 2 k −n in memory 7.
is written and counter 8 counts up to 2 k
-n becomes 2 k -(n-1). The cycle progresses and at the end of cycle number n, the counter 8 is counted again.
The content of reaches 2 k −1. In the next cycle, cycle number n+1, the value of this counter 8 is given as the read address of the memory 7, so the data D0 written at address 2k -1 of the memory 7 is read out and sent to the output buffer 6. It is output as a shift output signal 3. Since the data that was input at cycle number 0 is output at cycle number n+1, the number of delay stages is n+1.

すなわち遅延段数をDとしたいときにはカウン
タの周期をD−1にするとよい。言い替えれば、
カウンタの周期をD−1にするためにはレジスタ
12の出力を2k−(D−1)にすることになる。
さらにそのためには次に述べるようないくつかの
方法がある。まず外部から2k−(D−1)を計算
してレジスタ12に送込む方法がある。これは負
数を2の補数で表現するときには、−(D−1)を
送込むのに等しい。DあるいはD−1を送込ん
で、レジスタ12の前または後に2k−(D−1)
を求める回路を設けてもよい。さらにD−2を送
込み、1の補数を求てもよい。このときに全ビツ
トの論理否定を行えばよく簡単である。これらの
方法の内いずれを選択するかは、回路の規模と使
い易さを考慮して決めればよい。
That is, when it is desired to set the number of delay stages to D, it is preferable to set the period of the counter to D-1. In other words,
In order to set the period of the counter to D-1, the output of the register 12 must be set to 2 k -(D-1).
Furthermore, there are several methods to achieve this, as described below. First, there is a method of calculating 2 k -(D-1) externally and sending it to the register 12. This is equivalent to sending -(D-1) when expressing a negative number in two's complement. 2 k - (D-1) before or after register 12 by sending D or D-1
A circuit may be provided to obtain the . Furthermore, D-2 may be sent to obtain the one's complement. At this time, it is easy to perform logical negation of all bits. Which of these methods should be selected may be determined by considering the scale of the circuit and ease of use.

第1の方法をより具体的に説明すると、外部の
回路(図示せず)から入力データ(2k−(D−
1))を与えつつ、書込ストローブを制御信号1
4として入力して、レジスタ12にこのデータを
書込むようにする。本発明ではこのようにレジス
タ12に書き込むデータを変えることで内部の配
線を変えずに任意に遅延段数を変えることができ
る。しかし特定の回路に組込まれ遅延段数を変更
することがない場合にはレジスタへの書込みはか
えつて面倒なこととなり、レジスタ12を省略し
定数を与える方が好ましい。
To explain the first method more specifically, input data (2 k −(D−
1))) while controlling the write strobe with the control signal 1
4 to write this data to register 12. In the present invention, by changing the data written to the register 12 in this way, the number of delay stages can be changed arbitrarily without changing the internal wiring. However, if it is incorporated into a specific circuit and the number of delay stages is not changed, writing to the register becomes rather troublesome, and it is preferable to omit the register 12 and provide a constant.

この回路全体1を集積回路などの固定した回路
とするときには、このレジスタ12を入れるかど
うかで上記のいずれかの利点が損なわれると思わ
れるが、特定の制御信号によつてレジスタの機能
をなくすようにすれば一つの集積回路にいずれの
利点も残すことができる。このようにしたレジス
タの例を第3図に示す。
When this entire circuit 1 is a fixed circuit such as an integrated circuit, one of the above advantages may be lost depending on whether or not this register 12 is included, but it is possible to eliminate the function of the register by a specific control signal. In this way, both advantages can be retained in one integrated circuit. An example of such a register is shown in FIG.

第3図において、12−iは複数のビツトから
なるレジスタ12の第i番目のビツトの構成を示
すものである。制御信号14は全てのビツトに共
通に与えられる。このレジスタは、論理和素子2
3,24で構成するR−S型フリツプフロツプに
データがセツトされるように構成されている。レ
ジスタ12をレジスタとして機能させるときには
制御信号14として書込みパルスを印加する。そ
のとき否定論理素子20、論理積素子21,22
により、入力データ13−iの値0、1に応じて
21,22のいずれかにパルスが生じ、論理和素
子23,24で構成するR−S型フリツプフロツ
プにデータがセツトされる。一方レジスタ12の
レジスタ機能をなくし、入力データ線13への信
号をそのままカウンタ8に入力するようにしたい
ときには、制御信号14を真値(1)に固定すればよ
い。こうすれば、23,24からなるR−S型フ
リツプフロツプはラツチ機能を失い、データ13
−iの信号が常にレジスタ12のi番目のビツト
12−iの出力となる。
In FIG. 3, 12-i indicates the configuration of the i-th bit of the register 12, which consists of a plurality of bits. Control signal 14 is commonly given to all bits. This register is the logical OR element 2
The data is set in an R-S type flip-flop consisting of 3 and 24 chips. When the register 12 is made to function as a register, a write pulse is applied as the control signal 14. At that time, the negative logic element 20, the AND elements 21, 22
As a result, a pulse is generated in either 21 or 22 depending on the value 0 or 1 of the input data 13-i, and data is set in the R-S type flip-flop constituted by OR elements 23 and 24. On the other hand, if it is desired to eliminate the register function of the register 12 and input the signal to the input data line 13 as it is to the counter 8, the control signal 14 may be fixed to the true value (1). In this way, the R-S type flip-flop consisting of 23 and 24 loses its latch function, and the data 13
The -i signal is always the output of the i-th bit 12-i of the register 12.

この他にも、レジスタのi番目のビツト12−
iの構成は第4図のように制御信号14と別に選
択信号15を設け、上記R−S型フリツプフロツ
プの代わりにD型フリツプフロツプ201を用い
るようにしてもよい。この回路では選択信号15
真値(1)とするとD型フリツプフロツプ201の出
力がレジスタ12のi番目のビツト12−iの出
力になり、選択信号15を偽値(0)とすると、
入力データ線13に加えられた信号がそのまま1
2−iの出力になる。
In addition, the i-th bit 12-
In the configuration of i, a selection signal 15 may be provided separately from the control signal 14 as shown in FIG. 4, and a D-type flip-flop 201 may be used instead of the R-S type flip-flop. In this circuit, the selection signal 15
If the true value (1) is set, the output of the D-type flip-flop 201 becomes the output of the i-th bit 12-i of the register 12, and if the selection signal 15 is set to the false value (0),
The signal applied to the input data line 13 remains as 1.
2-i output.

これらは遅延段数を指定するための入力データ
線13の入力をレジスタ12への入力とカウンタ
8への直接入力との双方に使うようにしており全
体回路1のインタフエース信号線の本数を抑える
のに有効であり、集積回路化に適している。
These allow the input of the input data line 13 for specifying the number of delay stages to be used both as an input to the register 12 and as a direct input to the counter 8, thereby reducing the number of interface signal lines in the overall circuit 1. , and is suitable for integrated circuits.

以上は、一つの回路で遅延回路1本を構成した
ものであつた。これに対して入力バツフア5、出
力バツフア6、メモリ7を各々ある数ずつ設けた
構成が考えられる。第5図はその1例であり、入
力バツフア5−1,5−2,…,5−4、出力バ
ツフア6−1,6−2,…,6−4、メモリ7−
1,7−2,…,7−4と各4本ずつ設けたもの
である。この回路は、複数本の個別遅延回路とし
て、あるいは図中破線で示したように外部線によ
つて継続接続し、7−1などの1つのメモリの容
量を越す長さの遅延回路として必要に応じて利用
できるものである。例えば個々のメモリが1000ビ
ツトとすれば4個設けたものでは1001段までの遅
延回路を4回路とすることも、4〜2002段の遅延
回路を2回路とすることも、8〜4004段の遅延回
路を1回路することも外部の接続によつて可能で
ある。
In the above example, one delay circuit was constructed from one circuit. In contrast, a configuration may be considered in which a certain number of input buffers 5, output buffers 6, and memories 7 are provided. FIG. 5 shows an example of this, including input buffers 5-1, 5-2,..., 5-4, output buffers 6-1, 6-2,..., 6-4, and memory 7-.
1, 7-2, . . . , 7-4, four each. This circuit can be used as multiple individual delay circuits, or as a delay circuit whose length exceeds the capacity of a single memory such as 7-1, by continuously connecting it through an external line as shown by the broken line in the figure. It can be used as required. For example, if each memory has 1000 bits, if four are provided, there will be four delay circuits with up to 1001 stages, two delay circuits with 4 to 2002 stages, and two delay circuits with 8 to 4004 stages. It is also possible to provide one delay circuit by external connection.

さてm本を縦続接続したとき、カウンタ周期を
Dとすると(D+1)・mの段数の遅延をつくる
ことができることは容易にわかるがこれはmの整
数倍に限定される。一般的12mの整数倍でない段
数も含めた遅延をつくるために、遅延調節回路3
3−1,33−2,33−3を設け、これらは遅
延調節制御回路31からの制御信号34−1,3
4−2,34−3により1段の遅延にも遅延なし
の回路にも変えることができるようにした。遅延
調節回路の具体例は第4図のものと同じでよい。
必要な遅延段数ををmで割つたときの商をD、剰
余をRとすると、前述のように2k−(D−1)を
レジスタ12の出力とし、R個の遅延調節回路を
1段の遅延とし、他の遅延調節回路を遅延なしの
回路とする。これにより遅延調節回路が1段の回
路はD+1段、遅延なしの回路はD段となつてお
りこれを縦続接続することにより合計として必要
な遅延段数の回路を実現できる。
Now, it is easy to see that when m cascades are connected and the counter period is D, a delay of (D+1)·m stages can be created, but this is limited to an integer multiple of m. In order to create a delay including the number of stages that are not an integral multiple of the general 12m, the delay adjustment circuit 3
3-1, 33-2, 33-3 are provided, and these receive control signals 34-1, 34-3 from the delay adjustment control circuit 31.
4-2 and 34-3, it is possible to change the circuit to one stage delay or no delay circuit. A specific example of the delay adjustment circuit may be the same as that shown in FIG.
When the required number of delay stages is divided by m, the quotient is D and the remainder is R. As mentioned above, 2 k - (D-1) is the output of the register 12, and R delay adjustment circuits are arranged in one stage. , and the other delay adjustment circuits are non-delay circuits. As a result, a circuit with one stage of delay adjustment circuit has D+1 stages, and a circuit with no delay has D stages, and by cascading these, it is possible to realize a circuit with the required number of delay stages in total.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、限度内の任意の段数の遅延回
路を構成でき、種々の信号処理回路に標準構成部
品として利用できるため、回路の構成が容易にな
り、また本発明の回路を集積回路とすることによ
つて回路の小型化を図ることができる。
According to the present invention, a delay circuit with an arbitrary number of stages within the limit can be configured and can be used as a standard component in various signal processing circuits, so the circuit configuration is easy, and the circuit of the present invention can be used as an integrated circuit. By doing so, the circuit can be made smaller.

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

第1図は本発明による回路全体のブロツク図、
第2図は回路の遅延段数を説明するための図、第
3図はレジスタの構成例を示す論理図、第4図は
レジスタの他の構成例を示す論理図、第5図は複
数の遅延回路を含む回路の全体ブロツク図、第6
図は第1図の回路のタイムチヤートである。 4……入力クロツク、5……入力バツフア、6
……出力バツフア、7……ランダムアクセスメモ
リ、8……アドレスカウンタ、12……レジス
タ。
FIG. 1 is a block diagram of the entire circuit according to the present invention.
Figure 2 is a diagram for explaining the number of delay stages in the circuit, Figure 3 is a logic diagram showing an example of register configuration, Figure 4 is a logic diagram showing another example of register configuration, and Figure 5 is a diagram showing multiple delay stages. Overall block diagram of the circuit including the circuit, No. 6
The figure is a time chart of the circuit of FIG. 4...Input clock, 5...Input buffer, 6
...Output buffer, 7...Random access memory, 8...Address counter, 12...Register.

Claims (1)

【特許請求の範囲】 1 クロツクに同期して入力データを一時的に保
持する入力バツフアと、上記入力バツフアに保持
した入力データを、上記クロツクを所定時間遅延
させた遅延クロツクに同期して指定アドレスに書
き込んだ後、上記指定アドレスの次のアドレスに
書き込まれた入力データを少なくとも上記クロツ
クの一周期内に読み出すランダムアクセスメモリ
と、読み出したデータを一時的に保持する出力バ
ツフアとを備えた遅延回路を複数本有し、かつ上
記出力バツフアの出力を上記入力バツフアの入力
となるように上記複数本の遅延回路を縦続接続
し、 上記クロツクの一周期内であつて、上記クロツ
クを所定時間遅延させ上記遅延クロツクを生成す
る遅延手段を備え、 カウント値を周期的に生成し、所定のカウント
値を上記指定アドレスとして、上記ランダムアク
セスメモリが上記入力データを上記指定アドレス
に書き込んだ後、上記所定のカウント値を歩進
し、その歩進したカウント値を上記次の指定アド
レスとするように構成したカウンタを備え、 上記カウンタ値の周期を設定する手段を備え、 上記ランダムアクセスメモリから読み出したデ
ータを入力し、その読み出したデータを遅延さ
せ、上記出力バツフアに入力する遅延調節手段を
上記複数本の遅延回路のうち少なくとも1本に備
え、 上記遅延調節手段にて遅延させるか否かを制御
する手段を備えたことを特徴とする可変長遅延回
路。
[Scope of Claims] 1. An input buffer that temporarily holds input data in synchronization with a clock, and an input buffer that transfers the input data held in the input buffer to a specified address in synchronization with a delayed clock that is obtained by delaying the clock by a predetermined time. a delay circuit comprising a random access memory for reading input data written to an address next to the specified address within at least one cycle of the clock after writing the input data to the specified address; and an output buffer for temporarily holding the read data. and the plurality of delay circuits are connected in cascade so that the output of the output buffer becomes the input of the input buffer, and the clock is delayed by a predetermined time within one period of the clock. comprising a delay means for generating the delay clock, which periodically generates a count value, sets the predetermined count value to the specified address, and after the random access memory writes the input data to the specified address, the random access memory writes the input data to the specified address; a counter configured to increment a count value and set the incremented count value as the next designated address; further comprising means for setting a cycle of the counter value; At least one of the plurality of delay circuits is provided with a delay adjustment means for inputting and reading out data to be delayed and inputted to the output buffer, and means for controlling whether or not to delay the data by the delay adjustment means. A variable length delay circuit characterized by comprising:
JP17321782A 1982-10-04 1982-10-04 Variable length delay circuit Granted JPS5963812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17321782A JPS5963812A (en) 1982-10-04 1982-10-04 Variable length delay circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17321782A JPS5963812A (en) 1982-10-04 1982-10-04 Variable length delay circuit

Publications (2)

Publication Number Publication Date
JPS5963812A JPS5963812A (en) 1984-04-11
JPH0572765B2 true JPH0572765B2 (en) 1993-10-13

Family

ID=15956295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17321782A Granted JPS5963812A (en) 1982-10-04 1982-10-04 Variable length delay circuit

Country Status (1)

Country Link
JP (1) JPS5963812A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3507326A1 (en) * 1985-03-01 1986-09-04 Siemens AG, 1000 Berlin und 8000 München ARRANGEMENT FOR THE DELAYED FORWARDING OF SERIAL APPLICABLE DIGITAL DATA SEQUENCES

Also Published As

Publication number Publication date
JPS5963812A (en) 1984-04-11

Similar Documents

Publication Publication Date Title
KR100783049B1 (en) A semiconductor memory
US5416749A (en) Data retrieval from sequential-access memory device
JP2576366B2 (en) Variable delay buffer circuit
JPH04301290A (en) Pushup memory circuit
JP2549601B2 (en) Register control circuit
US4845726A (en) Maximum length linearly recurring sequence generator control device
JPH0572765B2 (en)
US6839859B2 (en) Semiconductor integrated circuit having clock synchronous type circuit and clock non-synchronous type circuit
US7428287B2 (en) Method and device for synchronizing data transmission between two circuits
JPS5927624A (en) Integrated circuit possible for logical change
US7000139B2 (en) Interface circuit for selectively latching between different sets of address and data registers based on the transitions of a frequency-divided clock
US6643793B1 (en) Apparatus for transferring and holding data based on a selected clock rate
JPS6323581B2 (en)
JPS5947394B2 (en) Variable length two-dimensional register
JP3127661B2 (en) Skew correction data transfer circuit
JP2000132451A (en) Memory control circuit
JP2595707B2 (en) Memory device
JPH045292B2 (en)
JPS5934025B2 (en) buffer memory circuit
JPH10312356A (en) Data transfer device
JPS585477B2 (en) Batshua Memory Houshiki
JPH0376558B2 (en)
JPH07210496A (en) Data transfer equipment
JPS61230515A (en) Data variable delay device
JPH0744521B2 (en) Erasable store memory circuit