cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
628 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
Highlighted
Xilinx Employee
Xilinx Employee
576 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

View solution in original post

1 Reply
Highlighted
Xilinx Employee
Xilinx Employee
577 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

View solution in original post