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

How to inline library functions

Jump to solution

Hello,

 

I am using the HLS Linear Algebra library. I have two consecutive calls to a matrix multiplication, both take 32 clock cycles and the initiation interval is also 32.

 

I would like to use the pipeline directive in order to reduce the total latency, trying to start the second matrix multiplication before the first is finished. The problem is that neither of the two function calls do not appear in the directive pane.

 

How can I overcome this?

 

Thanks!

Cerilet

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
13,469 Views
Registered: ‎06-28-2016

I haven't tried it, but perhaps you can add the directive in a directives.tcl script manually.

View solution in original post

3 Replies
Highlighted
Adventurer
Adventurer
13,470 Views
Registered: ‎06-28-2016

I haven't tried it, but perhaps you can add the directive in a directives.tcl script manually.

View solution in original post

Highlighted
Explorer
Explorer
7,151 Views
Registered: ‎08-26-2014

Well, even though it is not recommended by Xilinx (it is written in the directives.tcl file "Please DO NOT edit it"), it worked.

 

It would be good if someone tells us why it is not good to modify this file manually and how we should add directives to functions that are in libraries.

 

Many thanks anyway!

 

Cerilet

Tags (3)
0 Kudos
Highlighted
Teacher
Teacher
7,128 Views
Registered: ‎03-31-2012
I think it's because Vivado also modifies it so it doesn't want any conflict. There is nothing inherently wrong with modifying it. Actually I as almost never use the gui, modifying the directives.tcl is what I mostly do.
- 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.