-
Notifications
You must be signed in to change notification settings - Fork 243
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
Refactoring of RTL/HLS component integration #928
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This reverts commit ac1478d.
Signed-off-by: aziz bahri <[email protected]>
Signed-off-by: aziz bahri <[email protected]>
Signed-off-by: aziz bahri <[email protected]>
…efactor/threshold_rtl
Signed-off-by: aziz bahri <[email protected]>
Refactoring of RTL VVAU
[Thresholding RTL] Prepend dummy threshold for narrow range quantization
VVAU renaming and disabled resType selection in convert-to-hw
Signed-off-by: auphelia <[email protected]>
Signed-off-by: auphelia <[email protected]>
Signed-off-by: auphelia <[email protected]>
RTL SWG CPPsim
[Tests] Force HLS components for special case cnv-2-2 on u250 and pyn…
Extract Thresholding RTL RAM trigger attributes to folding config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With the growth of more and more RTL variants of common FINN hardware building blocks, there is a need to better organize the integration of these components. The purpose of this PR is to make this refactoring visible to the community because it will introduce significant changes in the compiler.
The FINN compiler was developed with the assumption that the hardware blocks corresponding to the neural network layers are developed based on HLS. Although we do not want to abolish this HLS implementation at this time, it has become apparent over the years that for certain modules it makes sense to implement them in RTL. This allows us greater control over the resulting hardware and we can make optimal use of FPGA resources.
To make it easier for RTL and HLS components to both be integrated into the FINN compiler and for users to better make use of one variant or the other, a new custom op class hierarchy will be introduced.
The following steps will be needed for the refactoring: