UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
587 Views
Registered: ‎11-19-2013

how to get the cpu id of dual-core zynq

Jump to solution
hi,
how to get the cpu id in my application software?
thanks.
0 Kudos
1 Solution

Accepted Solutions
Scholar ericv
Scholar
677 Views
Registered: ‎04-13-2015

Re: how to get the cpu id of dual-core zynq

Jump to solution

huangj852010@163.com

 

It's in a  a CP15 register and you get the core # this way:

 

   mrc     p15, #0, r0, c0, c0, #5
   and     r0, r0, #3

 

View solution in original post

0 Kudos
1 Reply
Scholar ericv
Scholar
678 Views
Registered: ‎04-13-2015

Re: how to get the cpu id of dual-core zynq

Jump to solution

huangj852010@163.com

 

It's in a  a CP15 register and you get the core # this way:

 

   mrc     p15, #0, r0, c0, c0, #5
   and     r0, r0, #3

 

View solution in original post

0 Kudos