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# 63918

Vivado - Why are source files still accessable after I issue a close_design command

Description

After a call to close_design, the source files are still visible both in the GUI, and in memory. 
 
For Example:

I run close_design and then I start reading in the next set of files. 

Now, when I run synthesis, both the new files and the previous ones (read before close_design) get used during synthesis etc.

I expected that because there has been a close_design after the first file is read, it should no longer be visible.

Solution

The expectation is incorrect. 

The concept of a "design" here is confused with the concept of a "project"
 
In the Vivado tools, designs happen in projects. 

For example, a typical project might have an elaborated design, a synthesized design and an implemented design. 

The design is based on the source files added to the project but does not contain the source files.

 Instead it contains an elaborated, synthesized or implemented representation. 

Close design (close_design) does not close down the project (refer to close_project).
 
In the case of the non-project flow, close_design does not flush the files from memory (loaded with a read command).
AR# 63918
Date Created 03/13/2015
Last Updated 04/30/2015
Status Active
Type General Article
Tools
  • Vivado Design Suite