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: 
Highlighted
Explorer
Explorer
9,403 Views
Registered: ‎07-28-2008

How to preserver out-of-context in script generated by write_project_tcl? (2014.4)

Could not find any properties associate out of context in the script generated by write_project_tcl command.

 

As a result, every time a new project is created by calling the script, all IPs are as Global, and all *.xci files got changed.

 

How to script to keep out-of-context for IP?

 

Thanks,

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
9,328 Views
Registered: ‎09-20-2012

Re: How to preserver out-of-context in script generated by write_project_tcl? (2014.4)

Hi @legendbb

 

The below command enables the OOC synthesis run for IP.

 

set_property generate_synth_checkpoint true [get_files <file_path>/ip_name.xci]

 

Do you have block design or IP's alone? Can you attach the script file generated?

 

Which version of Vivado are you using?

 

Thanks,

Deepika.

Thanks,
Deepika.
--------------------------------------------------------------------------------------------
Google your question before posting. If someone's post answers your question, mark the post as answer with "Accept as solution". If you see a particularly good and informative post, consider giving it Kudos (the star on the left)
0 Kudos
Scholar pratham
Scholar
9,283 Views
Registered: ‎06-05-2013

Re: How to preserver out-of-context in script generated by write_project_tcl? (2014.4)

@legendbb Have you tried the switch -all_properties?

 

Can you try creating script using below command? the generated script should have all the properties

 

write_project_tcl -all_properties recreate.tcl

-Pratham

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Explorer
Explorer
9,267 Views
Registered: ‎07-28-2008

Re: How to preserver out-of-context in script generated by write_project_tcl? (2014.4)

Thanks for reply,

@vemulad, I was referring Xilinx IPs (.xci), thanks for your command, I will insert them into my .tcl.

@pratham, I used write_project_tcl GUI with checkbox "write all properties". I guess it's equivalent to them command. Doesn't seem to write any OOC as property.
0 Kudos
Adventurer
Adventurer
1,974 Views
Registered: ‎10-16-2017

Re: How to preserver out-of-context in script generated by write_project_tcl? (2014.4)

Is there any update on this? I think I have the same issue but with a block design in my case. 

 

Here is what I do:

- I write a bd.tcl using write_bd_tcl

- I write a project.tcl using write_project_tcl

- I change the project.tcl to call the bd.tcl inside it

 

After re-creating the project from the TCLs, the way the BD is generated ("Out of context" or "Global") is reset.

0 Kudos