cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
6,768 Views
Registered: ‎04-02-2015

How to turnoff automatic compiler optimizations

Jump to solution

I found that in my kernel design, by default SDAccel compiler optimizes loops by forcing pipeline etc optimizations, how to disable automatic kernel optimizations by compiler, I want my naive design to run on board as it is.

 

Thanks

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Observer
Observer
3,002 Views
Registered: ‎04-02-2015

Hi Heeran

 

Thanks for your response. I will try out this option with xocc. 

View solution in original post

0 Kudos
2 Replies
Highlighted
Xilinx Employee
Xilinx Employee
1,752 Views
Registered: ‎07-18-2014

Please add the option below to xocc command line:

 --xp param:compiler.enableAutoPipelining=false

 

There is no direct option to disable auto-pipelining for specific loops in design. But user can turn off auto-pipelining at command line and then add pipeline on selected loops to achieve the same thing.

 

 

Highlighted
Observer
Observer
3,003 Views
Registered: ‎04-02-2015

Hi Heeran

 

Thanks for your response. I will try out this option with xocc. 

View solution in original post

0 Kudos