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: 
Contributor
Contributor
248 Views
Registered: ‎10-17-2019

Efficient way of implementing code in hls?

Jump to solution

Hi,

I have two dimensional array S[65][65] of 32 bits size. I need to initialize all elements it with zeros in vivado hls. How do i implement it with less latency.

right now i am following way of coding but it is causing high latency.

for(int i=0;i<65;i++)

{

for(int j=0;j<65;j++)

{

SM[i][j]=0;

}

}

0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
168 Views
Registered: ‎05-31-2017

Re: Efficient way of implementing code in hls?

Jump to solution

HI @rocky_149 ,

Have you checked the "Array Initialization" topic at page 315 of UG 902  ?

View solution in original post

2 Replies
Moderator
Moderator
169 Views
Registered: ‎05-31-2017

Re: Efficient way of implementing code in hls?

Jump to solution

HI @rocky_149 ,

Have you checked the "Array Initialization" topic at page 315 of UG 902  ?

View solution in original post

Moderator
Moderator
110 Views
Registered: ‎05-31-2017

Re: Efficient way of implementing code in hls?

Jump to solution

HI @rocky_149 ,

If your query has been answered or your issue is solved, can you please kindly mark the response which helped as a solution (click on "Accept as solution" button below the reply) ?

If the issue is not solved/answered, please reply to this thread giving more information on your current status.

0 Kudos