cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Explorer
Explorer
1,558 Views
Registered: ‎03-22-2017

TCL API for Vivado HLS

Jump to solution

Are there more TCL commands than the one listed with the help command in the CLI? I would like to list all of the candidate locations for directives/pragmas?

 

$ vivado_hls -i

vivado_hls> help

vivado_hls> help
ALL TCL COMMANDS:
add_files - Add file(s) to the current project
close_project - Close the project that is currently open
close_solution - Close a solution
config_array_partition - Config the array partition
config_bind - Config the options for micro-architecture binding
config_compile - Config the optimization
config_core - Config scheduling core options
config_dataflow - Config the dataflow pipeline
config_export - Config export options
config_interface - Config command for io mode
config_rtl - Config the options for RTL generation
config_schedule - Config scheduler options
config_sdx - Config SDx options
config_unroll - Config the loop unrolling
cosim_design - Simulate the RTL using C test bench
create_clock - Set up a virtual clock
csim_design - Simulate C
csynth_design - Synthesize the design
delete_project - Delete a project
delete_solution - Delete a solution from the current project
export_design - Package design
get_clock_period - Get the clock period
get_clock_uncertainty - Get the clock uncertainty
get_files - Get file(s) in the current project
get_part - Get the target part
get_top - Get the top-level model
help - Print the manpage of a command
import_into_sdx - Import TCL settings into current solution
list_core - List core(s) in the resource library
list_part - List supported parts
open_project - Open an existing project or create a new project
open_solution - Open an existing solution or create a new solution
set_clock_uncertainty - Set the clock uncertainty
set_directive_allocation - Directive ALLOCATION
set_directive_array_map - Directive ARRAY_MAP
set_directive_array_partition - Directive ARRAY_PARTITION
set_directive_array_reshape - Directive ARRAY_RESHAPE
set_directive_clock - Directive CLOCK
set_directive_data_pack - Directive DATA_PACK
set_directive_dataflow - Directive DATAFLOW
set_directive_dependence - Directive DEPENDENCE
set_directive_expression_balance - Directive EXPRESSION_BALANCE
set_directive_function_instantiate - Directive FUNCTION_INSTANTIATE
set_directive_inline - Directive INLINE
set_directive_interface - Directive INTERFACE
set_directive_latency - Directive LATENCY
set_directive_loop_flatten - Directive LOOP_FLATTEN
set_directive_loop_merge - Directive LOOP_MERGE
set_directive_loop_tripcount - Directive LOOP_TRIPCOUNT
set_directive_occurrence - Directive OCCURRENCE
set_directive_pipeline - Directive PIPELINE
set_directive_protocol - Directive PROTOCOL
set_directive_reset - Directive RESET
set_directive_resource - Directive RESOURCE
set_directive_stream - Directive STREAM
set_directive_top - Directive TOP
set_directive_unroll - Directive UNROLL
set_part - Set the target part
set_top
0 Kudos
Reply
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
1,510 Views
Registered: ‎09-05-2018

Hey @gdg ,

That's all of the TCL commands. There is no command to list the candidate locations for directives.

Nicholas Moellers

Xilinx Worldwide Technical Support

View solution in original post

1 Reply
Xilinx Employee
Xilinx Employee
1,511 Views
Registered: ‎09-05-2018

Hey @gdg ,

That's all of the TCL commands. There is no command to list the candidate locations for directives.

Nicholas Moellers

Xilinx Worldwide Technical Support

View solution in original post