Accelerator wait function in BigPULP
#1
Hi,

I'm developing an HWPE which is supposed to run with BigPULP.
I want to wait for my HWPE to finish executing from my C code. In pulpissimo, I used the following code:
Code:
soc_eu_fcEventMask_setEvent(ARCHI_SOC_EVENT_FCHWPE0);
__rt_periph_wait_event(ARCHI_SOC_EVENT_FCHWPE0, 1);

But with bigpulp, which I run on HERO, I have to use this API. I tried this code:
Code:
eu_evt_maskSet(ARCHI_CL_EVT_ACC0);
eu_evt_maskWaitAndClr(ARCHI_CL_EVT_ACC0);

I also tried other combinations of functions from this API, but none of the wait functions returns (even though my accelerator finished working).
Which functions do I need to use and how?

Thanks,
Adi
Reply


Messages In This Thread
Accelerator wait function in BigPULP - by Adi - 01-15-2019, 02:55 PM
RE: Accelerator wait function in BigPULP - by Adi - 01-16-2019, 04:54 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)