Skip to content

Instances: Split default interface port connections - #1909

Closed
AndrewNolte wants to merge 3 commits into
MikePopoloski:masterfrom
AndrewNolte:AndrewNolte/stack/23
Closed

Instances: Split default interface port connections#1909
AndrewNolte wants to merge 3 commits into
MikePopoloski:masterfrom
AndrewNolte:AndrewNolte/stack/23

Conversation

@AndrewNolte

@AndrewNolte AndrewNolte commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Stacked PRs:


View individual changes

Instances: Split default interface port connections

Splits up behavior for instantiating default interface port connections into a separate file.
This is so it's more clear which code is used in the abnormal / slang extensions flow.
I'm planning on adding $static_assert iface param pinning in a followup that requires additional code.

This compilation flag enables more checks to be done in untaken generate branches, or gen loops with invalid loop params.

stack-info: PR: MikePopoloski#1901, branch: AndrewNolte/stack/18
For slang-server we want these to cover the whole id.

stack-info: PR: MikePopoloski#1902, branch: AndrewNolte/stack/19
Splits up behavior for instantiating default interface port connections into a separate file.
This is so it's more clear which code is used in the abnormal / slang extensions flow.
I'm planning on adding $static_assert iface param pinning in a followup that requires additional code.

stack-info: PR: MikePopoloski#1909, branch: AndrewNolte/stack/23
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.59036% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.05%. Comparing base (3c984ff) to head (a113d1b).

Files with missing lines Patch % Lines
source/ast/symbols/DefaultIfacePortConnections.cpp 96.07% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1909   +/-   ##
=======================================
  Coverage   96.05%   96.05%           
=======================================
  Files         247      248    +1     
  Lines       56693    56712   +19     
=======================================
+ Hits        54455    54474   +19     
  Misses       2238     2238           
Files with missing lines Coverage Δ
include/slang/analysis/AnalysisManager.h 100.00% <ø> (ø)
include/slang/ast/Compilation.h 100.00% <100.00%> (ø)
source/analysis/AnalysisManager.cpp 88.32% <100.00%> (+0.18%) ⬆️
source/analysis/AnalysisScopeVisitor.h 100.00% <100.00%> (ø)
source/ast/Compilation.cpp 96.73% <100.00%> (+0.03%) ⬆️
source/ast/symbols/BlockSymbols.cpp 98.48% <100.00%> (+<0.01%) ⬆️
source/ast/symbols/InstanceSymbols.cpp 96.97% <100.00%> (+0.04%) ⬆️
source/ast/symbols/DefaultIfacePortConnections.cpp 96.07% <96.07%> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3c984ff...a113d1b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MikePopoloski

Copy link
Copy Markdown
Owner

Not sure this is really necessary. It's only a hundred lines of code, and you're not adding that much more in the followup diff. The new file name is also pretty awkward.

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