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: allow to choose not to emit ffi calls in IR #1397

Open
hzeller opened this issue May 8, 2024 · 0 comments
Open

FFI: allow to choose not to emit ffi calls in IR #1397

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

Comments

@hzeller
Copy link
Member

hzeller commented May 8, 2024

Right now, if there is an FFI call annotation #[extern_verilog(...)] on a dslx function, it is always emitted to IR, is skipped in global optimization in opt-ir and ultimately emitted in codegen.

It would be good to have a flag in the ir-conversion and optimizer to ignore ffi calls and use the underlying dslx-IR. This allows a/b comparisons.

@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