cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jcll
Visitor
Visitor
1,009 Views
Registered: ‎02-06-2011

Create required IPs cores from VIVADO_HLS tcl generated files

Hello,

 

We are starting to use vivado_hls. It generates .tcl scripts for specific IPs creation (concerning computations in float, double etc). These TCL files are located in HLS output folder.

 

Our problem seems quite simple : how do we run this TCL script to generate these IPs (VHDL in our case) ?

 

We have commands like in these TCL files :

"create_ip -name floating_point -version $fpo_ver -vendor xilinx.com -library ip -module_name fft_ap_dadd_3_full_dsp_64"

 

We want to run this in batch mode only. We tried a naive "vivado -mode tcl -source <FILE.tcl>" but vivado complains about projects that are not opened (yet).

 

"ERROR: [Common 17-53] User Exception: No open project. Please create or open a project before executing this command."

 

What is the correct way to proceed ?

 

Thanks !

JCLL

 

 

 

JCLL

0 Kudos
1 Reply
jmcclusk
Mentor
Mentor
983 Views
Registered: ‎02-24-2014

Read UG892 in Chapter 4 about non-project mode..  It's not a big modification to create a top level TCL script that creates a project and then reads in your lower level TCL scripts to create the HLS IP blocks.

 

Don't forget to close a thread when possible by accepting a post as a solution.