JP6302682B2 - 複数データ形式を支援する加算器、及びその加算器を利用した複数データ形式の加減演算支援方法 - Google Patents
複数データ形式を支援する加算器、及びその加算器を利用した複数データ形式の加減演算支援方法 Download PDFInfo
- Publication number
- JP6302682B2 JP6302682B2 JP2014013824A JP2014013824A JP6302682B2 JP 6302682 B2 JP6302682 B2 JP 6302682B2 JP 2014013824 A JP2014013824 A JP 2014013824A JP 2014013824 A JP2014013824 A JP 2014013824A JP 6302682 B2 JP6302682 B2 JP 6302682B2
- Authority
- JP
- Japan
- Prior art keywords
- addition
- data
- input
- region
- adder
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 27
- 238000004364 calculation method Methods 0.000 claims description 33
- 230000000295 complement effect Effects 0.000 claims description 18
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000011017 operating method Methods 0.000 claims 1
- 238000007792 addition Methods 0.000 description 265
- 239000000654 additive Substances 0.000 description 2
- 230000000996 additive effect Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/40—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation using contact-making devices, e.g. electromagnetic relay
- G06F7/42—Adding; Subtracting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods 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/50—Adding; Subtracting
- G06F7/501—Half or full adders, i.e. basic adder cells for one denomination
- G06F7/503—Half or full adders, i.e. basic adder cells for one denomination using carry switching, i.e. the incoming carry being connected directly, or only via an inverter, to the carry output under control of a carry propagate signal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F7/00—Methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F7/38—Methods or arrangements for performing computations using exclusively denominational number representation, e.g. using binary, ternary, decimal representation
- G06F7/48—Methods 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/50—Adding; Subtracting
- G06F7/505—Adding; Subtracting in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination
- G06F7/506—Adding; Subtracting in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination with simultaneous carry generation for, or propagation over, two or more stages
- G06F7/507—Adding; Subtracting in bit-parallel fashion, i.e. having a different digit-handling circuit for each denomination with simultaneous carry generation for, or propagation over, two or more stages using selection between two conditionally calculated carry or sum values
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
- G06F2207/3804—Details
- G06F2207/3808—Details concerning the type of numbers or the way they are handled
- G06F2207/3812—Devices capable of handling different types of numbers
- G06F2207/382—Reconfigurable for different fixed word lengths
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/38—Indexing scheme relating to groups G06F7/38 - G06F7/575
- G06F2207/3804—Details
- G06F2207/3808—Details concerning the type of numbers or the way they are handled
- G06F2207/3828—Multigauge devices, i.e. capable of handling packed numbers without unpacking them
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Optimization (AREA)
- General Engineering & Computer Science (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Electromagnetism (AREA)
- Complex Calculations (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Advance Control (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
121 マルチプレクサ
200 加算器
210 加算部
Claims (24)
- 加算器であって、
被演算データが入力される複数の第1加算領域であり、それぞれが所定ビット単位を含む、複数の第1加算領域と、
被演算データのタイプ及び演算の種類に基づいた制御データが入力される複数の第2加算領域であり、それぞれが前記複数の第1加算領域の2つの隣接する第1加算領域の間に配置されている、第2加算領域と、を含み、
前記加算器は、さらに、第1マルチプレクサを含み、
前記第1マルチプレクサのそれぞれは、前記複数の第2加算領域のうち一つの関連する第2加算領域に対して接続されており、かつ、前記関連する第2加算領域に対して接続されている前記2つの隣接する第1加算領域のそれぞれについて入力される前記被演算データのタイプ及び前記演算の種類に基づいて、前記関連する第2加算領域に対して前記制御データを選択的に提供するように構成されている、
加算器。 - 前記所定ビット単位は、前記加算器で演算を処理する最大ビットよりも小さな単位である請求項1に記載の加算器。
- 前記被演算データは、そのデータのタイプによって少なくとも1つの第1加算領域に所定ビット単位で入力される請求項1または2に記載の加算器。
- 前記被演算データが複数の第2加算領域から入力される前に演算の種類に基づいて反転または非反転選択入力する複数の第1マルチプレクサをさらに含む請求項1乃至3いずれか一項に記載の加算器。
- 前記制御データは、
前記複数の第1加算領域のうち、下位第1加算領域の少なくとも1つのキャリー信号を前記複数の第1加算領域のうち、上位第1、加算領域に伝達または遮断するように制御し、演算の種類が減算演算である場合、2の補数を取るための‘1’値を加算するように制御する請求項1乃至4いずれか一項に記載の加算器。 - 1つの被演算データが2つのデータセグメントに分離され、該分離された2つのデータセグメントが、それぞれ下位第1加算領域と上位第1加算領域とに入力された場合、その下位第1加算領域と上位第1加算領域との間の第2加算領域に入力される制御データは、キャリー信号を伝達するビットである[0、1]または[1、0]である請求項5に記載の加算器。
- 演算の種類が加算演算であり、下位第1加算領域と上位第1加算領域とに互いに異なる2つの被演算データが同時に入力された場合、下位第1加算領域と上位第1加算領域との間の第2加算領域に入力される制御データは、キャリー信号を遮断するビットである[0、0]である請求項5または6に記載の加算器。
- 演算の種類が減算演算であり、下位第1加算領域と上位第1加算領域とに互いに異なる2つの被演算データが同時に入力された場合、下位第1加算領域と上位第1加算領域との間の第2加算領域に入力される制御データは、2の補数を取るための‘1’値を加算するように制御するビットである[1、1]である請求項5乃至7いずれか一項に記載の加算器。
- 下位第1加算領域と上位第1加算領域とに入力された被演算データ及び演算の種類に基づいて、複数の第1加算領域のうち、下位第1加算領域と複数の第1加算領域とのうち、上位第1加算領域の間に配された、複数の第2加算領域のうちの第2加算領域に、制御データを選択的に入力する1つ以上の第2マルチプレクサをさらに含む請求項1に記載の加算器。
- 加算器を用いて加減演算を支援する方法において、
前記加算器において所定ビット単位でそれぞれが形成された複数の第1加算領域に被演算データを入力する段階と、
複数の第2加算領域に前記被演算データのタイプ及び演算の種類に基づいて、制御データを入力する段階と、
を含み、
前記複数の第2加算領域のそれぞれは、前記複数の第1加算領域の2つの隣接する第1加算領域の間に配置されており、
前記制御データを入力する段階は、マルチプレクサを通じて前記制御データを入力する段階を含み、
前記マルチプレクサのそれぞれは、前記複数の第2加算領域のうち一つの関連する第2加算領域に対して接続されており、かつ、前記関連する第2加算領域に対して接続されている前記2つの隣接する第1加算領域のそれぞれについて入力される前記被演算データのタイプ及び前記演算の種類に基づいて、前記関連する第2加算領域に対して前記制御データを選択的に提供するように構成されている、
加減演算支援方法。 - 前記所定ビット単位は、前記加算器で演算を処理する最大ビットよりも小さな単位である請求項10に記載の加減演算支援方法。
- 前記被演算データは、そのデータのタイプに基づいて1つ以上の第1加算領域に所定ビット単位で入力される請求項10または11に記載の加減演算支援方法。
- 前記被演算データを入力する段階は、
マルチプレクサを通じて前記被演算データのうち、後で入力されるデータを演算の種類に基づいて反転または非反転選択入力する段階を含む請求項10乃至12いずれか一項に記載の加減演算支援方法。 - 前記制御データは、
前記複数の第1加算領域のうちの下位第1加算領域の少なくとも1つのキャリー信号を前記複数の第1加算領域のうちの上位第1加算領域に伝達または遮断するように制御するか、演算の種類が減算演算である場合、2の補数を取るための‘1’値を加算するように制御するデータである請求項10乃至13いずれか一項に記載の加減演算支援方法。 - 1つの被演算データが2つのデータセグメントに分離され、該分離された2つのデータセグメントが、それぞれ下位第1加算領域と上位第1加算領域とに分離されて入力された場合、その下位第1加算領域と上位第1加算領域との間の第2加算領域に入力される制御データは、キャリー信号を伝達するビットである[0、1]または[1、0]である請求項14に記載の加減演算支援方法。
- 演算の種類が加算演算であり、下位第1加算領域と上位第1加算領域とに互いに異なる2つの被演算データが同時に入力された場合、その下位第1加算領域と上位第1加算領域との間の第2加算領域に入力される制御データは、キャリー信号を遮断するビットである[0、0]である請求項14または15に記載の加減演算支援方法。
- 演算の種類が減算演算であり、下位第1加算領域と上位第1加算領域とに互いに異なる2つの被演算データが同時に入力された場合、その下位第1加算領域と上位第1加算領域との間の第2加算領域に入力される制御データは、2の補数を取るための‘1’値を加算するように制御するビットである[1、1]である請求項14乃至16いずれか一項に記載の加減演算支援方法。
- 下位第1加算領域と上位第1加算領域とに入力された被演算データ及び演算の種類に基づいて、マルチプレクサを通じて前記下位第1加算領域と上位第1加算領域との間の第2加算領域に制御ビットを選択入力する請求項14乃至17いずれか一項に記載の加減演算支援方法。
- 加算器であって、
被演算データを受信するための第1加算領域と制御データを受信するための第2加算領域とを含む加算部を含み、
前記第2加算領域のそれぞれは、前記第1加算領域の2つの隣接する第1加算領域の間に配置されており、
前記加算器は、さらに、マルチプレクサを含み、
前記マルチプレクサのそれぞれは、前記第2加算領域のうち一つの関連する第2加算領域に対して接続されており、かつ、前記関連する第2加算領域に対して接続されている前記2つの隣接する第1加算領域のそれぞれについて入力される被演算データのタイプ及び演算の種類に基づいて、前記関連する第2加算領域に対して前記制御データを選択的に提供するように構成されている、
加算器。 - 前記第2加算領域は、前記被演算データ、演算タイプが加算であるか減算であるか、及び、前記制御データのうち少なくとも1つのビットサイズに基づいて、前記第1加算領域の間でキャリー伝達を制御する、請求項19に記載の加算器。
- 前記第2加算領域の出力は、無視される、請求項20に記載の加算器。
- 加算器の作動方法であって、
加算部内の複数の加算領域の配置を交替させる段階であり、前記加算部が第1加算領域と第2加算領域との間で交替させる段階と、
被演算データを前記第1加算領域で入力として受信する段階と、
制御データを前記第2加算領域で前記入力として受信する段階と、
前記被演算データについて前記制御データに基づいて演算を実行する段階と、
を含み、
前記第2加算領域のそれぞれは、前記第1加算領域の2つの隣接する第1加算領域の間に配置されており、
前記制御データを受信する段階は、マルチプレクサを通じて前記制御データを受信する段階を含み、
前記マルチプレクサのそれぞれは、前記第2加算領域のうち一つの関連する第2加算領域に対して接続されており、かつ、入力される被演算データのタイプ及び演算の種類に基づいて、前記関連する第2加算領域に対して前記制御データを選択的に提供するように構成されている、
加算器の作動方法。 - 前記第2加算領域は、前記被演算データ、演算タイプが加算であるか減算であるか、及び、前記制御データのうち少なくとも1つのビットサイズに基づいて、前記第1加算領域の間でキャリー伝達を制御する、請求項22に記載の加算器の作動方法。
- 前記第2加算領域の出力は、無視される、請求項23に記載の加算器の作動方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2013-0009328 | 2013-01-28 | ||
KR1020130009328A KR102072543B1 (ko) | 2013-01-28 | 2013-01-28 | 복수 데이터 형식을 지원하는 가산기 및 그 가산기를 이용한 복수 데이터 형식의 가감 연산 지원 방법 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014146336A JP2014146336A (ja) | 2014-08-14 |
JP6302682B2 true JP6302682B2 (ja) | 2018-03-28 |
Family
ID=50064415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014013824A Active JP6302682B2 (ja) | 2013-01-28 | 2014-01-28 | 複数データ形式を支援する加算器、及びその加算器を利用した複数データ形式の加減演算支援方法 |
Country Status (5)
Country | Link |
---|---|
US (1) | US9842085B2 (ja) |
EP (1) | EP2759926A1 (ja) |
JP (1) | JP6302682B2 (ja) |
KR (1) | KR102072543B1 (ja) |
CN (1) | CN103970503B (ja) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512724B (zh) | 2015-12-01 | 2017-05-10 | 中国科学院计算技术研究所 | 加法器装置、数据累加方法及数据处理装置 |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1067427A (en) * | 1964-08-19 | 1967-05-03 | Soemmerda Bueromaschwerk | Circuit arrangement for the parallel addition and subtraction of decimal digits |
US4707800A (en) * | 1985-03-04 | 1987-11-17 | Raytheon Company | Adder/substractor for variable length numbers |
US5408670A (en) * | 1992-12-18 | 1995-04-18 | Xerox Corporation | Performing arithmetic in parallel on composite operands with packed multi-bit components |
US5883824A (en) * | 1993-11-29 | 1999-03-16 | Hewlett-Packard Company | Parallel adding and averaging circuit and method |
US5943251A (en) | 1996-11-18 | 1999-08-24 | Samsung Electronics Co., Ltd. | Adder which handles multiple data with different data types |
KR19980041753U (ko) | 1996-12-24 | 1998-09-25 | 김영귀 | 자동차용 전면판재의 구조 |
US6408320B1 (en) * | 1998-01-27 | 2002-06-18 | Texas Instruments Incorporated | Instruction set architecture with versatile adder carry control |
US6140839A (en) * | 1998-05-13 | 2000-10-31 | Kaviani; Alireza S. | Computational field programmable architecture |
KR20000044663A (ko) | 1998-12-30 | 2000-07-15 | 김영환 | 면적 개선을 위한 가산기 |
US6449629B1 (en) * | 1999-05-12 | 2002-09-10 | Agere Systems Guardian Corp. | Three input split-adder |
US7441105B1 (en) * | 2004-01-02 | 2008-10-21 | Altera Corporation | Reducing multiplexer circuitry for operand select logic associated with a processor |
TWI259398B (en) * | 2004-02-04 | 2006-08-01 | Sunplus Technology Co Ltd | Device and method using operation mode in processor to switch register |
US20060004902A1 (en) * | 2004-06-30 | 2006-01-05 | Siva Simanapalli | Reconfigurable circuit with programmable split adder |
US7516173B2 (en) | 2004-08-04 | 2009-04-07 | Intel Corporation | Carry-skip adder having merged carry-skip cells with sum cells |
EP1927046A2 (en) * | 2005-09-05 | 2008-06-04 | Nxp B.V. | Full-adder modules and multiplier devices using the same |
EP2141585A1 (en) * | 2008-06-27 | 2010-01-06 | Panasonic Corporation | Combined adder circuit array and and/or plane |
-
2013
- 2013-01-28 KR KR1020130009328A patent/KR102072543B1/ko active IP Right Grant
-
2014
- 2014-01-28 EP EP14152909.9A patent/EP2759926A1/en not_active Ceased
- 2014-01-28 JP JP2014013824A patent/JP6302682B2/ja active Active
- 2014-01-28 CN CN201410041976.3A patent/CN103970503B/zh active Active
- 2014-01-28 US US14/166,076 patent/US9842085B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US20140214913A1 (en) | 2014-07-31 |
KR20140096588A (ko) | 2014-08-06 |
US9842085B2 (en) | 2017-12-12 |
EP2759926A1 (en) | 2014-07-30 |
CN103970503A (zh) | 2014-08-06 |
JP2014146336A (ja) | 2014-08-14 |
CN103970503B (zh) | 2019-03-01 |
KR102072543B1 (ko) | 2020-02-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9519460B1 (en) | Universal single instruction multiple data multiplier and wide accumulator unit | |
JP6744913B2 (ja) | 浮動小数点数の丸め処理 | |
TWI763079B (zh) | 用於浮點運算的乘法器、方法、積體電路晶片和計算裝置 | |
JPH07210368A (ja) | 算術演算の結果として生じる正および負のオーバーフローのハードウェアによる効率的な取り扱い方法 | |
JP6309196B2 (ja) | 多項式演算のための部分積発生装置及び方法 | |
US9678716B2 (en) | Apparatus and method for performing absolute difference operation | |
US11734216B2 (en) | Cascade communications between FPGA tiles | |
JPWO2007096982A1 (ja) | 演算処理装置および演算処理方法 | |
US8554822B2 (en) | Decimal adder with end around carry | |
US10140090B2 (en) | Computing and summing up multiple products in a single multiplier | |
JP3436994B2 (ja) | シフト装置 | |
JP6302682B2 (ja) | 複数データ形式を支援する加算器、及びその加算器を利用した複数データ形式の加減演算支援方法 | |
US9262123B2 (en) | Data processing apparatus and method for performing a narrowing-and-rounding arithmetic operation | |
US20080071852A1 (en) | Method to perform a subtraction of two operands in a binary arithmetic unit plus arithmetic unit to perform such a method | |
JP6979076B2 (ja) | 回路、システム、および組合せ結果を演算するように再設定可能な複数の再設定可能ユニットを備えたプロセッサにより実装される方法 | |
CN113485751A (zh) | 执行伽罗瓦域乘法的方法、运算单元和电子装置 | |
WO2022068327A1 (zh) | 运算单元、浮点数计算的方法、装置、芯片和计算设备 | |
US11455142B2 (en) | Ultra-low precision floating-point fused multiply-accumulate unit | |
JPH08123664A (ja) | 絶対値計算方法および回路 | |
JP3198795B2 (ja) | 加算器及び加算方法 | |
JPH09190338A (ja) | 論理演算装置での数学的オーバフロー・フラグ発生遅延の除去 | |
US20090327388A1 (en) | Static logic ling adder | |
TW202319909A (zh) | 用於將輸入集相乘之硬體電路及方法,以及非暫時性機器可讀儲存裝置 | |
WO2024144950A1 (en) | Multi-modal systolic array for matrix multiplication | |
JP2024509062A (ja) | シストリックアレイにおける乗算器および加算器 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170104 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170913 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20171010 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20171225 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20180206 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180305 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6302682 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |