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: 
Observer app076
Observer
218 Views
Registered: ‎01-29-2014

Windows Vivado 2018.3 string array size error

I am seeing a strange issue with Windows version of Vivado 2018.3. The Linux version of Vivado 2018.3 does not produce the same error with the same design.

Windows Xsim stops with error 'Index 2 out of bound 1 to 1' on a string array even though the string is defined as 1 to 2.

My code snippet is below:

SHARED VARIABLE sdf_data : STRING (1 TO 2);

readline(file_ptr, inline);
sdf_data(1 TO 2) := inline.ALL(1 TO 2);

 

What is the solution for this to be able to run on Windows?

0 Kudos
3 Replies
Xilinx Employee
Xilinx Employee
190 Views
Registered: ‎07-16-2008

回复: Windows Vivado 2018.3 string array size error

Have you got a chance to try out in Vivado 2019.1?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer app076
Observer
179 Views
Registered: ‎01-29-2014

回复: Windows Vivado 2018.3 string array size error

Yeah. Vivado 2019.1 cannot even get past static elaboration (I opened a second post on this topic today). It seems like the newer Vivado versions are really buggy.

0 Kudos
Xilinx Employee
Xilinx Employee
146 Views
Registered: ‎07-16-2008

回复: Windows Vivado 2018.3 string array size error

Can you attach the test case so that we can reproduce the failure at our end and make further investigation?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos