JPS61224037A - Arithmetic system using multiple-bit input of arithmetic element - Google Patents

Arithmetic system using multiple-bit input of arithmetic element

Info

Publication number
JPS61224037A
JPS61224037A JP60065664A JP6566485A JPS61224037A JP S61224037 A JPS61224037 A JP S61224037A JP 60065664 A JP60065664 A JP 60065664A JP 6566485 A JP6566485 A JP 6566485A JP S61224037 A JPS61224037 A JP S61224037A
Authority
JP
Japan
Prior art keywords
input
bit
arithmetic
arithmetic element
output
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.)
Granted
Application number
JP60065664A
Other languages
Japanese (ja)
Other versions
JPH0424728B2 (en
Inventor
Shinichi Maki
新一 牧
Kiichi Matsuda
松田 喜一
Toshihiro Honma
敏弘 本間
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; CALCULATING OR 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; CALCULATING OR 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; CALCULATING OR 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

Abstract

PURPOSE:To utilize effectively multiple-bit arithmetic element when making calculation of multiple-bit and few-bit by calculating multiple-bit input using multiple-bit input arithmetic element, and at the same time, by calculating in case of few-bit input in parallel and independently. CONSTITUTION:Multiple-bit inputs A and B consisting of maximum N-bit is calculated by a multiple bit input arithmetic element LBCD and its arithmetic output C is outputted. In operating system using the arithmetic element LBCD, (m) sets of input pairs a0, a1, and a1, b2 ... am-1, bm-1 calculated independent to each other are made to input pairs that satisfies the equation when maximum bit for an input pair a1, b2 is made P1. Inputting is made providing at least space of 1 bit between input terminals A0-AN-1 and B0-BN-1 to which input A and input B of the arithmetic element LBCD are applied. Arithmetic in case of small input is made in parallel and independently, and the arithmetic element LBCD is utilized effectively in case of multiple-bit and few-bit.

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, 2
When performing addition of two inputs, a full adder for n bits can be used to obtain the sum output of both operators, but as the number of bits in the calculation input increases, the corresponding full adder The number of adders 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 necessary number of easily available low-bit (for example, 4-bit) arithmetic elements to perform the desired operation. I was going.

然しLSIに関する技術進歩に伴い、多ビット入力に対
する演算素子が実現できる様になり、1個の演算素子を
用いて多ビット人力に対する演算が可能になって来た。
However, with the technological progress regarding LSI, it has become possible to realize arithmetic elements for multi-bit input, and it has become possible to perform multi-bit manual calculations 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 cannot be used effectively 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 used.

例えば、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-focus input arithmetic element is effectively used;
When performing an operation on a low-bit input such as 2, 3, or 4.5 bits, the upper bits are not used at all, so the multi-bit input arithmetic element is not effectively utilized.

〔発明が解決しようとする問題点〕[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 having the same or similar number of bits as this arithmetic element. However, there is a problem in that it is not 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 Figure 1, LBCD is a multi-bit human operation element,
Multi-bit human input A and B consisting of a maximum of N bits are calculated, and the calculation output C is output.

A0〜AN〜1は多ビット人力Aの入力端子で、Aoが
最下位ビット、AM−1が最上位ビットに対する入力端
子である。
A0 to AN to 1 are input terminals for the multi-bit input A, where Ao is the input terminal for the least significant bit and AM-1 is the input terminal for the most significant bit.

B o −B N−1は多ビット入力Bの入力端子で、
Boが最下位ビット、BN−1が最上位ビットに対する
入力端子である。
B o -B N-1 is the input terminal of multi-bit input B,
Bo is the input terminal for the least significant bit, and BN-1 is the input terminal for the most significant bit.

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

また、最大tビットの2人力の演算出力には最大(t+
1)ピントであるので、最大Nビットの人力A及びBに
対する演算出力Cは、最大(N+1)ビットである。
In addition, for the calculation output of two people with a maximum of t bits, the maximum (t +
1) Since it is a focus, the calculation output C for a maximum of N bits of human power A and B is a maximum of (N+1) bits.

(ao  、bc+ )  *  (at  t b+
 )  t・・・−・”t(am−1t b、−、)は
、相互に独立して演算されるm組の少ビット入力対であ
る。
(ao, bc+) * (at t b+
) t...-"t(am-1t b,-,) are m small-bit input pairs that are operated independently of each other.

任意の入力対(a五 、b、)における最大ビット数が
Piであるとすると、m、Pi (、=O〜m−1)は
、Nに対して次の条件式が成立する様に選定される。
Assuming that the maximum number of bits in any input pair (a5, b,) is Pi, m, Pi (, = O ~ m-1) are selected such that the following conditional expression holds true for N. be done.

この(1)式は、次の様に変形される。This equation (1) is transformed as follows.

この条件式を満足するm組の少ビット入力対(ao  
y bo )  +  (at  + t)+ )  
s ””””’。
m small-bit input pairs (ao
y bo ) + (at + t)+ )
s ””””’.

(am−2g bm−2)  g  (ai、−1+ 
bm−1)は、例えば上式で等号が成立する場合は、第
1図に示す様にA、Bの入力端子に加えられる。
(am-2g bm-2) g (ai, -1+
bm-1) is applied to the input terminals A and B as shown in FIG. 1, for example, when the equality sign holds in the above equation.

aoは入力端子A0〜At’oに、a、は入力端子A(
PO+1)〜A (P(1十P+ +2)に、・・・・
++ −+−、3、−2は入力端子A (N  P−+
  Pm−xs ) 〜A (N  pH−11)に、
am−1は入力端子A(NPi−1)〜A(N−1)に
、それぞれ入力される。
ao is input terminal A0 to At'o, a is input terminal A (
PO+1) ~ A (P(10P+ +2),...
++ -+-, 3, -2 are input terminals A (N P-+
Pm-xs) ~A (N pH-11),
am-1 is input to input terminals A(NPi-1) to A(N-1), respectively.

boは入力端子B0〜BF)oに、b、は入力端子B(
Po+1)〜B (PG 十Pl +2)に、・・・・
・・・・・vbt*−2は入力端子B (N  PIs
−+   Pi、1−z−1)〜B(N  Pffi−
+   1)に、b、S−+ は入力端子B (N−P
IN−1)〜B(N−t)に、それぞれ入力される。
bo is input terminal B0 to BF) o, b is input terminal B (
Po+1) ~ B (PG 10 Pl +2)...
...vbt*-2 is input terminal B (N PIs
−+ Pi, 1-z-1) ~ B(N Pffi-
+1), b, S-+ are input terminals B (N-P
IN-1) to B(N-t), respectively.

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

ここで注意することは、(an〜aつ−2)及び(bo
〜b−z)は、それぞれ(PG ++)*(Pl  +
1)?・・・・・・・・・、(Pi%−2+1)個の入
力端子に入力されるが、最上位に入るa□1及びbm−
+はF+m−+個の入力端子に入力されている点である
What should be noted here is (an~atsu-2) and (bo
~b−z) are (PG ++)*(Pl +
1)?・・・・・・・・・It is input to (Pi%-2+1) input terminals, but a□1 and bm- are in the highest order.
+ is a point that is input to F+m-+ input terminals.

この様にすると、出力端子C0〜CPOにはaoとす、
の演算出力S。が出力され、出力端子C(PO++) 
〜C(PG +Pl +2)にはalとす、の演算出力
S1が出力され、・・・・・・・・・、出力端子C(N
  Pa−+  PII−z  1)〜C(トJ  P
 I!l−1−1)にはaffi−2とb+e−2の演
算出力81−2が出力され、出力端子C(N−Pi−1
)〜CNにはa餉−1とす、−1の演算出力S、%−1
が出力される。各演算出力S、において、その出力端子
の最下位ビットが演算出力の最下位ビットである。
If you do this, the output terminals C0 to CPO will be ao,
The calculation output S. is output, output terminal C (PO++)
~C(PG +Pl +2) is outputted with the calculation output S1 of al and ......, output terminal C(N
Pa-+ PII-z 1)~C(toJ P
I! The calculation output 81-2 of affi-2 and b+e-2 is output to the output terminal C (N-Pi-1).
) ~ CN is a-1, -1 calculation output S, %-1
is output. In each calculation output S, the least significant bit of its output terminal is the least significant bit of the calculation output.

演算出力so  g s+  g・・・・・・・・・、
5s−2、Sm−1のビット数は(po +1)9  
(PI  +1)S・・・・・・・・・、(Pi−□+
1)t  (Pi−1+1)で、いずれも(ao t 
bo ) t (at t ’)+ ) * ・・””
””s(am−2t b、−2)  g  (am−1
t b、−、)の各入力対の各最大ビット数Pi、Pi
、・・・・・・・・・Pi−2、PIs−1よりも1ビ
ット大きいので、演算出力80〜S、−1は、いずれも
正しい演算結果を示すことになる。
Calculation output so g s+ g...
5s-2, the number of bits of Sm-1 is (po +1)9
(PI +1) S・・・・・・・・・, (Pi−□+
1) t (Pi-1+1), both (ao t
bo ) t (at t')+ ) * ・・・””
""s (am-2t b, -2) g (am-1
Each maximum number of bits Pi, Pi of each input pair of t b,−,)
, . . . Pi-2 is 1 bit larger than PIs-1, so the calculation outputs 80 to S, -1 all indicate correct calculation results.

各入力(a(、b、)が入力される各入力端子において
、最上位ビット即ち(Pi+1)番目のビットには常に
入力が存在しないので、rOJが入力される。
In each input terminal to which each input (a(, b,) is input, there is always no input to the most significant bit, that is, the (Pi+1)th bit, so rOJ is input.

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

以上は、前記(11又は(2)式において等号が成立す
る場合であるが、不等号が成立する場合は、空いたビッ
ト数を(am−+  、 blll−1)の上位ピント
部分に空ビット(“0”ビット)として配置するか、任
意の入力対の間に挿入する様にする。後者の場合は、対
応する出力端子にも空ビット(“O”ビット)を挿入す
ることが必要である。後者の方が、隣接する入力及び演
算出力の分離を確実にすると共に誤動作を防止すること
が出来る。また、空ビットには“1″よりも“0”を入
れた方が、前記効果を確実にすることが出来る。
The above is a case where the equality sign holds true in equation (11 or (2)), but if the inequality sign holds, the number of empty bits is added to the upper focused part of (am-+, bll-1). (“0” bit) or inserted between any pair of inputs. In the latter case, it is necessary to insert an empty bit (“O” bit) at the corresponding output terminal as well. Yes, the latter can ensure the separation of adjacent inputs and calculation outputs and prevent malfunctions.Also, it is better to put "0" in the empty bit than "1" to achieve the above effect. can be ensured.

〔作 用〕[For production]

多ビット人力A及びBに対しては、多ビット人力演算素
子により従来と同じ方式で演算が行われる。
For the multi-bit manual inputs A and B, calculations are performed using the multi-bit manual calculation element in the same manner as in the past.

前記(1)(又は(2))弐を満足するm組の演算入力
対が入力された場合は、多ビット入力演算素子の入力A
が加わる入力端子に、相互の入力間に少くともlビット
の間隔を設けて入力a。tal+・・・・・・・・・a
lN−1が任意の配列で入力される。
When m arithmetic input pairs satisfying the above (1) (or (2)) 2 are input, the input A of the multi-bit input arithmetic element
Input a is applied to the input terminal with an interval of at least l bits between mutual inputs. tal+・・・・・・・・・a
lN-1 is input in an arbitrary arrangement.

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

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

各入力(a=tbi)は、その最下位ビットが、その入
力端子列における最下位ビットと一致する様に入力され
る。また、その最上位ビットの次のピント即ち(Pi 
+1)番目のビットには、“0”が入力される。(Pi
 +1)番目のビットと次の入力の最下位ビットとの間
に空ビットが挿入されたときには、その空ビットにも“
0”を入れる様にした方が良い。
Each input (a=tbi) is input such that its least significant bit matches the least significant bit in its input terminal column. Also, the next focus of the most significant bit, that is (Pi
“0” is input to the +1)th bit. (Pi
When an empty bit is inserted between the +1)th bit and the least significant bit of the next input, “
It is better to enter 0".

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

〔実施例〕〔Example〕

本発明の実施例を、図面を参照して説明する。 Embodiments of the present invention will be described with reference to the drawings.

第2図は、最大ビット数が12ビットの多ビット人力A
及びBに対する演算を行って最大17ビットの演算出力
を出力する多ビット入力演算素子LBCDを用いて、最
大ビット数が8ビット及び4ビットである演算入力対(
ao  、bo)及び(at、bl)に対する演算を行
う場合の一実施例を示したものである。
Figure 2 shows a multi-bit manual A with a maximum number of bits of 12 bits.
A multi-bit input arithmetic element LBCD that performs arithmetic operations on and
This figure shows an example in which calculations are performed on ao, bo) and (at, bl).

多ビット人力A及びBに対する演算は従来と同じである
ので、以下、少ビットの演算入力対(a。
Since the calculations for the multi-bit manual inputs A and B are the same as before, the following will explain the small-bit calculation input pair (a.

、bo)及び(al 、bl)に対する演算について説
明する。
, bo) and (al, bl) will be explained.

A0〜A15は多ビット人力Aの各ビットが加えられる
入力端子、B0〜13+sは多ビット人力Bの各ビット
が加えられる入力端子、CG”C10は演算出力Cの各
ビットが出力される出力端子である。
A0 to A15 are input terminals to which each bit of multi-bit human power A is added, B0 to 13+s are input terminals to which each bit of multi-bit human power B is added, and CG"C10 is an output terminal to which each bit of calculation output C is output. It is.

この多ビット入力演算素子LBCDにより、最大ビット
数が8ビット(Pa =8)である少ビット人力a0及
びboの演算、並びに最大ビット数が4ビット(P+=
4)である少ビット人力a1及びblの演算は、並行且
つ独立に次の様にして行われる。
This multi-bit input arithmetic element LBCD allows small-bit manual a0 and bo operations with a maximum bit count of 8 bits (Pa = 8), and a maximum bit count of 4 bits (P+ =
The small-bit manual operations a1 and bl (4) are performed in parallel and independently as follows.

Po ”8.P+ =4.m=2.N=16であるので
、 となり、14<17であるから、前記の条件式(1)゛
(又は(2))は満足される。
Since Po ``8.P+ =4.m=2.N=16, and since 14<17, the above conditional expression (1)'' (or (2)) is satisfied.

この実施例では、空ビットが3個(=17−14)生じ
るので、各入力及び演算出力相互間の分離を確実にし誤
動作を無くする為に、入力端子A9tA+4 t A+
s g Bq  ツB、、、B、Sを空ピント端子とし
、これらに“0”を入力する。これらの空ビットに対応
し、出力端子側のCq  、C15、C16を空ビット
にする。このとき、出力端子Cq  g Cps 5C
I6からは、当然“0”が出力される。
In this embodiment, three empty bits (=17-14) are generated, so in order to ensure separation between each input and operation output and eliminate malfunction, input terminal A9tA+4tA+
s g Bq Set B, , B, and S as empty focus terminals, and input "0" to them. Corresponding to these empty bits, Cq, C15, and C16 on the output terminal side are made empty bits. At this time, the output terminal Cq g Cps 5C
Naturally, "0" is output from I6.

入力a。は、最下位ビットao。を入力端子A0に人力
し、最上位ビットa07を入力端子A7に入力する。最
上位ピッ)ao7の次の入力端子A8には“0”が入力
される。これに対応して、入力b0は、最下位ビットb
。。を入力端子B0に入力し、最上位ビットbo、を入
力端子B7に入力する。最上位ビットbotの次の入力
端子B6にはO″が入力される。
Input a. is the least significant bit ao. is manually input to the input terminal A0, and the most significant bit a07 is input to the input terminal A7. "0" is input to the next input terminal A8 of the topmost pip) ao7. Correspondingly, input b0 has the least significant bit b
. . is input to input terminal B0, and the most significant bit bo is input to input terminal B7. O'' is input to the next input terminal B6 of the most significant bit bot.

入力a1は、最下位ビットa+。を入力端子AI(Hに
入力し、最上位ビットa13を入力端子A I 3に入
力する。これに対応して、入力b1は、最下位ピッ)b
+。を入力端子B、。に入力し、最上位ビットb13を
入力端子811に入力する。入力a1及びす。
Input a1 is the least significant bit a+. is input to input terminal AI (H), and the most significant bit a13 is input to input terminal AI3. Correspondingly, input b1 is input to input terminal AI (H).
+. Input terminal B. and input the most significant bit b13 to the input terminal 811. Input a1 and S.

は最上位に入るので、入力ao、b0の場合の入力端子
As 、Biに対応する入力端子は不要である。
is in the highest level, so there is no need for input terminals corresponding to input terminals As and Bi in the case of inputs ao and b0.

この様にして、少ビット入力(ao、bo)及び(at
  、b+)が入力されると、多ビット入力演算素子L
BCDの出力端子00〜CIlからは入力a0及びbo
に対する演算出力S0が出力され、出力端子C0゜〜C
I4からは入力a、及びblに対する演算出力S、が出
力される。出力S0及びSlにおいて、So。及びSl
。が最下位ビットであり、SOI及びS14が最上位ビ
ットである。
In this way, the small bit inputs (ao, bo) and (at
, b+), the multi-bit input arithmetic element L
Inputs a0 and bo from output terminals 00 to CI1 of BCD
The calculation output S0 is outputted to the output terminal C0°~C
A calculation output S for inputs a and bl is output from I4. At the outputs S0 and Sl, So. and Sl
. is the least significant bit and SOI and S14 are the most significant bits.

以上の様にして、少ビット入力(ao  、bo)及び
(a、、b、)の2組に対する演算を並行して且つ独立
に行うことができる。
In the manner described above, operations on two sets of small bit inputs (ao, bo) and (a,,b,) can be performed in parallel and independently.

もし、更に2ビットの入力の演算が加わった場合は、空
ビットとなった3ビットを利用して行うことが出来る。
If an operation is to be performed on 2 more bits of input, it can be performed using the 3 empty bits.

その場合は、当然3個の空ビント部分が連続する様に再
配置される。なお、本発明が、前記実施例に限定される
ものでないことは、もちろんである。
In that case, the three empty bin portions are naturally rearranged so that they are continuous. It goes without saying that the present invention is not limited to the above embodiments.

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

以上説明した様に、本発明によれば、従来の多ビット入
力演算素子を用いて本来の多ビット入力に対する演算を
行うことが出来ると共に、それよりもビット数の少い少
ビット入力の場合は、複数の少ビット入力に対する演算
を並行して且つ独立に行うことが出来る。従って、多ビ
ット入力の場合も少ビット入力の場合も、多ビット入力
演算素子を有効に利用することが出来る。
As explained above, according to the present invention, it is possible to perform operations 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 used for both multi-bit input and small-bit input.

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

第1図は本発明の演算方式の説明図、第2図は本発明の
一実施例の説明図を示す。 第1図において、LBCDは多ビット入力演算素子、A
とBは多ビット入力、CはAとBの演算出力、A o 
”” A N−+ は入力Aの入力端子、Bo〜BN−
1は入力Bの入力端子、Co ”” C,4は演算出力
Cの出力端子、aO〜a m−1及びt)O””t)、
%−1は少ビット入力、80〜5ffi−1は、aoと
bo 。 alとbI 、・・・・・・・・・sa、−1とbl−
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 calculation output of A and B, A o
"" A N-+ is the input terminal of input A, Bo ~ BN-
1 is the input terminal of input B, Co "" C, 4 is the output terminal of calculation output C, aO~a m-1 and t)O""t),
%-1 is a small bit input, 80 to 5ffi-1 is ao and bo. al and bI, ......sa, -1 and bl-
The calculation output of 1 is shown respectively.

Claims (1)

【特許請求の範囲】 最大ビット数がNの2個の多ビット入力A及びBに対す
る演算を行って最大(N+1)ビットの演算出力Cを出
力する多ビット入力演算素子を用いた演算方式において
、 (a)相互に独立して演算されるm組の入力対(a_0
、a_1)、(a_1、b_1)、………、(a_m_
−_1、b_m_−_1)が、入力対(a_i、b_i
)についての最大ビット数をP_iとするとき、 Σ^m^−^1_i_=_0(P_i+1)≦N+1な
る関係を満足する入力対であり、 (b)多ビット入力演算素子の入力Aが加わる入力端子
に、相互の入力間に少くとも1ビットの間隔を設けて入
力a_0、a_1、………、a_m_−_1を任意の配
列で入力し、 (c)多ビット入力演算素子の入力Bが加わる入力端子
に、相互の入力間に少くとも1ビットの間隔を設け、且
つ対応する演算入力a_0、a_1、……、a_m_−
_1と同じ配列で入力し、(d)各入力(a_i、b_
i)は、その最下位ビットがその入力端子列における最
下位ビットと一致する様に入力され、その最上位ビット
の次のビット即ち(P_i+1)番目のビットには“0
”が入力され、 (e)多ビット入力演算素子の演算出力端子における各
入力(a_i、b_i)の入力端子に対応する出力端子
より、各入力(a_i、b_i)の演算出力を取り出す
、 様にしたことを特徴とする多ビット入力演算素子を用い
た演算方式。
[Claims] 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 bits of N and outputs an arithmetic output C of a maximum of (N+1) bits, (a) m input pairs (a_0
, a_1), (a_1, b_1), ......, (a_m_
-_1, b_m_-_1) is the input pair (a_i, b_i
) is the input pair that satisfies the relationship Σ^m^-^1_i_=_0(P_i+1)≦N+1, and (b) input to which input A of the multi-bit input arithmetic element is added. Input the inputs a_0, a_1, . The input terminals are provided with an interval of at least 1 bit between mutual inputs, and corresponding calculation inputs a_0, a_1, ..., a_m_-
(d) Each input (a_i, b_
i) is input so that its least significant bit matches the least significant bit in its input terminal string, and the bit next to its most significant bit, that is, the (P_i+1)th bit, is “0”.
” is input, and (e) extract the operation output of each input (a_i, b_i) from the output terminal corresponding to the input terminal of each input (a_i, b_i) at the operation output terminal of the multi-bit input operation element. An arithmetic method using multi-bit input arithmetic elements.
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 true JPS61224037A (en) 1986-10-04
JPH0424728B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0484219A (en) * 1990-07-26 1992-03-17 Fujitsu Ltd Arithmetic processor and arithmetic processing method
JPH05204605A (en) * 1990-11-15 1993-08-13 Internatl Business Mach Corp <Ibm> Data processing method and device thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51134539A (en) * 1975-05-01 1976-11-22 Ibm Digital adder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS51134539A (en) * 1975-05-01 1976-11-22 Ibm Digital adder

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0484219A (en) * 1990-07-26 1992-03-17 Fujitsu Ltd Arithmetic processor and arithmetic processing method
JP2651267B2 (en) * 1990-07-26 1997-09-10 富士通株式会社 Arithmetic processing device and arithmetic processing method
JPH05204605A (en) * 1990-11-15 1993-08-13 Internatl Business Mach Corp <Ibm> Data processing method and device thereof

Also Published As

Publication number Publication date
JPH0424728B2 (en) 1992-04-27

Similar Documents

Publication Publication Date Title
US6692534B1 (en) Specialized booth decoding apparatus
EP0654732B1 (en) Galois field multiplication method and multiplier utilizing the same
JPH0713741A (en) Alpha resultant conputing element
JPS595350A (en) Combined multiplier
JPS61224037A (en) Arithmetic system using multiple-bit input of arithmetic element
EP0862110A2 (en) Wallace-tree multipliers using half and full adders
JPH0374419B2 (en)
JPS62500474A (en) High speed BCD/binary adder
Brenner et al. Proof of the fundamental theorem of algebra
JP3046115B2 (en) Discrete cosine transformer
Holtz et al. On coherent spin states
JPS623330A (en) Adder
Sreelakshmi et al. A novel approach to the learning of vinculum numbers in two’s compliment method for BCD arithmetic operations
JP2581534B2 (en) Arithmetic circuit
JPS6248812A (en) System of calculating inverse element
JPS62120535A (en) Parallel multiplier
JP3612950B2 (en) Arithmetic apparatus and method
De Luca A note on variable length codes
JPS62182841A (en) Square root arithmetic system
JPS63247826A (en) Packing circuit
KR100234031B1 (en) An arithmetic adder
JPH0435528A (en) Difference encoding circuit
JPS6049328B2 (en) Decimal quadruple generation circuit
JPH03163624A (en) Digital decimal number multiplier
JPS60136871A (en) Processing unit