cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
shaikon
Voyager
Voyager
846 Views
Registered: ‎04-12-2012

Vivado optimization report

Hello,

Is there an auto-generated Vivado report that summarizes logic that has been optimized away (due to being unused, driven by constant values, etc...) ?

0 Kudos
5 Replies
hongh
Moderator
Moderator
835 Views
Registered: ‎11-04-2010

For synthesis, you can check the log file of the synthesis.

For opt_design, you can try -debug_log & -verbose option:

Ex: opt_design -debug_log -verbose

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
shaikon
Voyager
Voyager
812 Views
Registered: ‎04-12-2012

Thanks - but this doesn't answer my question.
"Is there an auto-generated Vivado report that summarizes logic that has been optimized away" ?
0 Kudos
hongh
Moderator
Moderator
805 Views
Registered: ‎11-04-2010

I'm afraid that the answer is "No" 

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
683 Views
Registered: ‎01-22-2015

@shaikon 

I’m sure you know this, but for the benefit of other readers….

In Vivado and after running synthesis and implementation, you can easily search through Warning, Info, and Status, messages for indications that Vivado has optimized things. 

As shown below, first place as checkmark next to Warning, Info, and Status.  Then type a key word (I used “merging”) in the Search: box to get a list of all messages having the key word.  Other key words indicating optimization are “trimmed” and “removed” – and perhaps there are more.
merging.jpg

Mark

shaikon
Voyager
Voyager
655 Views
Registered: ‎04-12-2012

Sure,
I used this method today...
Other search words I find helpful are:
VCC, GND, constant, unused, optimized.

But this kind of is kind of primitive.
IMO - Vivado removing unused logic is important enough to have a special report dedicated to it.

0 Kudos