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: 
Participant kritika117
Participant
959 Views
Registered: ‎03-07-2018

Hardware functions skipped while building in sdx

Jump to solution
I am using SDSoC 2017.4 and trying to build matrix multiplication and addition example. When building the project, I don't get any errors, but the build time is strangely short and there are no Vivado synthesis logs or other proof of accelerators being built. It shows following in console
 
Using prebuilt hardware
Skipping block diagram (BD), address map, port information and device registration for partition 0
 
It shows almost equal hardware and software timings when I run elf file on Z7-20 board, although estimation cycles in performance estimate report are correct. Can anyone help??
 
Thanks
0 Kudos
1 Solution

Accepted Solutions
Participant kritika117
Participant
666 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

I have the solution, whenever I check "Estimate Performance" option it only shows me software estimation and does not build hardware functions. When I uncheck this option it builds hardware functions, create block diagram and run synthesis. 

0 Kudos
13 Replies
Teacher xilinxacct
Teacher
938 Views
Registered: ‎10-23-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@kritika117

Here are some thoughts...

1) Could there be a constant that is optimizing out some hardware?

2) Does the schematic show or not show the hardware you think may be missing (and is it connected as expected)?

3) Could you share your project?

0 Kudos
Xilinx Employee
Xilinx Employee
893 Views
Registered: ‎08-20-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

Hi @kritika117

Basically, your function is not getting accelerated.

Please let me know which function is accelerated? 

This message appears when accelerator is not supported. And there is no warning related to this in 2017.4.

You can use 2018.2/2018.3 in which checks are added if accelerator was generated during linking 

 

 

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Participant kritika117
Participant
868 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@nutang

Thanks for the reply.

None of the functions are accelerated yet. I am trying to accelerate mmult.cpp and madd.cpp functions same as given in matrix multiplication and addition example.

0 Kudos
Xilinx Employee
Xilinx Employee
861 Views
Registered: ‎08-20-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

Hello @kritika117

Yes. Then it is expected behavior. Once you accelerate the function, only then you can see the speedup.

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Participant kritika117
Participant
860 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@xilinxacct

Thanks for your reply.

No, schematic is not shown.

0 Kudos
Participant kritika117
Participant
851 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@nutang

But I am accelerating mmult.cpp and madd.cpp.

0 Kudos
Teacher xilinxacct
Teacher
848 Views
Registered: ‎10-23-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@kritika117

I guess I would still ask the other 2 questions (and I am curious why no schematic available on an implemented design)...

1) Could there be a constant that is optimizing out some hardware?

3) Could you share your project?

** Kudos are welcome

0 Kudos
Xilinx Employee
Xilinx Employee
843 Views
Registered: ‎08-20-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

Hi @kritika117

Information provided by you is not clear. As per my understanding you have followed below procedure.

1.  Create a new application project

2. Select matrix multiplication and addition example.

3. You can see below hardware function 

mmult.PNG

4. When you give build, you are getting below message in log

Using prebuilt hardware
Skipping block diagram (BD), address map, port information and device registration for partition 0

Please let me know if my understanding is correct

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Participant kritika117
Participant
841 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@nutang

Yes, you are correct. I am exactly doing what you have mentioned in your first three points and getting what you have written in your fourth point.

0 Kudos
Xilinx Employee
Xilinx Employee
824 Views
Registered: ‎08-20-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

Hi @kritika117

Thank you for your reply.

I will check and get back to you.

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Participant kritika117
Participant
787 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@nutang

I really stuck in this, eagerly waiting for your reply sir.

Thank you for your help so far.

0 Kudos
Participant kritika117
Participant
785 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

@xilinxacct

1. I don't know about the constant.

3. My project size is larger than the attaching file limit. Hence I could not attach my project file.

Thanks.

0 Kudos
Participant kritika117
Participant
667 Views
Registered: ‎03-07-2018

Re: Hardware functions skipped while building in sdx

Jump to solution

I have the solution, whenever I check "Estimate Performance" option it only shows me software estimation and does not build hardware functions. When I uncheck this option it builds hardware functions, create block diagram and run synthesis. 

0 Kudos