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

Add CIRCT HW/Comb/LLHD as backend #232

Closed
5 tasks done
maerhart opened this issue Sep 9, 2021 · 4 comments
Closed
5 tasks done

Add CIRCT HW/Comb/LLHD as backend #232

maerhart opened this issue Sep 9, 2021 · 4 comments

Comments

@maerhart
Copy link
Collaborator

maerhart commented Sep 9, 2021

Add CIRCT as backend or replace the current Rust-LLHD backend with CIRCT. This allows us to leverage the whole CIRCT infrastructure within moore. There are, however, a few things the current backend supports that CIRCT does not.

  • Link moore against CIRCTs C-API
  • Generate rust bindings for the C-API using bindgen
  • Write a wrapper to make creating operations, types and attributes easier and to hide unsafe code
  • Add CIRCT assembly generation as in codegen.rs
  • Possibly register and expose llhd-sim and other passes to the moore CLI
@fabianschuiki
Copy link
Owner

Awesome! Check out the mlir branch, I've been starting some work there.

@maerhart
Copy link
Collaborator Author

maerhart commented Sep 9, 2021

Wow what a quick response! Sorry, I haven't seen the branch before creating the issue, so I thought I'll just create a tracking issue to get an overview of what should be done. Looks really nice already!

@fabianschuiki
Copy link
Owner

fabianschuiki commented Nov 21, 2021

#234 implements a first version of this (the old LLHD crate stuff is still there, but we can strip that out soon!).

@fabianschuiki
Copy link
Owner

Merged #234 which implements this.

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

No branches or pull requests

2 participants