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
Adventurer
Adventurer
419 Views
Registered: ‎11-08-2018

SDK Software.Xil_In32,Xil_Out32 Problem

Jump to solution

Hi everyone,

I have a project on SDK.
When I connected the Block Design and mapping to SDK.
I want to using the function :Xil_In32(Add),

                                             and Xil_Out32(Add,Value)

but i don't know how to get the value after I do it 
EXAMPLE:  I am using     Xil_In32(add)     ,this function are  read I/O and return the value I/O,but I don't know how to get that value

after it was read from different Add.
If you have an ideal and an example,please give me.

Thank you very much,

tuan,

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
367 Views
Registered: ‎10-21-2010

Re: SDK Software.Xil_In32,Xil_Out32 Problem

Jump to solution

Hi tuan94@

Do you mean you want to use the value at addr in your application, when you call Xil_In32(addr)? If so, its as simple as u32 val = Xil_In32(addr), and then do whatever with the variable val

1 Reply
Xilinx Employee
Xilinx Employee
368 Views
Registered: ‎10-21-2010

Re: SDK Software.Xil_In32,Xil_Out32 Problem

Jump to solution

Hi tuan94@

Do you mean you want to use the value at addr in your application, when you call Xil_In32(addr)? If so, its as simple as u32 val = Xil_In32(addr), and then do whatever with the variable val