[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?

how to check core states in a more efficient way?

Discussion about Parallella (and Epiphany) Software Development

Moderators: amylaar, jeremybennett, simoncook

how to check core states in a more efficient way?

Postby PillePalle » Tue Apr 21, 2015 11:36 am

PillePalle
 
Posts: 7
Joined: Sat Mar 07, 2015 10:06 pm

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

Postby sebraa » Tue Apr 21, 2015 3:14 pm

I have put a "flags" array in shared memory, which the host polls on.
sebraa
 
Posts: 495
Joined: Mon Jul 21, 2014 7:54 pm

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

Postby PillePalle » Sun Apr 26, 2015 4:00 pm

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...
PillePalle
 
Posts: 7
Joined: Sat Mar 07, 2015 10:06 pm

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

Postby cmcconnell » Sun Apr 26, 2015 11:36 pm

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
Colin.
cmcconnell
 
Posts: 99
Joined: Thu May 22, 2014 6:58 pm

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

Postby PillePalle » Mon Apr 27, 2015 9:48 pm

Too bad...
But thank you for that link! Ill look right into it!
PillePalle
 
Posts: 7
Joined: Sat Mar 07, 2015 10:06 pm

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

Postby cmcconnell » Tue Apr 28, 2015 12:05 am

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
Colin.
cmcconnell
 
Posts: 99
Joined: Thu May 22, 2014 6:58 pm


Return to Programming Q & A

Who is online

Users browsing this forum: No registered users and 10 guests

cron