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
Adventurer
Adventurer
267 Views
Registered: ‎10-12-2018

How to script "Add module to blockdesign"?

Jump to solution

I have an included RTL module in my blockdesign using the following menu:

image.png

 

image.png

 

It works perfectly, but I want to add this module to design using a TCL script. How can I do that?

(With create_ip command? or how?)

The goal is to store the sources in a version control system, so I want to store the sources only, with no generated files.

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Moderator
Moderator
256 Views
Registered: ‎03-16-2017

Re: How to script "Add module to blockdesign"?

Jump to solution

Hi @betontalpfa,

>>The goal is to store the sources in a version control system, so I want to store the sources only, with no generated files.

I would suggest you to use write_bd_tcl command once your BD generates and validates in Vivado GUI. (For revision Control)

 

write_bd.JPG

Before creating the tcl script (using write_bd_tcl command) make sure the BD has been generated successfully with all of the associated IP output products. No errors should be present as well.

Check UG 892. for more info.

 

 
Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos
2 Replies
Moderator
Moderator
258 Views
Registered: ‎01-16-2013

Re: How to script "Add module to blockdesign"?

Jump to solution

@betontalpfa

 

Check page 229 in below link:

https://www.xilinx.com/content/dam/xilinx/support/documentation/sw_manuals/xilinx2018_3/ug994-vivado-ip-subsystems.pdf#page=229

 

--Syed

---------------------------------------------------------------------------------------------
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.

Did you check our new quick reference timing closure guide (UG1292)?
---------------------------------------------------------------------------------------------
0 Kudos
Moderator
Moderator
257 Views
Registered: ‎03-16-2017

Re: How to script "Add module to blockdesign"?

Jump to solution

Hi @betontalpfa,

>>The goal is to store the sources in a version control system, so I want to store the sources only, with no generated files.

I would suggest you to use write_bd_tcl command once your BD generates and validates in Vivado GUI. (For revision Control)

 

write_bd.JPG

Before creating the tcl script (using write_bd_tcl command) make sure the BD has been generated successfully with all of the associated IP output products. No errors should be present as well.

Check UG 892. for more info.

 

 
Regards,
hemangd

Don't forget to give kudos and mark it as accepted solution if your issue gets resolved.
0 Kudos