Digital signal processing operation apparatus that allows...

Electrical computers: arithmetic processing and calculating – Electrical digital calculating computer – Particular function performed

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

Reexamination Certificate

active

06298364

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to operation apparatuses that can be used in general-purpose microcomputers or the like, and more particularly, to improvement of an operation apparatus for digital signal processing.
2. Description of the Background Art
FIG. 1
is a block diagram of an operation apparatus that carries out processing of digital data disclosed in the copending application (U.S. Ser. No. 08/021,963). The copending application is incorporated herein by reference. Referring to
FIG. 1
, an operation apparatus receives digital data D
1
and D
2
of n bits, and an instruction code C of m bits respectively as packet data. In response, an operation is carried out to provide data D
4
of n bits representing the operation result. The time period starting from entering data into an operation apparatus until the output of data representing an operation result of the input data is referred to as 1 instruction execution period time.
The operation apparatus includes an instruction decoder
21
for decoding an applied instruction code C for providing an operation control signal S
5
, a selection signal S
2
, and a rounding
o-rounding signal S
4
. The operation apparatus further includes a rounding unit
5
for carrying out a rounding process according to rounding
o-rounding signal S
4
on input data of 2n bits for providing data D
4
of n bits, an operation unit
6
including an adder-subtractor
11
for receiving in parallel data D
1
and D
2
and carrying out an operation in parallel according to operation control signal S
5
to provide a data output, a logical operation unit
12
, a multiplier
13
and a shifter
14
, and a selector
7
for selecting one of a plurality of input data of 2n bits according to selection signal S
2
.
Operation control signal S
5
includes a signal for switching adder-subtractor
11
to carry out either addition or subtraction, a signal specifying the logical operation contents of logical operation unit
12
, or a signal specifying the amount and direction of shifting of shifter
14
. Selection signal S
2
serves to select and provide one of a plurality of data provided in parallel from operation unit
6
to selector
7
. Rounding
o-rounding signal S
4
is set to a signal that does not specify a rounding process when input instruction code C is a logical operation instruction code, and is set to a signal for specifying a rounding processing when other instruction codes C are input. The output data of each operation device in operation unit
6
is provided as data of 2n bits when applied to selector
7
from operation unit
6
.
When an average of 2 data is to be calculated using the operation apparatus of
FIG. 1
, first, an add instruction is executed in adder-subtractor
11
, whereby the addition resultant data is output from the operation apparatus as data D
4
. This addition resultant data D
4
enters the operation apparatus again, and an instruction of shifting 1-bit rightward (a process of ÷2) is executed in shifter
14
of operation unit
6
to provide data D
4
. Thus, an average of two data is calculated. This operation process requires at least 2 instruction execution time periods for carrying out an add instruction and a shift instruction. This operation apparatus has a problem that a combined operation of an arithmetic operation and a shifter operation cannot be carried out at high speed.
When 100×¾=75 is to be carried out by 2 instructions using a value converted into a two's complement notation of n=8 bits (value range−128 to 127) in the operation apparatus of FIG.
1
:
1) at the first execution, a multiply instruction is carried out, and the result is rounded to 8 bit precision, 100×3=300—rounded to the maximum value by rounding unit 5→127;
2) a shifting operation is carried out at the next instruction execution,
127÷4 (shifted rightwards by 2 bits) is carried out→31 (greatly differs from the logic value of 75).
When a multiplication+shift operation is carried out by the operation apparatus of
FIG. 1
, a problem set forth in the following occurs even when the eventual result of the multiplication+shift operation is within the range of the n bit precision. When the n bit precision is exceeded by the multiplication of the above 1), rounding unit
5
is used, and the above-described shift operation of 2) is carried out on an incorrect value rounded to a value that can be represented by n bit precision (a maximum value that can be expressed by n bits or a value having the digits exceeding n bits deleted). Thus, a logically correct operation result, can not be obtained.
A general DSP (Digital Signal Processor) is disclosed in pp. 1-2 in “Texas Instruments TMS320C30 DSP Preview Bulletin” issued by Texas Instruments. A block diagram of a CPU (Central Processing Unit) employed in this DSP is illustrated in page 2 of this literature. Although an ALU (Arithmetic Logical Operation Unit) and a shifter are arranged in series, a multiplier and a shifter are not arranged in series. It is therefore appreciated from the block diagram of this CPU that a combined operation process of multiplication and shifting requires at least 2 instruction execution time periods.
A high speed image processing DSP is disclosed in the Exhibition Product Guide Material of Panasonic's 1992 International Industry General Exhibition. This DSP is characterized in that a control circuit for a DCT (Discrete Cosine Transform) is provided. However, since a block structure is not employed taking into consideration a combined operation of an arithmetic operation and a shift operation, this DSP has disadvantages of requiring 2 instruction execution time periods for such combined operation, and a rounding error of a great level.
In an operation apparatus disclosed in Japanese Patent Laying-Open No. 60-54070, a shifter is employed for carrying out a rounding process when a value overflows in an arithmetic operation. However, there is no disclosure of using this shifter for a combined operation of arithmetic and shifting. Therefore, this operation apparatus has a disadvantage that a combined operation cannot be carried out in 1 instruction execution time period, leading to a problem that the operation speed cannot be increased.
SUMMARY OF THE INVENTION
In view of the foregoing, an object of the present invention is to provide an operation apparatus that carries out a combined operation of an arithmetic operation and a shifting operation at high speed with the operation precision guaranteed.
Another object of the present invention is to provide an operation apparatus that can guarantee maximum operation precision within a logically possible range in a combined operation.
A further object of the present invention is to provide an operation apparatus that can carry out a combined operation at high speed and high precision in a digital image processor.
Still another object of the present invention is to provide an operation apparatus that can process an arithmetic operation and a shifting operation at one pass.
A still further object of the present invention is to provide an operation apparatus that can carry out in high precision approximation calculation of division by a constant value without a divider.
The above objects of the present invention can be accomplished by an operation apparatus including elements set forth in the following. More specifically, an operation apparatus of the present invention can carry out a combined operation instruction from an arithmetic operation instruction and a shift operation instruction using digital data. This apparatus includes an arithmetic operation unit for receiving digital data, carrying out an arithmetic operation thereon according to an arithmetic operation instruction, and providing an operation resultant data in a data length having at least the combined operation precision guaranteed, and a shifting operation unit for receiving operation resultant data provided from the arithmetic operation un

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Digital signal processing operation apparatus that allows... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Digital signal processing operation apparatus that allows..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Digital signal processing operation apparatus that allows... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2604018

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.