JPH05893B2 - - Google Patents
Info
- Publication number
- JPH05893B2 JPH05893B2 JP846284A JP846284A JPH05893B2 JP H05893 B2 JPH05893 B2 JP H05893B2 JP 846284 A JP846284 A JP 846284A JP 846284 A JP846284 A JP 846284A JP H05893 B2 JPH05893 B2 JP H05893B2
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- gate circuit
- counter
- 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 - Lifetime
Links
Landscapes
- Shift Register Type Memory (AREA)
- Pulse Circuits (AREA)
- Manipulation Of Pulses (AREA)
Description
【発明の詳細な説明】
〔発明の技術分野〕
本発明はポーズ(PAUSE)信号によるカウン
タ停止させるカウンタに関する。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a counter that is stopped by a PAUSE signal.
この種のカウンタの従来例を第1図に示す。即
ち従来はブロツク11を2個以上直列接続するこ
とにより、その接続数に応じたビツト数のカウン
タを構成する。図中1はデータ信号とポーズ(カ
ウンタを停止させる)信号の入力部、2は初期値
ロード用入力、3はカウンタ出力、4はナンド回
路、5はインバータ、6はノア回路、7はクロツ
クドインバータ、8はクロツクドノア回路、9は
シフトレジスタ(1ビツト)、1′は出力である。
A conventional example of this type of counter is shown in FIG. That is, conventionally, by connecting two or more blocks 11 in series, a counter with a number of bits corresponding to the number of connections is constructed. In the figure, 1 is the input part for the data signal and pause (stops the counter) signal, 2 is the input for loading the initial value, 3 is the counter output, 4 is the NAND circuit, 5 is the inverter, 6 is the NOR circuit, and 7 is the clock. 8 is a clocked NOR circuit, 9 is a shift register (1 bit), and 1' is an output.
第1図のブロツク11は、データが入力部1か
ら入力されてノア回路6に入り、このノア回路6
からクロツクドノア回路8の一方の入力となる。
一方、データは入力部1から入力されてナンド回
路4に入り、インバータ5からクロツクドノア回
路8の他方の入力となる。この回路8からシフト
レジスタ9へ入つてそれがデータとなつて出力部
3から出力される。この出力部3から帰還された
データと入力1から入つたデータがエクスルーシ
ブオアをとられてシフトレジスタ9へ入り、次の
データとなるものである。また入力1にポーズ信
号が入力されると、このポーズ信号はゲート4,
5を通り、ゲート8から自己のブロツクのカウン
タを停止させると共に、次段ブロツクの入力1に
入り、該次段でのカウンタ停止信号となるもので
ある。 In block 11 of FIG. 1, data is input from input section 1 and enters NOR circuit 6.
becomes one input of the clocked NOR circuit 8.
On the other hand, data is input from the input section 1, enters the NAND circuit 4, and becomes the other input of the clocked NOR circuit 8 from the inverter 5. The signal enters the shift register 9 from this circuit 8, becomes data, and is output from the output section 3. The data fed back from the output section 3 and the data input from the input 1 are exclusive-OR'ed and input into the shift register 9, where they become the next data. Also, when a pause signal is input to input 1, this pause signal is sent to gate 4,
5 and stops the counter of its own block from gate 8, and also enters input 1 of the next stage block and becomes a counter stop signal for the next stage.
上記のような構成では、ポーズ信号が初段ブロ
ツクの入力1より入力され、ゲート4,5を通
り、次段の入力1に入力させるため、初段ポーズ
信号に対し、次段ではゲート4,5の容量により
ポーズ信号に遅延が生じる。またカウンタがブロ
ツク11のカスケード接続で構成しているため、
ビツト数が増加すれば、ポーズ信号は各ブロツク
のゲート4,5を通り入力されるので、後段にな
るほど遅延が大きくなる欠点があつた。すると必
ず入力しなければならない1段目のポーズ信号
と、より後段側でのリツプルキヤリーの出力1′
の成立レベルとは重なつてしまう。つまりこのこ
とは、ポーズ信号が入つたときにカウント動作し
ているということで、誤動作となる。 In the above configuration, the pause signal is input from input 1 of the first stage block, passes through gates 4 and 5, and is input to input 1 of the next stage. Capacity causes a delay in the pause signal. Also, since the counter is configured by cascading blocks 11,
As the number of bits increases, the pause signal is input through the gates 4 and 5 of each block, which has the disadvantage that the later the stage, the greater the delay. Then, the pause signal of the first stage, which must be input, and the ripple carry output 1' of the later stage.
This overlaps with the establishment level of . In other words, this means that the counting operation is performed when the pause signal is input, which results in a malfunction.
本発明は上記実情に鑑みてなされたもので、カ
ウンタの各ブロツクに入力されるポーズ信号の遅
延を短縮し、カウンタ停止時の誤動作を防止する
ことを目的としている。
The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to shorten the delay of the pause signal input to each block of the counter, and to prevent malfunctions when the counter is stopped.
本発明は、データ信号が入力されカウンタ動作
するブロツクを複数個カスケード接続し、前記ブ
ロツクにポーズ信号を2ブロツク以上並列に供給
し、前記ブロツクが停止されるようにしたもので
ある。
In the present invention, a plurality of blocks that receive a data signal and operate as a counter are connected in cascade, and a pause signal is supplied to two or more blocks in parallel to stop the blocks.
以下図面を参照して本発明の一実施例を説明す
る。第2図は同実施例で使用するブロツクを示す
が、これは第1図のものとほとんど対応するの
で、対応個所には同一符号を付して説明を省略す
る。第1図と第2図の異なる点は、ナンド回路4
にポーズ信号を入力可能とする端子10を付加
し、ナンド回路4を3入力とした点である。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 shows blocks used in the same embodiment, which almost correspond to those in FIG. 1, so corresponding parts are given the same reference numerals and a description thereof will be omitted. The difference between Fig. 1 and Fig. 2 is that the NAND circuit 4
A terminal 10 that allows input of a pause signal is added to the NAND circuit 4, and the NAND circuit 4 has three inputs.
第3図は上記実施例で、第1図のブロツク7個
と第2図のブロツク12をカスケード接続し、8
ビツトのブロツクカウンタとしたものである。 FIG. 3 shows the above embodiment, in which seven blocks in FIG. 1 and block 12 in FIG.
This is a bit block counter.
ブロツク12においてゲート4,5,6,8で
エクスクレーシブオア回路を構成する。 In block 12, gates 4, 5, 6, and 8 constitute an exclusive OR circuit.
本構成は、通常入力1に入力されたデータ信号
とシフトレジスタ9の出力3とでエクスクルーシ
ブオアをとり、つまりリツプルカウンタ動作させ
るが、入力1にポーズ信号“0”が入力される
と、ゲート4,5を通つた信号“0”になり、ノ
ア回路8の出力は、出力端3からのフイードバツ
ク信号により、シフトレジスタ9の出力3と同じ
値になる。従つてシフトレジスタ9の出力はその
前のシフトレジスタ出力と同じになるものであ
る。次段以降のポーズ信号は、前段のゲート4,
5を通り入力されるが、これとは別に初段入力の
ポーズ信号を直接端子10から12ブロツクに並
列に入力し、カウンタの停止が行なわれるもので
ある。すなわち、入力1および10の信号は第3
図からも明らかなごとく共通で、カウンタ動作
は、入力1,10が共に“H”のとき、出力3
が、出力3−ゲート4−5−8−レジスタ9−出
力3−ゲート4のループを通うして1/2分周出力
を、出力3から次段へ出力する。また入力1が
“0”のときにしか入力10は“0”になり得な
い(第3図参照)。この時、出力3−反転ゲート
6−8−レジスタ9−出力3の正転ループでデー
タを保持し、このデータは変化しないので、カウ
ントが止まつているのと等価となるものである。 This configuration normally performs an exclusive OR on the data signal input to input 1 and the output 3 of shift register 9, that is, operates as a ripple counter. However, when a pause signal "0" is input to input 1, the gate 4 and 5 becomes "0", and the output of the NOR circuit 8 becomes the same value as the output 3 of the shift register 9 due to the feedback signal from the output terminal 3. Therefore, the output of shift register 9 is the same as the output of the previous shift register. The pause signal for the next stage and subsequent stages is the gate 4 of the previous stage,
In addition to this, a pause signal input at the first stage is directly input from terminal 10 to block 12 in parallel to stop the counter. That is, the signals at inputs 1 and 10 are
As is clear from the figure, the counter operation is common, when inputs 1 and 10 are both “H”, output 3
passes through a loop of output 3 - gate 4 - 5 - 8 - register 9 - output 3 - gate 4 and outputs a 1/2 frequency divided output from output 3 to the next stage. Furthermore, input 10 can only be "0" when input 1 is "0" (see FIG. 3). At this time, data is held in the normal rotation loop of output 3 - inverting gate 6 - 8 - register 9 - output 3, and this data does not change, so it is equivalent to the counting being stopped.
上記実施例によれば、カウンタにポーズ信号が
入力されたとき、次段以降のブロツク12に、前
段のゲート4,5を通さず直接ポーズ信号が端子
10より入力されるため、後段でのポーズ信号が
通る前段ゲート数が減少し、カウンタを停止させ
るための、ポーズ信号の遅延時間は短縮されるも
のである。云い換えれば、リツプルキヤリー式カ
ウンタの各ブロツクにおいて、出力1′の遅れを
相殺できる間隔でポーズ信号をブロツク(の例え
ばナンド回路4)に直接入力して、ポーズ期間の
リツプルキヤリー波形をけずり、ポーズ動作を保
証するものである。 According to the above embodiment, when a pause signal is input to the counter, the pause signal is directly input from the terminal 10 to the block 12 in the next stage and subsequent stages without passing through the gates 4 and 5 in the previous stage, so that the pause signal in the subsequent stage is The number of pre-stage gates through which the signal passes is reduced, and the delay time of the pause signal for stopping the counter is shortened. In other words, in each block of the ripple-carry type counter, a pause signal is directly input to the block (for example, the NAND circuit 4) at intervals that can cancel out the delay of the output 1', and the ripple-carry waveform during the pause period is skewed to perform the pause operation. This is guaranteed.
なお本発明は実施例のみに限られることなく
種々の応用が可能である。例えば第3図のブロツ
ク11にブロツク12を用いてもよい。 Note that the present invention is not limited to the embodiments, and can be applied in various ways. For example, block 12 may be used for block 11 in FIG.
以上説明した如く本発明によれば、ポーズ信号
によりカウント停止時の誤動作の防止が可能とな
るカウンタが提供できるものである。
As described above, according to the present invention, it is possible to provide a counter that can prevent malfunctions when counting is stopped by a pause signal.
第1図は従来のカウンタを構成するブロツクの
回路図、第2図は本発明の一実施例で使用するカ
ウンタを構成するブロツクの回路図、第3図は同
実施例のカウンタを示す全体的構成図である。
9……シフトレジスタ、10……ポーズ信号入
力端、11,12……ブロツク。
Fig. 1 is a circuit diagram of blocks forming a conventional counter, Fig. 2 is a circuit diagram of blocks forming a counter used in an embodiment of the present invention, and Fig. 3 is an overall diagram showing the counter of the same embodiment. FIG. 9...Shift register, 10...Pause signal input terminal, 11, 12...Block.
Claims (1)
アンドゲート機能を有した第1のゲート回路を設
け、前記データ信号およびポーズ信号を入力とし
かつノアゲート機能を有した第2のゲート回路を
設け、前記第1のゲート回路の出力と前記第2の
ゲート回路の出力を入力としかつクロツクドノア
ゲート機能を有した第3のゲート回路を設け、前
記第3のゲート回路の出力を入力としかつカウン
タ出力を前記第1、第2のゲート回路の入力とす
るシフトレジスタを設けてなるブロツクを複数構
成し、 前記各ブロツクのうち、前段のブロツクの第1
のゲート回路の出力が次段のブロツクの第1のゲ
ート回路の入力となるように、前記各ブロツクを
カスケード接続してリツプル式カウンタを構成
し、 前記カスケード接続された各ブロツクのうち、
第1のブロツクの第1のゲート回路の入力、およ
び次段への出力の遅れを相殺できる間隔離れた少
なくとも第2のブロツクの第1のゲート回路の入
力に、共通にデータ信号およびポーズ信号を印加
するようにしたことを特徴とするカウンタ。 2 前記第1のゲート回路は、ナンドゲートとイ
ンバータよりなる特許請求の範囲第1項に記載の
カウンタ。[Claims] 1. A first gate circuit that receives a data signal and a pause signal as input and has an AND gate function, and a second gate circuit that receives the data signal and pause signal as input and has a NOR gate function. A third gate circuit is provided, which inputs the output of the first gate circuit and the output of the second gate circuit and has a clocked nor gate function, and the output of the third gate circuit is A plurality of blocks each including a shift register whose input is input and whose counter output is input to the first and second gate circuits are configured, and among the blocks, a first block of the preceding block is configured.
Each of the blocks is cascade-connected to form a ripple counter so that the output of the first gate circuit of the next block becomes the input of the first gate circuit of the next block, and of the cascade-connected blocks,
A data signal and a pause signal are commonly supplied to the input of the first gate circuit of the first block and to the input of the first gate circuit of at least a second block spaced apart enough to cancel the delay of the output to the next stage. A counter characterized in that it is configured to apply voltage. 2. The counter according to claim 1, wherein the first gate circuit comprises a NAND gate and an inverter.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP846284A JPS60153224A (en) | 1984-01-23 | 1984-01-23 | Counter |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP846284A JPS60153224A (en) | 1984-01-23 | 1984-01-23 | Counter |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60153224A JPS60153224A (en) | 1985-08-12 |
| JPH05893B2 true JPH05893B2 (en) | 1993-01-07 |
Family
ID=11693794
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP846284A Granted JPS60153224A (en) | 1984-01-23 | 1984-01-23 | Counter |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS60153224A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015076109A1 (en) | 2013-11-19 | 2015-05-28 | Ntn株式会社 | Electric brake system |
-
1984
- 1984-01-23 JP JP846284A patent/JPS60153224A/en active Granted
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015076109A1 (en) | 2013-11-19 | 2015-05-28 | Ntn株式会社 | Electric brake system |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60153224A (en) | 1985-08-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0682146B2 (en) | Sukiyanpass type logic integrated circuit | |
| US4860242A (en) | Precharge-type carry chained adder circuit | |
| JPH05893B2 (en) | ||
| US4297591A (en) | Electronic counter for electrical digital pulses | |
| EP0224841B1 (en) | Logic arithmetic circuit | |
| US5337050A (en) | Serial-to-parallel converter circuit | |
| JPS63125019A (en) | Counter cell and double-mode n bit register | |
| JP3477844B2 (en) | High frequency divider | |
| US5442801A (en) | Arithmetic and logic unit | |
| US5692026A (en) | Apparatus for reducing capacitive loading of clock and shift signals by shifting register-based devices | |
| JPH0739119Y2 (en) | Shift register | |
| JPS609221A (en) | Frequency dividing circuit with test function | |
| JPH02117205A (en) | Scan latch circuit | |
| JP3389292B2 (en) | Divider circuit | |
| JPS5923136B2 (en) | counter circuit | |
| JPH0273713A (en) | Clock line buffer circuit for semiconductor integrated circuit | |
| JP3349347B2 (en) | Programmable divider circuit | |
| JP3236235B2 (en) | Toggle flip-flop | |
| JPS62293824A (en) | gate circuit | |
| JPH0685654A (en) | Input/output buffer circuit | |
| JPS6142354B2 (en) | ||
| JPH0417489B2 (en) | ||
| JPS62150598A (en) | Multi-stage latch circuit | |
| JPH0225539B2 (en) | ||
| JPS62183099A (en) | Shift register circuit |