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.

VICP lib usage

Hi all,

            I am using the VICP library  version 3 in dm6446. i am using the filter example project provided as part of the library downloaded. the problem i am facing is that the setup time for the filter is too long than the actual processing time which doesnt make sense to use in  application  which i am planing to use. can any 1 suggest me any alternative ways  to use the vicp other than using the library or is there any way to get the setup time to be less using the library itself by being able to  change the params.the other problem is  i am not able to process for the 2nd set of params  with out setup. the setup time for the vicp i am getting is 84734 while the execution time itself was 54461 so how can i offload my dsp with the vicp

  • Hello Manoj,

    The VICP library is most useful when you have a large amount of data to process and when you don't need to reconfigure the functions between each call. However even though your use case doesn't satisfy these two conditions, in future release we will provide ways to alleviate the setup overhead depending on what you need to be reprogrammed between each call.

    In addition to filter coefficients, do you need to change the filter dimensions as well ? If not then future release of the VICP library will allow updating the coefficients values only. However if the filter size also changes then you will need to do the whole setup between calls.

     

     

  • Hi  Vector

    u asked me that

             In addition to filter coefficients, do you need to change the filter dimensions as well ?

          yes, my filter dimentions also changes.

    Could we not use reset to change dimentions without using setup???if, not what else can be done with reset???

     

         One more thing is that, since the  lib is  very generic version to support all kinds of cases it may be introducing the overhead  But the user may not need this overhead.if we can configure the  coprocessor directly we may be able to reduce it.  But  there seems to be   no documents  available on how  to configure the coprocessor directly according to our needs . Can we expect any  of  those docs  release in near future ??.

  • Manoj,

    If you change the dimensions of the filter, you have to call setup again because both the EDMAs transfers and coprocessors have to be reconfigured.

    In next release, scheduled for sometimes in 2nd quarter, we will expose lower software layers accompanied with corresponding documents. You may be able to customize the filter functions to your need. At that time, contact me back and I will give you some pointers on how to.

    Victor