Repository navigation
feat(sv): know every system task and function IEEE 1800-2023 names - #1392
Merged
Merged
Conversation
Add $stacktrace (20.17.2), $global_clock (14.14), $inferred_clock and $inferred_disable (16.14.7), $sdf_annotate (32.9) and the optional names of Annex D to the catalog as unsupported, so a call of one is reported as unsupported by name instead of as an unknown name. Correct the catalog's clause numbers from 20.11 on to the 2023 numbering.
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Merge Queue Status
This pull request spent 1 hour 1 minute 23 seconds in the queue, including 46 minutes 12 seconds running CI. Required conditions to merge
|
38 of 66 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The system task and function catalog listed every name of IEEE 1800-2023 clauses 20 and 21, but not the names other clauses and Annex D define, so a call of one was reported as an unknown name. This adds them as unsupported, so the call is reported as unsupported by name:
$stacktrace(20.17.2), as a task or a function$global_clock(14.14)$inferred_clock,$inferred_disable(16.14.7)$sdf_annotate(32.9)$countdrivers,$getpattern,$input,$key,$nokey,$list,$log,$nolog,$reset,$reset_count,$reset_value,$save,$restart,$incsave,$scale,$scope,$showscopes,$showvars,$sreadmemb,$sreadmemhTiming checks (clause 31, such as
$setup) are left out: they are specify block syntax and never reach the catalog. VCD keywords ($var, ...) and scope names ($unit,$root) are not calls.It also corrects the catalog's clause comments from 20.11 on to the 2023 numbering, moves
$urandomand$urandom_rangeunder 18.13, and updates the English and Japanese guides.Testing
cargo test -p celox-sv-analyzer system_functionscargo test -p celox --features systemverilog --test systemverilog system_functions(597 passed), with new cases for$stacktraceand$countdriverscargo clippy -p celox-sv-analyzer --all-targets