JPS6128423Y2 - - Google Patents

Info

Publication number
JPS6128423Y2
JPS6128423Y2 JP3368579U JP3368579U JPS6128423Y2 JP S6128423 Y2 JPS6128423 Y2 JP S6128423Y2 JP 3368579 U JP3368579 U JP 3368579U JP 3368579 U JP3368579 U JP 3368579U JP S6128423 Y2 JPS6128423 Y2 JP S6128423Y2
Authority
JP
Japan
Prior art keywords
adder
input
preset
counter
value
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
JP3368579U
Other languages
Japanese (ja)
Other versions
JPS55133639U (en
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 filed Critical
Priority to JP3368579U priority Critical patent/JPS6128423Y2/ja
Publication of JPS55133639U publication Critical patent/JPS55133639U/ja
Application granted granted Critical
Publication of JPS6128423Y2 publication Critical patent/JPS6128423Y2/ja
Expired legal-status Critical Current

Links

Description

【考案の詳細な説明】 本考案は入力信号の周波数を1/Nに分周する
プログラマブルカウンタの改良に関する。特に半
導体チツプの面積を大きくすることなく分周値N
を広範囲に設定することのできる装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an improvement of a programmable counter that divides the frequency of an input signal by 1/N. In particular, the frequency division value N can be calculated without increasing the area of the semiconductor chip.
This invention relates to a device that can be set over a wide range of settings.

近年、フエイズ・ロツク回路その他にプログラ
マブルカウンタの需要が増加している。従来例構
成を第1図に示す。1はバイナリカウンタ、2は
コード変換器で、pは入力周波数、vは出力周
波数を表す。2進のプログラム値Pp〜Piに対
し、コード変換器2を介してプリセツトデータが
カウンタ1に与えられる。このような構成の装置
ではコード変換器2がROMで構成されることが
多く、分周数Nの設定可能範囲を大きくすると、
このROMが大型化する欠点がある。
In recent years, demand for phase lock circuits and other programmable counters has increased. A conventional configuration is shown in FIG. 1 is a binary counter, 2 is a code converter, p is the input frequency, and v is the output frequency. Preset data is applied to the counter 1 via the code converter 2 for the binary program values P p to P i . In devices with such a configuration, the code converter 2 is often configured with a ROM, and if the settable range of the frequency division number N is increased,
This ROM has the disadvantage of being large.

すなわち、一例としてチヤンネル数(プログラ
ムできる数値の数)を1024、分周数Nを1600〜
2623とすると、プログラム入力端子Pp〜Piの数
が10本、カウンタの桁数が13桁となり、カウンタ
のプリセツトデータJp〜Joも13本が必要にな
る。このとき、コード変換器2をROMで構成す
ると、バイナリコードのデータ10個から、1024チ
ヤンネルに展開するために、第2図に示すように 10×1024=10240 bits のROMが第1のROM3に必要であり、さらに、
1024チヤンネル分を13bitのプリセツトデータに
変換するために、 1024×13=13312 bits のROMが第2のROM4として必要である。従つ
て必要なROMの総ビツト数は23552であり、半導
体装置のチツプ面積を増加させることになる。
In other words, as an example, the number of channels (the number of programmable values) is 1024, and the frequency division number N is 1600 ~
2623, the number of program input terminals P p -P i is 10, the number of digits of the counter is 13, and 13 preset data J p -J o of the counter are also required. At this time, if the code converter 2 is configured with a ROM, in order to develop 1024 channels from 10 pieces of binary code data, a ROM of 10 x 1024 = 10240 bits is stored in the first ROM 3 as shown in Figure 2. necessary, and furthermore,
In order to convert 1024 channels into 13-bit preset data, a ROM of 1024×13=13312 bits is required as the second ROM 4. Therefore, the total number of bits of the required ROM is 23,552, which increases the chip area of the semiconductor device.

また、二つのROMを用いて“0”の値からプ
リセツトデータを作成してコード変換をおこなう
ため高速化ができない欠点もあつた。
Furthermore, because two ROMs are used to create preset data from a value of "0" and code conversion is performed, there is a drawback that high speed cannot be achieved.

本考案はこれを改良するもので、チヤンネル数
の多い場合にもチツプ面積が大きくならず、高速
化できるプログラマブルカウンタを提供すること
を目的とする。
The present invention is an improvement on this problem, and aims to provide a programmable counter that does not require a large chip area even when the number of channels is large and can increase speed.

本考案は、複数桁のバイナリカウンタと、この
バイナリカウンタの各桁にプリセツトデータを入
力する手段とを有するプログラマブルカウンタに
おいて、上記バイナリカウンタの桁数と等しい数
の2進加算器を有する加算器を備え、上記加算器
の一方の入力端にはプリセツトデータの最低値
が、他方の入力端にはプリセツトされるべきデー
タと上記最低値との差分値が各々入力され、それ
らの加算結果が上記バイナリカウンタのプリセツ
ト入力端子に出力されることを特徴とする。
The present invention provides a programmable counter having a multi-digit binary counter and a means for inputting preset data to each digit of the binary counter, and an adder having a number of binary adders equal to the number of digits of the binary counter. The minimum value of the preset data is input to one input terminal of the adder, the difference value between the data to be preset and the above minimum value is input to the other input terminal, and the result of their addition is input. It is characterized in that it is output to a preset input terminal of the binary counter.

プログラム入力端子(P)毎に1桁の加算器を
設ける。この加算器の和の出力をカウンタのプリ
セツト入力端子(J)に入力するように構成す
る。加算器の入力Biにはプリセツトデータの最
低値を入力する。入力Aiにはプリセツトデータ
と最低値の差分値を入力する。各加算器は、入力
i,Biの排他的論理和と、下位桁からの桁上げ
iの排他的論理和によつて得られる和Siと、桁
上げCi+1によつて構成され、論理式で表すと、 Si=Aiiii ii +Ai i iii ii+1=Aii+Bii+Cii となる。
A 1-digit adder is provided for each program input terminal (P). The sum output of this adder is configured to be input to the preset input terminal (J) of the counter. The lowest value of the preset data is input to the input B i of the adder. The difference value between the preset data and the lowest value is input to input A i . Each adder generates a sum S i obtained by the exclusive OR of the inputs A i and B i , the exclusive OR of the carry C i from the lower digit, and the carry C i +1 . When expressed as a logical formula, S i = A i B i C i + i i C i + A i i i + i B i i C i+1 = A i B i + B i C i +C i A i. Become.

次に本考案実施例について説明する。 Next, an embodiment of the present invention will be described.

第3図は本考案実施例回路の構成図である。プ
リセツト入力端子Pp〜Poのそれぞれには、加算
器6の入力Aiが接続されている。この加算器6
の入力Biは電源PWに、また桁上げ入力Ciは下
位桁の加算器の桁上げ出力Ciに接続されてい
る。加算和出力Sp〜Soはバイナリカウンタ1の
プリセツト入力端子Jp〜Joに接続されている。
FIG. 3 is a block diagram of a circuit according to an embodiment of the present invention. An input A i of the adder 6 is connected to each of the preset input terminals P p to P o . This adder 6
The input B i of is connected to the power supply PW, and the carry input C i is connected to the carry output C i of the adder of the lower digit. The summation outputs S p -S o are connected to preset input terminals J p -J o of the binary counter 1.

第4図に加算器6の一構成例を示す。各加算器
6の入力Biは、分周数Nの最低値Nnioの対応す
る電圧に固定される。
FIG. 4 shows an example of the configuration of the adder 6. The input B i of each adder 6 is fixed to a voltage corresponding to the lowest value N nio of the frequency division number N.

かりに分周数Nが1600〜2623とすれば、最低値
nioは1600であり、加算器6で実行される演算
は、プログラム値をP、出力プリセツト値をSと
すると S=Nnio+P (十進の計算) となる。プログラム値は0〜1023である。これに
より、分周数Nとして1600〜2623の任意の値を選
定することができる。すなわち、例えば2000をプ
リセツトするときには、2000と最低値1600との差
400をプログラム値として加算器6の入力端子Pp
〜Poに入力すればよい。
If the frequency division number N is 1600 to 2623, the lowest value N nio is 1600, and the calculation executed by the adder 6 is as follows: S = N nio + P (where P is the program value and S is the output preset value) Decimal calculation) becomes. Program values are 0-1023. Thereby, any value between 1600 and 2623 can be selected as the frequency division number N. For example, when presetting 2000, the difference between 2000 and the lowest value 1600 is
Input terminal P p of adder 6 with 400 as program value
~P o .

さらに、第4図に示すように、1桁分の加算器
6は約13個のゲートすなわち20〜26個の素子によ
り実現することができるので、装置を小型化する
ことができる。前記のような13桁分の加算器はわ
ずか260〜338個の素子で実現することができるの
で、同一例を従来例構造のようにROMで構成し
た場合を比べると、その半導体チツプの面積は数
十分の一になる。
Furthermore, as shown in FIG. 4, the adder 6 for one digit can be realized by about 13 gates, that is, 20 to 26 elements, so the device can be miniaturized. The 13-digit adder described above can be realized with only 260 to 338 elements, so if you compare the same example with a ROM structure like the conventional structure, the area of the semiconductor chip will be much smaller. It will be several tenths.

以上述べたように、本考案によれば、チヤンネ
ル数の多い場合にもチツプ面積が大きくなること
のないプログラマブルカウンタを得る。
As described above, according to the present invention, a programmable counter whose chip area does not become large even when the number of channels is large is obtained.

また、加算器はプリセツトすべき最低値とその
差分値とを加算してコード変換すればよいので高
速化されたプログラマブルカウンタを実現できる
効果がある。
Further, since the adder only needs to add the minimum value to be preset and the difference value therebetween and convert the code, there is an effect that a high-speed programmable counter can be realized.

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

第1図は従来例装置の構成図。第2図は従来例
装置のコード変換器の構成図。第3図は本考案実
施例装置の構成図。第4図は加算器の構成例を示
す図。 1……バイナリカウンタ、2……コード変換
器、3,4……ROM(読出専用メモリ)、6……
加算器。
FIG. 1 is a configuration diagram of a conventional device. FIG. 2 is a configuration diagram of a code converter of a conventional device. FIG. 3 is a configuration diagram of an apparatus according to an embodiment of the present invention. FIG. 4 is a diagram showing an example of the configuration of an adder. 1...Binary counter, 2...Code converter, 3, 4...ROM (read-only memory), 6...
Adder.

Claims (1)

【実用新案登録請求の範囲】 複数桁のバイナリカウンタと、このバイナリカ
ウンタの各桁にプリセツトデータを入力する手段
とを有するプログラマブルカウンタにおいて、 上記バイナリカウンタの桁数と等しい数の2進
加算器を有する加算器を備え、 上記加算器の一方の入力端にはプリセツトデー
タの最低値が、他方の入力端には実際にプリセツ
トされるべきデータと上記最低値との差分値が
各々入力され、それらの加算結果が上記バイナリ
カウンタのプリセツト入力端子に出力される ことを特徴とするプログラマブルカウンタ。
[Claims for Utility Model Registration] A programmable counter having a multi-digit binary counter and means for inputting preset data into each digit of the binary counter, wherein the number of binary adders is equal to the number of digits of the binary counter. The minimum value of the preset data is input to one input terminal of the adder, and the difference value between the data to be actually preset and the minimum value is input to the other input terminal of the adder. , and the result of their addition is output to a preset input terminal of the binary counter.
JP3368579U 1979-03-15 1979-03-15 Expired JPS6128423Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3368579U JPS6128423Y2 (en) 1979-03-15 1979-03-15

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3368579U JPS6128423Y2 (en) 1979-03-15 1979-03-15

Publications (2)

Publication Number Publication Date
JPS55133639U JPS55133639U (en) 1980-09-22
JPS6128423Y2 true JPS6128423Y2 (en) 1986-08-23

Family

ID=28889650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3368579U Expired JPS6128423Y2 (en) 1979-03-15 1979-03-15

Country Status (1)

Country Link
JP (1) JPS6128423Y2 (en)

Also Published As

Publication number Publication date
JPS55133639U (en) 1980-09-22

Similar Documents

Publication Publication Date Title
CA1180060A (en) Programmable clock rate generator
US4241408A (en) High resolution fractional divider
US4157589A (en) Arithmetic logic apparatus
JPS6128423Y2 (en)
US4471170A (en) Non-integer programmable counter
JPH0326929B2 (en)
JPH0644781B2 (en) Digital tone generator circuit
JPS63115424A (en) Semiconductor integrated circuit
JPH04292018A (en) Variable crc generation circuit
JPS62192085A (en) Bit processing circuit
JPS5914795Y2 (en) voltage detection circuit
JPS5983234A (en) Large scale integrated circuit
JPS63207213A (en) Delaying circuit
JPH07135469A (en) D/a converter
JPS6037657B2 (en) DPCM device
JP2509464Y2 (en) D / A conversion circuit
JPH0331015B2 (en)
Duffy Minimal logic block encoder Patent
JPS6190519A (en) Programmable up-down counter
JPH0616590B2 (en) D-A conversion circuit
JPS61238124A (en) Analog-digital converter
JPH0213326B2 (en)
JPS63314018A (en) Pwm signal output circuit
JPS62152227A (en) Code converting device
JPS61221931A (en) Arithmetic element