CN102023839A - ALPHA computing device - Google Patents

ALPHA computing device Download PDF

Info

Publication number
CN102023839A
CN102023839A CN 201010586534 CN201010586534A CN102023839A CN 102023839 A CN102023839 A CN 102023839A CN 201010586534 CN201010586534 CN 201010586534 CN 201010586534 A CN201010586534 A CN 201010586534A CN 102023839 A CN102023839 A CN 102023839A
Authority
CN
China
Prior art keywords
channel
output
totalizer
cyclic shifter
alpha
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
CN 201010586534
Other languages
Chinese (zh)
Other versions
CN102023839B (en
Inventor
洪锦坤
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.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics Co 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201010586534A priority Critical patent/CN102023839B/en
Publication of CN102023839A publication Critical patent/CN102023839A/en
Application granted granted Critical
Publication of CN102023839B publication Critical patent/CN102023839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Complex Calculations (AREA)
  • Multi Processors (AREA)

Abstract

The invention discloses an ALPHA computing device, comprising two selectors with one channel selected in three channels, one adder, one subtractor, two multipliers, three latches, one binary to decimal converter and one cyclic shifter. The selectors with one channel selected in three channels are used to realize the function of switching parallel input to serial input. The adder, the subtractor and the multipliers are used to realize the operation function, namely X=(X1*C+X2*(A-C))/A, wherein the value of A is 256 which is two to the power of 8. The latches are used to switch the serial output to parallel output. The binary to decimal converter and the cyclic shifter are used to control input and output. The computing device disclosed by the invention is optimized by using the resource sharing principle, thereby effectively and significantly reducing the area of the chip.

Description

A kind of ALPHA arithmetical unit
[technical field]
The present invention relates to a kind of arithmetical unit, specifically be meant a kind of ALPHA arithmetical unit.
[background technology]
If realize the image overlay processing, just need use the ALPHA arithmetical unit with hardware.Existing ALPHA ALU architecture is comparatively complicated, and chip occupying area is bigger.
The normalized form of ALPHA computing is as follows:
R=(R1*C+R2*(A-C))/A
G=(G1*C+G2*(A-C))/A
B=(B1*C+B2*(A-C))/A
The level of transparency of A for supporting; R1, G1, B1 are background data; R2, G2, B2 are foreground data; C is the foreground to transparent degree.
As realizing this computing, need a large amount of multiplier, totalizer, subtracter and divider, chip occupying area is very big.
[summary of the invention]
Technical matters to be solved by this invention is to provide a kind of resource, less ALPHA arithmetical unit of chip occupying area saved.
The present invention solves the problems of the technologies described above by the following technical solutions:
A kind of ALPHA arithmetical unit comprises that two 3 passages select 1 channel to channel adapter, a totalizer, a subtracter, two multipliers, three latchs, scale-of-two to change decimal system device, a cyclic shifter;
Described 3 passages select 1 channel to channel adapter to be used to realize parallel input commentaries on classics serial function;
Described totalizer, subtracter, multiplier are used to realize calculation function, X=(X1*C+X2* (A-C))/A, and the A value is 256,256 to be 28 powers;
Described latch is used to realize transformation from serial to parallel output;
Described scale-of-two changes decimal system device and cyclic shifter is used for realizing the control input and output.
The invention has the advantages that: utilize the principle of resource sharing that it is optimized, reduced a large amount of chip areas effectively.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is computing circuit figure of the present invention.
[embodiment]
The normalized form of ALPHA computing is as follows:
R=(R1*C+R2*(A-C))/A
G=(G1*C+G2*(A-C))/A
B=(B1*C+B2*(A-C))/A
The level of transparency of A for supporting; R1, G1, B1 are background data; R2, G2, B2 are foreground data; C is the foreground to transparent degree.
Because three groups of formula operation modes are similar, thus the present invention make into to come computing by one group of formula, X=(X1*C+X2* (A-C))/A, the usable floor area of chip dwindles into original 1/3 like this.It is 28 powers that A is got 256,256, can remove a divider like this, has reduced certain area again.This computing circuit comprises that two 3 passages select 1 channel to channel adapter C1, C2, a totalizer A1, a subtracter D1, two multiplier M1, M2, three latch Q1, Q2, Q3, scale-of-two to change decimal system device F1, a cyclic shifter E1 as shown in Figure 1.
3 passages select 1 channel to channel adapter C1, C2 to be used to realize parallel input commentaries on classics serial function; Totalizer A1, subtracter D1, multiplier M1, M2 are used to realize calculation function, X=(X1*C+X2* (A-C))/A, and the A value is 256,256 to be 28 powers; Latch Q1, Q2, Q3 are used to realize transformation from serial to parallel output; Scale-of-two changes decimal system device F1 and cyclic shifter E1 is used for realizing the control input and output.
Principle of work:
1, judges whether that RESET is invalid and EN is effective? be, jumped to for the 2nd step, not, then continue this step;
2, scale-of-two changes decimal system device F1 and controls 3 passages and select 1 channel to channel adapter C1, C2 to select the R passage, the CLK output low level;
3, the R data are carried out computing through subtracter D1, multiplier M1, M2 and totalizer A1;
4, the result of cyclic shifter E1 control lock storage Q1 storage totalizer A1 computing;
5, scale-of-two changes decimal system device F1 and controls 3 passages and select 1 channel to channel adapter C1, C2 to select the G passage;
6, the G data are carried out computing through subtracter D1, multiplier M1, M2 and totalizer A1;
7, the result of cyclic shifter E1 control lock storage Q2 storage totalizer A1 computing;
8, scale-of-two changes decimal system device F1 and controls 3 passages and select 1 channel to channel adapter C1, C2 to select the B passage;
9, the B data are carried out computing through subtracter D1, multiplier M1, M2 and totalizer A1;
10, the result of cyclic shifter E1 control lock storage Q3 storage totalizer A1 computing;
11, CLK output high level; Jumped to for the 1st step.
The present invention utilizes the principle of resource sharing that it is optimized, and has reduced a large amount of chip areas effectively.

Claims (1)

1. an ALPHA arithmetical unit is characterized in that: comprise that two 3 passages select 1 channel to channel adapter, a totalizer, a subtracter, two multipliers, three latchs, scale-of-two to change decimal system device, a cyclic shifter;
Described 3 passages select 1 channel to channel adapter to be used to realize parallel input commentaries on classics serial function;
Described totalizer, subtracter, multiplier are used to realize calculation function, X=(X1*C+X2* (A-C))/A, and the A value is 256,256 to be 28 powers;
Described latch is used to realize transformation from serial to parallel output;
Described scale-of-two changes decimal system device and cyclic shifter is used for realizing the control input and output.
CN201010586534A 2010-12-10 2010-12-10 ALPHA computing device Active CN102023839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010586534A CN102023839B (en) 2010-12-10 2010-12-10 ALPHA computing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010586534A CN102023839B (en) 2010-12-10 2010-12-10 ALPHA computing device

Publications (2)

Publication Number Publication Date
CN102023839A true CN102023839A (en) 2011-04-20
CN102023839B CN102023839B (en) 2012-08-29

Family

ID=43865164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010586534A Active CN102023839B (en) 2010-12-10 2010-12-10 ALPHA computing device

Country Status (1)

Country Link
CN (1) CN102023839B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354690A (en) * 2016-08-25 2017-01-25 海南政法职业学院 Novel multi-function calculator for accountant
CN114710161A (en) * 2022-06-06 2022-07-05 成都市易冲半导体有限公司 Area optimization method and circuit for ADC channel result calculation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175150A (en) * 2006-10-31 2008-05-07 精工爱普生株式会社 Filter circuit, image processing circuit, and filtering method
CN101369344A (en) * 2007-08-14 2009-02-18 精工爱普生株式会社 Image processing circuit, display device and printing device
CN101369343A (en) * 2007-08-14 2009-02-18 精工爱普生株式会社 Image processing circuit, display device and printing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101175150A (en) * 2006-10-31 2008-05-07 精工爱普生株式会社 Filter circuit, image processing circuit, and filtering method
CN101369344A (en) * 2007-08-14 2009-02-18 精工爱普生株式会社 Image processing circuit, display device and printing device
CN101369343A (en) * 2007-08-14 2009-02-18 精工爱普生株式会社 Image processing circuit, display device and printing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354690A (en) * 2016-08-25 2017-01-25 海南政法职业学院 Novel multi-function calculator for accountant
CN114710161A (en) * 2022-06-06 2022-07-05 成都市易冲半导体有限公司 Area optimization method and circuit for ADC channel result calculation

Also Published As

Publication number Publication date
CN102023839B (en) 2012-08-29

Similar Documents

Publication Publication Date Title
Prabhu et al. Design of modified low power booth multiplier
CN102799563A (en) Reconfigurable computing array and construction method
US20150193202A1 (en) Multi-input and binary reproducible, high bandwidth floating point adder in a collective network
Gandhi et al. Comparative analysis for hardware circuit architecture of Wallace tree multiplier
CN103793199A (en) Rapid RSA cryptography coprocessor capable of supporting dual domains
CN102023839B (en) ALPHA computing device
Zhang et al. High performance and energy efficient single‐precision and double‐precision merged floating‐point adder on FPGA
Senthilpari et al. Design of a low-power, high performance, 8× 8 bit multiplier using a Shannon-based adder cell
JP2005218094A (en) 4:2 csa cell and 4:2 carry save adding method
Nannarelli Radix-16 combined division and square root unit
CN1280707C (en) Divider
Samanth et al. Power reduction of a functional unit using rt-level clock-gating and operand isolation
Gao et al. An improved BCD adder using 6-LUT FPGAs
Gumber et al. Performance analysis of floating point adder using vhdl on reconfigurable hardware
Mukherjee et al. Design of a low power, double throughput cyclic combinational gate diffusion input based radix-4 MBW multiplier and accumulator unit for on-chip RISC processors of MEMS sensor
CN103699729A (en) Modulus multiplier
Kim et al. Low‐power pipelined phase accumulator with sequential clock gating for DDFSs
Kaivani et al. Fully redundant decimal addition and subtraction using stored-unibit encoding
RU2427027C1 (en) One-bit full adder
KR100858559B1 (en) Method for adding and multipying redundant binary and Apparatus for adding and multipying redundant binary
Das et al. Design of Optimum n-bit ALU Using Crossbar Gate Check for updates
Meher Extended sequential logic for synchronous circuit optimization and its applications
Bankas et al. A residue to binary converter for a balanced moduli set {2 2n+ 1− 1, 2 2n, 2 2n− 1}
Erniyazov et al. Coplanar Subtractor Design in QCA for Arithmetic Circuit Design
Xie et al. A speed‐area‐efficient hardware ECPM‐engine in GF (p) over generic Weierstrass curves

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350000 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Patentee before: Fuzhou Rockchip Semiconductor Co., Ltd.

CP01 Change in the name or title of a patent holder

Address after: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.

CP01 Change in the name or title of a patent holder