Skip to content

Add source locators to more module kinds#5116

Merged
seldridge merged 1 commit into
mainfrom
dev/seldridge/issue-5115
Dec 11, 2025
Merged

Add source locators to more module kinds#5116
seldridge merged 1 commit into
mainfrom
dev/seldridge/issue-5115

Conversation

@seldridge

Copy link
Copy Markdown
Member

Add missing source locators to:

  • BlackBox
  • ExtModule
  • IntrinsicModule

Previously, this information would be just dropped which resulted in
sub-par error messages for errors generated by firtool. Concretely,
this helps with error messages generated by the InferDomains pass where
a frequent problem is missing domain information on external modules.

Fixes #5115.

Signed-off-by: Schuyler Eldridge schuyler.eldridge@sifive.com

Release Notes

Add source locators to BlackBox, ExtModule, and IntrinsicModule.

Add missing source locators to:

  - BlackBox
  - ExtModule
  - IntrinsicModule

Previously, this information would be just dropped which resulted in
sub-par error messages for errors generated by `firtool`.  Concretely,
this helps with error messages generated by the `InferDomains` pass where
a frequent problem is missing domain information on external modules.

Fixes #5115.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge added the Bugfix Fixes a bug, will be included in release notes label Dec 11, 2025
@seldridge seldridge requested a review from jackkoenig December 11, 2025 01:10
@seldridge seldridge changed the title Add source locators to mode module kinds Add source locators to more module kinds Dec 11, 2025
@seldridge seldridge enabled auto-merge (squash) December 11, 2025 01:20

@jackkoenig jackkoenig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for fixing this!

@seldridge seldridge merged commit 3750e52 into main Dec 11, 2025
20 checks passed
@seldridge seldridge deleted the dev/seldridge/issue-5115 branch December 11, 2025 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bugfix Fixes a bug, will be included in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Source Locators Missing from External Module Ports

2 participants