DSPRelated.com
Forums

MAC operation using XOR?

Started by sandeep kumar July 22, 2004
Hi all
i want MAC operation with incoming one bit data (thru SPORT
1).with locally genrated 1 bit data. so far i have been shifting one
bit and storing it in another data variables. this way i am using 32
float dm and then multiplying it with local data.

is there any efficient way to do it. i have assembly
code whcih can XOR each elemnt with each elemnt of local data. but
how to sum ,what i get from this?
how can i do it in efficient way?
if anybody has been able to understand what i want to convey,p[lease
help me out,if possible
regards
sandeep



On Thu, 22 Jul 2004, sandeep kumar wrote:

> Hi all
> i want MAC operation with incoming one bit data (thru SPORT
> 1).with locally genrated 1 bit data. so far i have been shifting one
> bit and storing it in another data variables. this way i am using 32
> float dm and then multiplying it with local data.
>
> is there any efficient way to do it. i have assembly
> code whcih can XOR each elemnt with each elemnt of local data. but
> how to sum ,what i get from this?
> how can i do it in efficient way?
> if anybody has been able to understand what i want to convey,p[lease
> help me out,if possible

What kind of math are you trying to do? XOR is used with Galois Fields
and polynomials. Floating point is used for analysis of real voltages.
They are not usually used together unless you are building a random
number or cryptographic device.

The simplest thing would be a lookup table. for each N bit block you need
2^N floats. For N<=8 that's not too bad. But I'm not sure what you are
trying to do.

Patience, persistence, truth,
Dr. mike