Unlock instant, AI-driven research and patent intelligence for your innovation.

Multiplying device

A multiplication and multiplier technology, applied in the field of multiplication devices, can solve problems such as overflow of multiplication results, and achieve the effect of reducing the scale and controlling the area of ​​the circuit

Inactive Publication Date: 2007-08-01
PANASONIC CORP
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the multiplication of fixed-point numbers, only when the multiplicand and the multiplier are both negative maximum values, the result of the multiplication will overflow

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multiplying device
  • Multiplying device
  • Multiplying device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 Embodiment approach

[0043] Hereinafter, the case where the multiplication of the M+1-digit multiplicand A and the N+1-digit multiplier is performed (M and N are integers of 2 or more) will be described. Here, the multiplicand A and the multiplier B are signed fixed-point numbers expressed in two's complement, with a decimal point to the right of the most significant bit, and the most significant bit represents a positive or negative sign. In this fixed-point number form, the maximum positive value is 0.99...9 (the value of each bit is "011...11"), and the maximum negative value is the negative number with the largest absolute value, that is -1.00.. .0 (the value of each bit is "100...00").

[0044] Fig. 1 is a block diagram showing the structure of a multiplication device according to a first embodiment of the present invention. The multiplication device of FIG. 1 includes an encoding unit 12, an overflow detection unit 14, a partial product generation unit 16, an accumulation unit 22, and a final ad...

no. 2 Embodiment approach

[0064] FIG. 7 is a circuit diagram showing the configuration of the first partial product generating circuit 340 in the second embodiment of the present invention. The partial product generation circuit 340 of FIG. 7 includes a correction term generation circuit 346 in place of the correction term generation circuit 146 in the partial product generation circuit 140 of FIG. 2. In the second embodiment, the Booth encoding result BE_k represents the Booth encoding result other than the most significant bit.

[0065] In the second embodiment, in the multiplication device of FIG. 1, a partial product generation circuit 340 is used instead of the partial product generation circuits 140 and 180. The other constituent elements are the same as those described in the first embodiment, and therefore related descriptions are omitted.

[0066] The correction term generating circuit 346 outputs the binary number "11" as the twos complement correction term CB3 when the overflow detection result ...

no. 3 Embodiment approach

[0069] FIG. 9 is a circuit diagram showing the configuration of the first partial product generation circuit 440 in the third embodiment of the present invention. The partial product generation circuit 440 of FIG. 9 is used in the partial product generation circuit 180 of FIG. 4 so that instead of supplying the Booth coding result BE_k to the two least significant selection circuits 142, the output of the coding result correction unit 188 is provided to The selection circuit 142 which is higher than the two selection circuits 142 with the lowest order mentioned above provides the Booth coding result BE_k. In the third embodiment, the Booth encoding result BE_k represents the Booth encoding result other than the most significant bit.

[0070] In the third embodiment, in the multiplication device of FIG. 1, a partial product generation circuit 440 is used instead of the partial product generation circuits 140 and 180. The other constituent elements are the same as those described in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A multiplying device for determining the product of a multiplicand by a multiplier which are fixed-point numbers each expressed by complements of two. The multiplying device comprises an encode section for encoding the multiplier according to a second-order Booth algorithm and outputting the results of the encoding, an overflow detecting section for detecting an overflow if both the multiplicand and the multiplier are negative maximum values, and partial product generating section for generating partial products between the encoding results and the multiplicand and correction terms corresponding to the respective partial products and outputting them. The partial product generating section corrects either the partial products or the correction terms so that the product may be a positive maximum value when the overflow detecting section detects an overflow and outputs them.

Description

Technical field [0001] The present invention relates to a device for multiplication, and more particularly to a device for multiplication of fixed-point numbers. Background technique [0002] In LSIs that perform digital arithmetic processing, multiplication devices are generally integrated on a chip (onchip). In sound and multimedia processing that requires high-precision calculations, calculations are performed with fixed-point numbers, and saturation processing is required when the result of the multiplication operation overflows. In the multiplication of fixed-point numbers, only when the multiplicand and the multiplier are both negative maximum values, the multiplication result will overflow. In this case, the multiplication result needs to be corrected to a positive maximum value. Here, the negative maximum value refers to the negative number with the largest absolute value. [0003] Fig. 15 is a block diagram showing an example of the structure of a conventional multiplica...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F7/533
CPCG06F7/49921G06F7/5338
Inventor 武内大辅田上一文
Owner PANASONIC CORP