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

inline function, software simulation passed, HLS failed #136

Open
linghaosong opened this issue Mar 20, 2023 · 1 comment
Open

inline function, software simulation passed, HLS failed #136

linghaosong opened this issue Mar 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@linghaosong
Copy link

If we invoke an inline function by mistake, it can be compiled and pass the software emulation, but gets failed when HLS. Can you add a check at compile time?

@syiming who found this issue.

@Blaok
Copy link
Collaborator

Blaok commented Mar 21, 2023

Interesting... so it looks like HLS does not like functions with the inline specifier being the top.

@linghaosong @syiming This won't be trivially doable during software simulation (compilation or runtime), but we could add a check in tapacc and emit a readable error before running HLS. This should be straight-forward.

@dotkrnl dotkrnl added the enhancement New feature or request label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants