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
JPH0424728B2 - - Google Patents
[go: Go Back, main page]

JPH0424728B2 - - Google Patents

Info

Publication number
JPH0424728B2
JPH0424728B2 JP60065664A JP6566485A JPH0424728B2 JP H0424728 B2 JPH0424728 B2 JP H0424728B2 JP 60065664 A JP60065664 A JP 60065664A JP 6566485 A JP6566485 A JP 6566485A JP H0424728 B2 JPH0424728 B2 JP H0424728B2
Authority
JP
Japan
Prior art keywords
input
bit
bits
arithmetic
inputs
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
Application number
JP60065664A
Other languages
Japanese (ja)
Other versions
JPS61224037A (en
Inventor
Shinichi Maki
Kiichi Matsuda
Toshihiro Pponma
Yutaka Fukuda
Takeshi Okazaki
Takashi Ito
Osamu Kawai
Toshitaka Tsuda
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 JP60065664A priority Critical patent/JPS61224037A/en
Publication of JPS61224037A publication Critical patent/JPS61224037A/en
Publication of JPH0424728B2 publication Critical patent/JPH0424728B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/38Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
    • G06F7/48Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using non-contact-making devices, e.g. tube, solid state device; using unspecified devices
    • G06F7/50Adding; Subtracting
    • G06F7/505Adding; Subtracting in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/38Indexing scheme relating to groups G06F7/38 - G06F7/575
    • G06F2207/3804Details
    • G06F2207/3808Details concerning the type of numbers or the way they are handled
    • G06F2207/3812Devices capable of handling different types of numbers
    • G06F2207/3816Accepting numbers of variable word length
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2207/00Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F2207/38Indexing scheme relating to groups G06F7/38 - G06F7/575
    • G06F2207/3804Details
    • G06F2207/386Special constructional features
    • G06F2207/388Skewing

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Pure & Applied Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Mathematical Optimization (AREA)
  • General Engineering & Computer Science (AREA)

Description

【発明の詳細な説明】 〔概要〕 多ビツト入力演算素子を用い、それよりも少い
ビツト数を持つた複数入力に対する演算を可能に
した演算方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to an arithmetic method that uses a multi-bit input arithmetic element and enables arithmetic operations on multiple inputs having a smaller number of bits.

〔産業上の利用分野〕[Industrial application field]

本発明は、多ビツト入力演算素子を用いた演算
方式に関する。
The present invention relates to an arithmetic method using multi-bit input arithmetic elements.

nビツトからなる2つの入力を演算する場合、
例えば2つの入力の加算を行う場合には、nビツ
トに対するフル・アダー(Full Adder)を用い
て両入力の和出力を求めることができるが、演算
入力のビツト数が多くなると、それに対応してフ
ル・アダーのビツト数も多くなつて来る。
When calculating two inputs consisting of n bits,
For example, when performing addition of two inputs, the sum output of both inputs can be obtained using a full adder for n bits, but as the number of bits in the operation input increases, the corresponding The number of full adder bits is also increasing.

多ビツト入力演算素子が得られなかつた初期の
段階では、多ビツト入力に対する演算を行う場合
は、容易に入手できる低ビツト(例えば4ビツ
ト)の演算素子を必要数だけ用意して所望の演算
を行つていた。
In the early stages when multi-bit input arithmetic elements were not available, when performing arithmetic operations on multi-bit inputs, it was necessary to prepare the required number of easily available low-bit (for example, 4-bit) arithmetic elements to perform the desired operation. I was gone.

然しLSIに関する技術進歩に伴い、多ビツト入
力に対する演算素子が実現できる様になり、1個
の演算素子を用いて多ビツト入力に対する演算が
可能になつて来た。
However, with the advancement of technology related to LSI, it has become possible to realize arithmetic elements for multi-bit inputs, and it has become possible to perform arithmetic operations for multi-bit inputs using one arithmetic element.

〔従来の技術〕[Conventional technology]

然しながら、この様な1個の多ビツト入力演算
素子を用いて演算を行う場合、この演算素子と同
程度のビツト数の入力に対する演算を行うとき
は、多ビツト入力演算素子は有効に利用される
が、演算素子のビツト数よりも少いビツト数の入
力に対する演算を行うときは、この多ビツト入力
演算素子は有効に利用されない。
However, when performing an operation using one such multi-bit input arithmetic element, the multi-bit input arithmetic element is effectively used when performing an operation on an input with the same number of bits as this arithmetic element. However, when performing an operation on an input with a smaller number of bits than the number of bits of the arithmetic element, this multi-bit input arithmetic element is not effectively utilized.

例えば、12ビツトの多ビツト入力演算素子を用
いて演算を行う場合、12ビツト入力に対する演算
を行うときは、多ビツト入力演算素子は有効に利
用されるが、1,2,3,4,5ビツト等の低ビ
ツト入力に対する演算を行うときは、上位ビツト
が全く使用されないので、多ビツト入力演算素子
が有効に利用されないことになる。
For example, when performing an operation using a 12-bit multi-bit input arithmetic element, when performing an operation on a 12-bit input, the multi-bit input arithmetic element is effectively used, but 1, 2, 3, 4, 5 When performing calculations on low-bit inputs such as bits, the higher bits are not used at all, so the multi-bit input calculation element is not used effectively.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

多ビツト入力演算素子を用いた演算方式におい
ては、前述の様に、この演算素子と同じか又は同
程度のビツト数の入力に対する演算を行う場合に
は多ビツト入力演算素子が有効に利用されるが、
そのビツト数よりも少いビツト数の入力に対する
演算を行う場合には有効に利用されないという問
題があつた。
In an arithmetic method using a multi-bit input arithmetic element, as described above, the multi-bit input arithmetic element is effectively used when performing an arithmetic operation on an input with the same or similar number of bits as this arithmetic element. but,
There is a problem in that it cannot be used effectively when performing an operation on an input with a smaller number of bits than the number of bits.

〔問題点を解決するための手段〕[Means for solving problems]

従来の多ビツト入力演算素子を用いた演算方式
における前述の問題点を解決し、前記目的を達成
する為に本発明の講じた手段を、第1図により説
明する。
The means taken by the present invention to solve the above-mentioned problems in the conventional arithmetic system using multi-bit input arithmetic elements and achieve the above object will be explained with reference to FIG.

第1図において、LBCDは多ビツト入力演算素
子で、最大Nビツトからなる多ビツト入力A及び
Bを演算して、その演算出力Cを出力する。
In FIG. 1, LBCD is a multi-bit input arithmetic element that computes multi-bit inputs A and B consisting of a maximum of N bits and outputs the computed output C.

A0〜AN-1は多ビツト入力Aの入力端子で、A0
ガ最下位ビツト、AN-Iが最上位ビツトに対する
入力端子である。
A 0 to A N-1 are the input terminals of multi-bit input A, and A 0
ANI is the input terminal for the most significant bit.

B0〜BN-1は多ビツト入力Bの入力端子で、B0
が最下位ビツト、BN-Iが最上位ビツトに対する入
力端子である。
B 0 to B N-1 are the input terminals of multi-bit input B, and B 0
is the input terminal for the least significant bit, and BNI is the input terminal for the most significant bit.

C0〜CNは演算出力Cの出力端子で、C0が最下
位ビツト、CNが最上位ビツトに対する出力端子
である。
C 0 to C N are output terminals for the calculation output C, with C 0 being the output terminal for the least significant bit and C N being the output terminal for the most significant bit.

また、最大tビツトの2入力の演算出力には最
大t+1ビツトであるので、最大Nビツトの入力
A及びBに対する演算出力Cは、最大N+1ビツ
トである。
Furthermore, since the calculation output for two inputs having a maximum of t bits is t+1 bits at most, the calculation output C for inputs A and B having a maximum of N bits is a maximum of N+1 bits.

a0,b0,a1,b1,……,an-1,bn-1は、相互に
独立して演算されるm組の少ビツト入力対であ
る。
a 0 , b 0 , a 1 , b 1 , . . . , a n-1 , b n-1 are m small-bit input pairs that are operated independently.

任意の入力対ai,biにおける最大ビツト数がPi
であるとすると、m,Pii=0〜m−1)は、N
に対して次の条件式が成立する様に選定される。
The maximum number of bits in any input pair a i , b i is P i
Assuming that, m, P i ( i = 0 to m-1) is N
The selection is made so that the following conditional expression holds true for .

n-1i=0 (Pi+1)≦N+1 ……(1) この(1)式は、次の様に変形される。 n-1i=0 (P i +1)≦N+1 ...(1) This equation (1) can be transformed as follows.

n-1i=0 (Pi+1)+Pn-1≦N ……(2) この条件式を満足するm組の少ビツト入力対
a0,b0,a1,b1,……,an-2,bn-2,an-1,bn-1
は、例えば上式で等号が成立する場合は、第1図
に示す様にA,Bの入力端子に加えられる。
n-1i=0 (P i +1) + P n-1 ≦N ...(2) m small-bit input pairs that satisfy this conditional expression
a 0 , b 0 , a 1 , b 1 , ..., a n-2 , b n-2 , a n-1 , b n-1
is applied to the input terminals A and B as shown in FIG. 1, for example, if the equality sign holds in the above equation.

a0は入力端子A0〜AP0に、a1は入力端子A(P0
+1)〜A(P0+P1+2)に、……、an-2は入力
端子A(N−Pn-1−Pn-2−1)〜A(N−Pn-1
1)に、an-1は入力端子A(N−Pn-1)〜A(N−
1)に、それぞれ入力される。
a 0 is input terminal A 0 to A P0 , a 1 is input terminal A (P 0
+1) to A(P 0 +P 1 +2), ..., a n-2 is the input terminal A(N-P n-1 -P n-2 -1) to A(N-P n-1 -
1), a n-1 is the input terminal A(N-P n-1 ) to A(N-
1), respectively.

b0は入力端子B0〜BP0に、b1は入力端子B(P0
+1)〜B(P0+P1+2)に、……、bn-2は入力
端子B(N−Pn-1−Pn-2−1)〜B(N−Pn-1
1)に、bn-1は入力端子B(N−Pn-1)〜B(N−
1)に、それぞれ入力される。
b 0 is input terminal B 0 ~ B P0 , b 1 is input terminal B (P 0
+1) to B(P 0 +P 1 +2), ..., b n-2 is the input terminal B(N-P n-1 -P n-2 -1) to B(N-P n-1 -
1), b n-1 is the input terminal B(N-P n-1 ) to B(N-
1), respectively.

各少ビツト入力ai,biは、各少ビツト入力の最
下位ビツトが、対応する入力端子における最下位
ビツトと一致する様に入力される。
Each small bit input a i , b i is input such that the least significant bit of each small bit input matches the least significant bit at the corresponding input terminal.

ここで注意することは、a0〜an-2及びb0〜bn-2
は、それぞれP0+1,P1+1,……,Pn-2+1
個の入力端子に入力されるが、最上位に入るan-1
及びbn-1はPn-1個の入力端子に入力されている点
である。
Note here that a 0 ~ a n-2 and b 0 ~ b n-2
are respectively P 0 +1, P 1 +1, ..., P n-2 +1
input to n-1 input terminals, but enters the top level a n-1
and b n-1 are points input to P n-1 input terminals.

この様にすると、出力端子C0〜CP0にはa0とb0
の演算出力S0が出力され、出力端子C(P0+1)
〜C(P0+P1+2)にはa1とb1の演算出力S1が出
力され、……、出力端子C(N−Pn-1−Pn-2
1)〜C(N−Pn-1−1)にはan-2とbn-2の演算
出力Sn-2が出力され、出力端子C(N−Pn-1)〜
CNにはan-1とbn-1の演算出力Sn-1が出力される。
各演算出力Siにおいて、その出力端子の最下位ビ
ツトが演算出力の最下位ビツトである。
In this way, output terminals C 0 to C P0 have a 0 and b 0
The calculation output S 0 is output, and the output terminal C (P 0 +1)
The calculation output S 1 of a 1 and b 1 is output to ~C (P 0 + P 1 + 2), ..., output terminal C (N-P n-1 -P n-2 -
1) The calculation output S n - 2 of a n-2 and b n-2 is output to ~C (N-P n-1 -1), and the output terminal C (N-P n-1 ) ~
The calculation output S n-1 of a n-1 and b n-1 is output to CN.
For each calculation output S i , the least significant bit of its output terminal is the least significant bit of the calculation output.

演算出力S0,S1,……,Sn-2,Sn-1のビツト数は
P0+1,P1+1,……,Pn-2+1,Pn-1+1,
で、いずれもa0,b0,a1,b1,……,an-2
bn-2,an-1,bn-1の各入力対の各最大ビツト数P0
とP1,……Pn-2,Pn-1よりも1ビツト大きいの
で、演算出力S0〜Sn-1は、いずれも正しい演算結
果を示すことになる。
The number of bits of the calculation output S 0 , S 1 , ..., S n-2 , S n-1 is
P 0 +1, P 1 +1, ..., P n-2 +1, P n-1 +1,
And all of them are a 0 , b 0 , a 1 , b 1 , ..., a n-2 ,
Maximum number of bits for each input pair of b n-2 , a n-1 , b n-1 P 0
and P 1 , .

各入力ai,biが入力される各入力端子において、
最上位ビツト即ちPi+1番目のビツトには常に入
力が存在しないので、「0」が入力される。
At each input terminal to which each input a i and b i is input,
Since there is always no input to the most significant bit, ie, the P i +1st bit, "0" is input.

各入力ai,biを入力端子A,Bに入力する場合
は、ai,biが同じビツト位置に入る様にすれば良
く、その順番は任意である。
When inputting each input a i and b i to input terminals A and B, it is sufficient that a i and b i are placed in the same bit position, and the order is arbitrary.

以上は、前記(1)又は(2)式において等号が成立す
る場合であるが、不等号が成立する場合は、空い
たビツト数をan-1,bn-1の上位ビツト部分に空ビ
ツト“0”ビツトとして配置するか、任意の入力
対の間に挿入する様にする。後者の場合は、対応
する出力端子にも空ビツト、“0”ビツトを挿入
することが必要である。後者の方が、隣接する入
力及び演算出力の分離を確実にすると共に誤動作
を防止することが出来る。また、空ビツトには
“1”よりも“0”を入れた方が、前記効果を確
実にすることが出来る。
The above is a case where the equality sign holds in equation (1) or (2) above, but if the inequality sign holds, the number of empty bits is set to the upper bit part of a n-1 and b n-1. It can be placed as a "0" bit or inserted between any pair of inputs. In the latter case, it is necessary to insert an empty bit or "0" bit into the corresponding output terminal as well. The latter can ensure separation of adjacent inputs and calculation outputs and prevent malfunctions. Furthermore, the above effect can be more reliably achieved by filling empty bits with "0" rather than "1".

〔作用〕[Effect]

多ビツト入力A及びBに対しては、多ビツト入
力演算素子により従来と同じ方式で演算が行われ
る。
For multi-bit inputs A and B, multi-bit input arithmetic elements perform calculations in the same manner as in the prior art.

前記(1)(又は(2))式を満足するm組の演算入力
対が入力された場合は、多ビツト入力演算素子の
入力Aが加わる入力端子に、相互の入力間に少く
とも1ビツトの間隔を設けて入力a0,a1,……
an-1が任意の配列で入力される。
When m pairs of arithmetic inputs satisfying the above formula (1) (or (2)) are input, at least 1 bit is connected between the input terminals to which input A of the multi-bit input arithmetic element is applied. Input a 0 , a 1 , ... with intervals of
a n-1 is input in an arbitrary array.

同様に多ビツト入力演算素子の入力Bが加わる
入力端子に、相互の入力間に少くとも1ビツトの
間隔を設け、且つ対応する演算入力a0,a1,…
…,an-1と同じ配列で入力する。
Similarly, an interval of at least 1 bit is provided between the input terminals of the multi-bit input arithmetic element to which input B is applied, and the corresponding arithmetic inputs a 0 , a 1 , . . .
..., a Input in the same arrangement as n-1 .

前記(1)(又は(2))式で等号が成立する場合は、
各入力間に1ビツトの間隔が設けられ、不等号が
成立する場合は1ビツト以上の間隔が設けられ
る。
If the equality sign holds in equation (1) (or (2)) above,
A one bit interval is provided between each input, and if an inequality holds, an interval of one bit or more is provided.

各入力ai,biは、その最下位ビツトが、その入
力端子列における最下位ビツトと一致する様に入
力される。また、その最上位ビツトの次のビツト
即ちPi+1番目のビツトには、“0”が入力され
る。Pi+1番目のビツトと次の入力の最下位ビツ
トとの間に空ビツトが挿入されたときには、その
空ビツトにも“0”を入れる様にした方が良い。
Each input a i , b i is input such that its least significant bit matches the least significant bit in its input terminal string. Furthermore, "0" is input to the next bit after the most significant bit, that is, the P i +1st bit. When an empty bit is inserted between the P i +1st bit and the least significant bit of the next input, it is better to also set "0" to the empty bit.

この様にすると、多ビツト入力演算素子の演算
出力端子からは、各入力ai,biの入力端子に対応
する出力端子より各入力ai,biの演算出力が、そ
れぞれ別個に独立して出力される。
In this way, from the calculation output terminal of the multi-bit input calculation element, the calculation output of each input a i and b i is independently and independently transmitted from the output terminal corresponding to the input terminal of each input a i and b i . is output.

〔実施例〕〔Example〕

本発明の実施例を、図面を参照して説明する。
第2図は、最大ビツト数が16ビツトの多ビツト入
力A及びBに対する演算を行つて最大17ビツトの
演算出力を出力する多ビツト入力演算素子LBCD
を用いて、最大ビツト数が8ビツト及び4ビツト
である演算入力対a0,b0及びa1,b1に対する演算
を行う場合の一実施例を示したものである。
Embodiments of the present invention will be described with reference to the drawings.
Figure 2 shows a multi-bit input arithmetic element LBCD that performs arithmetic operations on multi-bit inputs A and B with a maximum bit count of 16 bits and outputs an arithmetic output of a maximum of 17 bits.
This figure shows an example in which operations are performed on operation input pairs a 0 , b 0 and a 1 , b 1 whose maximum number of bits is 8 bits and 4 bits.

多ビツト入力A及びBに対する演算は従来と同
じであるので、以下、少ビツトの演算入力対a0
b0及びa1,b1に対する演算について説明する。
Since the calculations for multi-bit inputs A and B are the same as before, below, we will explain the small-bit calculation input pair a 0 ,
Operations on b 0 , a 1 , and b 1 will be explained.

A0〜A15は多ビツト入力Aの各ビツトが加えら
れる入力端子、B0〜B15は多ビツト入力Bの各ビ
ツトが加えられる入力端子、C0〜C16は演算出力
Cの各ビツトが出力される出力端子である。
A 0 to A 15 are input terminals to which each bit of multi-bit input A is added, B 0 to B 15 are input terminals to which each bit of multi-bit input B is added, and C 0 to C 16 are each bit of calculation output C. is the output terminal where is output.

この多ビツト入力演算素子LBCDにより、最大
ビツト数が8ビツトP0=8である少ビツト入力a0
及びb0の演算、並びに最大ビツト数が4ビツトP1
=4である少ビツト入力a1及びb1の演算は、並行
且つ独立に次の様にして行われる。
This multi-bit input arithmetic element LBCD allows a small-bit input a 0 whose maximum number of bits is 8 bits P 0 =8.
and b 0 operations, and the maximum number of bits is 4 bits P 1
The operations on the small bit inputs a 1 and b 1 where =4 are performed in parallel and independently as follows.

P0=8,P1=4,m=2,N=16であるので、 n-1i=0 (Pi+1)=14, N+1=17となり、14<17であるから、前記の
条件式(1)(又は(2))は満足される。
Since P 0 = 8, P 1 = 4, m = 2, and N = 16, n-1i=0 (P i + 1) = 14, N + 1 = 17, and since 14 < 17, the above Conditional expression (1) (or (2)) is satisfied.

この実施例では、空ビツトが3個(=17−14)
生じるので、各入力及び演算出力相互間の分離を
確実にし誤動作を無くする為に、入力端子A9
A14,A15,B9,B14,B15を空ビツト端子とし、
これらに“0”を入力する。これらの空ビツトに
対応し、出力端子側のC9,C15,C16を空ビツトに
する。このとき、出力端子C9,C15,C16からは、
当然“0”が出力される。
In this example, there are 3 empty bits (=17-14)
Therefore, in order to ensure separation between each input and calculation output and eliminate malfunction, input terminals A 9 ,
A 14 , A 15 , B 9 , B 14 , B 15 are empty bit terminals,
Enter “0” into these. Corresponding to these empty bits, C 9 , C 15 , and C 16 on the output terminal side are made empty bits. At this time, from the output terminals C 9 , C 15 , C 16 ,
Naturally, "0" is output.

入力a0は、最下位ビツトa00を入力端子A0に入
力し、最上位ビツト a07を入力端子A7に入力す
る。最上位ビツトa07の次の入力端子A8には
“0”が入力される。これに対応して、入力b0は、
最下位ビツトb00を入力端子B0に入力し、最上位
ビツトb07を入力端子B7に入力する。最上位ビツ
トb07の次の入力端子B8には“0”が入力される。
The input a0 inputs the least significant bit a00 to the input terminal A0 and the most significant bit a07 to the input terminal A7 . "0" is input to the input terminal A8 next to the most significant bit a07 . Correspondingly, the input b 0 is
The least significant bit b00 is input to input terminal B0 , and the most significant bit b07 is input to input terminal B7 . "0" is input to the input terminal B8 next to the most significant bit b07 .

入力a1は、最下位ビツトa10を入力端子A10に入
力し、最上位ビツトa13を入力端子A13に入力す
る。これに対応して、入力b1は、最下位ビツト
b10を入力端子B10に入力し、最上位ビツトb13
入力端子B13に入力する。入力a1及びb1は最上位
に入るので、入力a0,b0の場合の入力端子A8
B8に対応する入力端子は不要である。
Input a1 inputs the least significant bit a10 to input terminal A10 and the most significant bit a13 to input terminal A13 . Correspondingly, input b 1 is
b 10 is input to input terminal B 10 , and the most significant bit b 13 is input to input terminal B 13 . Since inputs a 1 and b 1 are in the top level, input terminals A 8 , in case of inputs a 0 , b 0
No input terminal corresponding to B8 is required.

この様にして、少ビツト入力a0,b0及びa1,b1
が入力されると、多ビツト入力演算素子LBCDの
出力端子C0〜C8からは入力a0及びb0に対する演算
出力S0が出力され、出力端子C10〜C14からは入力
a1及びb1に対する演算出力S1が出力される。出力
S0及びS1において、S00及びS10が最下位ビツトで
あり、S08及びS14が最上位ビツトである。
In this way, the small bit inputs a 0 , b 0 and a 1 , b 1
is input, the output terminals C 0 to C 8 of the multi-bit input arithmetic element LBCD output the calculation output S 0 for the inputs a 0 and b 0 , and the output terminals C 10 to C 14 output the input
A calculation output S 1 for a 1 and b 1 is output. output
In S 0 and S 1 , S 00 and S 10 are the least significant bits, and S 08 and S 14 are the most significant bits.

以上の様にして、少ビツト入力a0,b0及びa1
b1の2組に対する演算を並行して且つ独立に行う
ことができる。
As described above, the small bit inputs a 0 , b 0 and a 1 ,
Operations on the two sets of b 1 can be performed in parallel and independently.

もし、更に2ビツトの入力の演算が加わつた場
合は、空ビツトとなつた3ビツトを利用して行う
ことが出来る。その場合は、当然3個の空ビツト
部分が連続する様に再配置される。なお、本発明
が、前記実施例に限定されるものでないことは、
もちろんである。
If an operation is to be performed on 2-bit input, it can be performed using the 3 empty bits. In that case, the three empty bit parts are naturally rearranged so that they are continuous. It should be noted that the present invention is not limited to the above embodiments.
Of course.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明によれば、従来の多
ビツト入力演算素子を用いて本来の多ビツト入力
に対する演算を行うことが出来ると共に、それよ
りもビツト数の少い少ビツト入力の場合は、複数
の少ビツト入力に対する演算を並行して且つ独立
に行うことが出来る。従つて、多ビツト入力の場
合も少ビツト入力の場合も、多ビツト入力演算素
子を有効に利用することが出来る。
As explained above, according to the present invention, it is possible to perform calculations on original multi-bit inputs using conventional multi-bit input arithmetic elements, and in the case of small-bit inputs with a smaller number of bits, , it is possible to perform operations on multiple small bit inputs in parallel and independently. Therefore, the multi-bit input arithmetic element can be effectively utilized for both multi-bit input and small-bit input.

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

第1図は本発明の演算方式の説明図、第2図は
本発明の一実施例の説明図を示す。 第1図において、LBCDは多ビツト入力演算素
子、AとBは多ビツト入力、CはAとBの演算出
力、A0〜AN-1は入力Aの入力端子、B0〜BN-1
入力Bの入力端子、C0〜CNは演算出力Cの出力
端子、a0〜an-1及びb0〜bn-1は少ビツト入力、S0
〜Sn-1は、a0とb0,a1とb1,……,an-1とbn-1
演算出力をそれぞれ示す。
FIG. 1 is an explanatory diagram of the calculation method of the present invention, and FIG. 2 is an explanatory diagram of an embodiment of the present invention. In Fig. 1, LBCD is a multi-bit input arithmetic element, A and B are multi-bit inputs, C is the arithmetic output of A and B, A 0 to A N-1 are input terminals of input A, and B 0 to B N- 1 is the input terminal of input B, C 0 to C N is the output terminal of calculation output C, a 0 to a n-1 and b 0 to b n-1 are small bit inputs, S 0
~S n-1 indicates the calculation outputs of a 0 and b 0 , a 1 and b 1 , ..., a n-1 and b n-1, respectively.

Claims (1)

【特許請求の範囲】 1 最大ビツト数がNの2個の多ビツト入力A及
びBに対する演算を行つて最大(N+1)ビツト
の演算出力Cを出力する多ビツト入力演算素子を
用いた演算方式において、 (a) 相互に独立して演算されるm組の入力対a0
b0,a1,b1,……,an-1,bn-1が、入力対ai
biについての最大ビツト数をPiとするとき、 n-1i=0 (Pi+1)≦N+1 なる関係を満足する入力対であり、 (b) 多ビツト入力演算素子の入力Aが加わる入力
端子に、相互の入力間に少くとも1ビツトの間
隔を設けて入力a0,a1,……,an-1を任意の配
列で入力し、 (c) 多ビツト入力演算素子の入力Bが加わる入力
端子に、相互の入力間に少くとも1ビツトの間
隔を設け、且つ対応する演算入力a0,a1,…
…,an-1と同じ配列でb0,b1,……,bn-1を入
力し、 (d) 各入力ai,biは、その最下位ビツトがその入
力端子列における最下位ビツトと一致する様に
入力され、その最上位ビツトの次のビツト即ち
Pi+1番目のビツトには“0”が入力され、 (e) 多ビツト入力演算素子の演算出力端子におけ
る各入力ai,biの入力端子に対応する出力端子
より、各入力ai,biの演算出力を取り出す、 様にしたことを特徴とする多ビツト入力演算素子
を用いた演算方式。
[Scope of Claims] 1. In an arithmetic method using a multi-bit input arithmetic element that performs arithmetic operations on two multi-bit inputs A and B with a maximum number of N bits and outputs an arithmetic output C of a maximum of (N+1) bits. , (a) m input pairs a 0 that are operated independently of each other,
b 0 , a 1 , b 1 , ..., a n-1 , b n-1 is the input pair a i ,
When the maximum number of bits for b i is P i , it is an input pair that satisfies the relationship n-1i=0 (P i +1)≦N+1, and (b) the input A of the multi-bit input arithmetic element is Input the inputs a 0 , a 1 , ..., a n-1 in an arbitrary arrangement to the input terminals to be added, with an interval of at least 1 bit between each input, and (c) input the inputs of the multi-bit input arithmetic element. An interval of at least 1 bit is provided between input terminals to which input B is applied, and corresponding calculation inputs a 0 , a 1 , . . .
Input b 0 , b 1 , ..., b n-1 in the same arrangement as ..., a n-1, (d) Each input a i , b i has its least significant bit the lowest bit in its input terminal string. The bit is input to match the lower bit, and the next bit after the most significant bit, i.e.
“0” is input to the P i +1st bit , and (e ) each input a i , b An arithmetic method using a multi-bit input arithmetic element, characterized in that the arithmetic output of b i is taken out.
JP60065664A 1985-03-29 1985-03-29 Arithmetic system using multiple-bit input of arithmetic element Granted JPS61224037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60065664A JPS61224037A (en) 1985-03-29 1985-03-29 Arithmetic system using multiple-bit input of arithmetic element

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60065664A JPS61224037A (en) 1985-03-29 1985-03-29 Arithmetic system using multiple-bit input of arithmetic element

Publications (2)

Publication Number Publication Date
JPS61224037A JPS61224037A (en) 1986-10-04
JPH0424728B2 true JPH0424728B2 (en) 1992-04-27

Family

ID=13293483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60065664A Granted JPS61224037A (en) 1985-03-29 1985-03-29 Arithmetic system using multiple-bit input of arithmetic element

Country Status (1)

Country Link
JP (1) JPS61224037A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2651267B2 (en) * 1990-07-26 1997-09-10 富士通株式会社 Arithmetic processing device and arithmetic processing method
JP2601960B2 (en) * 1990-11-15 1997-04-23 インターナショナル・ビジネス・マシーンズ・コーポレイション Data processing method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3987291A (en) * 1975-05-01 1976-10-19 International Business Machines Corporation Parallel digital arithmetic device having a variable number of independent arithmetic zones of variable width and location

Also Published As

Publication number Publication date
JPS61224037A (en) 1986-10-04

Similar Documents

Publication Publication Date Title
US5880985A (en) Efficient combined array for 2n bit n bit multiplications
US6029187A (en) Fast regular multiplier architecture
JPS6132437Y2 (en)
JPH0456339B2 (en)
EP0416869B1 (en) Digital adder/accumulator
US5161119A (en) Weighted-delay column adder and method of organizing same
US6065033A (en) Wallace-tree multipliers using half and full adders
JPH07191832A (en) Binary square circuit
JPH0424728B2 (en)
JPH0317132B2 (en)
JPH0149973B2 (en)
US5327368A (en) Chunky binary multiplier and method of operation
JPH0981541A (en) Accumulator
JP3210420B2 (en) Multiplication circuit over integers
SU824203A1 (en) Device for adding n-digit decimal numbers
JP2524035Y2 (en) Multiplier for convolution arithmetic circuit
JP3612950B2 (en) Arithmetic apparatus and method
JP3264280B2 (en) Multiplier
SU607216A1 (en) Arrangement for subtracting decimal numbers
JP3417172B2 (en) Arithmetic circuit
JPH0673103B2 (en) Floating point multiplication circuit
JPS62196918A (en) Waveform generator
JP2002287955A (en) Multiplication circuit
JPS63225864A (en) Cumulative computing element
Liu The generating function of Whitworth runs