cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Participant
Participant
448 Views
Registered: ‎01-22-2008

TCL commands to control the report generation in project mode?

What are the TCL commands to control the report generation in project mode to achieve the following?

1. to not generate any report at all

2. to generate one specific report, one of the following for example:

./project_1/project_1.runs/char_fifo_synth_1/char_fifo_utilization_synth.rpt
./project_1/project_1.runs/clk_core_synth_1/clk_core_utilization_synth.rpt
./project_1/project_1.runs/synth_1/wave_gen_utilization_synth.rpt
./project_1/project_1.runs/impl_1/wave_gen_drc_opted.rpt
./project_1/project_1.runs/impl_1/wave_gen_io_placed.rpt
./project_1/project_1.runs/impl_1/wave_gen_utilization_placed.rpt
./project_1/project_1.runs/impl_1/wave_gen_control_sets_placed.rpt
./project_1/project_1.runs/impl_1/wave_gen_drc_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_methodology_drc_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_power_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_route_status.rpt
./project_1/project_1.runs/impl_1/wave_gen_timing_summary_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_clock_utilization_routed.rpt
./project_1/project_1.runs/impl_1/route_report_bus_skew_0.rpt

 

I saw the commands create_run -report_strategy, create_report_configin ug835. However, i still do not know how to get what is described above. Could anyone help me with this? Thanks!

0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
417 Views
Registered: ‎05-22-2018

Hi @wanqingxilinx ,

You can use report strategies settings:

reportCapture.JPG

Also please check this link:

https://forums.xilinx.com/t5/Adaptable-Advantage-Blog/Configurable-Reporting/ba-p/803385

Thanks,

Raj.

0 Kudos
Highlighted
Participant
Participant
388 Views
Registered: ‎01-22-2008

Hi @rshekhaw ,

I tried what you suggested although it is the gui version and I wanted to have a TCL version. It does not give me what I would expect.

With "Vivado Implementation Default Reports" and "No Reports", they give the exact same set of reports.

 

image.pngimage.png

./project_1/project_1.runs/char_fifo_synth_1/char_fifo_utilization_synth.rpt
./project_1/project_1.runs/clk_core_synth_1/clk_core_utilization_synth.rpt
./project_1/project_1.runs/synth_1/wave_gen_utilization_synth.rpt
./project_1/project_1.runs/impl_1/wave_gen_drc_opted.rpt
./project_1/project_1.runs/impl_1/wave_gen_io_placed.rpt
./project_1/project_1.runs/impl_1/wave_gen_utilization_placed.rpt
./project_1/project_1.runs/impl_1/wave_gen_control_sets_placed.rpt
./project_1/project_1.runs/impl_1/wave_gen_drc_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_methodology_drc_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_power_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_route_status.rpt
./project_1/project_1.runs/impl_1/wave_gen_timing_summary_routed.rpt
./project_1/project_1.runs/impl_1/wave_gen_clock_utilization_routed.rpt
./project_1/project_1.runs/impl_1/route_report_bus_skew_0.rpt

Could you please try it at your end to see what happens? The project is the example design wave_gen. I am using Vivado 2018.1 for Linux. Thanks,

0 Kudos
Participant
Participant
378 Views
Registered: ‎01-22-2008

Hi @rshekhaw 

I think I figured out the solution for the gui command for setting report strategy to no report. The Project Settings window invovked from Tools--Settings is for strategy composing only (at leaset to me for now). I have to use Project Summary window to actually set the strategy -- see the screen shot below. With this, I can see synthesis and implementation only generate 1 report each, though it is still not zero.

image.png

 

I also see that this time the following two tcl commands are executed:

set_property report_strategy {No Reports} [get_runs synth_1]
set_property report_strategy {No Reports} [get_runs impl_1]

Those two commands are what I am looking for. I will apply it to my design to see if it works.

Also, the documentation page below seems to be out dated. I do see the drop down list for Report Stratedgy from the Report tab in 2018.3 for windows10. And, in 2018.3, both Reports and Design Runs are tabs. Actually, the field for report strategy in the Property window/tab is not editable, even though there is pen icon in there. Anyway, the only settable/editable fields for Report Strategy are on the Design Summar pane as mentioned above.image.png

I will let you know if the tcl commands work or not in my real design. Thanks.

0 Kudos