Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5826858B2 - ring counter circuit - Google Patents
[go: Go Back, main page]

JPS5826858B2 - ring counter circuit - Google Patents

ring counter circuit

Info

Publication number
JPS5826858B2
JPS5826858B2 JP16029776A JP16029776A JPS5826858B2 JP S5826858 B2 JPS5826858 B2 JP S5826858B2 JP 16029776 A JP16029776 A JP 16029776A JP 16029776 A JP16029776 A JP 16029776A JP S5826858 B2 JPS5826858 B2 JP S5826858B2
Authority
JP
Japan
Prior art keywords
ring counter
terminal
circuit
flip
gate
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
Application number
JP16029776A
Other languages
Japanese (ja)
Other versions
JPS5384552A (en
Inventor
誠 吉田
修 工藤
宏史 武田
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 JP16029776A priority Critical patent/JPS5826858B2/en
Publication of JPS5384552A publication Critical patent/JPS5384552A/en
Publication of JPS5826858B2 publication Critical patent/JPS5826858B2/en
Expired legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K23/00Pulse counters comprising counting chains; Frequency dividers comprising counting chains
    • H03K23/40Gating or clocking signals applied to all stages, i.e. synchronous counters
    • H03K23/50Gating or clocking signals applied to all stages, i.e. synchronous counters using bi-stable regenerative trigger circuits
    • H03K23/54Ring counters, i.e. feedback shift register counters

Landscapes

  • Logic Circuits (AREA)
  • Electronic Switches (AREA)

Description

【発明の詳細な説明】 本発明はリングカウンタ回路に関し、更に詳しくはリン
グカウンタ回路を集積回路化した場合、外部端子のコン
トロールによりカウントするビット数を変更できるよう
にしたリングカウンタ回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a ring counter circuit, and more particularly to a ring counter circuit in which the number of bits counted can be changed by controlling an external terminal when the ring counter circuit is integrated.

以下図面を参照して説明する。This will be explained below with reference to the drawings.

第1図は従来のリングカウンタを構成するフリップフロ
ップの回路例で、Dは入力端子、Cはクロック入力端子
、Qは出力端子、QはQの補出刃端子である。
FIG. 1 shows an example of a flip-flop circuit constituting a conventional ring counter, where D is an input terminal, C is a clock input terminal, Q is an output terminal, and Q is an interpolation terminal of Q.

このフリップフロップ回路において、入力端子りの入力
と端子Cのクロックとの論理により、端子Qには°゛1
”、0”、端子Q′には□ tl 、 n 1 ttが
表われる。
In this flip-flop circuit, due to the logic between the input at the input terminal and the clock at the terminal C, the terminal Q has a
", 0", □ tl, n 1 tt appear at the terminal Q'.

このフリップフロップ回路を用いてリングカウンタ回路
を構成したのが第2図で、FF1〜FF6がフリップフ
ロップ回路である。
FIG. 2 shows a ring counter circuit constructed using this flip-flop circuit, in which FF1 to FF6 are flip-flop circuits.

第2図のリングカウンタ回路は1例として6ビツトのリ
ングカウンタを示したものである。
The ring counter circuit shown in FIG. 2 shows a 6-bit ring counter as an example.

第2図において、FF1〜FF5までのフリップフロッ
プの端子Qの出力が、はじめFF1からFF6の順序で
論理が”l ll 、 tl Q 99.l 91 、
91151″l Q 9?、O′”であった場合、FF
I〜FF5の端子Qの出力によりナントゲートAで論理
がとられてFF’lの端子りにIt 1 nが入力され
、これによりFF1からFF6の端子Qの論理が1つず
つ右にシフトし、ll 159.+ 1 ss、′O”
9119>l” n Q uとからなる。
In FIG. 2, the outputs of the terminals Q of the flip-flops FF1 to FF5 are initially in the order of FF1 to FF6, and the logic is "ll ll, tl Q 99.l 91 ,"
91151″l Q 9?, O′”, FF
The logic is determined by the Nant gate A based on the output of the terminal Q of I to FF5, and It 1 n is input to the terminal of FF'l, thereby shifting the logic of the terminal Q of FF1 to FF6 to the right one by one. , ll 159. + 1 ss,'O”
9119>l”n Q u.

以下同様にしてクロックにもとずいてFFI〜FF5の
端子Qの論理に′O″がなくなるまでゲートAよりFF
1の端子りに1″が入力されてシフトし、FF1〜FF
5の端子Qの論理が全て1 uになるとゲートAよりF
F1の端子りに0″が入力され、FFiの端子Qは01
1となりゲートAの出力は再びtlll+となる。
Thereafter, in the same manner, based on the clock, FF is switched from gate A until there is no 'O' in the logic of terminal Q of FFI to FF5.
1" is input to the terminal 1 and shifted, FF1 to FF
When the logic of terminal Q of 5 all becomes 1 u, F from gate A
0'' is input to the F1 terminal, and 01 is input to the FFi terminal Q.
1, and the output of gate A becomes tllll+ again.

即ち、一度FF1〜FF6の端子Qの論理が全て°1″
になった後はFF1〜FF6のうち1個のFFの端子Q
の出力のみがO″となり、FF1〜FF5を循環する。
That is, once the logic of terminal Q of FF1 to FF6 is all °1''
After that, the terminal Q of one FF among FF1 to FF6
Only the output becomes O'' and circulates through FF1 to FF5.

従って各FFの端子Qの出力を端子Q1〜Q5で取り出
すことにより6ビツトのリングカウンタが構成される。
Therefore, a 6-bit ring counter is constructed by taking out the output from terminal Q of each FF at terminals Q1 to Q5.

このようなリングカウンタを集積回路化した場合にカウ
ントビット数が異なる場合には、それぞれ別々の回路を
作らなければならず、極めて不経済である。
When such a ring counter is integrated into an integrated circuit, if the number of count bits differs, separate circuits must be created for each, which is extremely wasteful.

そこで、例えば6ビツトのリングカウンタを4ビツトの
リングカウンタとしても使用できるようにするため、次
に述べる方法が考えられる。
Therefore, in order to make it possible to use a 6-bit ring counter as a 4-bit ring counter, for example, the following method can be considered.

即ち、FF1〜FF6のグループ(第1のグループと呼
ぶ)とFF5.FF6のグループ(第2のグループと呼
ぶ)に分け、各グループ毎にそれぞれ別々の電源(■s
1.■s2)を接続し、6ビツトのリングカウンタとし
て使用する時にはVS1とVS2を共にオンにし、4ビ
ツトのリングカウンタとして使用する時にはVS1のみ
をオンとする方法である。
That is, the group of FF1 to FF6 (referred to as the first group) and the group of FF5. Divide into groups of FF6 (referred to as the second group), and each group has a separate power supply (■s
1. (2) s2) is connected, and both VS1 and VS2 are turned on when used as a 6-bit ring counter, and only VS1 is turned on when used as a 4-bit ring counter.

しかし、この方法では4ビツトのリングカウンタとして
使用する場合にFF5とFF5は不活性となるにもかか
わらず、FF4の端子QとゲートAを結ぶ線は活性の状
態で残るので、実際には5ビツトのリングカウンタとし
て動作してしまう。
However, with this method, even though FF5 and FF5 are inactive when used as a 4-bit ring counter, the line connecting terminal Q of FF4 and gate A remains active, so in reality, FF5 and FF5 are inactive. It works as a bit ring counter.

そこで、ビット数の切換が可能で所定のビット数で動作
するリングカウンタとして、従来は第3図に示す回路が
使われている。
Therefore, a circuit shown in FIG. 3 has conventionally been used as a ring counter that can switch the number of bits and operates with a predetermined number of bits.

第3図が第2図と異なるのは、ビット切換端子Bを設け
、Bの入力をFF5とFF6の端子S(詳細は第1図に
破線で示す)に入れると共に、FF4とFF5の端子Q
の出力と端子Bの入力との論理をとってゲートAに入力
していることである。
The difference between FIG. 3 and FIG. 2 is that a bit switching terminal B is provided, and the input of B is input to the terminal S of FF5 and FF6 (details are indicated by broken lines in FIG. 1), and the terminal Q of FF4 and FF5 is
The logic between the output of the terminal B and the input of the terminal B is calculated and inputted to the gate A.

ここで、この回路を6ビツトのリングカウンタとして使
用する場合は、端子Bに1″を入力するとナントゲート
a、a’からはFF4 、FF5の端子Qと同じ論理が
ナントゲートAに送られる。
When this circuit is used as a 6-bit ring counter, when 1'' is input to terminal B, the same logic as terminal Q of FF4 and FF5 is sent from Nant gates a and a' to Nant gate A.

一方、この回路を4ビツトのリングカウンタとして使用
する場合は、端子Bに”OF+を入力するとFF4とF
F5の端子Qの論理いかんにかかわらずナントゲートa
、a’の出力は”1”となり、またFF5とFF6は不
活性となって4ビツトのリングカウンタとして動作する
On the other hand, when using this circuit as a 4-bit ring counter, when "OF+" is input to terminal B, FF4 and F
Nantes gate a regardless of the logic of terminal Q of F5
, a' becomes "1", and FF5 and FF6 become inactive and operate as a 4-bit ring counter.

しかしながら、このような回路では[)4ビツトのリン
グカウンタとして動作する場合でも、FF5.FF5で
は電力消費がある。
However, in such a circuit, even when operating as a 4-bit ring counter, FF5. FF5 consumes power.

即ち6ビツト分の電力が消費され、ビット数が多くなる
程無駄な消費電力が増える。
That is, power for 6 bits is consumed, and as the number of bits increases, the wasted power consumption increases.

11)ナンドゲ−1’a、a’のようなゲートを設けな
ければならず、配線が複雑になる。
11) Gates such as NAND game 1'a and a' must be provided, which makes wiring complicated.

111・)6ビツトのリングカウンタとじて動作する場
合、ゲート(aおよびa′)が入るため、このゲートに
よる遅延を考慮すると最大クロック周波数が低く抑えら
れてしまうという欠点がある。
111.) When operating as a 6-bit ring counter, since gates (a and a') are included, there is a drawback that the maximum clock frequency is kept low when the delay due to the gates is taken into account.

本発明にこのような欠点をなくシ、回路構成が簡単で無
駄な電力消費がなく、高速動作が可能なリングカウンタ
回路を提供するものである。
The present invention eliminates these drawbacks and provides a ring counter circuit that has a simple circuit configuration, no wasteful power consumption, and is capable of high-speed operation.

以下、本発明を図面を参照して説明する。Hereinafter, the present invention will be explained with reference to the drawings.

第4図は本発明の1実施例を示す図で、先に説明した第
2図と異なるのはFF4と同じ動作をするようにFF4
’を設け、FF4′の端子QをナントゲートAと接続し
たことである。
FIG. 4 is a diagram showing one embodiment of the present invention, and the difference from FIG. 2 described above is that FF4 operates in the same way as FF4.
', and the terminal Q of FF4' was connected to the Nandt gate A.

このような回路構成において、FF1〜FF6.FF4
’をFF1〜FF6のグループ(第1のグループと呼ぶ
)とFF4’、FF5 、FF5のグループ(第2のグ
ループと呼ぶ)とに分け、各グループ毎にそれぞれ別々
の電源(VSt、VS2)を接続し、6ビツトのリング
カウンタとして使用する場合はVS1゜VS2を共にオ
ンし、4ビツトのリングカウンタととして使用する場合
は■8□のみをオンとする。
In such a circuit configuration, FF1 to FF6 . FF4
' is divided into a group of FF1 to FF6 (referred to as the first group) and a group of FF4', FF5, and FF5 (referred to as the second group), and separate power supplies (VSt, VS2) are connected to each group. When connected and used as a 6-bit ring counter, both VS1 and VS2 are turned on, and when used as a 4-bit ring counter, only ■8□ is turned on.

この回路において、4ビツトのリングカウンタとして使
用する場合に■8.のみをオンにすると、FF4’、F
F5 、FF5は不活性となり、従ってFF4’および
FF5の端子QとナントゲートAとの接続が不活性化さ
れて4ビツトカウンタとして動作する。
When using this circuit as a 4-bit ring counter, 8. If you turn on only FF4', F
F5 and FF5 are inactivated, and therefore the connection between the terminal Q of FF4' and FF5 and the Nant gate A is inactivated, and the counter operates as a 4-bit counter.

以上はフリップフロップ回路(FF4’)を設けた例を
示したが、この回路をさらに簡単化することができる。
Although an example in which a flip-flop circuit (FF4') is provided has been shown above, this circuit can be further simplified.

第5図は本発明の他の実施例で、第4図の回路構成をさ
らに簡単にしたものである。
FIG. 5 shows another embodiment of the present invention, in which the circuit configuration of FIG. 4 is further simplified.

第2図の回路と異なるのはFF4に新たに端子Q1を設
けたことである。
The difference from the circuit shown in FIG. 2 is that FF4 is newly provided with a terminal Q1.

このFF4をさらに詳細に示したのが第6図で、第1図
と異なるのは端子Qと同じ動作をする端子Q1とゲート
E′を設けたことである。
This FF4 is shown in more detail in FIG. 6, which differs from FIG. 1 in that a terminal Q1 and a gate E', which operate in the same way as the terminal Q, are provided.

この回路において、FF4のゲートE′をFF5゜FF
6と同じ電源VB2に接続しておくことにより、Vsl
とVS2を共にオンとすれば6ビツトのリングカウンタ
として動作し、VS1のみをオンとすれば端子Q′とナ
ントゲートの接続が不活性となり、4ビツトのリングカ
ウンタとして動作する。
In this circuit, the gate E' of FF4 is connected to FF5°FF.
By connecting to the same power supply VB2 as 6, Vsl
When both VS2 and VS2 are turned on, it operates as a 6-bit ring counter, and when only VS1 is turned on, the connection between terminal Q' and the Nant gate becomes inactive, and it operates as a 4-bit ring counter.

ここでゲートE′はゲートEと同じ動作をするように接
続されているので、FF4とナントゲートAとの接続で
ゲート段数は増えないので高速動作が可能である。
Here, since the gate E' is connected to perform the same operation as the gate E, the number of gate stages does not increase due to the connection of FF4 and the Nant gate A, so high-speed operation is possible.

以上説明したように、本発明によれば回路構成が簡単で
無駄な電力消費がなく、高速動作が可能なビット数変更
のできるリングカウンタ回路が得られる。
As described above, according to the present invention, a ring counter circuit with a simple circuit configuration, no wasteful power consumption, high-speed operation, and the ability to change the number of bits can be obtained.

【図面の簡単な説明】 第1図は従来のフリップフロップの構成図、第2図は一
般のリングカウンタを示す図、第3図は従来のビット数
切換可能なリングカウンタを示す図、第4図は本発明の
1実施例を示す図、第5図は本発明の他の実施例を示す
図、第6図は第5図のFF4の回路構成を示す図である
。 FFI〜FF6.FF4’はフリップフロップ、Dは入
力端子、Cはクロックの入力端子、Qは出力端子、Aは
ナントゲート、■s1.■s2は電源を示す。
[Brief Description of the Drawings] Fig. 1 is a diagram showing the configuration of a conventional flip-flop, Fig. 2 is a diagram showing a general ring counter, Fig. 3 is a diagram showing a conventional ring counter that can switch the number of bits, and Fig. 4 is a diagram showing a conventional ring counter that can switch the number of bits. 5 is a diagram showing one embodiment of the present invention, FIG. 5 is a diagram showing another embodiment of the invention, and FIG. 6 is a diagram showing the circuit configuration of FF4 in FIG. 5. FFI~FF6. FF4' is a flip-flop, D is an input terminal, C is a clock input terminal, Q is an output terminal, A is a Nantes gate, ■s1. ■s2 indicates a power supply.

Claims (1)

【特許請求の範囲】[Claims] 1 m個のフリップフロップを連ねると共に論理回路を
設り、該フリップフロップの(m−1)段目までの各フ
リップフロップの出力を該論理回路に入力し、該論理回
路の出力を第1段目のフリップフロップの入力端子へ印
加する構成のリングカウンタにおいて、n段目(n <
m )のフリ゛ンブフロツプの該論理回路への出力部お
よび(n+1)段目以降のフリップフロップに対する電
源の供給を遮断することにより、nビットのリングカウ
ンタとしても動作可能としたことを特徴とするリングカ
ウンタ回路。
1 m flip-flops are connected in series and a logic circuit is provided, the output of each flip-flop up to the (m-1) stage of the flip-flops is input to the logic circuit, and the output of the logic circuit is input to the first stage. In a ring counter configured to apply voltage to the input terminal of the th flip-flop, the nth stage (n <
By cutting off the power supply to the output section of the flip-flop (m) to the logic circuit and the flip-flops from the (n+1)th stage onward, the counter can also operate as an n-bit ring counter. ring counter circuit.
JP16029776A 1976-12-29 1976-12-29 ring counter circuit Expired JPS5826858B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16029776A JPS5826858B2 (en) 1976-12-29 1976-12-29 ring counter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16029776A JPS5826858B2 (en) 1976-12-29 1976-12-29 ring counter circuit

Publications (2)

Publication Number Publication Date
JPS5384552A JPS5384552A (en) 1978-07-26
JPS5826858B2 true JPS5826858B2 (en) 1983-06-06

Family

ID=15711912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16029776A Expired JPS5826858B2 (en) 1976-12-29 1976-12-29 ring counter circuit

Country Status (1)

Country Link
JP (1) JPS5826858B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007128611A (en) * 2005-11-04 2007-05-24 Nec Electronics Corp Semiconductor integrated circuit device

Also Published As

Publication number Publication date
JPS5384552A (en) 1978-07-26

Similar Documents

Publication Publication Date Title
EP0168231A2 (en) A combination circuit
JPH0227811A (en) Stational machine
CN1138343C (en) Dual-Mode Prescaler
JPH0682146B2 (en) Sukiyanpass type logic integrated circuit
JPH0133850B2 (en)
JPS5826858B2 (en) ring counter circuit
US5086441A (en) Frequency divider circuit
KR100594317B1 (en) Shift register with low power consumption and operation method of the shift register
US3619642A (en) Multiphase binary shift register
US5337050A (en) Serial-to-parallel converter circuit
EP0272179A2 (en) Decoding circuit
JPS58124325A (en) Shift register with variable number of delay stages
EP0201287A2 (en) Logic circuit having a test data loading function
US20050116258A1 (en) Two-modulus prescaler circuit
JPH06140922A (en) Test circuit for counter or the like
JP2794950B2 (en) Integrator circuit
JPH04361426A (en) Johnson counter
JPH04299614A (en) Counter
JPS639770B2 (en)
JPH07113660B2 (en) Mode setting circuit
JPS5828775B2 (en) Multi-stage frequency divider circuit
JPS60117917A (en) Ring counter
JPH03244217A (en) Parallel/serial conversion circuit for data
JPH0795047A (en) Frequency divider circuit
JPS59128464A (en) Test input circuit of semiconductor integrated circuit