Skip to content

Enable extraction of constant tie-off values from ConnectionExtractor#27

Merged
mkorbel1 merged 17 commits intointel:mainfrom
mkorbel1:const_extraction
Dec 30, 2025
Merged

Enable extraction of constant tie-off values from ConnectionExtractor#27
mkorbel1 merged 17 commits intointel:mainfrom
mkorbel1:const_extraction

Conversation

@mkorbel1
Copy link
Contributor

@mkorbel1 mkorbel1 commented Nov 25, 2025

Description & Motivation

In addition to determining connections to other modules, ConnectionExtractor can now also find when ports are tied to constant values.

Also, added a flag so that you can extract all port connections as ad-hoc, ignoring full interface connections, which can be useful for parsing purposes.

This PR also adjusts the tie-off APIs so that they can support fill arguments and to have named arguments for the values (breaking!).

Related Issue(s)

N/A

Testing

Added new tests

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

Yes, the API for tieOff and tieOffInterface have changed in a backwards incompatible way: the value argument is now a named optional argument instead of positional.

Not for const extraction, though new connection types will show up

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No

@mkorbel1 mkorbel1 marked this pull request as ready for review December 26, 2025 23:39
@mkorbel1 mkorbel1 merged commit 5b9cdaf into intel:main Dec 30, 2025
2 checks passed
@mkorbel1 mkorbel1 deleted the const_extraction branch December 30, 2025 01:29
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.

1 participant

Comments