JPH04196921A - Initializing method for asynchronous counter circuit - Google Patents

Initializing method for asynchronous counter circuit

Info

Publication number
JPH04196921A
JPH04196921A JP33158390A JP33158390A JPH04196921A JP H04196921 A JPH04196921 A JP H04196921A JP 33158390 A JP33158390 A JP 33158390A JP 33158390 A JP33158390 A JP 33158390A JP H04196921 A JPH04196921 A JP H04196921A
Authority
JP
Japan
Prior art keywords
circuit
frequency divider
control information
output
frequency dividing
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.)
Granted
Application number
JP33158390A
Other languages
Japanese (ja)
Other versions
JP2616230B2 (en
Inventor
Hiroyuki Matsuo
浩之 松尾
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2331583A priority Critical patent/JP2616230B2/en
Publication of JPH04196921A publication Critical patent/JPH04196921A/en
Application granted granted Critical
Publication of JP2616230B2 publication Critical patent/JP2616230B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To easily execute an initial setting at all times by providing a first set value writing means and second-Nth set value writing means to write the counted values next to the set values of respective frequency divider circuits to the respective frequency divider circuit. CONSTITUTION:Control information is inputted from the outside to a first set value writing means 2-1 in a first step and initially set, and the initially set value is written to a first frequency divider circuit 1-1 in the first step directly. In respect to second-Nth frequency divider circuits (1-2)-(1-n) subsequent to the second step, according to the control information, the outputs of the first-(N-1)th frequency divider circuits (1-1)-(n-1) in the preceding steps to be used for respective frequency divider circuits (1-2)-(1-n) are held in first (3-1)-(N-1)th state holding means 3-(n-1). Then, the counted values next to the set values of the second-Nth frequency divider circuits (1-2)-(1-n) are respectively written. Therefore, any initial value can be initially set from the synchronous frequency divider circuit designed without considering initialization.

Description

【発明の詳細な説明】 〔概 要〕 非同期式カウンタ回路の初期設定方式に関し、初期設定
を考慮せずに設計した非同期式カウンタ回路から、如何
なる初期値であっても簡単に初期設定を施すことができ
るカウンタ回路の提供を目的とし、 各々が同期するN段の第一分周回路〜第N分周回路から
なる非同期式カウンタ回路において、外部からの制御情
報により初段の第一分周回路に直接設定値を書き込む第
一設定値書込手段と、2段目以降の第二分周回路〜第N
分周回路には、各分周回路にて使用される前段からの出
力にて次のカウントまで前記制御情報を保持し、各分周
回路における設定値の次のカウント値を各分周回路に書
き込む第二設定値書込手段〜第N設定値書込手段とを設
けた構成にする。
[Detailed Description of the Invention] [Summary] Regarding the initial setting method of an asynchronous counter circuit, to easily perform initial setting of any initial value from an asynchronous counter circuit designed without considering the initial setting. In order to provide a counter circuit that can perform A first set value writing means for directly writing a set value, and a second frequency dividing circuit to the Nth stage from the second stage onwards.
The frequency divider circuit retains the control information until the next count with the output from the previous stage used in each frequency divider circuit, and the count value next to the set value in each frequency divider circuit is sent to each frequency divider circuit. The configuration includes second setting value writing means to Nth setting value writing means.

〔産業上の利用分野〕[Industrial application field]

本発明は、非同期式カウンタ回路に初期設定を施すため
のカウンタ初期設定方式に関する。
The present invention relates to a counter initialization method for initializing an asynchronous counter circuit.

〔従来の技術〕[Conventional technology]

第4図はカウンタ回路の設定値の書込み例を示す一図で
あり、(A)、  (B)はカウンタ回路への設定値書
込みを“HI+で行う例、又(C)、(D)は設定値書
込みを“Loで行う例である。図中、41はカウンタ回
路としてのフリップフロップ(以下、FFと称す)、4
2は論理和演算回路(以下、ORと称す)であり、なお
43.44は入力信号の反転出力回路(以下、INVと
称す)、又45は論理積演算回路(以下、ANDと称す
)である。
FIG. 4 is a diagram showing an example of writing the set value of the counter circuit. (A) and (B) are examples of writing the set value to the counter circuit with "HI+", and (C) and (D) are examples of writing the set value to the counter circuit. This is an example in which the setting value is written in "Lo". In the figure, 41 is a flip-flop (hereinafter referred to as FF) as a counter circuit;
2 is a logical sum operation circuit (hereinafter referred to as OR), 43 and 44 are input signal inversion output circuits (hereinafter referred to as INV), and 45 is a logical product operation circuit (hereinafter referred to as AND). be.

図(A)おいて、データ(以下、Dと称す)の“H”と
設定値の制御情報(以下、Fと称す)の“H”の論理和
を0R42で求め、当該論理和値を書込み信号としてF
F41のD端子に加えてクロックCで打ち抜いて゛保持
し、次のクロックCのタイミングにおいて正極性端子Q
(以下、Q端子と称す)からD及びFの“H”の部分を
“H11とした信号■を読みだす。また図(B)では、
Dの“H′をINV43で反転した出力とFのH”″を
反転した出力との論理積をAND45で求め、当該論理
積値を書込み信号としてFF41に加えてクロックCで
打ち抜いて保持し、次のクロックCのタイミングにおい
て負極性端♀IQ(以下、*Q端子と称す)からD及び
Fの“H”の部分を“°H″とした信号■を読みだす。
In figure (A), calculate the logical sum of "H" of the data (hereinafter referred to as D) and "H" of the control information of the setting value (hereinafter referred to as F) using 0R42, and write the logical sum value. F as a signal
In addition to the D terminal of F41, punch out with clock C and hold it, and at the timing of the next clock C, the positive polarity terminal Q
(hereinafter referred to as the Q terminal) reads the signal ■ with the "H" portion of D and F set to "H11". Also, in figure (B),
The logical product of the output obtained by inverting the "H" of D by the INV43 and the output obtained by inverting the "H" of F is determined by the AND45, and the logical product value is added to the FF41 as a write signal, and is punched and held by the clock C. At the timing of the next clock C, a signal ■ with the "H" portions of D and F set to "°H" is read from the negative polarity terminal #IQ (hereinafter referred to as *Q terminal).

同様に、図(C)ではD端子にDとFの反転信号の論理
積値を書込み信号としてFF41に加え、端子Qからは
DのL′“とFのH”の部分を“Lo”とした信号■を
読みだす。
Similarly, in Figure (C), the AND value of the inverted signals of D and F is applied to the D terminal as a write signal to the FF41, and from the terminal Q, the L' of D and the H of F are set as "Lo". Read out the signal ■.

また図(D)ではDの“Lo”とFの“H”部分を“L
”とした信号■を端子*Qから読みだす。以下において
、第4図(A)〜(D)め回路を用いたカウンタ回路例
を第5図および第6図に示す。
In addition, in figure (D), the “Lo” part of D and the “H” part of F are
” is read from the terminal *Q. In the following, examples of counter circuits using the circuits shown in FIGS. 4(A) to 4(D) are shown in FIGS. 5 and 6.

第5図は従来の一実施例の回路を示す図であり、初期設
定を考慮せずに設計した非同期式カウンタの回路図であ
る。また第6図は従来の一実施例回路のタイムチャート
を示す図である。
FIG. 5 is a diagram showing a circuit of a conventional example, and is a circuit diagram of an asynchronous counter designed without considering initial settings. Further, FIG. 6 is a diagram showing a time chart of a conventional example circuit.

第5図において、1−1は本回路の基準信号をクロック
とする同期式の第一分周回路、1−2は第一分周回路1
−1の出力をクロックとする同期式の第二分周回路であ
る。またl−3は第二分周回路1−2の出力信号をクロ
ックとする同期式の第三分周回路である。なおこれら第
一分周回路Ll、第二分周回路1−2の出力信号を、そ
れぞれ次段の同期式分周回路のクロックに使用すること
で6X6X3=108の非同期式分周回路を形成してい
る。
In FIG. 5, 1-1 is a synchronous first frequency divider circuit that uses the reference signal of this circuit as a clock, and 1-2 is a first frequency divider circuit 1.
This is a synchronous second frequency dividing circuit that uses the -1 output as a clock. Further, l-3 is a synchronous third frequency dividing circuit whose clock is the output signal of the second frequency dividing circuit 1-2. By using the output signals of the first frequency divider circuit Ll and the second frequency divider circuit 1-2 as clocks for the next-stage synchronous frequency divider circuit, a 6X6X3=108 asynchronous frequency divider circuit is formed. ing.

11〜13は入力する基準信号をクロックとするFFで
あり、11は第4図(A)に示した回路に該当する第三
FF13は第4図(D)に示した回路に該当する第二F
F、なお13はFFIIとFF12の動作を組み合わせ
た第三FFである。更に、14は第二FF12の負極性
出力および第三FF13の正極性出力を入力とする反転
論理和演算回路の第一N0R115は第一FFIIの正
極性出力と第一NOR14を入力浜する論理和演算回路
の第一ORであり、これら11−15にて前記した同期
式の6分周回路1−1を形成する。同様に、21〜23
  は第一FFII〜第三FF13と同一動作の回路で
あり、第一分周回路1−1の出力である第一FFIIの
出力信号をクロックとする第四FF〜第六FF、24は
第五FF22と第六FF23の出力を入力とする第二N
0R125は第二N0R24と第四FF21の出力を入
力とする第二ORであり、これら21〜25にて同期式
の6分周回路を形成する。更に、31と32はFF12
とほぼ同一動作の回路であり、第二分周回路1−2の出
力である第四FF21の出力をクロックとする第七FF
と第八FF、33は第七FF31と第八FF32のそれ
ぞれの負極性出力を入力とする第三ORであり、これら
31〜33にて同期式の3分周回路を形成している。
11 to 13 are FFs that use the input reference signal as a clock, and 11 is a third FF that corresponds to the circuit shown in FIG. 4(A). A third FF 13 corresponds to the circuit shown in FIG. 4(D). F
F, 13 is a third FF that combines the operations of FFII and FF12. Furthermore, the first N0R115 is an inverted OR operation circuit which receives the negative output of the second FF 12 and the positive output of the third FF 13 as input, and the first N0R 115 is an OR operation that inputs the positive output of the first FFII and the first NOR 14. This is the first OR of the arithmetic circuit, and these 11-15 form the above-mentioned synchronous divide-by-6 circuit 1-1. Similarly, 21-23
are circuits that operate in the same way as the first FFII to third FF13, and 24 is the fourth FF to sixth FF whose clock is the output signal of the first FFII, which is the output of the first frequency dividing circuit 1-1. The second N inputs the outputs of FF22 and sixth FF23.
0R125 is a second OR which inputs the outputs of the second N0R24 and the fourth FF21, and these 21 to 25 form a synchronous divide-by-six circuit. Furthermore, 31 and 32 are FF12
The seventh FF has almost the same operation as the seventh FF whose clock is the output of the fourth FF 21, which is the output of the second frequency dividing circuit 1-2.
and the eighth FF, 33 are third ORs which receive the respective negative polarity outputs of the seventh FF 31 and the eighth FF 32, and these 31 to 33 form a synchronous three-frequency divider circuit.

第6図において、(a)は本回路のクロックとなる基準
信号、Φ)は本回路のリセット信号、(C)、 (dL
(e)は基準信号(a)をクロックとする第一分周回路
1−1に備えたる第一FFII、第二FF12.第三F
F13の正極性出力であり、基準信号(a)の6分周出
力に相当する。なお信号(ハ)、 (i)、 (j)は
前段の第一分周回路Llの出力信号(C)をクロックと
した第二分周回路1−2に備えたる第四FF2L第五F
F22゜第六FF23の正極性出力であり、基準信号(
a)の6X6=36分周出力に相当する。また信号に)
と信号(n)は、前段の第三分周回路1−3の出力信号
(ハ)をクロックとする同期式の第三分周回路の第七F
F31と第八FF32の正極性出力を示し、基準信号(
a)を基準とする6X6X3=108分周の非同期式分
周回路に相当する。
In Figure 6, (a) is the reference signal that becomes the clock of this circuit, Φ) is the reset signal of this circuit, (C), (dL
(e) shows a first FFII, a second FF12, . Third F
This is the positive polarity output of F13, and corresponds to the six-frequency divided output of the reference signal (a). Note that the signals (c), (i), and (j) are the signals of the fourth FF2L and the fifth F that are provided in the second frequency dividing circuit 1-2 using the output signal (C) of the first frequency dividing circuit Ll in the previous stage as a clock.
F22゜This is the positive polarity output of the sixth FF23, and the reference signal (
This corresponds to the 6×6=36 frequency-divided output in a). Also at the signal)
and signal (n) are the 7th F of the synchronous third frequency dividing circuit whose clock is the output signal (c) of the previous third frequency dividing circuit 1-3.
It shows the positive polarity output of F31 and the eighth FF32, and the reference signal (
This corresponds to an asynchronous frequency dividing circuit that divides the frequency by 6×6×3=108 based on a).

以下第5図の従来例を第6図を参照し説明する。The conventional example shown in FIG. 5 will be explained below with reference to FIG. 6.

本回路の基準を示す基準信号(a)であるクロックが順
次に入力し、かつリセット信号(b)が第5図に示すよ
うに入力されると、基準信号(a)が入力するごとに1
クロツクづつシフトして、クロックのタイミング■で正
極性出力(C)と負極性出力(Co)、同様にタイミン
グ■で(d)と(d゛)、又タイミング■で(e)と(
e゛)を第一FFII〜第三FF13から出力し、以下
同様の動作を繰り返す。そしてこの出力(d″)。
When the clock, which is the reference signal (a) indicating the standard of this circuit, is input sequentially and the reset signal (b) is input as shown in FIG. 5, each time the reference signal (a) is input,
By shifting clock by clock, positive polarity output (C) and negative polarity output (Co) are generated at clock timing ■, (d) and (d゛) at timing ■, and (e) and (at timing ■).
e') is output from the first FFII to the third FF13, and the same operation is repeated thereafter. And this output (d″).

(e)を第一NOR14へ帰還しかつ出力(e゛)を第
一FF1lに帰還することにより、6分周の出力(C)
、 (d)。
By feeding back (e) to the first NOR 14 and feeding back the output (e゛) to the first FF 1l, the output (C) of frequency division by 6 is obtained.
, (d).

(e)が送出する。次にこの分周回路1=1の出力(C
)をクロックとして第二分周回路1−2に入力すると、
第二分周回路1−2は第一分周回路1−1と同様の動作
をし、第四FF21〜第六FF23から第6図(h)〜
(j)に示す信号が順次に出力される。同様に、信号(
h)をクロックとする第三分周回路1−3から第6図に
)、(n)の各出力が順次に送出される。
(e) sends out. Next, the output of this frequency divider circuit 1=1 (C
) is input to the second frequency divider circuit 1-2 as a clock, then
The second frequency dividing circuit 1-2 operates in the same manner as the first frequency dividing circuit 1-1, and includes the fourth FF21 to the sixth FF23 to FIG.
The signals shown in (j) are sequentially output. Similarly, the signal (
6) and (n) are sequentially sent out from the third frequency dividing circuit 1-3 using h) as a clock.

このような連続したカウント動作の回路において、例え
ば設定値=“8”の状態、即ち2番目のクロック■にお
ける(A)?iN域の信号状態は、第6図のタイムチャ
、−トから(C)’= 1 、 (d) = 1 、 
(e) =0であり、なお(B)領域では(ハ)=1.
(i)=1゜’U)=Oであり、また(C)領域ではに
)=1.(n)=0であり、なおこれらは各F Fll
、12,13.21,22,23.31.32の連続カ
ウントの成る瞬間におけるカウント値である。
In such a continuous counting circuit, for example, in the state where the set value is "8", that is, (A) at the second clock ■? From the time chart in Fig. 6, the signal state in the iN region is (C)' = 1, (d) = 1,
(e) = 0, and in region (B), (c) = 1.
(i) = 1°'U) = O, and in the region (C) = 1. (n)=0, and these are each F Fll
, 12, 13.21, 22, 23.31.32.

上記したように、従来の非同期式カウンタ回路では初期
設定を行わずにカウンタ回路にリセットをかける程度の
ものであり、従って成る値を初期設定したい場合は、カ
ウンタ回路の設計段階で考慮しなければならない。
As mentioned above, in conventional asynchronous counter circuits, the counter circuit is simply reset without performing initial settings, so if you want to initialize the value, you must consider this at the counter circuit design stage. No.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

−従うて、−度設計したカウンタ回路は初期値に対して
汎用性がない、つまり初期値が変わると再度その値を考
慮したカウンタ回路を設計しなければならず、設計上に
おける時間の損失や回路規模の増大を招くという課題が
ある。
- Therefore, the counter circuit designed once is not versatile with respect to the initial value. In other words, if the initial value changes, the counter circuit must be designed again taking that value into consideration, which leads to loss of time in the design and There is a problem in that the circuit size increases.

本発明は、初期設定を考慮せずに設計した非同期式〇カ
ウンタ回路から、如何なる初期値でも簡単に初期設定を
施すことができる非同期式カウンタ回路の提供を目的と
する。
An object of the present invention is to provide an asynchronous counter circuit that can be easily initialized to any initial value from an asynchronous counter circuit designed without consideration of initial settings.

〔問題点を解決するための手段〕[Means for solving problems]

上記の目的を達成するために本発明では・、各々が同期
するN段の第一分周回路1−1〜第N分周回路1−nか
らなる非同期式カウンタ回路において、外部からの制御
情報により初段の第一分周回路1−1に直接設定値を書
き込む第一設定値書込手段2−1と、2段目以降の第二
分周回路1−2〜第N分周回路1−nには、各分周回路
1−2〜1−nにて使用される前段からの出力にて次の
カウントまで前記制御情報を保持し、各分周回路1−2
〜I−nにおける設定値の次のカウント値を各分周回路
1−2〜1−nに書き込む第二設定値書込手段2−2〜
第N設定値書込手段2−nにて構成する。
In order to achieve the above object, the present invention provides an asynchronous counter circuit consisting of an N-stage first frequency divider circuit 1-1 to an N-th frequency divider circuit 1-n, each of which is synchronized. a first set value writing means 2-1 that directly writes a set value to the first frequency divider circuit 1-1 in the first stage, and second frequency divider circuits 1-2 to Nth frequency divider circuit 1- in the second and subsequent stages. n holds the control information until the next count in the output from the previous stage used in each frequency dividing circuit 1-2 to 1-n, and each frequency dividing circuit 1-2
~Second set value writing means 2-2~ for writing the next count value of the set value at I-n into each frequency dividing circuit 1-2~1-n.
It is constituted by the Nth setting value writing means 2-n.

また、2段目以降の第二分周回路l−2〜第N分周回路
1−nにおいて、各々の分周回路1−1〜1−(n−1
)からの出力をクロック入力とし、データ入力を” H
”固定とする第一状態保持手段3−1〜第N−1状態保
持手段3−(n−1)のリセット端子に前記制御情報を
入力し、負極性出力を当該制御情報入力とするように構
成する。
In addition, in the second frequency dividing circuit l-2 to the Nth frequency dividing circuit 1-n in the second and subsequent stages, each of the frequency dividing circuits 1-1 to 1-(n-1
) as the clock input, and the data input as “H”
``Input the control information to the reset terminals of the first state holding means 3-1 to the N-1st state holding means 3-(n-1) to be fixed, and make the negative polarity output the control information input. Configure.

〔作 用〕[For production]

本発明では第1図に示すように、各々が同期し動作する
N段の第一分周回路Ll〜第N分周回路1−nから構成
される非同期式カウンタ回路において、外部からの制御
情報を初段の第一設定値書込手段2−1に入力して初期
設定し、当該初期設定値を初段の第一分周回路1−1に
対し直接に書き込むようにし、また2段目以降の第二分
周回路1−2〜第N分周回路1−nに対しては、各分周
回路1−2〜1−nで使用する前段の第一分周回路1−
1〜第N−1分周回路1−(n−1)の出力を次のカウ
ントまで前記制御情報により第一状態保持手段3−1〜
第N−1状態保持手段3− (n−1)に保持し、各第
二分周回路1−2〜第N分周回路1−nでの設定値の次
のカウント値を書き込むようにしている。
In the present invention, as shown in FIG. 1, in an asynchronous counter circuit composed of an N-stage first frequency divider circuit Ll to an N-th frequency divider circuit 1-n, each of which operates synchronously, control information from the outside is used. is input into the first stage's first set value writing means 2-1 for initial setting, and the initial set value is written directly to the first stage's first frequency dividing circuit 1-1. For the second frequency divider circuit 1-2 to Nth frequency divider circuit 1-n, the first frequency divider circuit 1-n of the previous stage used in each frequency divider circuit 1-2 to 1-n is
The outputs of the 1st to N-1th frequency dividing circuits 1-(n-1) are controlled by the first state holding means 3-1 to 3-1 according to the control information until the next count.
The N-1 state holding means 3-(n-1) is configured to hold the count value next to the set value in each of the second frequency dividing circuit 1-2 to N-th frequency dividing circuit 1-n. There is.

従って、第一設定値書込手段2−1は所望の初期設定値
が書込みされ、また第二分周回路1−2〜第N分周回路
1−nには前記初期設定値の次の値が書き込まれる非同
期式カウンタ回路が構成できる。
Therefore, a desired initial setting value is written in the first setting value writing means 2-1, and a value next to the initial setting value is written in the second frequency dividing circuit 1-2 to the Nth frequency dividing circuit 1-n. It is possible to construct an asynchronous counter circuit in which .

〔実 施 例〕〔Example〕

第2図は本発明の一実施例の回路を示す図であり、第3
図は本発明の一実施例回路のタイムチャートを示す図で
ある。なお第3図は、第5図、第6図に示した初期設定
を考慮せずに設計した非同期式カウンタにおいて、制御
情報の入力により初期設定−” 8 ”が施された場合
を示す。
FIG. 2 is a diagram showing a circuit according to an embodiment of the present invention;
The figure is a diagram showing a time chart of a circuit according to an embodiment of the present invention. Note that FIG. 3 shows a case where the initial setting -"8" is applied by inputting control information in the asynchronous counter designed without considering the initial settings shown in FIGS. 5 and 6.

第2図において、Llは本回路のクロック信号をクロッ
クとする同期式6分周の第一分周回路であり、従来回路
の第一FFII〜第三FF13、第一NOR14、第一
0R15および本発明の第一設定値書込手段2〜1に対
応の第11OR16〜第13OR1Bを備える。又1−
2は第一分周回路1−1の出力信号をクロックとする同
期式6分周の第二分周回路であり、従来回路の第四F、
F21〜第六FF23、第二N0R24、第二〇R25
および本発明の第二設定値書込手段2−2に対応の第1
40R26〜第160R28と第一状態保持手段3−1
に対応の第九FF29を備える。
In FIG. 2, Ll is a first frequency divider circuit of synchronous frequency division by six using the clock signal of this circuit as a clock, and includes the first FFII to third FF13, first NOR14, first 0R15, and main frequency divider circuit of the conventional circuit. The first set value writing means 2 to 1 of the invention are provided with an 11th OR 16 to a 13th OR 1B. Also 1-
Reference numeral 2 denotes a second frequency dividing circuit of synchronous frequency division by six using the output signal of the first frequency dividing circuit 1-1 as a clock, and the fourth F of the conventional circuit.
F21~6th FF23, 2nd N0R24, 2nd 0R25
and a first set value writing means 2-2 of the present invention.
40R26 to 160R28 and first state holding means 3-1
Equipped with a corresponding ninth FF29.

又1−3は第二分周回路1−2の出力信号をクロックと
する同期式3分周の3分周回路であり、従来回路の第七
FF31〜第八FF32、第三〇R33および本発明の
第三設定値書込手段2−3に対応の第170R34、第
180R35と第二状態保持手段3−2に対応の第十F
F36を備える。これらは第5図と同様に、互いに同期
式の第一分周回路Llと第二分周回路1−2の出力信号
をそれぞれ次の同期式の第二分周回路1−2と第三分周
回路1−3のクロックに使用することで6X6X3=1
08の非同期式108分周回路を形成している。
In addition, 1-3 is a synchronous 3-3 frequency divider circuit that uses the output signal of the second frequency divider circuit 1-2 as a clock, and is a synchronous 3-3 frequency divider circuit that uses the output signal of the second frequency divider circuit 1-2 as a clock. 170R34 and 180R35 corresponding to the third setting value writing means 2-3 of the invention and the tenth F corresponding to the second state holding means 3-2.
Equipped with F36. These are similar to FIG. 5, in which the output signals of the synchronous first frequency dividing circuit Ll and second frequency dividing circuit 1-2 are divided into the next synchronous type second frequency dividing circuit 1-2 and third frequency dividing circuit, respectively. By using it for the clock of circuit 1-3, 6X6X3=1
08 asynchronous type 108 frequency divider circuit is formed.

第3図は第2図の動作を示すタイムチャートであり、信
号(a)、 (bL (C)、 (d)、(d’)、(
e)、(e’)、(f)、 (g)と卸、(i)、(+
’)、C+L(j’)、Ck)′+ (f)およびに)
、(m’)(n) 、 (n ’ ) 、 (0)、更
に枦)、 (q)、 (r)は第2図の回路の各点にお
けるそれぞれの回路の出力を示し、また信号(b)、 
 (d’)、 (e)、げ)、(匂と(i’)、(j)
、(ロ)、(1)および(m”)と(n”)、(0)に
ついては第3図への記載を省略しである。そして、信号
−)は本回路の初期設定を行う制御情報、信号(ロ)は
制御情報Φ)によりリセットされた第九FF29の負極
性出力、(r)は制御情報(p)によりリセットされた
第十FF36の負極性出力である。
FIG. 3 is a time chart showing the operation of FIG. 2, with signals (a), (bL (C), (d), (d'), (
e), (e'), (f), (g) and wholesale, (i), (+
'), C+L(j'), Ck)'+ (f) and )
, (m')(n), (n'), (0), and (r), (q), (r) indicate the output of each circuit at each point in the circuit of Fig. 2, and the signal ( b),
(d'), (e), ge), (scent (i'), (j)
, (b), (1), (m"), (n"), and (0) are not shown in FIG. The signal -) is the control information for initializing this circuit, the signal (b) is the negative polarity output of the ninth FF 29 reset by the control information Φ), and (r) is the control information reset by the control information (p). This is the negative polarity output of the tenth FF 36.

いま制御情報が第3図(p)に示すように入力され、図
示せざる信号Φ)にて成るタイミングにてリセットされ
たとする。いま初期設定値=“8”なので第八番目のク
ロック、即ち■に相当しており、第6図のタイムチャー
トから(C)=1、(d)−1、(e)−〇、(h)=
1、(i)=1、(j)=0、(m)−1、(n)= 
0がカウンタ値の“8”であることがわかる。そこで第
5図に示す第一分周回路1−1の各F FIL12.1
3の初期設定値が(C)=1、(d)=1、(e) =
 0になればよいので、(C)−1、(d)=1につい
ては制御情報(P)をそのまま第110R16と第12
0R17に入力′し、第110R16において制御情報
Φ)と第三FF13の正極性出力(e)との論理和をと
り、また第120R17において制御情報φ)と第一0
R15の出力(濁との論理和をとる。(e)=0につい
ては、第二FF12の負極性出力(d゛)と制御情報Φ
)との論理和を第三〇R18でとり、第三FF13から
は第130R18の出力の極性を反転させた“0”が出
力するようにする。又こうすることにより第三FF13
の出カバターンの極性が反転するので、データの入力光
である第二FF12の出力極性を反転させて第一NOR
14と第110R16に対して入力する。以上のことを
行った結果を領域(A)に示し、該回路は第2図に示す
第一分周回路1−1である。
Assume that the control information is inputted as shown in FIG. 3(p) and reset at a timing determined by a signal Φ (not shown). Since the initial setting value is "8", it corresponds to the eighth clock, that is, ■, and from the time chart in Figure 6, (C) = 1, (d) - 1, (e) - 〇, (h )=
1, (i)=1, (j)=0, (m)-1, (n)=
It can be seen that 0 is the counter value "8". Therefore, each F FIL12.1 of the first frequency dividing circuit 1-1 shown in FIG.
The initial setting values for 3 are (C) = 1, (d) = 1, (e) =
Since it only needs to be 0, for (C)-1 and (d) = 1, the control information (P) is used as it is for the 110R16 and 12th
0R17, and in the 110R16, the logical sum of the control information Φ) and the positive output (e) of the third FF13 is taken, and in the 120R17, the control information φ) and the first 0
The output of R15 is logically summed with the output (d). For (e) = 0, the negative polarity output (d゛) of the second FF12 and the control information Φ
), and the third FF13 outputs "0", which is the inverted polarity of the output from the 130th R18. Also, by doing this, the third FF13
Since the polarity of the output pattern of the FF12 is reversed, the output polarity of the second FF12, which is the data input light, is reversed and the output pattern of the first NOR is reversed.
14 and 110R16. The result of performing the above is shown in area (A), and this circuit is the first frequency dividing circuit 1-1 shown in FIG.

次に(5)=1、(i)−1、(j)=0であるが、こ
の同期式の第二分周回路1−2は本回路が対象とするク
ロック信号(a)を直接に用いず前段からの出力をもち
いた非同期式分周回路であるため、前述の第一FFII
〜第三FF13と同じ動作が出来ない。このため、当該
第二分周回路1−2のクロックである前段の第一分周回
路1−1のタイミング■での出力(C)を片方の入力端
が“H”固定の第九FF29に入力し、制御情報Φ)に
て例えば当該出力(c)のタイミング■の時点での値を
次の立ち上がりエツジまで保持させた出力(q)を生成
して初期設定を施す。又、そうすることにより初期設定
値をタイミング■の次の値、つまりタイミング■の(h
)−1、(i)= 1、(j)=1にする。即ち、制御
情報Φ)の入力により第九FF29から第3図に示す出
力(q)が出力され、そしてこの信号(q)を前述の信
号(P)と同様に第四FF21、第五FF22.第六F
F23に施すと第2図に示す第二分周回路1−2となり
、第2図および第3図の領域(B)に示す出力(5)、
 (i)、 (j’)などの出力が得られる。
Next, (5) = 1, (i) - 1, (j) = 0, but this synchronous type second frequency divider circuit 1-2 directly receives the clock signal (a) targeted by this circuit. Since it is an asynchronous frequency divider circuit that uses the output from the previous stage without using
-Cannot perform the same operation as the third FF13. Therefore, the output (C) at timing ■ of the first frequency dividing circuit 1-1 in the previous stage, which is the clock of the second frequency dividing circuit 1-2, is sent to the ninth FF 29 whose one input terminal is fixed at "H". The control information Φ) is used to generate an output (q) in which the value at timing (3) of the output (c) is held until the next rising edge, and initialization is performed. Also, by doing so, the initial setting value is changed to the next value of timing ■, that is, (h
)-1, (i)=1, (j)=1. That is, in response to the input of the control information Φ), the ninth FF 29 outputs the output (q) shown in FIG. 3, and this signal (q) is sent to the fourth FF 21, fifth FF 22 . 6th F
When applied to F23, it becomes the second frequency divider circuit 1-2 shown in FIG. 2, and the output (5) shown in area (B) of FIGS. 2 and 3,
Outputs such as (i) and (j') are obtained.

第5図の第三分周回路1−3についても同様に、第6図
に示したタイミング■の(m)−1,(n)=Oの初期
設定値を第3図の領域(C)に示す如くに)=L(n)
=1とした初期設定を施すと、第2図に示す第三分周回
路1−3が得られる。
Similarly, for the third frequency divider circuit 1-3 in FIG. 5, the initial setting values of (m)-1, (n)=O of timing )=L(n)
When the initial setting is set to 1, the third frequency dividing circuit 1-3 shown in FIG. 2 is obtained.

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

以上の説明から明らかなように本発明によれば、初期設
定を考慮せずに設計した非同期式分周回路から、どんな
初期値でも初期設定を行うことができ、従って設計時間
の短縮や回路規模の小型化を図ることができるという効
果を呈する。
As is clear from the above description, according to the present invention, it is possible to initialize any initial value from an asynchronous frequency divider circuit designed without considering initial settings, thereby reducing design time and circuit scale. This has the effect of making it possible to reduce the size of the device.

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

第1図は本発明の原理構成を示す図、 第2図は本発明の一実施例の回路を示す図、第3図は本
発明の一実施例回路のタイムチャートを示す図、 第4回はカウンタ回路の設定値の書込み例を示す図、 第5図は従来の一実施例の回路を示す図、第6図は従来
の一実施例回路のタイムチャートを示す図、 である。 図において、 1−1 =1−nは第一分周回路〜第N分周回路、2−
1〜2−nは第一設定値書込手段〜第N設定値書込手段
、 3−1〜3−(n−1)は第一状態保持手段〜第N−1
状態保持手段、 を示す。 代理人 弁理士  井 桁 貞 − 吟                  ・叡七匹  
潰− 7? 杢杯v74つ一変〕舎f列匣ぼ本のタイム千τ斗襲木T
閃第3図 45AND          1143INv力り〉
クロg!vI盲え定イ直4を止み侵・」1示T図第4m
l ■ ■ ■ ■ ■ ■ ■ ■ ゝ゛(C) /IXJ、+ −1*#roルダヂ乙千V−トを不tr
’bB6711
Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is a diagram showing a circuit of an embodiment of the invention, Fig. 3 is a diagram showing a time chart of an embodiment of the circuit of the invention, Part 4 FIG. 5 is a diagram showing an example of writing a setting value of a counter circuit; FIG. 5 is a diagram showing a circuit of a conventional embodiment; FIG. 6 is a diagram showing a time chart of a conventional circuit. In the figure, 1-1 = 1-n is the first frequency dividing circuit to the Nth frequency dividing circuit, 2-
1 to 2-n are first set value writing means to Nth set value writing means, 3-1 to 3-(n-1) are first state holding means to N-1th set value writing means.
A state holding means is shown. Agent Patent Attorney Sada Igata − Gin・Eishichito
Crush - 7? Mokuhai v7 4 changes] Sha f row box book time 1000 T
Sendai 3 45AND 1143INvRiki>
Kuro g! vI Blind Fixed I Stopped Invading Straight 4・1 T Diagram 4m
l ■ ■ ■ ■ ■ ■ ■ ■ ■ ゝ゛(C) /IXJ, + -1*#roDadji Otsusen V-to not tr
'bB6711

Claims (1)

【特許請求の範囲】 〔1〕各々が同期するN段の第一分周回路(1−1)〜
第N分周回路(1−n)からなる非同期式カウンタ回路
において、 外部からの制御情報により初段の第一分周回路(1−1
)に直接設定値を書き込む第一設定値書込手段(2−1
)と、 2段目以降の第二分周回路(1−2)〜第N分周回路(
1−n)には、各分周回路(1−2〜1−n)にて使用
される前段からの出力にて次のカウントまで前記制御情
報を保持し、各分周回路(1−2〜1−n)における設
定値の次のカウント値を各分周回路(1−2〜1−n)
に書き込む第二設定値書込手段(2−2)〜第N設定値
書込手段(2−n)と、 を設けたことを特徴とする非同期式カウンタ回路の初期
設定方式。 〔2〕2段目以降の第二分周回路(1−2)〜第N分周
回路(1−n)において、各々の分周回路(1−1〜1
−(n−1))からの出力をクロック入力とし、データ
入力を“H”固定とする第一状態保持手段(3−1)〜
第N−1状態保持手段(3−(n−1))のリセット端
子に前記制御情報を入力し、負極性出力を当該制御情報
入力としたことを特徴とする請求項(1)記載の非同期
式カウンタ回路の初期設定方式。 〔3〕上記分周回路(1−1〜1−n)の各データ入力
に、前記制御情報を論理和入力することにより“H”を
書き込むことを特徴とする請求項(1)記載の非同期式
カウンタ回路の初期設定方式。 〔4〕上記分周回路(1−1〜1−n)の各データ入力
に、前記制御情報を論理積入力することにより“L”を
書き込むことを特徴とする請求項(1)記載の非同期式
カウンタ回路の初期設定方式。 〔5〕上記各分周回路(1−1〜1−n)の各データ入
力の極性を反転したものに、前記制御情報を論理積入力
して出力を反転することにより“H”を書き込むことを
特徴とする請求項(1)記載の非同期式カウンタ回路の
初期設定方式。 〔6〕上記分周回路(1−1〜1−n)の各データ入力
の極性を反転したものに、前記制御情報を論理和入力し
て出力を反転することにより“L”を書き込むことを特
徴とする請求項(1)記載の非同期式カウンタ回路の初
期設定方式。
[Claims] [1] N stages of first frequency dividing circuits (1-1), each of which is synchronized
In an asynchronous counter circuit consisting of an N-th frequency divider circuit (1-n), the first frequency divider circuit (1-1
) for directly writing the set value into the first set value writing means (2-1
), and the second frequency divider circuit (1-2) to the Nth frequency divider circuit (
1-n) holds the control information until the next count with the output from the previous stage used in each frequency dividing circuit (1-2 to 1-n), and ~1-n) to each frequency dividing circuit (1-2 to 1-n).
An initial setting method for an asynchronous counter circuit, characterized in that a second set value writing means (2-2) to an Nth set value writing means (2-n) are provided. [2] In the second frequency divider circuit (1-2) to the Nth frequency divider circuit (1-n) in the second and subsequent stages, each frequency divider circuit (1-1 to 1
-(n-1)) as a clock input and data input fixed at "H" (first state holding means (3-1)~
The asynchronous according to claim 1, characterized in that the control information is inputted to a reset terminal of the N-1st state holding means (3-(n-1)), and a negative polarity output is used as the control information input. Initial setting method for equation counter circuit. [3] The asynchronous device according to claim (1), wherein “H” is written by inputting the logical sum of the control information to each data input of the frequency dividing circuit (1-1 to 1-n). Initial setting method for equation counter circuit. [4] The asynchronous device according to claim (1), wherein “L” is written by logically inputting the control information to each data input of the frequency dividing circuit (1-1 to 1-n). Initial setting method for equation counter circuit. [5] Write "H" by inputting the logical product of the control information to the polarity of each data input of each of the frequency dividing circuits (1-1 to 1-n) and inverting the output. The initial setting method for an asynchronous counter circuit according to claim 1, characterized in that: [6] Write "L" by inputting the logical sum of the control information to the polarity of each data input of the frequency dividing circuit (1-1 to 1-n) and inverting the output. An initial setting method for an asynchronous counter circuit according to claim (1).
JP2331583A 1990-11-28 1990-11-28 Asynchronous counter circuit Expired - Lifetime JP2616230B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2331583A JP2616230B2 (en) 1990-11-28 1990-11-28 Asynchronous counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2331583A JP2616230B2 (en) 1990-11-28 1990-11-28 Asynchronous counter circuit

Publications (2)

Publication Number Publication Date
JPH04196921A true JPH04196921A (en) 1992-07-16
JP2616230B2 JP2616230B2 (en) 1997-06-04

Family

ID=18245279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2331583A Expired - Lifetime JP2616230B2 (en) 1990-11-28 1990-11-28 Asynchronous counter circuit

Country Status (1)

Country Link
JP (1) JP2616230B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5071415A (en) * 1973-10-25 1975-06-13

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5071415A (en) * 1973-10-25 1975-06-13

Also Published As

Publication number Publication date
JP2616230B2 (en) 1997-06-04

Similar Documents

Publication Publication Date Title
US5627797A (en) Full and empty flag generator for synchronous FIFOS
JPH04196921A (en) Initializing method for asynchronous counter circuit
JPH02137886A (en) Shift register
US5963056A (en) Full and empty flag generator for synchronous FIFOs
JPH05143752A (en) Automatic initial setting data reading circuit
JPH0548432A (en) 1/3 frequency divider circuit
JPH0691425B2 (en) Frequency divider using D-type flip-flop
JPH01133416A (en) Frequency dividing circuit
KR940002467B1 (en) Clock-source selecting circuit
JP2668215B2 (en) Micro computer
JPH0758732A (en) Bit buffer circuit
JPS609286B2 (en) Timing signal generation circuit
JPS5932819B2 (en) address control device
JPH1022792A (en) Master slave flip-flop circuit
JPH03262327A (en) Logic circuit
JPH04170799A (en) Shift register
JPH0332110A (en) Clock generator
JPH03282821A (en) Asynchronous operation circuit
JPS62159263A (en) Bus control system
JPS6242617A (en) Odd frequency dividing counter
JPH0677232B2 (en) Micro program controller
JPH04227551A (en) Access control circuit
JPS6020633A (en) Synchronizing logical circuit
JPH11154848A (en) Flit-flop
JPS622368A (en) Image processor