Skip to content

Bump Surelog to a911eb38a: reject generate block name clashes - #1666

Merged
alaindargelas merged 1 commit into
chipsalliance:mainfrom
alaindargelas:bump-surelog-scope
Nov 25, 2026
Merged

alaindargelas merged 1 commit into
chipsalliance:mainfrom
alaindargelas:bump-surelog-scope

Conversation

@alaindargelas

Copy link
Copy Markdown
Collaborator

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

… 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
@alaindargelas
alaindargelas merged commit c2b83c7 into chipsalliance:main Nov 25, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant