Skip to content

Lint rules

73 rules indexed

Every rule is in one of three severity classes. error is code that would very likely fail to compile, elaborate or synthesize; warning is code that compiles and very likely does not mean what it says; style is code that is correct and reads badly. The class is the word in the CLI diagnostic line (FILE:LINE:COL: warning: …), the severity field of --output-format json, and the colour of the editor’s squiggle — and it is accepted wherever a rule name is, so --ignore style and --select error both work.

Every error-class rule is held to one discipline: it goes silent whenever the run cannot answer — a file that did not fully parse, a module the project does not hold or holds twice, a name a macro produces, a fragment written to be `included. A wrong accusation in that class is worse than a hundred missed ones.

This page is hand-written prose. The generated truth is lucisv check --rules-doc, which prints every rule with its class, default, fix and rationale straight from the registry — and every option a rule takes, with its kind and default.

A configurable rule is configured in a [lint.<rule-name>] table of a lucisv.toml, or from an editor in the lucisv.lint.options object; the option names are Verible’s wherever it has the same option. An unknown rule or option name, a value of the wrong kind, an out-of-range integer or a pattern that does not compile fails a CLI run naming the file and the line. Rejected project entries are logged once with file and line and dropped by server linting; invalid editor options and unknown editor select/ignore names are also logged. Valid entries continue to apply.

[lint.line-length]
length = 120
[lint.typedef-structs-unions]
allow_anonymous_nested = true

A rule marked on (project) runs by default only where lucisv can see the other files of your project — lucisv check <dir>, or the language server. Over a single file or a stdin buffer it is off and must be --selected, because its one false-positive mode is a use in another file. Turn any rule off with --ignore, with ignore under [lint] in lucisv.toml, or with lucisv.lint.ignore in your editor.

Rule Severity Default Fix Purpose
always-comb style on unsafe Write always_comb, not always @*
banned-declared-name-patterns style off — Ban the names your project has decided against
constraint-name-style style on — Name constraints lower_snake_case ending _c
explicit-begin style off safe Wrap every body in begin ... end
forbid-consecutive-null-statements style on safe Drop a ; that follows a ;
generate-label style on — Label every generate block
generate-label-prefix style on — Prefix that label g_ or gen_
interface-name-style style on — Name interfaces lower_snake_case ending _if
line-length style on — Keep lines within the configured width
macro-name-style style on — Name macros ALL_CAPS
one-module-per-file style off — Declare one module per file
package-filename style on — Match one-package files to package names
parameter-type-name-style style off — Name type parameters lower_snake_case ending _t
port-name-suffix style off — Say a port’s direction in its name
posix-eof style on safe End the file with a newline
signal-name-style style off — Name signals lower_snake_case
typedef-enums style on — Name an enum type with a typedef
typedef-structs-unions style on — Name a struct/union type with a typedef
always-comb-blocking warning on — Use = inside always_comb
always-ff-non-blocking warning on — Use <= inside always_ff
case-missing-default warning on — Give every case a default branch
duplicate-declaration error on — Declare each name once per scope
empty-item style on safe Drop a ; that stands where an item belongs
enum-name-style style on — Name enum typedefs with _e or _t
explicit-function-task-parameter-type warning on — Type every function and task argument
explicit-parameter-storage-type style on — Declare parameter storage types
forbid-defparam warning on — Override at the instantiation, not with defparam
forbid-negative-array-dim warning on — Keep negative literals out of dimensions
incomplete-assignment warning on — Assign on every path of an always_comb
instance-shadowing warning on — Do not hide an enclosing declaration
invalid-system-task-function warning on — Avoid deprecated and non-reproducible system tasks
mismatched-labels error on — Make an end label name its own block
module-filename style on — Match one-module files to module names
module-name-style style off — Use lower_snake_case module names
module-parameter warning on — Override more than one parameter by name
module-port warning on — Connect more than one port by name
multiply-driven error on (project) — Give variables one driver
no-tabs style on safe Use spaces outside string literals
no-trailing-whitespace style on safe Remove end-of-line whitespace
packed-dimensions-range-ordering warning on — Write a packed dimension [N-1:0]
parameter-name-style style on — Use CamelCase or ALL_CAPS parameters
plusarg-assignment warning on — Read a plusarg with $value$plusargs
struct-union-name-style style on — Name aggregate typedefs with _t
suspicious-semicolon warning on — No if (x); or while (x);
truncated-numeric-literal warning on — Keep a sized literal inside its width
undeclared-identifier error on (project) — Use a name something declares
undersized-binary-literal warning on safe Write every bit of a sized binary literal
undriven-net warning on (project) — Drive signals that are read
unknown-parameter error on (project) — Override only parameters the module declares
unknown-port error on (project) — Connect only ports the module declares
unused-signal warning on (project) — Detect unreferenced internal signals
unused-waiver style on — Remove ineffective suppressions
void-cast warning on — Cast to void only what a call returns
wire-reg-mixup error on — Prefer logic to reg in SystemVerilog
create-object-name-match warning on — Name a type_id::create after its handle
dff-name-style style off — Name a flip-flop _q and its input _d
disable-statement warning off — Write disable fork, not a fork label
endif-comment style off safe Say what an `endif closes
explicit-function-lifetime style on — State a function’s lifetime outside a class
explicit-task-lifetime style on — State a task’s lifetime outside a class
forbid-line-continuations style on — Do not break a string with a backslash
forbidden-macro warning on — Ban the macros your project has decided against
legacy-generate-region style off — Drop the generate … endgenerate wrapper
legacy-genvar-declaration style off — Declare a genvar in the for header
macro-string-concatenation warning off — Do not put `` in a plain string
module-begin-block style on — No begin/end at module scope
numeric-format-string-style style off — Match a radix prefix to its specifier
positive-meaning-parameter-name style on — Name a parameter for what it enables
proper-parameter-declaration style off — parameter in a header, localparam in a body
suggest-parentheses style on safe Parenthesize a conditional inside a conditional
unpacked-dimensions-range-ordering style on — Write an unpacked dimension [0:N-1]
uvm-macro-semicolon warning off — No ; after a `uvm_* macro
v2001-generate-begin style on — No bare begin in a generate region

Reports non-blocking assignments inside always_comb. Scheduled updates can make later statements observe stale values in simulation. No automatic fix is offered because changing the operator can change behavior.

Reports blocking assignments inside always_ff. Immediate updates can create simulation/synthesis mismatches between registers assigned in one clocked block.

Reports case, casex, and casez statements without default, including unique and priority cases. The correct default action is a design decision.

Reports a lone ; where an item belongs — after endgenerate, after a generate block’s end, after endmodule, or anywhere else in a module, package, interface, program or class body. It is a legal null item (IEEE 1800-2017 A.1.4) that does nothing, almost always a semicolon carried over from a statement context; slang reports the same shape as -Wempty-member. Its safe fix deletes the ;, and the line with it when nothing else stood there; a comment on that line is kept.

Requires typedef enum names to match lower_snake_case ending in _e or _t. Anonymous enums and escaped identifiers are exempt.

Reports parameters without a declared storage type, preventing overrides from silently changing width or signedness. Continuation parameters inherit the opening declaration’s type.

Requires a file containing exactly one module or interface to share its name. Multi-unit files, files with no units, and unnamed stdin are exempt.

Requires lower_snake_case module names. It is opt-in because naming policy is project-specific; escaped identifiers are exempt.

Reports SystemVerilog variables written by multiple sources. Nets are intentionally excluded, as are partial writes, generated alternatives, preprocessor alternatives, initializers, initial blocks, and function/task bodies where the analysis cannot prove a conflict. It never consults the project census — nothing another file does can take an in-file driver away — but it shares the other two rules’ default: on wherever there is a project, off for a single file.

Reports tabs outside string literals. Its safe fix expands each tab using the active indentation width.

Reports whitespace immediately before a line ending. Its safe fix removes the run while leaving string data untouched.

Requires parameter and localparam names to use CamelCase or ALL_CAPS. Item, statement, module-header, and class-header declarations are covered.

Requires typedef struct and typedef union names to use lower_snake_case ending in _t. Anonymous aggregates and escaped identifiers are exempt.

Reports internal signals that are read but never driven. It stays silent for ports, instance/gate connections, task arguments, macros, directives, verbatim or unparsed regions, wildcard connections, and declarations with initializers to avoid false positives — and, over a project, for any name another file writes down, which may be driving it through a hierarchical assignment or a testbench force.

Reports internal nets or variables with no use. Ports, intentionally unused names, and names mentioned anywhere in raw tokens are excluded — and, over a project, any name another file writes down, since cross-file hierarchy can establish uses a single-file analysis cannot see. That is why the rule runs by default over a directory and stays off for one file.

Reports malformed, unknown, or ineffective waiver comments when their target rule is enabled. A waiver for a disabled rule is not judged.

Reports reg in .sv and .svh files and recommends logic. Verilog .v/.vh files and unnamed stdin are exempt; wire remains valid and is never flagged.

Reports a name a scope binds twice — two signals, two parameters, two typedefs, two instances. It is silent whenever the second declaration might be legal: a port on either side (a non-ANSI port is completed by its body declarations, all legally), a function, task, class, constraint, covergroup, property, sequence, modport or clocking name (each has a prototype-plus-definition or forward-declaration form), an enum name range (Gpr[0:2] declares a run of members under one written identifier), a generate scope, a pair separated by a conditional-compilation directive, the file scope, and any file that did not fully parse. Measured on opentitan: 18 findings before those exclusions, all of them phantoms from one 454-error UVM file, and 0 after.

Reports a task or function formal with no storage type, which the language makes a one-bit logic (IEEE 1800 §13.3). Only the argument that opens a declaration is judged — a continuation (f(input int a, b)) inherits — and a DPI import’s unnamed formal is not this rule’s subject. Verible’s explicit-function-task-parameter-type, same default.

Reports defparam, deprecated since IEEE 1800-2009 and rejected outright by several synthesis tools. The #(.NAME(value)) override at the instantiation says the same thing where the instance is. Verible’s forbid-defparam, same default.

Reports a written negative literal inside a dimension, packed or unpacked — the shape [WIDTH-1:0] collapses to when WIDTH comes out zero. Only a literal is judged; an expression that would evaluate negative needs parameter values lucisv does not have. Verible ships this off; lucisv turns it on, because a negative literal spelled out in a dimension has no legitimate reading.

Reports a variable an always_comb writes under an if with no else, or in some arms of a default-less case, and nowhere unconditionally before — a latch inferred where none was wanted. Conservative by construction: it reads only the top level of the block, treats a partial write and an every-arm if/else or case as coverage, and never reports a name the block declares for itself. No Verible equivalent. Measured on opentitan: 3 findings before those exclusions, all false, 0 after; 3 on lucisv’s corpus, all real latches in common_cells/src/deprecated.

Reports a declaration that hides one from an enclosing scope of the same design unit — the block-local count that quietly changes what every count in the block means. Only data and instances are judged (a subroutine argument named after a signal is idiomatic), and only within one unit. Verible ships this off; lucisv turns it on.

Reports $random, $srandom, the $dist_* family and $psprintf, and names the replacement. The random family all draw from one global generator, so a call added anywhere reshuffles every other stream and a failing seed stops reproducing; $psprintf is a vendor spelling of $sformatf. Verible’s invalid-system-task-function, same list, same default.

Reports an end label that does not name the block it closes, and an end : name on a block that has none — both compile errors (IEEE 1800 §9.3.4). Every construct that may carry a footer label is checked with one answer: module, interface, program, package, class, function, task, begin, fork/join, generate block, clocking block, covergroup, property and sequence. Verible ships this off; lucisv turns it on and files it as an error.

Reports more than one positional parameter override, which binds by order and silently changes what every instance elaborates to when a parameter is added or two are swapped. Verible’s module-parameter, same default.

Reports more than one positional port connection, for the same reason. A single-port instance has no order to get wrong and is left alone. Verible’s module-port, same default.

Reports a packed dimension that counts upwards ([0:7], [0:WIDTH-1]), where bit 0 is the most significant one and every concatenation with an ordinary [7:0] vector silently reverses. Unpacked arrays are not judged — an ascending array is normal — and two symbolic bounds lucisv cannot compare are left alone. Verible’s packed-dimensions-range-ordering, same default.

Reports $test$plusargs, which matches by prefix — +foobar makes $test$plusargs("foo") true — and asks for $value$plusargs, which matches the whole name and hands back the value. Verible’s plusarg-assignment, same default.

Reports if (x);, for (…);, while (…); and their relatives, where the ; is the whole body and whatever is indented under it runs unconditionally. A deliberately empty body is begin end and is not reported. Verible ships this off; lucisv turns it on, because the finding is a typo rather than a matter of taste.

Reports a sized literal whose digits need more bits than it declares (4'hFFF), which most simulators truncate silently. Leading zeros do not count, and a literal whose digits are all x/z (3'hz) is left alone — those spell an unknown of that width. Verible’s truncated-numeric-literal, same default.

Reports a name this file does not declare, that no external unit it names could supply, and that no other file in the project writes down at all. Every clause is an exclusion, and they are what make an error-class rule about names safe: no project behind the run means no opinion, and so do a name any macro, directive or attribute in the file writes down, a file that did not fully parse, and an `included fragment with no unit of its own. Measured on opentitan hw/ and on lucisv’s corpus: the same five findings, all real implicit nets in one ibex formal file. No Verible equivalent.

Reports a sized binary literal that writes fewer digits than its width (8'b1), and its safe fix writes the extension the language would have applied — 0 for a literal starting with 0 or 1, the unknown itself for one starting with x or z. A literal whose value is zero is exempt, matching Verible’s lint_zero default. Verible’s undersized-binary-literal, same bases, same defaults.

Reports a #(.NAME(…)) override naming a parameter the instantiated module does not declare — including a localparam, which is not overridable at all. It is silent whenever the project cannot answer: no project, an unindexed module, one declared twice with different headers, one whose header carries a compiler directive, a scope-qualified instantiation. Measured on opentitan: 4 findings, spot-checked true. No Verible equivalent.

Reports a .name(…) connection naming a port the instantiated module does not declare — the port rename that reached three of four instantiations. Same silences as unknown-parameter; .* names nothing and is not judged. Measured on opentitan: 40 findings, spot-checked true, all in pre-silicon testbenches out of step with their RTL. No Verible equivalent.

Reports void'(…) around something that is not a call, where there is no return value to discard — the missing call, or the cast left over from an edit. Verible’s void-cast forbids a named list of calls instead, so the two do not overlap; the named-call form is wave 2’s business. Only a cast standing as a statement is judged.

Reports always @* and always @(*), which SystemVerilog spells always_comb. The keyword is checked by the tool — a second driver of the block’s outputs becomes an error, and the inferred sensitivity list reaches into the functions the block calls. Verible enables its rule of the same name by default. The fix is offered but unsafe: always_comb runs once at time zero and always @* does not, so a testbench that samples before the first change can see a different value.

Reports a declared name matching one of the patterns in the patterns option, which is empty by default — the rule is a place for a project to point at its own list (a deprecated prefix, a vendor’s namespace, the tmp a review keeps catching). Every declared name is judged: modules, packages, types, parameters, signals, ports, instances, labels. A pattern must match the whole name.

Reports a constraint whose name does not match ([a-z0-9]+_)+c (the pattern option) — the shape Verible enables by default. A constraint’s name is what a test turns off with constraint_mode(0), so it is read far from its declaration.

Reports a body that is a single statement rather than a begin ... end block, for eleven constructs each with its own *_enable option (if_enable, else_enable, always_ff_enable, …), all on when the rule is. Off by default here as in Verible: the style is far from universal, and a codebase that did not start with it cannot adopt it one line at a time. An else if chain is never reported. The safe fix wraps the body; run the formatter afterwards to lay it out.

Reports a null statement whose preceding token is a ; — the ;; an edit leaves behind, and the statement twin of empty-item. The empty header of for (;;) is not a statement and is never reported. The safe fix deletes the extra ;.

Reports a generate begin with no : label. An unlabelled block still gets a name (genblk3), and that invented name is what appears in every hierarchical path — and it renumbers the moment a block is added above it. Silent in a file that does not fully parse: error recovery can rebind a procedural begin as a generate one, which on opentitan accounted for 177 of 180 findings before the guard was added.

Reports a generate label that starts with none of the prefix option’s entries, g_ and gen_ by default. The prefix is what makes the generate levels of a hierarchical path visible. An empty list accepts every label while generate-label still requires there to be one.

Reports an interface whose name does not match [a-z_0-9]+(_if) (the style_regex option) — Verible’s default pattern. Nothing in the syntax says an identifier is an interface rather than a module or a class; the suffix does.

Reports a line wider than the limit — by default the width the formatter is configured with for that file, so the two halves of lucisv cannot disagree; the length option overrides it. The check is token-aware, as Verible’s is: a line holding one unbreakable token (a long string, an `include path, a macro invocation) is left alone, because no wrapping could shorten it. There is no fix — where to break a line is what the formatter is for.

Reports a `define whose name does not match [A-Z_0-9]+ (the style_regex option). A macro obeys no scope and can rewrite the code around its use, which is why every language that has them marks them by case. Only the definition is judged, never the uses.

Reports every module after the first in a file. Off by default, as in Verible: plenty of real RTL keeps small helper modules beside the one the file is named for. An interface, a program and a package are not modules. Silent in a file that does not fully parse, where recovery can promote a nested declaration to file scope.

Reports a one-package file whose name matches neither the package (foo.sv) nor the package with a _pkg suffix (foo_pkg.sv), the two spellings the industry writes. The allow-dash-for-underscore option accepts foo-pkg.sv as well. Silent for stdin and for a file that does not fully parse; renaming a file is not the linter’s business, so there is no fix.

Reports a type parameter whose name does not match [a-z][a-z_0-9]*_t (the style_regex option). A type parameter is a type, and naming it T makes a declaration read like an expression. Off by default here as in Verible: #(type T = int) is near-universal in UVM code.

Reports a port whose name does not end in the suffix for its direction — _i/_ni for an input, _o/_no for an output, _io/_nio for an inout, where the n marks active-low. The suffixes option is the accepted list; one of the six known suffixes is accepted only for its own direction, and anything else a project adds is accepted for any. Off by default: a codebase cannot adopt the convention one port at a time.

Reports a file whose last line has no newline — formally, a file with no last line: wc -l counts short, and the next edit’s diff shows the final line twice. The safe fix appends the newline. An empty file is left alone.

Reports a net, variable or port inside a module, interface or program whose name does not match [a-z_0-9]+ (the style_regex option). Off by default here as in Verible: switching it on for an existing codebase reports thousands of findings on the first run, which is a project’s decision. Class properties, parameters and subroutine locals are other rules’ business, or nobody’s.

Reports a declaration whose type is an anonymous enum. The language gives no way to name such a type afterwards: a function cannot take it, a port cannot carry it, and two variables declared with the same member list are different types to the compiler.

Reports a declaration whose type is an anonymous struct or union, for the reasons typedef-enums gives. The allow_anonymous_nested option (true by default here — Verible defaults it to false) exempts an aggregate written inside another aggregate’s body — which is what auto-generated register packages are made of: on opentitan hw/, all 3 159 findings are nested structs inside a typedef in 57 reggen-generated files, and opentitan’s own Verible config disables the rule with the comment “we allow nested struct definitions”. One option, or one ignore, expresses the same choice here.

Reports a <type>::type_id::create("name", …) whose string does not match the handle it is assigned to. That string is the object’s UVM instance name, so every uvm_config_db path, factory override and +uvm_set_config plusarg written against the handle silently misses the object — and nothing fails, it just does not take. Only a plain variable target and a string-literal first argument are judged. Verible’s create-object-name-match, same default.

Reports a nonblocking assignment in an always_ff whose target does not end in a registered-output suffix (_q, _r, _ff, _reg), one whose _d/_n/_next source does not share its base, and a name ending in one of those suffixes that is driven combinationally instead. Verible’s dff-name-style, same default (off) and the same four options — input, output, waive_ifs_with_conditions and waive_lhs_regex, whose default is Verible’s (?i)mem.* rewritten as [mM][eE][mM].* because lucisv’s pattern engine has no inline flags.

Reports disable <label> where the label is not a sequential block’s. Naming a fork block reads as though it kills the forked processes and does something else entirely; disable fork is the spelling that works. Wider than Verible: a task or function declared in the same file is also a legal target here, because disable task_name is ordinary and reporting it would be a false positive. Verible’s disable-statement, same default (off).

Reports an `endif with no comment beside it naming the condition it closes, and offers a safe fix that appends // <name>. A bare `endif two hundred lines below its `ifdef says nothing about which condition just ended. A comment that names something else is reported without a fix — rewriting somebody’s words is not a repair. Verible’s endif-comment, same default (off).

Reports a function declared outside a class with no automatic or static. Such a function is static, its locals are shared by every call, and nothing in the source says the author knew. A prototype declares no locals and is exempt; so is an out-of-body definition (function cls::f(…)), which is wider than Verible — lexically it sits outside the class, but it is a class method, and on opentitan hw/ that one exemption removed 948 of 960 findings. Verible’s explicit-function-lifetime, same default.

The same rule for tasks, and the case is stronger: a task can block, so a static one is routinely called from two processes at once with one set of locals between them. Verible’s explicit-task-lifetime, same default.

Reports a string literal broken across lines with a trailing \. Such a string keeps every character of the next line, its indentation included, so re-indenting the file changes the string’s value. A multi-line `define is not judged — that is the only spelling the language gives. Verible’s forbid-line-continuations, same default.

Reports an invocation of a macro on the macros list, which defaults to Verible’s own single entry, `uvm_warning — a message nothing acts on, where the choice belongs at the point of failure (`uvm_error or `uvm_info). Verible hard-codes its list; here it is an option, so a project bans its own names instead of asking for a rule. Verible’s forbidden-macro, same default.

Reports a generate … endgenerate region, which SystemVerilog does not need: an if, for or case generate is a module item like any other. Off by default in both, because a codebase that must still compile as Verilog-2001 needs the wrapper. Verible’s legacy-generate-region, same default.

Reports a genvar declared outside a for header, where it outlives the loop that used it and two loops appear to share a variable. Off by default in both, for the same Verilog-2001 reason. Verible’s legacy-genvar-declaration, same default.

Reports the token-concatenation operator written inside a *plain* string literal in a define `` body, where the preprocessor does not expand it and the two backticks reach the output. The `` “…" `` spelling — which the rule skips — is the one that works. Verible's macro-string-concatenation`, same default (off).

Reports a begin … end written straight into a module body, where a module item belongs. Tools that accept it treat it as an unnamed generate block, so the declarations inside land in an invented scope and every hierarchical path written against them is wrong. lucisv’s parser recovers the construct in error-tolerant mode — it reads the block as that unnamed generate block and records a diagnostic at the begin, so the file is still reported as not parsing cleanly and is still never formatted, while the items inside the block and after it stay visible to every rule. Verible’s module-begin-block, same default.

Reports a 0x/'b-style radix prefix immediately before a % specifier that prints a different base ("0x%0b"), and any such prefix before a decimal one ("0d%0d"). A specifier with no prefix is always accepted. A log line that prints addr = 0x1010 for a binary value costs the reader an hour. Verible’s numeric-format-string-style, same default (off).

Reports a parameter whose name starts with disable, in any case. if (!DisableEcc) is a double negative and DisableEcc = 0 means “ECC is on”, which nobody reads correctly at speed. Verible’s positive-meaning-parameter-name, same default.

Reports a parameter written in a module, class or package body rather than in a formal parameter list, and a localparam written where the project’s options do not allow it. A body parameter is still overridable from outside with nothing at the declaration to say so. A formal parameter list is never judged. Verible’s proper-parameter-declaration, same default (off) and the same two options, package_allow_parameter (false) and package_allow_localparam (true).

Reports a conditional expression standing unparenthesized in the true-clause of another (a ? b ? c : d : e) and offers a safe fix that adds the two characters. The language already reads it that way; the reader has to count colons to find out. A conditional in the false-clause is where the language puts it and is not reported. Verible’s suggest-parentheses, same shape and same default.

Reports an unpacked dimension that counts downwards ([7:0], [DEPTH-1:0]), where element 0 is the last one and every for (i = 0; …) beside it reads the array backwards. The mirror image of packed-dimensions-range-ordering, which wants a vector’s width the other way. A sized, dynamic or associative extent is not a range and is left alone; two symbolic bounds lucisv cannot compare are too. Verible’s unpacked-dimensions-range-ordering, same default.

Reports a ; written after a `uvm_* macro invocation. The macros expand to a begin … end, so the ; is a null statement — usually inert, and not after if (x) uvm_info(…); else …, where the elsethen belongs to nothing. Off by default in both, because the semicolon is written everywhere in existing UVM code. No fix: deleting it is exactly the edit that is unsafe in the shape the rule exists for. Verible'suvm-macro-semicolon`, same default.

Reports a bare begin … end written directly inside a generate … endgenerate with no if, for or case around it. It opens an unnamed generate block — an invented path segment that renumbers when a block is added above it — and buys nothing, because the region is already a scope. Read from the same recovered block module-begin-block reads, one scope in. Verible’s v2001-generate-begin, same default.