JPH07175633A - Digital data arithmetic unit - Google Patents

Digital data arithmetic unit

Info

Publication number
JPH07175633A
JPH07175633A JP34440893A JP34440893A JPH07175633A JP H07175633 A JPH07175633 A JP H07175633A JP 34440893 A JP34440893 A JP 34440893A JP 34440893 A JP34440893 A JP 34440893A JP H07175633 A JPH07175633 A JP H07175633A
Authority
JP
Japan
Prior art keywords
data
bit
adder
bits
bit data
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
Application number
JP34440893A
Other languages
Japanese (ja)
Inventor
Masayuki Kawabata
雅之 川端
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.)
Advantest Corp
Original Assignee
Advantest Corp
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 Advantest Corp filed Critical Advantest Corp
Priority to JP34440893A priority Critical patent/JPH07175633A/en
Publication of JPH07175633A publication Critical patent/JPH07175633A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce circuit scale and to improve arithmetic processing speed in a digital data arithmetic unit. CONSTITUTION:This digital data arithmetic unit is provided with an M bit adder 13 for dividing one piece of digital input data 2 into high-order N-M bit data 11 and low-order M bit data 12 and individually adding one or plural pieces of additive data B36 to the low-order bits 12 when the input data 2 are N-bit 1, the additive data B 36 are M-bit 15 and the condition of N>M is established. Then, an N-M bit data selector 16 is provided to select two inputs corresponding to a Carry 14 signal, the high-order bit data 11 and the output of an adder 17 for adding '1' to the high-order bit data 11 are connected to the selector 16, and output data 6 are provided by the outputs from the selector 16 and the adder 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、電子計測機器技術のデ
ィジタルデータ演算器において、多ビットのディジタル
データに、それよりビット数の少ないいくつかのデータ
を個別に加算し、それぞれに対応して各出力を得ること
ができる演算器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital data arithmetic unit of electronic measuring instrument technology, in which several pieces of data having a smaller number of bits are individually added to multi-bit digital data, and correspondingly, The present invention relates to an arithmetic unit that can obtain each output.

【0002】[0002]

【従来の技術】従来の技術の、ディジタルデータ演算器
において、多ビットのディジタルデータに、それよりビ
ット数の少ないいくつかのデータを個別に加算し、各出
力を得る演算器の方式のブロック図を図6及び図7に示
す。
2. Description of the Related Art In a conventional digital data arithmetic unit, a block diagram of a system of an arithmetic unit for obtaining each output by individually adding several data having a smaller number of bits to multi-bit digital data Is shown in FIGS. 6 and 7.

【0003】先ず、図6には、Nビット1のディジタル
入力データA2に、Mビット(M<N)15のデータB1・
3、B2・4・・・・BK・5を、N ビット加算器35で個
別に加算して、A+B1・7、A+B2・8、・・・・A+B
K・9の出力データ6を得る方式である。この方式で
は、加えられる入力データA2のNビット1に較べ、加算
データB36のMビット15の方が少ないビット数でも加算器
はN ビット1を必要とする。また、加算器は加算データ
の数の分だけ必要である。従って、構成する回路規模が
大きくなってしまうという欠点を有していた。
First, in FIG. 6, N bit 1 digital input data A2 and M bit (M <N) 15 data B1.
, B2 ・ 4 ・ ・ ・ ・ BK ・ 5 are individually added by the N-bit adder 35 to obtain A + B1 ・ 7, A + B2 ・ 8, ... A + B
This is a method of obtaining the output data 6 of K · 9. In this system, the adder needs N bits 1 even if the number of bits of the M bits 15 of the addition data B36 is smaller than the number of N bits 1 of the input data A2 to be added. Further, as many adders as the number of pieces of addition data are required. Therefore, there is a drawback that the circuit scale to be configured becomes large.

【0004】次に、図7には、N ビット加算器35を全出
力データ6が共用する方式である。この方式でも、入力
データA2がNビット1で、Mビット15(M<N)の加算デ
ータB36、B1、B2、B3をNビット加算器35で加算する
のだが、N ビット加算器35を共用し、順次処理するもの
である。順次処理することで、回路規模の増大は抑えら
れるが、加算データB36がMビット15(M<N)であって
も、Nビット加算器35をNビット1のままで演算を繰り返
すことになる。演算処理時間は、加算データ個数倍に増
大する。従って、この方式では、処理速度が遅くなって
しまうという欠点を有していた。
Next, FIG. 7 shows a system in which the N-bit adder 35 is shared by all output data 6. Even in this method, the input data A2 is N bit 1 and the addition data B36, B1, B2, B3 of M bits 15 (M <N) are added by the N bit adder 35, but the N bit adder 35 is shared. However, they are sequentially processed. Although the increase in the circuit scale can be suppressed by performing the sequential processing, even if the addition data B36 is M bits 15 (M <N), the operation is repeated with the N bit adder 35 being N bits 1 as it is. . The calculation processing time increases by the number of pieces of added data. Therefore, this method has a drawback that the processing speed becomes slow.

【0005】[0005]

【発明が解決しようとする課題】入力データAがNビット
で、加算データがMビット(M<N) のデータによって演
算する場合、従来の技術によるディジタルデータ演算器
では、N ビットの加算器を加算すべきデータの複数個数
だけ設けねばならなかったので、回路規模が大きくな
り、また、N ビット加算器は共用して時分割式に順次処
理する方式でも、回路規模の増大は抑えられても、演算
処理時間は、加算データ個数倍に増大する、という問題
点を有していた。
When the input data A is N bits and the addition data is M bits (M <N), the conventional digital data arithmetic unit uses an N bits adder. Since the number of pieces of data to be added must be set, the circuit scale becomes large, and even if the N-bit adder is shared and time-sequential sequential processing is used, the increase in circuit scale can be suppressed. However, there is a problem that the calculation processing time increases by the number of added data times.

【0006】そこで、本発明では、入力データと加算デ
ータとのビット数が異なる場合でも、ことに入力データ
AのNビットと加算データのMビットの関係がM<<N と著
しく異なる場合においても、回路規模の小型化と演算処
理速度の向上が可能な方式を実現することを目的とし
た。
Therefore, in the present invention, even if the input data and the addition data have different numbers of bits, the input data
Even when the relationship between the N bits of A and the M bits of addition data is significantly different from M << N, the purpose was to realize a method that can reduce the circuit scale and improve the processing speed.

【0007】[0007]

【課題を解決するための手段】前記目的を達成するため
に、本発明のディジタルデータ演算器においては、Nビ
ットの入力データAに、Mビットの加算データB1、B2、
・・・BK を個別に加算する場合に、以下に記載するよ
うな構成とした。(図1参照)つまり、入力データA
がNビットであり、加算データBがMビットであったと
き、入力データA は上位N−Mビットと下位Mビットに分
けてしまう。下位ビットであるMビットのデータはMビ
ット加算器を用いて、加算データB1、B2、・・・BK
の加算を行わせて、それぞれ、一桁繰り上がりビットで
ある、キャリー(=Carry)とM ビットの出力をさせる。
そして、Carry信号は個別に用意されたN−M ビットのデ
ータセレクタの選択信号とする。
To achieve the above object, in the digital data arithmetic unit of the present invention, N-bit input data A is added to M-bit addition data B1, B2,
... When BK is added individually, the configuration is as described below. (See Figure 1) That is, input data A
Is N bits and the addition data B is M bits, the input data A is divided into upper N−M bits and lower M bits. For the M-bit data, which is the lower bit, the addition data B1, B2, ...
And carry out output of the carry bit (= Carry) and the M bit, which are one-digit carry bits, respectively.
Then, the Carry signal is used as a selection signal of an individually prepared N-M bit data selector.

【0008】また、入力データAの上位N−M ビットの
データは、そのデータに+1の加算を行うために設けら
れた加算器からの出力となってから、N−Mビットのデー
タセレクタの一方の入力となる。また、その他に、その
ままN−Mビットのデータセレクタの一方の入力となる。
下位Mビットの加算器による加算で、Carryが生じたと
きには、+1の加算が行われた上位N−Mビットデータと
下位M ビットデータが、選択され、一桁繰り上がりの処
理をさせる。そこで、最終的には、CLK を用いて、レ
ジスタによって、上位N−Mビットデータと下位Mビット
データは、各加算データ毎にまとめられて、Nビットの
出力データA+B1、A+B2、・・・A+BKとなる構成と
することで実現した。
Further, the upper N-M bit data of the input data A becomes one of the N-M bit data selectors after being output from an adder provided for adding +1 to the data. Will be input. In addition, it is directly input to one of the N-M bit data selectors.
When Carry occurs in the addition by the adder of the lower M bits, the upper N-M bit data and the lower M bit data for which +1 addition has been performed are selected, and processing of carrying one digit is performed. Therefore, finally, by using CLK, the upper NM bit data and the lower M bit data are collected for each addition data by the register, and the N bit output data A + B1, A + B2, ... A + BK It was realized by adopting the following configuration.

【0009】[0009]

【作用】入力データに対して、加算データのビット数が
著しく異なっていても、従来の技術においては、入力デ
ータのビット数以上の容量を持つ加算器によって、その
まま演算していたが、入力データがNビットであり、加
算データがMビットでかつM<N又はM<<Nであればなお
のこと、上位N−Mビットと下位M ビットに分けて、下位
Mビットのデータに対しては、Mビットのみの小規模な回
路で処理させ、更に、Carry出力信号を得ることと、上
位N−M ビットには+1加算器を設けることで、必要最
小限のビットのみで演算させることが可能となった。
In the prior art, even if the number of bits of the added data is significantly different from that of the input data, the arithmetic operation is performed as it is by the adder having a capacity equal to or more than the number of bits of the input data. Is N bits, the addition data is M bits, and M <N or M << N, especially if the lower N bits are divided into upper N−M bits and lower M bits.
M-bit data is processed by a small-scale circuit with only M-bits, the Carry output signal is obtained, and a +1 adder is provided for the upper N-M bits to minimize the required amount. It became possible to operate with only bits.

【0010】[0010]

【実施例】【Example】

(実施例)図1に、本発明の実施例によるディジタルデ
ータ演算器のブロック図を示す。 (1)Nビット1の入力データA2に、下位Mビットデータ
12のB1・3、B2・4、・・・BK・5を個別に加算
し、出力データ6A+B1・7、A+B2・8、・・・A+B
K・9を得るディジタルデータ演算器である。 (2)入力データ2は、上位N−Mビットデータ11と下位M
ビットデータ12に分けられる。下位ビットのデータに
は、Mビット加算器13を用いて、B1・3、B2・4、・
・・BK・5の加算が行われ、それぞれCarry14(一桁繰
り上がりビット)と、Mビットの出力を得る。 (3)各Carry14信号は、個別に用意されたN−Mビットデ
ータセレクタ16の選択信号となる。また、入力データA
2の上位N−M ビットデータ11は、そのデータに+1の
加算を行う+1加算部18の出力となり、N−Mビットデー
タセレクタ16の一方の入力となる。また、そのまま、N
−Mビットデータセレクタ16のもう一方の入力にもな
る。 (4)下位Mビットデータ12の加算で、Carry 14が生じた
ときに、+1の加算が行われた上位N−Mビットデータ11
が選択され、繰り上がりの処理がされる。 (5)そして、上位N−Mビットデータと下位Mビットデー
タとは、各出力毎にまとめられて、Nビット1の出力デ
ータ6であるA+B1・7、A+B2・8、・・・A+BK・
9となる。
(Embodiment) FIG. 1 shows a block diagram of a digital data calculator according to an embodiment of the present invention. (1) Input data A2 of N bit 1 and lower M bit data
12 B1, 3, B2, 4, ... BK, 5 are individually added, and output data 6A + B1, 7, A + B2, 8, A + B
It is a digital data calculator for obtaining K · 9. (2) Input data 2 consists of upper N-M bit data 11 and lower M
It is divided into bit data 12. Using the M-bit adder 13 for the lower bit data, B1, 3, B2, 4, ...
..BK.5 is added, and Carry14 (one-digit carry bit) and M-bit output are obtained. (3) Each Carry 14 signal serves as a selection signal for the N-M bit data selector 16 prepared separately. Also, input data A
The upper 2 N-M bit data 11 is the output of the +1 adder 18 that adds +1 to the data, and is one input of the N-M bit data selector 16. Also, as it is, N
Also serves as the other input of the M-bit data selector 16. (4) When Carry 14 occurs in the addition of the lower M-bit data 12, the higher N-M bit data 11 in which +1 is added
Is selected, and the carry processing is performed. (5) Then, the upper N−M bit data and the lower M bit data are put together for each output, and the output data 6 of N bit 1 is A + B1 · 7, A + B2 · 8, ... A + BK ·
It becomes 9.

【0011】(実施例2)図2は、本発明の他の実施例
の該演算器のブロック図である。 (1)入力データA2に、+1、+2、+3、した出力デ
ータ6を得る回路である。 (2) 図2中、2ビットの+1、+2、+3加算器22の
部分が、下位2ビットの+1、+2、+3加算を行う部
分である。 (3) 上位N−2ビット18データと、N−2データ加算部19
によって、+1加算を行ったデータの両者は、N−2ビッ
トセレクタ20に入力される。該セレクタ20では、下位の
2ビットの加算処理の結果、繰り上がりが生じた出力部
に対して、+1加算を行った上位N−2ビットデータを選
択する。この結果、出力データ6は、A+1・23、A+2
・24、A+3・25となる。
(Second Embodiment) FIG. 2 is a block diagram of the arithmetic unit according to another embodiment of the present invention. (1) A circuit for obtaining output data 6 obtained by adding +1, +2, +3 to the input data A2. (2) In FIG. 2, the 2-bit +1, +2, +3 adder 22 is a part for performing +1, +2, +3 addition of the lower 2 bits. (3) Upper N-2 bit 18 data and N-2 data adder 19
Thus, both of the data obtained by the +1 addition are input to the N-2 bit selector 20. The selector 20 selects the upper N-2 bit data which has been added by +1 with respect to the output portion where the carry is generated as a result of the addition processing of the lower 2 bits. As a result, the output data 6 is A + 1 · 23, A + 2
・ 24 and A + 3 ・ 25.

【0012】(実施例3)図3も、本発明の他の実施例
の該演算器のブロック図である。 (1)入力データA・2は、Nビットであり、前記実施例
1と同様に上位N−M ビット11と下位Mビット12に分けら
れる。 (2)加算データB36であるB1・3、B2・4、・・・B
K・5は、Mビット15で順次時分割式にMビット加算器13
に入力される。 (3)以下、実施例1と同様に、下位Mビットデータ12の
加算でCarry 14が生じたときは、+1の加算が行われた
上位N−Mビットデータ11が選択され繰り上がりの処理が
行われる。 (4)本実施例の特徴は、Mビット加算器13及びN−Mビッ
トデータセレクタ16を共用して順次演算処理させること
により、各出力データ6が得られるというものである。
(Embodiment 3) FIG. 3 is also a block diagram of the arithmetic unit according to another embodiment of the present invention. (1) The input data A · 2 has N bits and is divided into the upper NM bits 11 and the lower M bits 12 as in the first embodiment. (2) Addition data B36 that is B1, 3, B2, 4, ... B
K · 5 is M bit 15 and M bit adder 13
Entered in. (3) Hereinafter, as in the first embodiment, when Carry 14 occurs due to the addition of the lower M bit data 12, the upper N-M bit data 11 to which +1 is added is selected and the carry process is performed. Done. (4) The feature of this embodiment is that each output data 6 can be obtained by sharing the M-bit adder 13 and the NM bit data selector 16 and sequentially performing the arithmetic processing.

【0013】(実施例4)図4は、本発明の他の実施例
のディジタルデータ演算器のブロック図を示すが、本実
施例は、加算のみならず減算もできるものである。 (1)前記実施例1〜3と同じく、上位N−M ビット11に
+1の加算を行わせる加算部17の他に減算部すなわち、
−1加算部31を設ける。 (2)また、前記実施例に同じく設けたMビット加算器13
の他に、4:1マルチプレクサ27を設ける。 (3)Mビットの加算データ(B)28 には、+1ビット分の
符号ビット29を含むが、それは、マルチプレクサ27のS
1に入力される。 (4)Carry14が生じたときの信号は、M ビット加算器13
から、マルチプレクサ27のS0に入力される。 (5) 組み合わせ表30に示すように、加算繰り上がりの
有無と減算結果の正負とによって4通り(A、B、C、D)
の組み合わせが生ずる。 (6) そして、N−Mビットデータを4:1マルチプレク
サ27で選択することにより、下位Mビットの加算データ
(B)28に負の値を用いることができる。つまり、入力デ
ータ(A)10に対し、減算ができるものである。
(Embodiment 4) FIG. 4 shows a block diagram of a digital data calculator according to another embodiment of the present invention. In this embodiment, not only addition but also subtraction is possible. (1) Similar to the first to third embodiments, in addition to the addition unit 17 for adding +1 to the upper N−M bits 11, a subtraction unit, that is,
A −1 addition unit 31 is provided. (2) Also, the M-bit adder 13 provided in the same manner as in the above embodiment
In addition, a 4: 1 multiplexer 27 is provided. (3) The M-bit addition data (B) 28 includes the sign bit 29 for +1 bit, which is the S bit of the multiplexer 27.
Input to 1. (4) The signal when Carry14 occurs is the M-bit adder 13
Is input to S0 of the multiplexer 27. (5) As shown in the combination table 30, there are four types (A, B, C, D) depending on the presence or absence of addition carry and whether the subtraction result is positive or negative.
A combination of (6) Then, by selecting the N-M bit data by the 4: 1 multiplexer 27, the added data of the lower M bits
(B) A negative value can be used for 28. That is, the input data (A) 10 can be subtracted.

【0014】本発明の、特徴の1つである+1加算部17
(1つだけ加算するもの)及び−1加算部31(1つだけ
減算するもの)は、下位ビット加算器の繰り上がり処理
を行うためのものであり、その方式としては、加算器32
の他にカウンタ33やメモリ34でも実現できる。(詳細に
ついては、図5参照)
+1 adder 17 which is one of the features of the present invention
The (one for adding only) and the -1 adder 31 (for subtracting only one) are for performing the carry-up processing of the lower bit adder.
Besides, it can be realized by the counter 33 and the memory 34. (See Figure 5 for details)

【0015】[0015]

【発明の効果】本発明は、以上説明したように構成され
ているので、以下に記載されるような効果を奏する。 (1) 入力データがNビットで、加算データがMビットの
とき、上位N−Mビットデータの+1加算部と下位M ビッ
トの加算器K個で実現できるので、回路規模が縮小でき
て、しかも処理速度の向上が図られた。 (2)ことに、実施例2に示す方式では、N−2ビットの
加算部1ヶと数個のゲートのみでよく、N-2 ビットセレ
クタが必要となるものの加算器の回路規模を著しく縮小
することができ、該演算器全体も縮小することができ
た。 (3) また、実施例4に示す方式では、上位N−Mビット
データに−1の減算回路を設け、更に4:1マルチプレ
クサ等を用いて構成することにより、回路規模を小型化
しかつ処理速度を向上させながら減算が可能となった。
Since the present invention is constructed as described above, it has the following effects. (1) When the input data is N bits and the addition data is M bits, it can be realized by the +1 addition part of the upper N−M bit data and K adders of the lower M bits, so the circuit scale can be reduced, and The processing speed was improved. (2) In particular, in the method shown in the second embodiment, only one N-2 bit adder and several gates are required, and although an N-2 bit selector is required, the circuit scale of the adder is significantly reduced. It was possible to reduce the size of the arithmetic unit as a whole. (3) Further, in the system shown in the fourth embodiment, the circuit scale is reduced and the processing speed is reduced by providing a subtraction circuit of -1 for the upper N-M bit data and further using a 4: 1 multiplexer or the like. It became possible to subtract while improving.

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

【図1】本発明の、実施例1によるディジタルデータ演
算器のブロック図を示す。
FIG. 1 is a block diagram of a digital data calculator according to a first embodiment of the present invention.

【図2】本発明の、実施例2によるディジタルデータ演
算器のブロック図を示す。
FIG. 2 shows a block diagram of a digital data calculator according to a second embodiment of the present invention.

【図3】本発明の、実施例3によるディジタルデータ演
算器のブロック図を示す。
FIG. 3 shows a block diagram of a digital data calculator according to a third embodiment of the present invention.

【図4】本発明の、実施例4によるディジタルデータ演
算器のブロック図を示す。
FIG. 4 shows a block diagram of a digital data calculator according to a fourth embodiment of the present invention.

【図5】本発明の、特徴の1つである+1加算部及び−
1加算部の方式が、加算器の他にカウンタやメモリでも
実現できることを説明するための概念図を示す。
FIG. 5 is a +1 addition unit and − which are one of the features of the present invention.
The conceptual diagram for demonstrating that the system of a 1 addition part can be implement | achieved by a counter and memory other than an adder is shown.

【図6】従来の技術による、加算器をN ビットのもの
で、各出力データ毎に設ける構成のディジタルデータ演
算器のブロック図を示す。
FIG. 6 is a block diagram of a conventional digital data arithmetic unit having an N-bit adder and provided for each output data.

【図7】従来の技術による、N ビットの加算器を全出力
データが共用する構成のディジタルデータ演算器のブロ
ック図を示す。
FIG. 7 shows a block diagram of a digital data arithmetic unit according to a conventional technique, in which all output data share an N-bit adder.

【符号の説明】[Explanation of symbols]

1 Nビット 2 入力データA 3 B1 4 B2 5 BK 6 出力データ 7 A+B1 8 A+B2 9 A+BK 10 入力データ(A) 11 上位N−Mビットデータ 12 下位Mビットデータ 13 Mビット加算器 14 Carry 15 Mビット 16 N−Mビットデータセレクタ 17 +1加算部 18 上位N−2ビット 19 N−2ビット加算部 20 N−2ビットセレクタ 21 2ビット加算部 22 下位2ビット目データ 23 A+1 24 A+2 25 A+3 27 4:1マルチプレクサ 28 加算データ(B) 29 符号ビット 30 組み合わせ表 31 −1加算部 32 加算器 33 カウンタ 34 メモリ 35 Nビット加算器 36 加算データB 1 N bit 2 Input data A 3 B1 4 B2 5 BK 6 Output data 7 A + B1 8 A + B2 9 A + BK 10 Input data (A) 11 Upper N−M bit data 12 Lower M bit data 13 M bit adder 14 Carry 15 M bit 16 N−M bit data selector 17 +1 adder 18 Upper N−2 bit 19 N−2 bit adder 20 N−2 bit selector 21 2 bit adder 22 Lower 2nd bit data 23 A + 1 24 A + 2 25 A + 3 27 4: 1 Multiplexer 28 Addition data (B) 29 Sign bit 30 Combination table 31 -1 Adder 32 Adder 33 Counter 34 Memory 35 N-bit adder 36 Addition data B

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 電子計測技術におけるディジタルデータ
演算器において、ディジタル入力データA(2)がNビッ
ト(1)で、加算データB(36)がMビット(15)で、か
つN>Mである場合に、Nビット(1)の入力データA
(2)を上位N−Mビットデータ(11)と、下位Mビット
データ(12)とに分け、下位Mビットデータ(12)に、
加算データB(36)であるM ビット(15)のデータB1
(3)、B2(4)、・・・・BK(5)を個別に加算する
M ビット加算器(13)を設け、当該M ビット加算器(1
3)からのキャリー(14)信号により、入力を選択し、
かつ出力できるN−Mビットのデータセレクタ(16)を設
け、当該N−Mビットデータセレクタ(16)の一方の入力
に、上位N−Mビットデータ(11)に+1の加算を行う手
段である+1加算部(17)を設けてその出力を当該N−M
ビットデータセレクタ(16)に接続し、N−Mビットデー
タセレクタ(16)からの上位N−Mビットデータ(11)の
出力と、下位Mビットデータ(12)のMビット加算器(1
3)からの出力とを、それぞれ、上位N−Mビットデータ
(11)及び下位M ビットデータ(12)として、A+B1
(7)、A+B2(8)、・・・A+BK(9)をデータ
(6)として出力することを特徴とするディジタルデー
タ演算器。
1. A digital data calculator in electronic measurement technology, wherein digital input data A (2) is N bits (1), addition data B (36) is M bits (15), and N> M. In case, N bit (1) input data A
(2) is divided into upper NM bit data (11) and lower M bit data (12), and lower M bit data (12)
M-bit (15) data B1 that is addition data B (36)
(3), B2 (4), ... Add BK (5) individually
An M-bit adder (13) is provided, and the M-bit adder (1
Select the input by the carry (14) signal from 3),
A means for providing an NM bit data selector (16) capable of outputting and for adding +1 to the higher NM bit data (11) at one input of the NM bit data selector (16). A +1 adder (17) is provided and its output is
Connected to the bit data selector (16), the output of the upper NM bit data (11) from the NM bit data selector (16) and the M bit adder (1) of the lower M bit data (12)
The output from 3) is taken as A + B1 as upper NM bit data (11) and lower M bit data (12), respectively.
(7), A + B2 (8), ... A + BK (9) are output as data (6).
【請求項2】 請求項1記載の構成を具備し、さらに、
当該N−Mビットデータセレクタ(16)の他の入力に、上
位N−Mビットデータ(11)に−1の加算を行う手段であ
る−1加算部(31)を設けて減算し、その出力を当該N
−Mビットデータセレクタ(16)に接続したことを特徴
とするディジタルデータ演算器。
2. The structure according to claim 1, further comprising:
The other input of the N-M bit data selector (16) is provided with a -1 addition unit (31) which is a means for adding -1 to the upper N-M bit data (11), subtracts the result, and outputs the result. The relevant N
-A digital data calculator that is connected to an M-bit data selector (16).
JP34440893A 1993-12-17 1993-12-17 Digital data arithmetic unit Pending JPH07175633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34440893A JPH07175633A (en) 1993-12-17 1993-12-17 Digital data arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34440893A JPH07175633A (en) 1993-12-17 1993-12-17 Digital data arithmetic unit

Publications (1)

Publication Number Publication Date
JPH07175633A true JPH07175633A (en) 1995-07-14

Family

ID=18369028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34440893A Pending JPH07175633A (en) 1993-12-17 1993-12-17 Digital data arithmetic unit

Country Status (1)

Country Link
JP (1) JPH07175633A (en)

Similar Documents

Publication Publication Date Title
US5367477A (en) Method and apparatus for performing parallel zero detection in a data processing system
JPH07182141A (en) Arithmetic unit/method
GB2399909A (en) Multiplication of selectively partitioned binary inputs using booth encoding
KR100627993B1 (en) Three input split-adder
KR100513160B1 (en) Carry look-ahead adder having reduced area
JPH0346024A (en) Floating point computing element
JPH09222991A (en) Adding method and adder
KR19990074385A (en) Apparatus and method for simultaneously performing rounding and addition in a floating-point multiplier
JPH0464091B2 (en)
KR102182299B1 (en) Device and Method for Performing Shift Operation
JPH07175633A (en) Digital data arithmetic unit
JPH0981541A (en) Accumulator
JPH04172526A (en) Floating point divider
JPS60112141A (en) Multiplier circuit
US6654776B1 (en) Method and apparatus for computing parallel leading zero count with offset
JP2734438B2 (en) Multiplier
JPH07134646A (en) Multiplier for real number or complex number
JP3231298B2 (en) Multiplication device
KR0182169B1 (en) Log arithmathic value calculator
JPH0784762A (en) Multiplication circuit
KR0172308B1 (en) Modified booth multiplier
JP2508286B2 (en) Square root calculator
JPH11282651A (en) Parallel multiplier
KR100265358B1 (en) Speedy shift apparatus
JP4954019B2 (en) Arithmetic unit

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030902