JPS5815333A - Counting system - Google Patents
Counting systemInfo
- Publication number
- JPS5815333A JPS5815333A JP56113881A JP11388181A JPS5815333A JP S5815333 A JPS5815333 A JP S5815333A JP 56113881 A JP56113881 A JP 56113881A JP 11388181 A JP11388181 A JP 11388181A JP S5815333 A JPS5815333 A JP S5815333A
- Authority
- JP
- Japan
- Prior art keywords
- digit
- signal
- logical
- output
- goes
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K27/00—Pulse counters in which pulses are continuously circulated in a closed loop; Analogous frequency dividers
Abstract
Description
【発明の詳細な説明】
本発明は計数方式、特に一般的な計算機を含む情報処理
装置に適用し、複数の情報源からの入力情報を計数する
計数方式に関するものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a counting method, and particularly to a counting method that is applied to an information processing device including a general computer and counts input information from a plurality of information sources.
従来、情報処理装置における複数の情報源からの人力情
報(論理1又扛0)の計数装置に於いては、入力情報を
情報源の数だけの桁数を持ったシフトレジスタで並列に
受信したのち、その桁数だけシフトさせ、該出力?:2
進力9ンタで計数することにより情報量を計数していた
。従って、情報源の数に応じた桁数のシフトレジスタが
必要で。Conventionally, in a counting device for manually inputting information (logical 1 or 0) from multiple information sources in an information processing device, input information is received in parallel by a shift register having as many digits as the number of information sources. After that, shift by that number of digits and output the corresponding output? :2
The amount of information was counted by counting with a Shinryoku 9-meter. Therefore, a shift register with a number of digits corresponding to the number of information sources is required.
該桁数だけシフトするための時間を必要とした。It took time to shift by the number of digits.
本発明の目的は、従来のもののこのような欠点を除去し
複数の情報源からの情報を、情報源の数に応じた複数の
2進1桁全加算器を設け1回路接続を2進化符号となる
ように構成することにより、2進1桁全加算器の接続段
数分の合計遅延時間内で高速に計数することが可能とな
る計数方式を提供することにある。The purpose of the present invention is to eliminate such drawbacks of the conventional ones and convert information from a plurality of information sources into a binary code by providing a plurality of binary one-digit full adders corresponding to the number of information sources. It is an object of the present invention to provide a counting method which makes it possible to perform high-speed counting within the total delay time corresponding to the number of connected stages of binary one-digit full adders.
本発明によれば情報源の数に応じた第1群の2進1桁全
加算器と、該第1#の全加算器の夫々の同一桁の出力信
号を入力信号とする第2群の2進1桁全加算器とを含み
、同一桁の出力信号が一つになるまで、同一桁の加算を
繰返し、残った各々の桁の信号より2進符号化の情報を
作成することt−特徴とする計数方式が得られる0
次に本発明の実施例について図を参照して説明する。According to the present invention, a first group of binary one-digit full adders corresponding to the number of information sources and a second group of binary one-digit full adders whose input signals are output signals of the same digit of each of the first # full adders. It includes a binary one-digit full adder, repeats addition of the same digit until the output signal of the same digit becomes one, and creates binary encoded information from the signal of each remaining digit. Next, embodiments of the present invention will be described with reference to the drawings.
第1図は2進1桁全加算器の3つの入力Cn、B及びA
と和出力Σ9桁上げ出方Cn+xの2つの出力を表わし
たブロック図で、3つの入力Cn、B及びAの各状態に
対して和出力21桁上げ出方Cn+xがどのように変化
するかを表わしたのが第1表で第1表
第2図は本発明の一実施例のブロック図で図において、
2進情報発生装置11〜18の?桁値号101〜108
は制御信号発生回路50の情報保持レジスタセット信号
501により情報保持レジスタ2゜にセットされる。Figure 1 shows the three inputs Cn, B and A of a binary 1-digit full adder.
This is a block diagram showing two outputs, sum output Σ9 carry output Cn+x, and how the sum output 21 carry output Cn+x changes for each state of three inputs Cn, B, and A. This is shown in Table 1, and Table 1 and Figure 2 are block diagrams of one embodiment of the present invention.
Binary information generators 11-18? Digit number 101-108
is set in the information holding register 2° by the information holding register set signal 501 of the control signal generating circuit 50.
うち、を桁信号312,322及び332は全加算器3
5に入力され、該全加算機35の出力を桁信号352が
出力レジスタ40に入力される。Among them, the digit signals 312, 322 and 332 are sent to the full adder 3.
5, and the output of the full adder 35 is input as a digit signal 352 to the output register 40.
全加算器31〜33のもう一方の出力 211信号31
1.321及び331は、全加算器34に入力され、該
全加算機34の出力1桁値号342と全加算器35のも
う一方の出力 211信号351は全加算器36に入力
されて該全加算機36の出力2桁値号362は出力レジ
スタ40に入力される。The other output of full adders 31 to 33 211 signal 31
1.321 and 331 are input to the full adder 34, and the output one-digit value number 342 of the full adder 34 and the other output 211 signal 351 of the full adder 35 are input to the full adder 36 and the The output two-digit value number 362 of the full adder 36 is input to the output register 40.
全加算器34と36のもう一方の出力 f桁値号341
と361は全加算器37に入力され、該全加算機37の
出力?桁値号372とt桁値号371は出力レジスタ4
0に入力される。The other output of full adders 34 and 36 f digit value number 341
and 361 are input to the full adder 37, and the output of the full adder 37 is ? Digit value number 372 and t digit value number 371 are output register 4
It is input to 0.
出力レジスタ40に入力された2’−2”桁信号は出力
レジスタセット信号502によシセットされ、該出力レ
ジスタ40の出力 2’−2”桁信号は上位装置60に
供給される。The 2'-2'' digit signal input to the output register 40 is set by the output register set signal 502, and the 2'-2'' digit signal output from the output register 40 is supplied to the host device 60.
次に本方式の動作を具体例に従って説明する。Next, the operation of this method will be explained according to a specific example.
2進情報発生装置11〜18の出力f桁値号101〜1
07が論理1%同108が論理0であったとする。つま
り%10進数で7の入力数があった場合の動作1例につ
いて説明する。Output f digit value numbers 101 to 1 of binary information generators 11 to 18
Assume that 07 is logic 1% and 108 is logic 0. In other words, an example of the operation when there is an input number of 7 in decimal number will be explained.
情報保持レジスタセット信号501によりを桁信号10
1〜108が情報保持レジスタ20にセットされ、該レ
ジスタの出力 を桁信号201〜207が論理l、同2
08が論理0となる。The digit signal 10 is set by the information holding register set signal 501.
1 to 108 are set in the information holding register 20, and the digit signals 201 to 207 are set to logic 1 and 2 to the output of the register.
08 becomes logic 0.
次に、全加算器31〜33の出力 を桁信号322は論
理1.同312及び332は論理0とな夛、2m1信号
311,321及び331は論理lとなる。Next, the digit signal 322 outputs the outputs of the full adders 31 to 33 as logic 1. The signals 312 and 332 are logic 0, and the 2m1 signals 311, 321, and 331 are logic 1.
次に、全加算器34及び35の出力 を桁信号352は
論理1.211信号351は論理O1同342は論理1
%を桁信号341は論理lとなる。Next, the outputs of the full adders 34 and 35 are as follows: The digit signal 352 is logic 1.211, the signal 351 is logic O1, and the digit signal 342 is logic 1.
The % digit signal 341 becomes logic l.
次に、全加算器36の出力2m1信号362は論理1と
なり、222信号361は論理0となる。Next, the output 2m1 signal 362 of the full adder 36 becomes a logic 1, and the 222 signal 361 becomes a logic 0.
次に、全加算器37の出力 2桁値号372Fi論理l
となり、を桁信号371は論理0となる。Next, the output of the full adder 37 2-digit value number 372Fi logic l
Therefore, the digit signal 371 becomes logic 0.
従って、出力レジスタ40には出力レジスタセット信号
502によル2進化符号の0111 (10進数の7を
意味する)がセットされ、該出力401が上位装置60
に供給される。Therefore, the binary code 0111 (meaning 7 in decimal) is set in the output register 40 by the output register set signal 502, and the output 401 is sent to the host device 60.
supplied to
本発明は以上に説明したように、2進1桁全加算器によ
シ同−桁の出力信号が一つになる迄、同一桁の加算を繰
返し、残った6夕の桁を並べ2進符号化の情報を作成す
ることによ多入力情報の計数速度を大幅に改善する効果
がある0As explained above, the present invention uses a binary one-digit full adder to repeat the addition of the same digit until the output signal of the same digit becomes one, and then arranges the remaining six digits and converts them into binary Creating encoded information has the effect of greatly improving the counting speed of multiple input information0
第1図は2進1桁全加算器の一例のブロック図、第2図
は本発明による計数方式の一実施例の構成を示すプロ゛
ツク図である。
11〜18・・・・・・2進情報発生装置、20・・・
・・・情報保持レジスタ回路、31〜37・・・・−・
2進1桁全加算器、40−・・・・出力レジスタ回路、
50・・・・・・制御信号発生回路、60・・・・・・
上位装置、101〜108゜201〜208,312,
322,332,352・・・・・・を桁信号、311
,321,331,342,351,362・・・・・
・・211信号、341,361,372・・・・・・
f桁値号、371−−−−−2”桁信号、401・・・
・・・2’−2”桁信号、501・・・・・・情報保持
レジスタセット信号、502・・・・・・出力レジスタ
セット信号、1001−1003・・・・・・論理0信
号。
第 l 図FIG. 1 is a block diagram of an example of a binary one-digit full adder, and FIG. 2 is a block diagram showing the configuration of an embodiment of the counting system according to the present invention. 11-18...Binary information generator, 20...
...Information holding register circuit, 31-37...-
Binary 1-digit full adder, 40-...output register circuit,
50... Control signal generation circuit, 60...
Upper device, 101~108°201~208,312,
322, 332, 352... is the digit signal, 311
,321,331,342,351,362...
・211 signal, 341, 361, 372...
f digit value number, 371---2'' digit signal, 401...
...2'-2'' digit signal, 501... Information holding register set signal, 502... Output register set signal, 1001-1003... Logical 0 signal. l figure
Claims (1)
1群の全加算器の夫々の同一桁の出力信号を入力信号と
する第2群の2進1桁全〃口算器とを含み、同一桁の出
力信号が一つになるまで、同一桁の加算を繰返し、残っ
た各々の桁の信号より2進符号化の情報を作成すること
を特徴とする計数方式。A first group of binary 1-digit full adders due to the number of information sources, and a second group of binary 1-digit full adders whose input signals are the same-digit output signals of the first group of full adders. A counting machine that includes a total counter, repeats addition of the same digit until the output signal of the same digit becomes one, and creates binary encoded information from the signal of each remaining digit. method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56113881A JPS5815333A (en) | 1981-07-21 | 1981-07-21 | Counting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56113881A JPS5815333A (en) | 1981-07-21 | 1981-07-21 | Counting system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS5815333A true JPS5815333A (en) | 1983-01-28 |
Family
ID=14623454
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP56113881A Pending JPS5815333A (en) | 1981-07-21 | 1981-07-21 | Counting system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS5815333A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07325706A (en) * | 1994-06-01 | 1995-12-12 | Nec Corp | Bit error number calculation circuit |
JPH08139613A (en) * | 1994-11-15 | 1996-05-31 | Nec Corp | Code coincidence detecting system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS528148A (en) * | 1975-07-05 | 1977-01-21 | Okura Yasuhiro | Adjust apparatus for traverse width traverse drum of reeling machine |
-
1981
- 1981-07-21 JP JP56113881A patent/JPS5815333A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS528148A (en) * | 1975-07-05 | 1977-01-21 | Okura Yasuhiro | Adjust apparatus for traverse width traverse drum of reeling machine |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07325706A (en) * | 1994-06-01 | 1995-12-12 | Nec Corp | Bit error number calculation circuit |
JPH08139613A (en) * | 1994-11-15 | 1996-05-31 | Nec Corp | Code coincidence detecting system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Burks et al. | Preliminary discussion of the logical design of an electronic computing instrument | |
US3444523A (en) | Apparatus for sorting of recorded digital data | |
GB1092916A (en) | Decoding apparatus | |
CN101304312B (en) | Ciphering unit being suitable for compacting instruction set processor | |
US3524976A (en) | Binary coded decimal to binary conversion | |
JPS5815333A (en) | Counting system | |
EP0332845A2 (en) | Dual look ahead mask generator | |
US3223831A (en) | Binary division apparatus | |
JPS6142031A (en) | Sorting processor | |
US3845290A (en) | Decimal-to-binary converter | |
US3083903A (en) | Data translating system | |
JPS58129653A (en) | Multiplication system | |
US3267267A (en) | Digital electrical calculating apparatus | |
US4570056A (en) | Automatically adaptable radix conversion system for use with variable length input numbers | |
US5691930A (en) | Booth encoder in a binary multiplier | |
US2899133A (en) | Inputs | |
US3424898A (en) | Binary subtracter for numerical control | |
US3705299A (en) | Circuit arrangement for converting a decimal number coded in the bcd code into a pure binary number | |
US3310800A (en) | System for converting a decimal fraction of a degree to minutes | |
GB886421A (en) | Improvements in or relating to data processing apparatus | |
US3192369A (en) | Parallel adder with fast carry network | |
US3006550A (en) | Digital multiplier | |
US3631231A (en) | Serial adder-subtracter subassembly | |
SU763897A1 (en) | Multiplier | |
GB1343643A (en) | Apparatus for shifting digital data in a register |