cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
3,722 Views
Registered: ‎06-03-2008

Communication between 2 PowerPCs

Hello everyone,

 

I have an application that can be partitioned into two major parts. I was thinking to exploit the fact that my Virtex4 has 2 on-chip PowerPCs by mapping the two application parts onto the two PowerPCs. My question is the following: Is there any way to insert some kind of synchronization barriers in the C code so I can control the execution flow between the 2 PowerPCs? For example I would like to be able to send an acknowledgement from the 1st PowerPC to the 2nd one when the code execution on the 1st PowerPC arrives at a specific point, as shown below:

 

C code that runs on PowerPC1:

 

int main()

{

<C code>

 ...

send_acknowledgement_to_PowerPC2();

 ...

<C code>

 

return 0;

}

 

I hope my question is clear. :-) Any suggestions are most welcome!

 

Kind regards,

dtheodor

 

0 Kudos
3 Replies
Visitor
Visitor
3,699 Views
Registered: ‎10-14-2007

Re: Communication between 2 PowerPCs

Hi dtheodor,

 

I haven't used them myself, but you might want to look into the "XPS Mutex" and "XPS Mailbox" IPs.

 

 

-James

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
3,695 Views
Registered: ‎08-13-2007

Re: Communication between 2 PowerPCs

If memory serves me correctly, these cores first were deployed in the ML410 reference designs (http://www.xilinx.com/ml410-p) before eventually becoming integrated into EDK (maybe in 10.1). It may be useful to at least review the dual processor designs there.

 

Other useful resources:

http://www.xilinx.com/support/documentation/white_papers/wp262.pdf (Designing Multiprocessor Systems in Platform Studio)
http://www.xilinx.com/support/documentation/application_notes/xapp996.pdf (Dual Processor Reference Design Suite)

Cheers,

bt

 

== edit

and

http://www.xilinx.com/support/documentation/application_notes/xapp996.zip

 

Message Edited by timpe on 06-09-2009 02:42 AM
0 Kudos
Highlighted
Adventurer
Adventurer
3,671 Views
Registered: ‎06-03-2008

Re: Communication between 2 PowerPCs

Hello JimmyB and Timpe,

 

I would like to thank you both very much for your feedback. It really gave me a nice start to work on my design! :-)

 

Kind regards,

dtheodor

0 Kudos