This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Question about memory copy method (high speed, low calculation)



Hello.

I'm Using Ti's JACINTO 6 for my project. And now I have a big trouble to run system.

My Issue is below,

1) I want copy Input A to memory B( A is 32bits and B is 32bits, too),

2) Real Data is Only 24bits and Last 8 bIts are dummy data. I used memcpy/memcpy32 function. (1st bit : +- sign data)

3) Suddenly I realized that system down when i use conditional statement(ex- IF,else)  because there are too mamy memories set to copy...  so system is very sensitive... (Bit shift no matter...)

4) So I want to find another method to copy and use memory data not to have big load...(and maintain data value with sign bit -- only bit shift cause data change...

    ex) F, 7, 6 --> 1111  0111  0110  --> - (0111) (0111) (0110) -> (- 7 7 6) is real data... (only bit shift cause data change... F , 7, 6)

5) plz let me know about method.

Thanx very much.