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

FFI: In absence of externally provided timing, use delay-model as estimate #1399

Open
hzeller opened this issue May 8, 2024 · 0 comments
Open
Labels
enhancement New feature or request ffi "Foreign Function" Interfacing (with SystemVerilog)

Comments

@hzeller
Copy link
Member

hzeller commented May 8, 2024

Right now, the estimated time for ffi is provided by a delay model, but that is typically not generated for external FFI functions, so it falls back to the ffi_fallback_delay_ps codegen parameter which is an estimate by the user and thus possibly pretty far off. Pipeline schedule will only be as good as the estimate of the parts.

As an alternative, if there is no accurate delay model characterization of the external module, we should use the delay we can determine from the IR for that particular function (as we always have that as fllaback). Even though it is not the same implementation as the external FFI module, it will provide a better estimate assuming similar implementation algorithms.

@hzeller hzeller added ffi "Foreign Function" Interfacing (with SystemVerilog) enhancement New feature or request labels May 8, 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 ffi "Foreign Function" Interfacing (with SystemVerilog)
Projects
None yet
Development

No branches or pull requests

1 participant