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.

Moving data between VCU, FPU and c28x registers

Hi,

I am interested in the following:

  • moving data between different VCU registers, for example move data from VR5 to VR0.
  • moving data between VCU and FPU registers, for example move data from VR5 to R0H.
  • moving data between VCU and ACC or P register.

Is it possible to do so with single instruction without moving the data to RAM and reading it back?

Thanks,

Alexey.

 

 

  • Alexey Tsirlin said:

    Hi,

    I am interested in the following:

    • moving data between different VCU registers, for example move data from VR5 to VR0.
    • moving data between VCU and FPU registers, for example move data from VR5 to R0H.
    • moving data between VCU and ACC or P register.

    Is it possible to do so with single instruction without moving the data to RAM and reading it back?

    Thanks,

    Alexey.

    Alexey,

    For VCU type 0, these operations have to go through memory; it is not a direct path.   We are looking at changing this on future VCU enhancements.

    Cheers

    Lori

  • Lori,

    I saw somewhere (don't exactly remember where) that VCU registers are also memory mapped. Is it correct? If so, is it possible to move data between VCU and FPU by accessing memory mapped location of specific VCU register in FPU by single MOV32 instruction?

    Thanks,

    Alexey.

  • Alexey Tsirlin said:
    I saw somewhere (don't exactly remember where) that VCU registers are also memory mapped. Is it correct? If so, is it possible to move data between VCU and FPU by accessing memory mapped location of specific VCU register in FPU by single MOV32 instruction?

    Technically yes, but this introduces a number of pipeline complications and thus we do not support it.  

    Regards,

    -Lori