Repository navigation
fix(sv): reject waits on class properties that never wake - #2434
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: 5d248dc1fb
ℹ️ 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".
A `wait (cond)` whose condition reads a class property compiled, but its wait site watched only module variables: a write of the property did not wake the process. `wait (m_state >= s)` in a class task, as UVM writes it, waited forever although another process satisfied it. Such a wait now gets the explicit unsupported diagnostic that event expressions reading a property already get. This covers a property read through `this`, through a handle, through a called function, and a container held in a property. Static properties are module variables and keep working; a new case covers a wait on one. Waits that do not read the class object heap are unchanged. Change-Id: I26ce16ece6e5411e9e668b1e83eee48ae5bf96c6
5d248dc to
1337a5c
Compare
Revision history
|
|
Queued — the merge queue status continues in this comment ↓. |
✅ Merged into
|
| Condition | Required by | |
|---|---|---|
| ✅ | check-success = Conventional Commit title |
— |
| ✅ | check-success = Queue validation |
— |
| ✅ | any of: check-success = @github-actions/Lint & Format, check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format |
GitHub repository ruleset rule master |
| ✅ | any of: check-success = @github-actions/Rust Test & NAPI Build, check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build |
GitHub repository ruleset rule master |
| ✅ | any of: check-success = @github-actions/JS Test (Ubuntu), check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu) |
GitHub repository ruleset rule master |
| ✅ | any of: check-success = @github-actions/Conventional Commit title, check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title |
GitHub repository ruleset rule master |
| ✅ | any of: check-success = @github-actions/Queue validation, check-neutral = @github-actions/Queue validation, check-skipped = @github-actions/Queue validation |
GitHub repository ruleset rule master |
Times in UTC · dashboard · how the merge queue works
A
wait (cond)whose condition reads a class property compiled, but itswait site watched only module variables: a write of the property did not
wake the process.
wait (m_state >= s)in a class task, as UVM writesit, waited forever although another process satisfied it.
Such a wait now gets the explicit unsupported diagnostic that event
expressions reading a property already get. This covers a property read
through
this, through a handle, through a called function, and acontainer held in a property. Static properties are module variables and
keep working; a new case covers a wait on one. Waits that do not read the
class object heap are unchanged.