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: 
8,670 Views
Registered: ‎03-12-2015

problem with custom ip

i cteated and packaged ip called myip_asser2 in s-axi_in slave mode.

i added following code c <= a +b;(31 downto 0) for signals a,c and b.

a is assigned to slv_reg_0,b is to slv_reg_1 and c -s to slv-reg_2.

in sdk , my code is 

 

u32 data_1;

Xil_Out32(XPAR_MYIP_ADDER_V2_0_S00_AXI_BASEADDR, 0x00001234);
Xil_Out32(XPAR_MYIP_ADDER_V2_0_S00_AXI_BASEADDR+4, 0xabcd1234);

data_1 = Xil_In32(XPAR_MYIP_ADDER_V2_0_S00_AXI_BASEADDR+8);
xil_printf("added value: %x\n\r",data_1);

 i didnt get output;

 

 

i am getting output is 0;

 

need solution.

i dont know why it is giving out put.

 

0 Kudos
8 Replies
Moderator
Moderator
8,480 Views
Registered: ‎07-31-2012

Re: problem with custom ip

Hi,

 

Try using 

Xil_Out32(XPAR_MYIP_ADDER_V2_0_S00_AXI_BASEADDR+4, 0x00001234);
Xil_Out32(XPAR_MYIP_ADDER_V2_0_S00_AXI_BASEADDR+8, 0xabcd1234)

 

Regards

Praveen

 

 


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
8,479 Views
Registered: ‎07-31-2012

Re: problem with custom ip

Also, if possible pls share ur desing and SDK workspace.

 

Regards

Praveen


-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
8,452 Views
Registered: ‎03-12-2015

Re: problem with custom ip

 i am attaching sdk file as zip.try to solve.

we are using vc707 board.

waiting for solution.

0 Kudos
8,440 Views
Registered: ‎03-12-2015

Re: problem with custom ip

have you check this?
0 Kudos
8,402 Views
Registered: ‎03-12-2015

Re: problem with custom ip

what is the solution?
0 Kudos
Newbie signature20
Newbie
1,905 Views
Registered: ‎02-19-2018

Re: problem with custom ip

Hello,

 

Did you get any solution for this issue ?

I am facing a similar problem with Vivado 2017.4

 

Thanks,

Shreya

0 Kudos
Highlighted
1,894 Views
Registered: ‎03-12-2015

Re: problem with custom ip

Yes

0 Kudos
Newbie signature20
Newbie
1,419 Views
Registered: ‎02-19-2018

Re: problem with custom ip

what is it?

0 Kudos