JPH04243316A - Start timing setting changeover system for pulse signal - Google Patents

Start timing setting changeover system for pulse signal

Info

Publication number
JPH04243316A
JPH04243316A JP414891A JP414891A JPH04243316A JP H04243316 A JPH04243316 A JP H04243316A JP 414891 A JP414891 A JP 414891A JP 414891 A JP414891 A JP 414891A JP H04243316 A JPH04243316 A JP H04243316A
Authority
JP
Japan
Prior art keywords
pulse
start timing
signal
count
timing setting
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
JP414891A
Other languages
Japanese (ja)
Inventor
Naoki Kobayashi
直樹 小林
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP414891A priority Critical patent/JPH04243316A/en
Publication of JPH04243316A publication Critical patent/JPH04243316A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To reduce the time and cost for setting a pulse start timing by providing a selector to switch the setting a pulse start timing just after each of n-bit count signal registers (in total n-sets). CONSTITUTION:When a pulse of logical '1' whose width is one period (1T) is inputted to a terminal DIN, '0' is fetched to count signal registers 11-14 from a terminal CIN. When a succeeding clock pulse is inputted to each register, since the input to the terminal DIN is zero, count is started in a count circuit 1. Thus, when a clock pulse of a count number set by a pulse start timing setting circuit 2 is inputted to the terminal CIN, '0' is outputted as a set signal 25. Then a pulse signal hold register 31 is set to '1' and holds the reset signal 26 till it is '0'. That is, a pulse start timing from an output terminal DOUT is set to an optional value up to 1T-16T after the input by selecting any of timing setting signals S0-S3.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、パルス信号の開始タイ
ミング設定切換方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse signal start timing setting switching system.

【0002】0002

【従来の技術】従来この種のパルス開始タイミング設定
切換方式は、例えば4種のパルス開始タイミングの設定
から1つのタイミングを選択する場合、図2(または図
3)に示すようにカウント信号レジスタ41〜44−ナ
ンド回路51〜54−セレクタ55の順に構成された回
路において、パルス開始タイミング設定信号入力ピン5
7から入力される2ビットのパルス開始タイミング設定
信号によって、設定の可能性を予想してあらかじめ用意
した4種のパルス開始タイミング信号S0 ,S1 か
ら1種を選択する方式となっていた。
2. Description of the Related Art Conventionally, in this type of pulse start timing setting switching system, when one timing is selected from four types of pulse start timing settings, a count signal register 41 is used as shown in FIG. 2 (or FIG. 3). ~ 44 - In a circuit configured in the order of NAND circuits 51 to 54 - selector 55, pulse start timing setting signal input pin 5
According to the 2-bit pulse start timing setting signal input from 7, one type is selected from four types of pulse start timing signals S0 and S1 prepared in advance in anticipation of possible settings.

【0003】0003

【発明が解決しようとする課題】上述した従来のパルス
開始タイミング設定切換方式は、次のような欠点を有し
ている。
The conventional pulse start timing setting switching system described above has the following drawbacks.

【0004】図2のパルス開始タイミング設定切換回路
においては、設定の可能性のある4種のタイミングをあ
らかじめ予想し、その4種のタイミングから1種を選択
する回路を用意しなければならない。したがって、設定
の可能性のあるパルス開始タイミングを予想する段階あ
るいは予想されるパルス開始タイミングから1種の値を
選択する回路を構成する段階で時間,費用がかかる。さ
らに、万一予想されなかったパルス開始タイミングへの
設定が必要となった場合、あるいは事前に設定の必要な
パルス開始タイミングの予想が不可能な場合、対応でき
ない。
In the pulse start timing setting switching circuit shown in FIG. 2, it is necessary to predict four possible timings in advance and prepare a circuit for selecting one of the four timings. Therefore, it takes time and money to predict possible pulse start timings or to configure a circuit to select one type of value from the expected pulse start timings. Furthermore, if it becomes necessary to set a pulse start timing that was not expected, or if it is impossible to predict the pulse start timing that needs to be set in advance, it cannot be handled.

【0005】また、図2のパルス開始タイミング設定切
換回路をベースに、設定タイミングをカウンタのカウン
ト値で0以上(2のn乗)−1以下の任意の値に設定で
きるように構成した回路が図3であるが(図3の例はn
=4)、回路がかなり複雑となりナンド回路やセレクタ
の段数が非常に多くなるため、ゲート故障による回路誤
動作の確率や消費電力が増大する。
In addition, there is a circuit based on the pulse start timing setting switching circuit shown in FIG. 2, which is configured so that the setting timing can be set to any value between 0 and above (2 to the n power) - 1 using the count value of a counter. 3 (the example in FIG. 3 is n
=4), the circuit becomes quite complex and the number of stages of NAND circuits and selectors increases, increasing the probability of circuit malfunction due to gate failure and power consumption.

【0006】[0006]

【課題を解決するための手段】本発明のパルス開始タイ
ミング設定切換方式は、(2のn乗)−1までのカウン
トの可能なnビットカウンタと、カウンタ内のnビット
のカウント信号レジスタ直後に1個ずる計n個設けたセ
レクタと、パルス開始タイミングの設定を切換えるnビ
ットのセレクト信号と、設定されたパルス信号を出力す
るパルス信号ホールド回路と、各セレクタの出力からパ
ルス信号ホールド回路のセット信号を生成するナンド回
路、及びリセット信号を生成するナンド回路を有してい
る。
[Means for Solving the Problems] The pulse start timing setting switching method of the present invention includes an n-bit counter that can count up to (2 to the n power) -1, and an n-bit count signal register immediately after the counter. A set of n selectors in total, an n-bit select signal that switches the pulse start timing setting, a pulse signal hold circuit that outputs the set pulse signal, and a pulse signal hold circuit from the output of each selector. It has a NAND circuit that generates a signal and a NAND circuit that generates a reset signal.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0008】図1は本発明の一実施例を示す回路図であ
る。図中1はカウンタ回路、11〜14はカウント信号
レジスタ、2はパルス開始タイミング設定回路、21〜
24はパルス開始タイミング設定切換セレクタ、25は
各セレクタの出力のナンドによって生成されたパルス信
号ホールドレジスタ・セット信号、26はパルス信号ホ
ールドレジスタ・リセット信号、3はパルス信号ホール
ド回路、31はパルス信号ホールドレジスタ、端子CI
Nはクロックパルス入力ピンで、クロックパルス1周期
を1Tと表し、以下2周期を2T,3周期を3T…n周
期をnTと表す。
FIG. 1 is a circuit diagram showing one embodiment of the present invention. In the figure, 1 is a counter circuit, 11 to 14 are count signal registers, 2 is a pulse start timing setting circuit, and 21 to 14 are count signal registers.
24 is a pulse start timing setting switch selector, 25 is a pulse signal hold register set signal generated by NAND of the output of each selector, 26 is a pulse signal hold register reset signal, 3 is a pulse signal hold circuit, 31 is a pulse signal Hold register, terminal CI
N is a clock pulse input pin, where one period of the clock pulse is expressed as 1T, the following two periods are expressed as 2T, the third period is expressed as 3T, and so on, and the n period is expressed as nT.

【0009】本実施例においては、端子DINから1T
幅の論理“1”をパルス入力とすると、CINからクロ
ックパルスの入力によってカウント信号レジスタ11〜
14に“0”が取り込まれる。次のクロックパルス入力
が各レジスタに入るときには、端子DINの入力は“0
”となっているので、カウント回路1でカウントが開始
され、パルス開始タイミング設定回路2で設定されてい
るカウント数のクロックパルスが端子CINから入力さ
れるとパルス信号ホールドレジスタ・セット信号25に
“0”が出力され、パルス信号ホールドレジスタ31の
内容が“1”になり、パルス信号ホールドレジスタ・リ
セット信号26が“0”となるタイミングまで保持され
る。
In this embodiment, 1T from the terminal DIN
When the width logic "1" is a pulse input, the count signal registers 11 to 11 are input by clock pulse input from CIN.
14 is loaded with "0". When the next clock pulse input enters each register, the input of the terminal DIN is “0”.
”, so when the count circuit 1 starts counting and the clock pulses of the count number set in the pulse start timing setting circuit 2 are input from the terminal CIN, the pulse signal hold register set signal 25 is set as “ 0" is output, the contents of the pulse signal hold register 31 become "1", and the pulse signal hold register 31 is held until the timing when the reset signal 26 becomes "0".

【0010】したがって、例えばパルス開始を端子DI
N入力から5T後、パルス終了を16T後とするパルス
信号を出力させる場合は、パルス開始タイミング設定信
号S0 ,S1 ,S2 ,S3にそれぞれ“0”,“
1”,“0”,“0”を設定しておき、端子DINに1
T幅の“1”をパルス入力すると、次のクロックパルス
からクロックパルスの入力の回数がカウントされ、4T
後にパルス信号ホールドレジスタ・セット信号25が“
0”となり5T後にパルス信号ホールドレジスタ31が
セットされ、15T後にパルス信号ホールドレジスタ・
リセット信号26が“0”となって16T後にパルス信
号ホールドレジスタ31がリセットされる。
Therefore, for example, the start of the pulse can be
When outputting a pulse signal that ends 5T and 16T after the N input, set the pulse start timing setting signals S0, S1, S2, and S3 to "0" and ", respectively.
1”, “0”, and “0”, and set 1 to terminal DIN.
When a pulse of "1" with T width is input, the number of clock pulse inputs is counted from the next clock pulse, and the number of clock pulse inputs is 4T.
After that, the pulse signal hold register set signal 25 becomes “
0'', the pulse signal hold register 31 is set after 5T, and the pulse signal hold register 31 is set after 15T.
The pulse signal hold register 31 is reset 16T after the reset signal 26 becomes "0".

【0011】即ち、パルス開始タイミング設定信号S0
 ,S1 ,S2 ,S3 の切換えによって、端子D
OUT からのパルス信号の開始のタイミングを、端子
DINのパルス入力の1T後から16T後までの任意の
値に設定することができる。
That is, the pulse start timing setting signal S0
, S1, S2, and S3, the terminal D
The timing of the start of the pulse signal from OUT can be set to any value from 1T to 16T after the pulse input to the terminal DIN.

【0012】0012

【発明の効果】以上説明したように本発明は、パルスの
開始タイミングの設定を切換えるセレクタを、nビット
のカウント信号レジスタの直後に1個ずつ計n個設ける
ことにより以下のような効果がある。
[Effects of the Invention] As explained above, the present invention provides the following effects by providing a total of n selectors for switching the pulse start timing setting, one immediately after the n-bit count signal register. .

【0013】図2のパルス開始タイミング設定切換回路
に対しては、パルス開始タイミングとして設定の可能性
のある値をあらかじめ予想する必要がなくなり、そのた
めの時間費用を削減することができる。また、予想して
いなかったパルス開始タイミングへの設定が必要となっ
た場合、あるいは事前に予想が不可能な場合にも対応す
ることができる。
With the pulse start timing setting switching circuit shown in FIG. 2, there is no need to predict in advance the values that may be set as the pulse start timing, and the time cost for this can be reduced. Furthermore, it is possible to deal with cases where it is necessary to set a pulse start timing that was not expected, or cases where prediction cannot be made in advance.

【0014】図3のパルス開始タイミング設定切換回路
に対しては、セレクタの段数やナンドゲートの数を大幅
に減らし、非常に簡単な回路で同様の機能を持つ回路を
構成できるため、ゲート故障による誤動作の確率や消費
電力を低減することができる。
Regarding the pulse start timing setting switching circuit shown in FIG. 3, the number of selector stages and the number of NAND gates can be significantly reduced, and a circuit with the same function can be constructed using a very simple circuit, so malfunctions due to gate failure can be avoided. The probability of this and power consumption can be reduced.

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

【図1】本発明の一実施例を示す回路図である。FIG. 1 is a circuit diagram showing an embodiment of the present invention.

【図2】従来の第1の例を示す回路図である。FIG. 2 is a circuit diagram showing a first conventional example.

【図3】従来の第2の例を示す回路図である。FIG. 3 is a circuit diagram showing a second conventional example.

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

1    カウンタ回路 3    パルス信号ホールド回路 11〜14    カウント信号レジスタ20〜25 
   セレクタ 100    入力ピン
1 Counter circuit 3 Pulse signal hold circuits 11-14 Count signal registers 20-25
Selector 100 input pin

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  パルスの開始タイミングの設定を切換
えるセレクタを、nビットのカウント信号レジスタ直後
に1個ずつ計n個設け、該セレクタを切換えるnビット
のセレクト信号によってパルス信号の開始タイミングを
、カウンタのカウント値で0以上(2のn乗)−1以下
の任意の値に設定できるパルス信号の開始タイミング設
定切換方式。
1. A total of n selectors for switching the pulse start timing setting are provided, one immediately after the n-bit count signal register, and the pulse signal start timing is set by the n-bit select signal for switching the selector. A pulse signal start timing setting switching method that allows the count value to be set to any value from 0 to (2 to the nth power) - 1 or less.
JP414891A 1991-01-18 1991-01-18 Start timing setting changeover system for pulse signal Pending JPH04243316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP414891A JPH04243316A (en) 1991-01-18 1991-01-18 Start timing setting changeover system for pulse signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP414891A JPH04243316A (en) 1991-01-18 1991-01-18 Start timing setting changeover system for pulse signal

Publications (1)

Publication Number Publication Date
JPH04243316A true JPH04243316A (en) 1992-08-31

Family

ID=11576693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP414891A Pending JPH04243316A (en) 1991-01-18 1991-01-18 Start timing setting changeover system for pulse signal

Country Status (1)

Country Link
JP (1) JPH04243316A (en)

Similar Documents

Publication Publication Date Title
KR950012058B1 (en) Register control circuit
JPH04248481A (en) Logic comparison circuit of ic testing device
TWI801100B (en) Shift register circuit and a method for controlling a shift register circuit
JPH04243316A (en) Start timing setting changeover system for pulse signal
JP2923175B2 (en) Clock generation circuit
JPH0481124A (en) Count number setting changeover system
JP2984429B2 (en) Semiconductor integrated circuit
JP2638337B2 (en) Error counter circuit
JPH04101535A (en) Interface circuit
JP2748724B2 (en) Integrated circuit
JP2602404Y2 (en) Counter circuit
JPH0683066B2 (en) Counter circuit
SU1439747A1 (en) Device for convolution of number code by modulus
JPH0457409A (en) Pulse signal timing setting circuit
KR100266574B1 (en) Synchronous signal delay circuit
JPH0749428Y2 (en) Photoelectric switch circuit
SU798814A1 (en) Device for comparing numbers
JPH0411133B2 (en)
SU1160414A1 (en) Device for checking logic units
JPH01270413A (en) Counting circuit
JPS63287109A (en) Timing generating circuit
JPS6139720A (en) Trigger control circuit
JPS60263530A (en) Serial data transfer circuit
JPH0432785A (en) Test circuit
JPS61263319A (en) counting circuit