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!

AR# 62664

Vivado - How to get the status of the synthesized/Implemented design using Tcl commands?

Description

What are the Tcl commands for the following:
 
  • Tcl command to find out if an open synthesized or implemented design is out-of-date.
  • Tcl command to find out whether a synthesized / implemented design is open. 

Solution

1. Tcl command to find out if an open synthesized or implemented design is out-of-date:

get_property NEEDS_REFRESH [get_runs <run_name>]
 
If the opened design status is out-of-date then this command returns 1 and if it is up to-date then 0.
 
2. Tcl command to find out whether a synthesized / implemented design is open:
 
Use get_design or current_design.
 
  • get_design returns all of the designs that are open, current_design returns the active one.
  • If only one design is open, both of the commands return the same output.
AR# 62664
Date Created 10/31/2014
Last Updated 11/27/2014
Status Active
Type General Article
Tools
  • Vivado Design Suite