Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the Block Design generated by C_HLS export? #38

Closed
gabrijob opened this issue Aug 21, 2019 · 2 comments
Closed

How to use the Block Design generated by C_HLS export? #38

gabrijob opened this issue Aug 21, 2019 · 2 comments

Comments

@gabrijob
Copy link

Hello

After generating the HLS export and running vivado_hls on it, I'm trying to use the generated IP on Vivado, but the block design has a huge number of inputs (in_data_X_Y_q, in_data_X_Y_we, in_data_X_Y_ce, in_data_X_Y_address, in_data_X_Y_d and etc) and I'm not really sure how to connect them. What is the recommended way to do it?

Thank you

@olivierbichler-cea
Copy link
Contributor

Hi,
There is a TCL directive that allow you to tune the input interface.
It is called set_directive_interface and you can find it in solutions.tcl.
Right now, setting the input interface is up to you, and I recommend you refer to Vivado HLS documentation for further information.
The input may also be partitioned to allow parallel input read, which is why you can get a large number of inputs. This can be changed in solutions.tcl with the directive like "set_directive_array_partition -dim 2 -type complete "$name" inputs". You may choose to not partition the input to have a single simple interface. However, not partitioning the input may reduce the performances if the first layer of the network is large.

@gabrijob
Copy link
Author

gabrijob commented Sep 5, 2019

Hmm I see, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants