Repository navigation
Bump Surelog to a911eb38a: reject generate block name clashes - #1666
Merged
alaindargelas merged 1 commit intoNov 25, 2026
Merged
Conversation
… declaration Surelog #4298 (with UHDM chipsalliance#1198) adds UH0744 (LRM 3.13, 27.6): a generate block's name may not repeat the name of a net, variable, parameter, task, function, instance or named block of its module, nor of another generate block. Checked on elaborated instances, so a label shared by the branches of one conditional generate (legal) never clashes. Measured: 3 more sv-tests should-fail tests rejected; no new rejection over the 4170 passing sv-tests. Test: test/err_scope_name_clash -- a generate block named like a reg, two loops with the same label, and a label repeated by a named initial block (3 errors), among a label shared by if / else branches and a multi-iteration loop that must stay silent. Claude-Session: https://claude.ai/code/session_01PL16FYo91sxZdkGvUZiDNm
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.
Surelog #4298 (with UHDM #1198) adds UH0744 (LRM 3.13, 27.6): a
generate block's name may not repeat the name of a net, variable,
parameter, task, function, instance or named block of its module, nor
of another generate block. Checked on elaborated instances, so a label
shared by the branches of one conditional generate (legal) never
clashes.
Measured: 3 more sv-tests should-fail tests rejected; no new rejection
over the 4170 passing sv-tests.
Test: test/err_scope_name_clash -- a generate block named like a reg,
two loops with the same label, and a label repeated by a named initial
block (3 errors), among a label shared by if / else branches and a
multi-iteration loop that must stay silent.
🤖 Generated with Claude Code
https://claude.ai/code/session_01PL16FYo91sxZdkGvUZiDNm