Skip to content

Conversation

tmckay-sifive
Copy link
Contributor

This allows extmodules to be annotated with additional library names to be included in the blackbox metadata. Downstream tooling can consume this to determine additional libraries that should be compiled alongside extmodules.

  • Add SitestBlackBoxLibrariesAnnotation; process in CreateSiFiveMetadataPass
  • Update docs
  • Update and add tests

Copy link
Contributor

@mikeurbach mikeurbach left a comment

Choose a reason for hiding this comment

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

The implementation generally looks good to me. Just a couple style nits. @prithayan since you're familiar with this, do you mind taking a look?

Copy link
Contributor

@prithayan prithayan left a comment

Choose a reason for hiding this comment

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

The metadata updates look good.

@prithayan
Copy link
Contributor

I think clang-format -i lib/Dialect/FIRRTL/Transforms/CreateSiFiveMetadata.cpp needs to be run.

@mikeurbach mikeurbach merged commit bffff7d into llvm:main Jul 9, 2025
7 checks passed
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.

3 participants