Skip to content

feat(sv)!: support binary input and file positioning - #1662

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/svtf-runtime-extensions/support-binary-input-file-positioning--292f8ab9
Oct 21, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/svtf-runtime-extensions/support-binary-input-file-positioning--292f8ab9

Conversation

@tignear

@tignear tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Support $fgetc, $ungetc, $feof, $ftell, $fseek, $rewind, $fread and $fflush in timed Simulation. Binary reads preserve untouched bits on partial input and capture destination selectors once. $fread accepts packed integrals and one-dimensional static integral memories.

Validation: file-related backend regressions (95 tests), runtime unit tests, focused Icarus/Verilator cases, formatting and integrated all-target Clippy. The integrated tree also passed NAPI/JS boundary tests.

sv-tests: reviewed the full official CI report (2,054 mode runs) and updated the six EOF, flush and file-position expectation rows that now pass. No regressions or other verdict changes were observed.

BREAKING CHANGE: Adds variants to the public SystemFunction and SystemTask enums. Native images must be regenerated for container version 21.

@tignear

tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(sv)!: support binary input and file positioning #1662 👈
2 feat(sv)!: support integral formatted input #1663
3 feat(sv)!: add Annex N integer distribution functions #1664

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-20T23:37:50.930159Z
We couldn’t complete this review. Comment @codex review to try again.
1710d93 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 20, 2026
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime-extensions/support-binary-input-file-positioning--292f8ab9 branch from 1710d93 to c87501d Compare October 21, 2026 01:04
@tignear

tignear commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 1710d93 2026-10-21 01:04 UTC
2 content 1710d93 → c87501d Update retained sv-tests expectations from the official CI report: file-position, EOF and flush probes now pass in both state modes. 2026-10-21 01:04 UTC
3 content c87501d → e2eb26a 2026-10-21 01:55 UTC
4 content e2eb26a → 5aa4ad3 2026-10-21 02:59 UTC
5 content 5aa4ad3 → 919d7a1 2026-10-21 12:16 UTC

@mergify mergify Bot added the queued Mergify queue entry label Oct 21, 2026
@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-21 01:38 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • 🚫 Left the queue — 2026-10-21 01:44 UTC · at c87501d0b38e69f7363376f2496710a2b7a8ac4b

This pull request spent 5 minutes 17 seconds in the queue, with no time running CI.

Reason

Pull request #1662 has been dequeued

Queue conditions are not satisfied:

  • -conflict

Hint

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.
If you do update this pull request, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio queue comment.

Requeued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 21, 2026
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime-extensions/support-binary-input-file-positioning--292f8ab9 branch from c87501d to e2eb26a Compare October 21, 2026 01:55
@mergify mergify Bot removed the dequeued Mergify stopped this queue entry; investigate before retrying label Oct 21, 2026
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime-extensions/support-binary-input-file-positioning--292f8ab9 branch from e2eb26a to 5aa4ad3 Compare October 21, 2026 03:00
@mergify mergify Bot added the queued Mergify queue entry label Oct 21, 2026
@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-21 04:02 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • 🚫 Left the queue — 2026-10-21 04:53 UTC · at 5aa4ad3cbf6e1a62d5317a208b881876b64014ec

This pull request spent 51 minutes 8 seconds in the queue, with no time running CI.

Reason

The pull request conflicts with the base branch

The pull request was held in the queue, conflicting with at least one of 3 pull requests ahead of it. The conflict became a base branch one after #1666 merged.

Automatic conflict resolution can merge a conflict like this one instead of stopping on it, but only in a queue using the merge-batch or fast-forward merge method.

Hint

You should update or rebase your pull request.

If you want to requeue this pull request, you can post a @mergifyio queue comment.

Requeued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 21, 2026
Support $fgetc, $ungetc, $feof, $ftell, $fseek, $rewind, $fread and $fflush in timed Simulation. Binary reads preserve untouched bits on partial input and capture destination selectors once. $fread accepts packed integrals and one-dimensional static integral memories.

Validation: file-related backend regressions (95 tests), runtime unit tests, focused Icarus/Verilator cases, formatting and integrated all-target Clippy. The integrated tree also passed NAPI/JS boundary tests.

sv-tests: reviewed the full official CI report (2,054 mode runs) and updated the six EOF, flush and file-position expectation rows that now pass. No regressions or other verdict changes were observed.

BREAKING CHANGE: Adds variants to the public SystemFunction and SystemTask enums. Native images must be regenerated for container version 21.

Change-Id: I292f8ab91f7714c74737aa666b9bc27fbd928403
@tignear
tignear force-pushed the stack/tignear/feat/svtf-runtime-extensions/support-binary-input-file-positioning--292f8ab9 branch from 5aa4ad3 to 919d7a1 Compare October 21, 2026 12:16
@mergify mergify Bot added queued Mergify queue entry and removed dequeued Mergify stopped this queue entry; investigate before retrying labels Oct 21, 2026
@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 2 hours 54 minutes 55 seconds in the queue, including 1 hour 26 minutes 23 seconds running CI.

Required conditions to merge

@mergify
mergify Bot merged commit 044267b into master Oct 21, 2026
30 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/svtf-runtime-extensions/support-binary-input-file-positioning--292f8ab9 branch October 21, 2026 16:44
@mergify mergify Bot removed the queued Mergify queue entry label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant