AR# 54931

Vivado Simulator - Using the TCL "add_condition" command with the "close_sim" command results in the Vivado Simulator hanging and no longer responding

Description

Using the TCL "add_condition" command with the "close_sim" command results in the Vivado Simulator hanging and no longer responding.

When will this be resolved, and how do I work around the issue?

Solution

This is a known issue with the Vivado Simulator 2012.x versions and is resolved in the 2013.1 Vivado tools release.

An example of the command causing the issue is as follows:

  add_condition { sim_done == 1 } {close_sim }

The combination of these two commands is not allowed, and the tools fail to flag this as a problem. In the 2013.1 release, the combination of these two commands results in the proper warning. For releases prior to 2013.1, the work-around is to avoid the use of the close_sim command to halt the simulation. An example of the work-around is as follows:

  add_condition { sim_done == 1} { stop }; run -all; exit

AR# 54931
Date 03/27/2013
Status Active
Type General Article