[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - how to check core states in a more efficient way?
Page 1 of 1

how to check core states in a more efficient way?

PostPosted: Tue Apr 21, 2015 11:36 am
by PillePalle

Re: how to check core states in a more efficient way?

PostPosted: Tue Apr 21, 2015 3:14 pm
by sebraa
I have put a "flags" array in shared memory, which the host polls on.

Re: how to check core states in a more efficient way?

PostPosted: Sun Apr 26, 2015 4:00 pm
by PillePalle
thx for your quick reply! i already thought about this way too. it'll probably get things running a little faster but this still cant be the best way of doing it?! in my ears "active polling" just never sounds quite efficient...

Re: how to check core states in a more efficient way?

PostPosted: Sun Apr 26, 2015 11:36 pm
by cmcconnell
I don't think there is currently any alternative to polling.

There was a thread discussing this whole issue some time ago, which you might find interesting -
viewtopic.php?f=23&t=881

Re: how to check core states in a more efficient way?

PostPosted: Mon Apr 27, 2015 9:48 pm
by PillePalle
Too bad...
But thank you for that link! Ill look right into it!

Re: how to check core states in a more efficient way?

PostPosted: Tue Apr 28, 2015 12:05 am
by cmcconnell
I think there may be some work underway in the latest FPGA developments to add an Epiphany-to-ARM interrupt mechanism, but I don't really know. Verilog, etc., is all a bit of a mystery to me, but I was wondering if that is what this is intended for -

https://github.com/parallella/parallell ... dl/embox.v