JPH03261217A - Delay circuit - Google Patents

Delay circuit

Info

Publication number
JPH03261217A
JPH03261217A JP2059310A JP5931090A JPH03261217A JP H03261217 A JPH03261217 A JP H03261217A JP 2059310 A JP2059310 A JP 2059310A JP 5931090 A JP5931090 A JP 5931090A JP H03261217 A JPH03261217 A JP H03261217A
Authority
JP
Japan
Prior art keywords
delay
circuit
data
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
JP2059310A
Other languages
Japanese (ja)
Inventor
Yukiko Arai
新井 裕季子
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2059310A priority Critical patent/JPH03261217A/en
Publication of JPH03261217A publication Critical patent/JPH03261217A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily change a delay by using a 2-port RAM to suppress the increase in the number of gates due to the increase in the delay. CONSTITUTION:This circuit consists of a counter circuit 4 generating an initial address data, a decoder circuit 5 receiving an initial address data to designate an address of a 2-port RAM 8 and a delay element 6 to prevent a spike of the decoder circuit 5 from giving effect on write address designation of the 2-port RAM 8. Moreover, the circuit is provided with an AND gate 7 receiving output signals from the decoder circuit 5 and the delay element 6 as input signals and the 2-port RAM 8 receiving data from the decoder circuit 5, the AND gate 7 and outputting a data with an optional delay. Then the address of the 2-port RAM 8 is designated by a clock input 1. Thus, the increase in number of gates is minimized and the delay circuit whose delay time is easily change is realized.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、遅延量を容易に変えることができ又、遅延
量が大きくなってもゲート数の増加を最小限に抑えるよ
うにした遅延回路に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a delay circuit in which the amount of delay can be easily changed and an increase in the number of gates can be minimized even if the amount of delay increases. It is related to.

〔従来の技丙」 第3図は例えば゛85三菱半導体バイポーラディジタ/
L’IC<LSTTL>編に示された8ビツトシフトレ
ジスタ(M74LS166AP)の回路図である。
[Conventional technology] Figure 3 shows, for example, the 85 Mitsubishi semiconductor bipolar digital
It is a circuit diagram of an 8-bit shift register (M74LS166AP) shown in L'IC<LSTTL> edition.

図において、(1a)はクロック入力、(1b)はクロ
ックイネーブル又はクロック禁止機能として使用するク
ロック禁止入力、(3a)〜(3h)は並列データ入力
、(9)はデータ出力、(10)はロード入力、(11
)は直列データ入力、(12)は直結リセット入力、(
13)はクロック入力(la)と、クロック禁止入力(
1b)と組み合わされたNORゲート、(14)はドラ
イバ、(15a )〜(15k)はインバータ、(16
a) 〜(16p)はデータ入力信号とロード信号を入
力信号とするANDゲート、(17a)〜(17h )
は直列入力か並列入力かを選ぶNORゲート、(18a
)〜α8h)はフリップフロッグである。
In the figure, (1a) is a clock input, (1b) is a clock inhibit input used as a clock enable or clock inhibit function, (3a) to (3h) are parallel data inputs, (9) is a data output, and (10) is a clock input. Load input, (11
) is serial data input, (12) is direct reset input, (
13) is the clock input (la) and the clock inhibit input (
1b), (14) is the driver, (15a) to (15k) are the inverters, (16)
a) - (16p) are AND gates whose input signals are a data input signal and a load signal, (17a) - (17h)
is a NOR gate that selects serial input or parallel input, (18a
) to α8h) are flip frogs.

次に動作について説明する。並列入力あるいはW nJ
入力モードは、ロード入力(10)の信号により選択で
きる。すなわち、ロード入力(10)が「H」レベルの
とき、直列データ入力(11)が働き、8ビツトのフリ
ップフロップ(18a)〜(18h)ハクロックパルス
により、直列S/アフトる。
Next, the operation will be explained. Parallel input or W nJ
The input mode can be selected by the signal at the load input (10). That is, when the load input (10) is at the "H" level, the serial data input (11) is activated, and the 8-bit flip-flops (18a) to (18h) perform serial S/aft by clock pulses.

また、ロード入力(10)が「L」レベルのとき、並列
データ入力(38)〜(3h)が働き、入力データは次
のクロックパルスに同期してロードされる。並列ロード
が行なわれている間は、直列データの転送は抑止される
。クロックの動作は、クロックパルスのrLJレベルか
ら「H」レベルへの立ち上りエツジでシフト又はロード
を行う。
Further, when the load input (10) is at the "L" level, the parallel data inputs (38) to (3h) are activated, and the input data is loaded in synchronization with the next clock pulse. Serial data transfer is inhibited while parallel loading is being performed. The clock operates by shifting or loading at the rising edge of the clock pulse from the rLJ level to the "H" level.

クロック禁止入力(1b)を「H」レベルに保持すると
クロックの動作は停止され、「L」レベルにするとデー
タの転送が可能になる。クロック禁止入力(lb)はク
ロック入力(18)がrHJレベルの間のみ「H」レベ
ルに変更可能である。バッファ付の直結リセット入力(
12)は、他の全ての入力に対して優先して動作し、シ
フトレジスタをリセットする。
When the clock inhibit input (1b) is held at the "H" level, the clock operation is stopped, and when it is set at the "L" level, data transfer is enabled. The clock inhibit input (lb) can be changed to the "H" level only while the clock input (18) is at the rHJ level. Directly connected reset input with buffer (
12) operates with priority over all other inputs and resets the shift register.

[発明が解決しようとする課題〕 従来の遅延四路は、以上のように構成されているので、
遅延量が大きくなると、シフトレジスターの段数も大き
くなり、ゲート数が増大するという問題点があった。
[Problem to be solved by the invention] Since the conventional delay four-way is configured as described above,
As the amount of delay increases, the number of stages of the shift register also increases, resulting in an increase in the number of gates.

この発明は、上記のような問題点を解消するためになさ
れたもので、ゲート数の増加を必要最小限に抑え、かつ
、遅延量を容易に変化させることができる遅延回路を提
供することを目的とする。
This invention was made to solve the above problems, and aims to provide a delay circuit that can minimize the increase in the number of gates and easily change the amount of delay. purpose.

〔課題を解決するための手段 この発明に係る遅延回路は、初期アドレスデータを生成
するカウンタ回路と上記初期アドレスデータを入力して
2ポートRAMのアドレスを指定するデコーダ回路と、
デコーダ回路のスパイクが2ポート’RAMのライトア
ドレス指定に影響するのを防ぐためのディレィ素子と、
上記デコーダ回路と上記ディレィ素子の出力信号を入力
信号とするANDゲートと、上記デコーダ回路と上記A
NDゲート及びデータを入力し、任意の遅延量だけ遅れ
たデータを出力する2ポートRAMを備えている。
[Means for Solving the Problems] A delay circuit according to the present invention includes: a counter circuit that generates initial address data; a decoder circuit that inputs the initial address data to specify an address of a two-port RAM;
a delay element to prevent spikes in the decoder circuit from affecting write addressing of the 2-port RAM;
an AND gate whose input signals are the output signals of the decoder circuit and the delay element;
It is equipped with an ND gate and a two-port RAM that inputs data and outputs data delayed by an arbitrary amount of delay.

〔作用] この発明にかけるカウンタ回路は、クロック入力により
2ポートRAMのアドレスを指定する。
[Operation] The counter circuit according to the present invention specifies the address of the 2-port RAM by inputting a clock.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1囚は遅延回路のブロック図である。The first figure is a block diagram of a delay circuit.

図にかいて、(1)はクロック入力、(2)はリセット
入力、(3)はデータ入力、(4)は初期アドレスデー
タを生成するカウンタ回路、(5)は上記初期アドレス
データを入力し、2ポートRA4(8)のアドレスを生
成する3T○8のデコーダ回路、(6)はデコーダ回路
(5)のスパイクが2ポートRAM(8)のライトアド
レス指定に影響するのを防ぐためのディレィ素子、(7
)はデコーダ回路(5)の出力信号とディレィ素子(6
)の出力信号とを入力信号とするANDゲート、(9)
はデータ出力である52ポートRAM(8)はデコーダ
回路(5)とANDゲート(7)の出力信号、及びデー
タを入力信号とし任意の遅延量だけ遅れたデータを出力
する。
In the figure, (1) is a clock input, (2) is a reset input, (3) is a data input, (4) is a counter circuit that generates initial address data, and (5) is a circuit that inputs the above initial address data. , 3T○8 decoder circuit that generates the address of 2-port RAM4 (8), (6) is a delay to prevent the spike of the decoder circuit (5) from affecting the write address specification of 2-port RAM (8). Motoko, (7
) is the output signal of the decoder circuit (5) and the delay element (6
) and an AND gate whose input signal is the output signal of (9)
The 52-port RAM (8) which is a data output uses the output signals of the decoder circuit (5) and the AND gate (7) and data as input signals and outputs data delayed by an arbitrary delay amount.

第2図は第1図の回路に釦ける各部の信号波形を示すタ
イミングチャートである。
FIG. 2 is a timing chart showing signal waveforms at various parts of the circuit shown in FIG. 1.

次に、動作について説明する。Next, the operation will be explained.

筐ず動作の前にリセット入力(2)の入力によって3ビ
ツトのカウンタ回路(4)を初期化し0(Hex)とす
る。
Before the automatic operation, the 3-bit counter circuit (4) is initialized to 0 (Hex) by inputting the reset input (2).

クロック入力(1) CL Hにより、3ビツトのカウ
ンタ回路(4)のカウント値は1になり、その出力信号
を入力信号とする3TO8のデコーダ回路(5)の出力
信号により、2ポートRAM(8)のリード側のアドレ
ス1番地の8ビツトのデータを読み出し、データ出力(
9)に出力する。次のクロック入力(1) CL Kで
3ビツトのカウンタ回路(4)のカウント値は2になり
、同様に2番地のデータが読み出される。この動作が順
次繰り返され、7番地のデータを読み出した後は、0番
地から順次データの読み出しを行う。
Clock input (1) CL H sets the count value of the 3-bit counter circuit (4) to 1, and the output signal of the 3TO8 decoder circuit (5), which uses the output signal as an input signal, causes the 2-port RAM (8 ) reads the 8-bit data at address 1 on the read side and outputs the data (
9). At the next clock input (1) CLK, the count value of the 3-bit counter circuit (4) becomes 2, and the data at address 2 is read out in the same way. This operation is repeated sequentially, and after reading the data at address 7, data is read sequentially from address 0.

筐た、クロック入力(1) CL Kはディレィ素子(
6)を通り、ある一定時間遅れ、3−08のデコーダ回
路(5)の出力信号との論堆積により、スパイクの出な
いライト側のアドレス信号を生成し、2ホ一ドRAM(
8)のライト側のアドレスO番地に8ビツトのデータを
書き込み保持する。次のクロック入力(1)CLKで3
ビツトのカウンタ回路(4)のカウンタ値は2になり、
同様に1番地にデータを書き込み保持する。この動作が
順次繰り返され、7番地にデータを書き込んだ後は0番
地にもどり、データを書き込み保持する。
Clock input (1) CLK is the delay element (
6), and after a certain period of time delay, a write-side address signal with no spikes is generated by logic accumulation with the output signal of the decoder circuit (5) of 3-08, and the 2-hode RAM (
8) Write 8-bit data to address O on the write side and hold it. Next clock input (1) 3 at CLK
The counter value of the bit counter circuit (4) becomes 2,
Similarly, data is written and held at address 1. This operation is repeated in sequence, and after writing data to address 7, it returns to address 0 and writes and holds the data.

このように、この回路はたとえば2ボー)RAM(8)
のリードアドレスの1番地と、ライトアドレスの0番地
というように、ライトアドレスはリードアドレスよりも
1″)前の番地とつながれているため、クロック入力(
1) CL Hにより、リードアドレス1番地のデータ
を読み出し、ライトアドレス0番地にデータを書き込む
つすなわちライトアドレス0番地に書き込まれたデータ
が読み出されるのは、リードアドレス1番地から順に7
番地筐で読み出された次になυ、一定時間違れて出力さ
れることになる。
In this way, this circuit can be used, for example, as a 2 baud) RAM (8)
Since the write address is connected to an address 1" before the read address, such as read address 1 and write address 0, the clock input (
1) CLH reads data at read address 1 and writes data to write address 0. In other words, the data written to write address 0 is read from read address 7 in order from read address 1.
The next value υ that is read at the address will be output incorrectly at certain times.

なか、上記実施例では2ポートRA M (8)のライ
ト信号にスパイクが出るのを防ぐために、ディレィ素子
(6)を用いたが、デコーダ回路(5)の出力からスパ
イクの出ない構成をとれば、ディレィ素子(6)を使用
しなくてもよい。
In the above embodiment, the delay element (6) was used to prevent spikes from appearing in the write signal of the 2-port RAM (8), but it is also possible to adopt a configuration in which no spikes appear from the output of the decoder circuit (5). For example, the delay element (6) may not be used.

筐た、上記l!施例では、3ビツトのカウンタ回路(4
)、3to8のデコーダ回路(5)、8ワード×8ビツ
トの2ポートRAM(8)を使用したが、任意のものを
使用しても同様の効果を奏する。
Keita, above l! In the example, a 3-bit counter circuit (4
), a 3 to 8 decoder circuit (5), and an 8 word x 8 bit 2-port RAM (8), but the same effect can be obtained by using any arbitrary one.

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

以上の説明のように、この発明は、2ポートRAMを使
用することにより、この回路の遅延量の増加によるゲー
ト数の増加を必要最小限に抑えることができ、かつ、遅
延量を容易に変化させることができるという効果がある
As described above, by using a two-port RAM, the present invention can suppress the increase in the number of gates due to an increase in the delay amount of this circuit to the necessary minimum, and can easily change the delay amount. It has the effect of being able to

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

第1区はこの発明の一実施例を示す遅延回路のブロック
−1第2図は第1図の回路にかける各部の信号波形を示
すタイミングチャート、第3図は従来の8ビツトシフト
レジヌタを示すブロック図である。 図にかいて、(1)はクロック入力、(2)ハリセット
入力、(3)はデータ入力、(4)はカウンタ回路、(
5)はデコーダ回路、(6)はディレィ素子、(7)は
ANDゲー) 、(8)は2ポートRA M 、(9)
はデータ出力である なか、各図中、同一符号は同一、又は相当部分を示す。
Section 1 is a block diagram of a delay circuit showing an embodiment of the present invention. Fig. 2 is a timing chart showing the signal waveforms of various parts applied to the circuit of Fig. 1. Fig. 3 is a block diagram of a conventional 8-bit shift register. FIG. In the figure, (1) is a clock input, (2) is a reset input, (3) is a data input, (4) is a counter circuit, (
5) is a decoder circuit, (6) is a delay element, (7) is an AND game), (8) is a 2-port RAM, (9)
are data outputs, and the same reference numerals in each figure indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] クロック信号を入力することにより、初期アドレスデー
タを生成するカウンタ回路と上記初期アドレスデータを
入力して、2ポートRAMのアドレスを指定するデコー
ダ回路と、クロック信号を入力信号とし、デコーダ回路
のスパイクが2ポートRAMのライトアドレス指定に影
響するのを防ぐためのディレィ素子と、上記デコーダ回
路の出力信号と上記ディレィ素子の出力信号とを入力信
号とするANDゲートと、上記デコーダ回路の出力信号
と上記ANDゲートの出力信号、及びデータを入力し、
任意の遅延量だけ遅れたデータを出力する2ポートRA
Mを備えたことを特徴とする遅延回路。
A counter circuit that generates initial address data by inputting a clock signal, a decoder circuit that inputs the above initial address data and specifies the address of the 2-port RAM, and a decoder circuit that uses the clock signal as an input signal to prevent spikes in the decoder circuit. a delay element for preventing the write addressing of the 2-port RAM from being affected; an AND gate whose input signals are the output signal of the decoder circuit and the output signal of the delay element; and the output signal of the decoder circuit and the output signal of the delay element. Input the AND gate output signal and data,
2-port RA that outputs data delayed by an arbitrary amount of delay
A delay circuit characterized by comprising M.
JP2059310A 1990-03-09 1990-03-09 Delay circuit Pending JPH03261217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2059310A JPH03261217A (en) 1990-03-09 1990-03-09 Delay circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2059310A JPH03261217A (en) 1990-03-09 1990-03-09 Delay circuit

Publications (1)

Publication Number Publication Date
JPH03261217A true JPH03261217A (en) 1991-11-21

Family

ID=13109670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2059310A Pending JPH03261217A (en) 1990-03-09 1990-03-09 Delay circuit

Country Status (1)

Country Link
JP (1) JPH03261217A (en)

Similar Documents

Publication Publication Date Title
JPH059872B2 (en)
JP3591657B2 (en) Semiconductor IC test equipment
KR100945968B1 (en) A semiconductor memory
EP0416513A2 (en) Fifo memory device
JPH08137430A (en) Semiconductor integrated circuit
US5734841A (en) Circuit for plug/play in peripheral component interconnect bus
US6914850B2 (en) Address buffer having (N/2) stages
JPH03261217A (en) Delay circuit
JPS5927624A (en) Integrated circuit possible for logical change
JPH0442072A (en) Setting method for clock delay time for testing ic
JPS6333712B2 (en)
JPS63253592A (en) Integrated circuit
JPS62125589A (en) Semiconductor integrated circuit
US6452857B1 (en) Circuits for controlling the storage of data into memory
JPH0458037B2 (en)
JPS6080193A (en) Memory system
JPH01202021A (en) Writing timing signal generating circuit
JPH03142878A (en) Semiconductor integrated circuit
JPS63253589A (en) Memory integrated circuit
JP2615004B2 (en) Integrated sequential access memory circuit
JPS59227086A (en) Shift register
JPH0256047A (en) Direct memory access controller
JPH0572765B2 (en)
JP2000011637A (en) Fifo-type storage
JPS6297424A (en) Semiconductor integrated circuit device