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

Error if HLS custom op weight stream is larger than allowed #47

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

bwintermann
Copy link

@bwintermann bwintermann commented Feb 17, 2025

This should prevent the flow from continuing if the weight stream width of an HLS custom exceeds the maximum allowed (2^15). Informing the user like this is better than later on giving a generic IPGen failed error.

Currently only checks MVAU and VVAU

@bwintermann bwintermann changed the title Error if MVAU_hls weight stream is larger than allowed Error if HLS custom op weight stream is larger than allowed Feb 17, 2025
@bwintermann
Copy link
Author

Actually this should never be needed since HLSBackend.get_ap_int_max_w() asserts the max width to be <= 8192. I still ran into the failed IPGen nonetheless

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

Successfully merging this pull request may close these issues.

1 participant