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

[Calyx-Backend] Use Morty to link external libraries #2378

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

Conversation

jiahanxie353
Copy link
Collaborator

This patch is the first half of #1928

We use Morty: https://github.com/pulp-platform/morty to pickle Verilog/System Verilog files needed as libraries.

Acknowledgement to @evanmwilliams for the original implementation.

morty.flush()?;

// Invoke Morty
let cmd = Command::new("morty")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered including morty as a Rust crate instead of launching it as an external binary? With a crate, then the user would not have to install it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

morty is available on crates.io: https://crates.io/crates/morty

I have not investigated the API though.

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.

2 participants