Skip to content

Convolution test #881

Answered by stnolting
Ugenix asked this question in Q&A
Apr 23, 2024 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

Good point! I think I can confirm this.

I just tested your code on my side and checked the assembler output.

This C code fragment (starting and ending with mcountinhibit being written)

       neorv32_cpu_csr_write(CSR_MCOUNTINHIBIT, 0); // enable all counters
    
        // Write input
        *(pMemFloat + 0) = *(pDatosFloat + 0);  // 0.1
        *(pMemFloat + 1) = *(pDatosFloat + 1);  // 0.2
        *(pMemFloat + 2) = *(pDatosFloat + 2);  // 0.3;
        *(pMemFloat + 3) = *(pDatosFloat + 4);  // -0.4;

        // Write filter
        *(pMemFloat + 4) = *(pDatosFloat + 0);  // 0.1;
        *(pMemFloat + 5) = *(pDatosFloat + 1);  // 0.2;
        *(pMemFloat + 6) = *(pDatosFloat + 2);  /…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Ugenix
Comment options

@Ugenix
Comment options

@vhdlnerd
Comment options

@stnolting
Comment options

Answer selected by Ugenix
@Ugenix
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
SW software-related
3 participants