cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
2,135 Views
Registered: ‎08-26-2014

How to limit the use of DSPs used by Vivado HLS?

Jump to solution

Hello,

 

is it possible to to limit the number of DPSs used by HLS to an specific number?

 

Thanks,

 

Cerilet

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Advisor
Advisor
2,633 Views
Registered: ‎04-26-2015

No, you can't do that in HLS. All you can do is turn on resource optimization and keep an eye on which parts are using the most DSPs.

View solution in original post

0 Kudos
3 Replies
Highlighted
Xilinx Employee
Xilinx Employee
2,089 Views
Registered: ‎03-24-2010

There's some ways to control resources usage.

1. RESOURCE directive to specify the resource (core) to implement a variable in the RTL. The variable can be any of
the following:
• array
• arithmetic operation
• function argument

2. Allocation directive to specify instance restrictions for resource allocation.
This defines, and can limit, the number of RTL instances used to implement specific
functions or operations. For example, if the C source has four instances of a function
foo_sub, the set_directive_allocation command can ensure that there is only one
instance of foo_sub in the final RTL. All four instances are implemented using the same
RTL block.

 

For more details, please refer to UG902.

Regards,
brucey
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
Highlighted
Explorer
Explorer
2,075 Views
Registered: ‎08-26-2014

Hi @brucey,

 

yes, I was aware of those. So I assume by your answer taht there is no way of telling HLS that the device has 900 DSP available and should not exceed that number.

 

Thanks for your reply anyway.

 

Cerilet

0 Kudos
Highlighted
Advisor
Advisor
2,634 Views
Registered: ‎04-26-2015

No, you can't do that in HLS. All you can do is turn on resource optimization and keep an eye on which parts are using the most DSPs.

View solution in original post

0 Kudos