Calculating the average of four integer numbers rounded towards

Boots – shoes – and leggings

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 738

Patent

active

059177390

ABSTRACT:
The n-bit average of four signed or unsigned n-bit integer operands (A, B, C and D) rounded towards zero as prescribed in the MPEG standard is calculated in one instruction cycle by appending two bits to a left side of each of the operands to provide four n+2 bit extended operands, summing the extended operands to provide an n+2 bit sum, removing the two least significant bits of the n+2 bit sum to provide an n-bit sum, and incrementing the n-bit sum as appropriate. An append circuit (302) appends two bits to the left sides of the operands, and the extended operands are coupled to an adder circuit (306) that includes adder logic (308) and an n-bit carry lookahead adder (310). The adder logic (308) provides the two least significant bits of the sum of the extended operands, along with n partial sum bits and n partial carry bits to the adder (310). The adder (310) provides a sum output, representing the n most significant bits of the sum of the extended operands, and a sum-plus-one output representing the sum output incremented by one. A multiplexer (314) under control of a control circuit (312) selects one of the sum and sum-plus-one outputs as the n-bit average based on inspection of the two least significant bits and the most significant bit of the sum of the extended operands, and a mode signal indicative of whether the operands are signed or unsigned values.

REFERENCES:
patent: 3789203 (1974-01-01), Catherall et al.
patent: 4031370 (1977-06-01), Catherall
patent: 4040052 (1977-08-01), Stanislaw
patent: 4218751 (1980-08-01), McManigal
patent: 4334237 (1982-06-01), Reitmeier et al.
patent: 4368433 (1983-01-01), Imazeki et al.
patent: 5260975 (1993-11-01), Saito
patent: 5373459 (1994-12-01), Taniguchi
patent: 5428567 (1995-06-01), Horvath et al.
patent: 5481553 (1996-01-01), Suzuki et al.
patent: 5710732 (1998-01-01), Wong

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

Calculating the average of four integer numbers rounded towards does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Calculating the average of four integer numbers rounded towards , we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Calculating the average of four integer numbers rounded towards will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1381772

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