Repository navigation
feat(sv): support the chandle type - #2464
mergify[bot] merged 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e5b8768b0d
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
e5b8768 to
b611015
Compare
Revision history
|
|
This pull request is part of a Mergify stack:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b611015e17
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Queued — the merge queue status continues in this comment ↓. |
b611015 to
5f47b1f
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f47b1fbd7
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
5f47b1f to
78b1990
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78b1990324
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
78b1990 to
43c3409
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 43c34090b3
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
43c3409 to
dd6027d
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: dd6027db0c
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
dd6027d to
3578434
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 35784346b1
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
3578434 to
1240829
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1240829286
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
1240829 to
04aab86
Compare
|
@codex review |
04aab86 to
d2047ec
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d2047ec4a7
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
d2047ec to
69eff2c
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 69eff2cfeb
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
69eff2c to
40f0ba4
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 40f0ba4f61
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
40f0ba4 to
6248531
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 62485313b2
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🚫 Left the queue13 min in the queue, with no time running CI. So far
Reason The pull request conflicts with Conflicting file: The pull request was held in the queue, conflicting with 1 pull request ahead of it. The conflict became a base branch one after #2673 merged. Hint You should update or rebase your pull request. A pull request queued by a rule comes back to the queue once updated, as long as the rule still matches. If it was queued with a command, post a new Requeued — the merge queue status continues in this comment ↓. Times in UTC · dashboard · how the merge queue works |
e621b25 to
ce03444
Compare
ce03444 to
ede5e9a
Compare
🚫 Left the queue26 min in the queue, with no time running CI. So far
Reason The pull request conflicts with 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 #2695 merged. Hint You should update or rebase your pull request. A pull request queued by a rule comes back to the queue once updated, as long as the rule still matches. If it was queued with a command, post a new Requeued — the merge queue status continues in this comment ↓. Times in UTC · dashboard · how the merge queue works |
Support `chandle` (IEEE 1800-2023 6.14), which UVM uses for the handles of its DPI-C functions. A chandle is held as 64 two-state bits that start as `null` (0), so variables, class properties, elements of dynamic arrays, queues and associative arrays, subroutine arguments and results lower like any 64-bit value; designs without chandles are unchanged. DPI-C imports pass chandle arguments and results as C pointers on every backend. The analyzer admits a chandle only where 6.14 allows one. The expression binder checks every value it reads: a chandle is accepted only as an operand of `==`, `!=`, `===` or `!==` with another chandle or `null`, as a Boolean test (a condition, `!`, `&&`, `||`), or as a value a chandle receives (an assignment with `=`, an initializer, an argument, a result, a container element, a property or an associative array index), which must itself be a chandle or `null`. Write targets are checked the same way, so only a procedural `=` writes a chandle. Every other context, an operator, a cast, an index, a count, a delay or event, a system subroutine argument, a concatenation, a stream or a continuous assignment, rejects a chandle without a check of its own. Chandle ports, packed chandle types and enumerations based on chandles are rejected. Fixed-size unpacked arrays of chandles, which UVM does not use, are not supported: the type binder rejects them wherever they are declared, also through a typedef. A new shared case passes on every backend, Verilator and xezim; Icarus rejects the chandle class property and the compile failure is retained. sv-tests `6.14--chandle` now passes in both state modes. Change-Id: Iad6401e7634f688c3a2baa55d801ca1dbbdec29c
ede5e9a to
2f52964
Compare
✅ Merged into
|
Support
chandle(IEEE 1800-2023 6.14), which UVM uses for the handles of its DPI-C functions. A chandle is held as 64 two-state bits that start asnull(0), so variables, class properties, elements of dynamic arrays, queues and associative arrays, subroutine arguments and results lower like any 64-bit value; designs without chandles are unchanged. DPI-C imports pass chandle arguments and results as C pointers on every backend.The analyzer admits a chandle only where 6.14 allows one. The expression binder checks every value it reads: a chandle is accepted only as an operand of
==,!=,===or!==with another chandle ornull, as a Boolean test (a condition,!,&&,||), or as a value a chandle receives (an assignment with=, an initializer, an argument, a result, a container element, a property or an associative array index), which must itself be a chandle ornull. Write targets are checked the same way, so only a procedural=writes a chandle. Every other context, an operator, a cast, an index, a count, a delay or event, a system subroutine argument, a concatenation, a stream or a continuous assignment, rejects a chandle without a check of its own. Chandle ports, packed chandle types and enumerations based on chandles are rejected. Fixed-size unpacked arrays of chandles, which UVM does not use, are not supported: the type binder rejects them wherever they are declared, also through a typedef.A new shared case passes on every backend, Verilator and xezim; Icarus rejects the chandle class property and the compile failure is retained. sv-tests
6.14--chandlenow passes in both state modes.