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!

AR# 43612

AutoESL - Simulation hangs due to a variable not being initalized


When a variable is initialized as follows, simulation of the design in SystemC hangs.

user_type var1, var2 = 0;


In 'C' language, defining a variable using the syntax in the following example will not initialize var1.
Only var2 is initialized to '0'.

user_type var1, var2 = 0;

For the correct simulation, initialize the variables as follows:

user_type var1 = 0;
user_type var2 = 0;

Revision History:

08/12/2011- Initial Release

AR# 43612
Date Created 08/12/2011
Last Updated 03/05/2015
Status Active
Type AFE Reference Design
  • AutoESL