Files
lucisv/docs/site/dist/reference/rules/index.html
T
lucioandClaude Fable 5.1 d4ec571958 MCP M5: lucisv-mcp ships in every platform vsix; the extension registers it with VS Code's agent mode; Agents guide
tools/release.sh builds -p lucisv_mcp for the host and every cross triple, stages lucisv-mcp[.exe] beside the two binaries (three per platform package, fifteen in the all-platforms one; the universal package still carries none), smoke-tests it (editors/vscode/mcp_smoke.js: initialize, tools/list ≥ 26, project_overview) loose and unzipped from the host and all-platforms packages; tools/audit_artifacts.sh audits the third name and rejects any other; prune_release_assets.sh unchanged (seven vsix names). editors/vscode/mcp.js: the three-rung binary ladder (lucisv.mcp.path → bundled → PATH), one McpStdioServerDefinition per workspace folder — the constructor is POSITIONAL (label, command, args, env, version) with cwd set afterwards; the plan's object form was wrong and is corrected — with `--root <folder> --index-cache <storage>`, refreshed on folder and setting changes, guarded so VS Code < 1.101 registers nothing but the command; a missing binary refused at resolve time with one output-channel line; the `lucisv.mcp.copyConfig` command puts the Claude Code / Cursor / VS Code snippet on the clipboard. package.json: contributes.mcpServerDefinitionProviders, lucisv.mcp.enabled/path, the command; engine stays ^1.82.0 (vsce 4 accepts). ci.yml runs node --test over the extension's unit tests. Docs: docs/site guides/agents.md with the tool table generated from the binary (site rebuilt), README paragraph, RELEASING.md, extension README/CHANGELOG (Unreleased), manual-acceptance rows 18–25 for the live-VS Code checks.

QA (Opus): API signature confirmed against VS Code 1.138's vscode.d.ts; 8 mutation checks caught by mcp_test.js; release.sh run end to end, vsix contents listed (three binaries, mcp.js, no test files), SHA256SUMS verified, the embedded binary smoke-tested, the vsix installed into an isolated profile. Gates: node --test 6/6, fmt clean.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-23 15:59:07 -07:00

760 lines
173 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html><html lang="en" dir="ltr" data-theme="dark" data-has-toc data-has-sidebar class="astro-vdxcvpsm"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Lint rules | lucisv</title><link rel="canonical" href="https://lucisv.dev/reference/rules/"/><link rel="sitemap" href="/sitemap-index.xml"/><script type="application/ld+json">{"@context":"https://schema.org","@type":"SoftwareApplication","name":"lucisv","applicationCategory":"DeveloperApplication","operatingSystem":"macOS, Linux, Windows","license":"https://opensource.org/licenses/MIT","description":"A fast Verilog and SystemVerilog formatter, linter, and language server written in Rust.","codeRepository":"https://git.luci.ooo/lucio/verilogrustformatter"}</script><link rel="shortcut icon" href="/favicon.png" type="image/png"/><meta name="generator" content="Astro v7.2.8"/><meta name="generator" content="Starlight v0.41.9"/><meta property="og:title" content="Lint rules"/><meta property="og:type" content="article"/><meta property="og:url" content="https://lucisv.dev/reference/rules/"/><meta property="og:locale" content="en"/><meta property="og:description" content="Complete reference for every lucisv lint rule, its severity, default, fix, and rationale."/><meta name="description" content="Complete reference for every lucisv lint rule, its severity, default, fix, and rationale."/><meta name="theme-color" content="#07111f"/><meta property="og:site_name" content="lucisv documentation"/><meta property="og:image" content="https://lucisv.dev/og.png"/><meta property="og:image:width" content="1200"/><meta property="og:image:height" content="630"/><meta property="og:image:alt" content="lucisv — Verilog tooling that stays out of your way."/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:image" content="https://lucisv.dev/og.png"/><script>
window.StarlightThemeProvider = (() => {
const storedTheme =
typeof localStorage !== 'undefined' && localStorage.getItem('starlight-theme');
const theme =
storedTheme ||
(window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark');
document.documentElement.dataset.theme = theme === 'light' ? 'light' : 'dark';
return {
updatePickers(theme = storedTheme || 'auto') {
document.querySelectorAll('starlight-theme-select').forEach((picker) => {
const select = picker.querySelector('select');
if (select) select.value = theme;
/** @type {HTMLTemplateElement | null} */
const tmpl = document.querySelector(`#theme-icons`);
const newIcon = tmpl && tmpl.content.querySelector('.' + theme);
if (newIcon) {
const oldIcon = picker.querySelector('svg.label-icon');
if (oldIcon) {
oldIcon.replaceChildren(...newIcon.cloneNode(true).childNodes);
}
}
});
},
};
})();
</script><template id="theme-icons"><svg aria-hidden="true" class="light astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Zm.64 5-.71.71a1 1 0 0 0 0 1.41 1 1 0 0 0 1.41 0l.71-.71A1 1 0 0 0 5.64 17ZM12 5a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1Zm5.66 2.34a1 1 0 0 0 .7-.29l.71-.71a1 1 0 1 0-1.41-1.41l-.66.71a1 1 0 0 0 0 1.41 1 1 0 0 0 .66.29Zm-12-.29a1 1 0 0 0 1.41 0 1 1 0 0 0 0-1.41l-.71-.71a1.004 1.004 0 1 0-1.43 1.41l.73.71ZM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2Zm-2.64 6A1 1 0 0 0 17 18.36l.71.71a1 1 0 0 0 1.41 0 1 1 0 0 0 0-1.41l-.76-.66ZM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5Zm0 9a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7Zm0 3.5a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1Z"/></svg><svg aria-hidden="true" class="dark astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21.64 13a1 1 0 0 0-1.05-.14 8.049 8.049 0 0 1-3.37.73 8.15 8.15 0 0 1-8.14-8.1 8.59 8.59 0 0 1 .25-2A1 1 0 0 0 8 2.36a10.14 10.14 0 1 0 14 11.69 1 1 0 0 0-.36-1.05Zm-9.5 6.69A8.14 8.14 0 0 1 7.08 5.22v.27a10.15 10.15 0 0 0 10.14 10.14 9.784 9.784 0 0 0 2.1-.22 8.11 8.11 0 0 1-7.18 4.32v-.04Z"/></svg><svg aria-hidden="true" class="auto astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21 14h-1V7a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v7H3a1 1 0 0 0-1 1v2a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-2a1 1 0 0 0-1-1ZM6 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7H6V7Zm14 10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg></template><link rel="stylesheet" href="/_astro/print.ehPL0gv-.css" media="print"><link rel="stylesheet" href="/_astro/common.DmBfrBWd.css"><script type="module" src="/_astro/page.Dwipeu-R.js"></script></head><body class="astro-vdxcvpsm"><a class="sl-skip-link astro-vxeigawq" href="#_top">Skip to content</a><div class="page sl-flex astro-gqpr5s5a"><header class="header astro-gqpr5s5a"><div class="header astro-nczgtkxc"><div class="title-wrapper sl-flex astro-nczgtkxc"><a href="/" class="site-title sl-flex astro-clw6ags5"><span class="astro-clw6ags5" translate="no">lucisv</span></a></div><div class="sl-flex print:hidden astro-nczgtkxc"><site-search class="astro-nczgtkxc astro-r5ar4xm7" data-translations="{&quot;placeholder&quot;:&quot;Search&quot;}"><button data-open-modal disabled aria-label="Search" aria-keyshortcuts="Control+K" class="astro-r5ar4xm7"><svg aria-hidden="true" class="astro-r5ar4xm7 astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21.71 20.29 18 16.61A9 9 0 1 0 16.61 18l3.68 3.68a.999.999 0 0 0 1.42 0 1 1 0 0 0 0-1.39ZM11 18a7 7 0 1 1 0-14 7 7 0 0 1 0 14Z"/></svg><span class="sl-hidden md:sl-block astro-r5ar4xm7" aria-hidden="true">Search</span><kbd class="sl-hidden md:sl-flex astro-r5ar4xm7" style="display: none;"><kbd class="astro-r5ar4xm7">Ctrl</kbd><kbd class="astro-r5ar4xm7">K</kbd></kbd></button><dialog style="padding:0" aria-label="Search" class="astro-r5ar4xm7"><div class="dialog-frame sl-flex astro-r5ar4xm7"><button data-close-modal class="sl-flex md:sl-hidden astro-r5ar4xm7">Cancel</button><div class="search-container astro-r5ar4xm7"><div id="starlight__search" class="astro-r5ar4xm7"></div></div></div></dialog></site-search><script>
(() => {
const openBtn = document.querySelector('button[data-open-modal]');
const shortcut = openBtn?.querySelector('kbd');
if (!openBtn || !(shortcut instanceof HTMLElement)) return;
const platformKey = shortcut.querySelector('kbd');
if (platformKey && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)) {
platformKey.textContent = '⌘';
openBtn.setAttribute('aria-keyshortcuts', 'Meta+K');
}
shortcut.style.display = '';
})();
</script><script type="module" src="/_astro/Search.astro_astro_type_script_index_0_lang.B-Vh4ymV.js"></script></div><div class="sl-hidden md:sl-flex print:hidden right-group astro-nczgtkxc"><div class="sl-flex social-icons astro-nczgtkxc"><a href="https://git.luci.ooo/lucio/verilogrustformatter" rel="me" class="sl-flex astro-cg55etiy"><span class="sr-only astro-cg55etiy">Source repository</span><svg aria-hidden="true" class="astro-cg55etiy astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M12 .3a12 12 0 0 0-3.8 23.38c.6.12.83-.26.83-.57L9 21.07c-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.08-.74.09-.73.09-.73 1.2.09 1.83 1.24 1.83 1.24 1.08 1.83 2.81 1.3 3.5 1 .1-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.14-.3-.54-1.52.1-3.18 0 0 1-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.28-1.55 3.29-1.23 3.29-1.23.64 1.66.24 2.88.12 3.18a4.65 4.65 0 0 1 1.23 3.22c0 4.61-2.8 5.63-5.48 5.92.42.36.81 1.1.81 2.22l-.01 3.29c0 .31.2.69.82.57A12 12 0 0 0 12 .3Z"/></svg></a></div><starlight-theme-select><label style="--sl-select-width: 6.25em" class="astro-r2p65idu"><span class="sr-only astro-r2p65idu">Select theme</span><svg aria-hidden="true" class="icon label-icon astro-r2p65idu astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21 14h-1V7a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v7H3a1 1 0 0 0-1 1v2a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-2a1 1 0 0 0-1-1ZM6 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7H6V7Zm14 10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg><select autocomplete="off" class="astro-r2p65idu"><option value="dark" class="astro-r2p65idu">Dark</option><option value="light" class="astro-r2p65idu">Light</option><option value="auto" selected class="astro-r2p65idu">Auto</option></select><svg aria-hidden="true" class="icon caret astro-r2p65idu astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M17 9.17a1 1 0 0 0-1.41 0L12 12.71 8.46 9.17a1 1 0 1 0-1.41 1.42l4.24 4.24a1.002 1.002 0 0 0 1.42 0L17 10.59a1.002 1.002 0 0 0 0-1.42Z"/></svg></label></starlight-theme-select><script>
StarlightThemeProvider.updatePickers();
</script><script type="module">var e=`starlight-theme`,t=e=>e===`auto`||e===`dark`||e===`light`?e:`auto`,n=()=>t(typeof localStorage<`u`&&localStorage.getItem(e));function r(t){typeof localStorage<`u`&&localStorage.setItem(e,t===`light`||t===`dark`?t:``)}var i=()=>matchMedia(`(prefers-color-scheme: light)`).matches?`light`:`dark`;function a(e){StarlightThemeProvider.updatePickers(e),document.documentElement.dataset.theme=e===`auto`?i():e,r(e)}matchMedia(`(prefers-color-scheme: light)`).addEventListener(`change`,()=>{n()===`auto`&&a(`auto`)});var o=class extends HTMLElement{constructor(){super(),a(n()),this.querySelector(`select`)?.addEventListener(`change`,e=>{e.currentTarget instanceof HTMLSelectElement&&a(t(e.currentTarget.value))})}};customElements.define(`starlight-theme-select`,o);</script><script type="module">var e=class extends HTMLElement{constructor(){super();let e=this.querySelector(`select`);e&&(e.addEventListener(`change`,e=>{e.currentTarget instanceof HTMLSelectElement&&(window.location.pathname=e.currentTarget.value)}),window.addEventListener(`pageshow`,t=>{if(!t.persisted)return;let n=e.querySelector(`option[selected]`)?.index;n!==e.selectedIndex&&(e.selectedIndex=n??0)}))}};customElements.define(`starlight-lang-select`,e);</script></div></div></header><nav class="sidebar print:hidden astro-gqpr5s5a" aria-label="Main"><starlight-menu-button class="print:hidden astro-vvx7mffu"><button aria-expanded="false" aria-label="Menu" aria-controls="starlight__sidebar" class="sl-flex md:sl-hidden astro-vvx7mffu"><svg aria-hidden="true" class="open-menu astro-vvx7mffu astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M3 8h18a1 1 0 1 0 0-2H3a1 1 0 0 0 0 2Zm18 8H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2Zm0-5H3a1 1 0 0 0 0 2h18a1 1 0 0 0 0-2Z"/></svg><svg aria-hidden="true" class="close-menu astro-vvx7mffu astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="m13.41 12 6.3-6.29a1.004 1.004 0 1 0-1.42-1.42L12 10.59l-6.29-6.3a1.004 1.004 0 0 0-1.42 1.42l6.3 6.29-6.3 6.29a1 1 0 0 0 0 1.42.998.998 0 0 0 1.42 0l6.29-6.3 6.29 6.3a.999.999 0 0 0 1.42 0 1 1 0 0 0 0-1.42L13.41 12Z"/></svg></button></starlight-menu-button><script type="module">var e=class extends HTMLElement{btn=this.querySelector(`button`);constructor(){super(),this.btn.addEventListener(`click`,()=>this.toggleExpanded());let e=this.closest(`nav`);e&&e.addEventListener(`keyup`,e=>this.closeOnEscape(e)),matchMedia(`(min-width: 50em)`).addEventListener(`change`,()=>this.setExpanded(!1))}setExpanded(e){this.setAttribute(`aria-expanded`,String(e)),document.body.toggleAttribute(`data-mobile-menu-expanded`,e),document.querySelectorAll(`.main-frame, .sl-skip-link`).forEach(t=>{t.toggleAttribute(`inert`,e)})}toggleExpanded(){this.setExpanded(this.getAttribute(`aria-expanded`)!==`true`)}closeOnEscape(e){e.code===`Escape`&&(this.setExpanded(!1),this.btn.focus())}};customElements.define(`starlight-menu-button`,e);</script><div id="starlight__sidebar" class="sidebar-pane astro-gqpr5s5a"><div class="sidebar-content sl-flex astro-gqpr5s5a"><sl-sidebar-state-persist data-hash="0nvgbbg" class="astro-f5yvicm7"><script aria-hidden="true">
(() => {
try {
if (!matchMedia('(min-width: 50em)').matches) return;
/** @type {HTMLElement | null} */
const target = document.querySelector('sl-sidebar-state-persist');
const state = JSON.parse(sessionStorage.getItem('sl-sidebar-state') || '0');
if (!target || !state || target.dataset.hash !== state.hash) return;
window._starlightScrollRestore = state.scroll;
customElements.define(
'sl-sidebar-restore',
class SidebarRestore extends HTMLElement {
connectedCallback() {
try {
const idx = parseInt(this.dataset.index || '');
const details = this.closest('details');
if (details && typeof state.open[idx] === 'boolean') details.open = state.open[idx];
} catch {}
}
}
);
} catch {}
})();
</script><ul class="top-level astro-ojxuodky"><li class="astro-ojxuodky"><details open class="astro-ojxuodky"><summary class="astro-ojxuodky"><span class="group-label astro-ojxuodky"><span class="large astro-ojxuodky">Start here</span></span><svg aria-hidden="true" class="caret astro-ojxuodky astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg></summary><sl-sidebar-restore data-index="0"></sl-sidebar-restore><ul class="astro-ojxuodky"><li class="astro-ojxuodky"><a href="/" class="astro-ojxuodky"><span class="astro-ojxuodky">Overview</span></a></li><li class="astro-ojxuodky"><a href="/start/quick-start/" class="astro-ojxuodky"><span class="astro-ojxuodky">Quick start</span></a></li><li class="astro-ojxuodky"><a href="/start/configuration/" class="astro-ojxuodky"><span class="astro-ojxuodky">Configuration</span></a></li></ul></details></li><li class="astro-ojxuodky"><details open class="astro-ojxuodky"><summary class="astro-ojxuodky"><span class="group-label astro-ojxuodky"><span class="large astro-ojxuodky">Use lucisv</span></span><svg aria-hidden="true" class="caret astro-ojxuodky astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg></summary><sl-sidebar-restore data-index="1"></sl-sidebar-restore><ul class="astro-ojxuodky"><li class="astro-ojxuodky"><a href="/guides/formatter/" class="astro-ojxuodky"><span class="astro-ojxuodky">Formatter</span></a></li><li class="astro-ojxuodky"><a href="/guides/linter/" class="astro-ojxuodky"><span class="astro-ojxuodky">Linter</span></a></li><li class="astro-ojxuodky"><a href="/guides/editors/" class="astro-ojxuodky"><span class="astro-ojxuodky">Editors &amp; LSP</span></a></li><li class="astro-ojxuodky"><a href="/guides/agents/" class="astro-ojxuodky"><span class="astro-ojxuodky">Agents (MCP)</span></a></li><li class="astro-ojxuodky"><a href="/guides/syntax/" class="astro-ojxuodky"><span class="astro-ojxuodky">Supported syntax</span></a></li></ul></details></li><li class="astro-ojxuodky"><details open class="astro-ojxuodky"><summary class="astro-ojxuodky"><span class="group-label astro-ojxuodky"><span class="large astro-ojxuodky">Reference</span></span><svg aria-hidden="true" class="caret astro-ojxuodky astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.25rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg></summary><sl-sidebar-restore data-index="2"></sl-sidebar-restore><ul class="astro-ojxuodky"><li class="astro-ojxuodky"><a href="/reference/cli/" class="astro-ojxuodky"><span class="astro-ojxuodky">CLI</span></a></li><li class="astro-ojxuodky"><a href="/reference/rules/" aria-current="page" class="astro-ojxuodky"><span class="astro-ojxuodky">Lint rules</span></a></li><li class="astro-ojxuodky"><a href="/reference/language-tools/" class="astro-ojxuodky"><span class="astro-ojxuodky">Language tools</span></a></li><li class="astro-ojxuodky"><a href="/reference/rust-api/" class="astro-ojxuodky"><span class="astro-ojxuodky">Rust API index</span></a></li><li class="astro-ojxuodky"><a href="/reference/architecture/" class="astro-ojxuodky"><span class="astro-ojxuodky">Architecture</span></a></li></ul></details></li></ul><script aria-hidden="true">
(() => {
const scroller = document.getElementById('starlight__sidebar');
if (!window._starlightScrollRestore || !scroller) return;
scroller.scrollTop = window._starlightScrollRestore;
delete window._starlightScrollRestore;
})();
</script></sl-sidebar-state-persist><div class="md:sl-hidden"><div class="mobile-preferences sl-flex astro-b5gddk54"><div class="social-icons astro-b5gddk54"><a href="https://git.luci.ooo/lucio/verilogrustformatter" rel="me" class="sl-flex astro-cg55etiy"><span class="sr-only astro-cg55etiy">Source repository</span><svg aria-hidden="true" class="astro-cg55etiy astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M12 .3a12 12 0 0 0-3.8 23.38c.6.12.83-.26.83-.57L9 21.07c-3.34.72-4.04-1.61-4.04-1.61-.55-1.39-1.34-1.76-1.34-1.76-1.08-.74.09-.73.09-.73 1.2.09 1.83 1.24 1.83 1.24 1.08 1.83 2.81 1.3 3.5 1 .1-.78.42-1.31.76-1.61-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.14-.3-.54-1.52.1-3.18 0 0 1-.32 3.3 1.23a11.5 11.5 0 0 1 6 0c2.28-1.55 3.29-1.23 3.29-1.23.64 1.66.24 2.88.12 3.18a4.65 4.65 0 0 1 1.23 3.22c0 4.61-2.8 5.63-5.48 5.92.42.36.81 1.1.81 2.22l-.01 3.29c0 .31.2.69.82.57A12 12 0 0 0 12 .3Z"/></svg></a></div><starlight-theme-select><label style="--sl-select-width: 6.25em" class="astro-r2p65idu"><span class="sr-only astro-r2p65idu">Select theme</span><svg aria-hidden="true" class="icon label-icon astro-r2p65idu astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M21 14h-1V7a3 3 0 0 0-3-3H7a3 3 0 0 0-3 3v7H3a1 1 0 0 0-1 1v2a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3v-2a1 1 0 0 0-1-1ZM6 7a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v7H6V7Zm14 10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1h16v1Z"/></svg><select autocomplete="off" class="astro-r2p65idu"><option value="dark" class="astro-r2p65idu">Dark</option><option value="light" class="astro-r2p65idu">Light</option><option value="auto" selected class="astro-r2p65idu">Auto</option></select><svg aria-hidden="true" class="icon caret astro-r2p65idu astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1em;"><path d="M17 9.17a1 1 0 0 0-1.41 0L12 12.71 8.46 9.17a1 1 0 1 0-1.41 1.42l4.24 4.24a1.002 1.002 0 0 0 1.42 0L17 10.59a1.002 1.002 0 0 0 0-1.42Z"/></svg></label></starlight-theme-select><script>
StarlightThemeProvider.updatePickers();
</script></div></div></div></div></nav><div class="main-frame astro-gqpr5s5a"><script type="module">var e=document.getElementById(`starlight__sidebar`),t=e?.querySelector(`sl-sidebar-state-persist`),n=`sl-sidebar-state`,r=()=>{let r=[],i=t?.dataset.hash||``;try{let e=sessionStorage.getItem(n),t=JSON.parse(e||`{}`);Array.isArray(t.open)&&t.hash===i&&(r=t.open)}catch{}return{hash:i,open:r,scroll:e?.scrollTop||0}},i=e=>{try{sessionStorage.setItem(n,JSON.stringify(e))}catch{}},a=()=>i(r()),o=(e,t)=>{let n=r();n.open[t]=e,i(n)};t?.addEventListener(`click`,e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`summary`)?.closest(`details`);if(!t)return;let n=t.querySelector(`sl-sidebar-restore`),r=parseInt(n?.dataset.index||``);isNaN(r)||o(!t.open,r)}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&a()});</script><div class="lg:sl-flex astro-abfeecmu"><aside class="right-sidebar-container print:hidden astro-abfeecmu"><div class="right-sidebar astro-abfeecmu"><div class="lg:sl-hidden astro-q5mffni3"><mobile-starlight-toc data-min-h="2" data-max-h="3" class="astro-5ulgm6bh"><nav aria-labelledby="starlight__on-this-page--mobile" class="astro-5ulgm6bh"><details id="starlight__mobile-toc" class="astro-5ulgm6bh"><summary id="starlight__on-this-page--mobile" class="sl-flex astro-5ulgm6bh"><span class="toggle sl-flex astro-5ulgm6bh">On this page<svg aria-hidden="true" class="caret astro-5ulgm6bh astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1rem;"><path d="m14.83 11.29-4.24-4.24a1 1 0 1 0-1.42 1.41L12.71 12l-3.54 3.54a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.24-4.24a1.002 1.002 0 0 0 0-1.42Z"/></svg></span><span class="display-current astro-5ulgm6bh"></span></summary><div class="dropdown astro-5ulgm6bh"><ul class="isMobile astro-cxyftcne" style="--depth: 0;"><li style="--depth: 0;" class="astro-cxyftcne"><a href="#_top" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">Overview</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#always-comb-blocking" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">always-comb-blocking</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#always-ff-non-blocking" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">always-ff-non-blocking</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#case-missing-default" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">case-missing-default</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#empty-item" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">empty-item</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#enum-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">enum-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-parameter-storage-type" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-parameter-storage-type</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-filename" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-filename</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#multiply-driven" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">multiply-driven</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#no-tabs" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">no-tabs</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#no-trailing-whitespace" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">no-trailing-whitespace</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#parameter-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">parameter-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#struct-union-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">struct-union-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#undriven-net" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">undriven-net</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unused-signal" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unused-signal</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unused-waiver" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unused-waiver</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unused-import" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unused-import</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#wire-reg-mixup" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">wire-reg-mixup</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#duplicate-declaration" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">duplicate-declaration</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-function-task-parameter-type" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-function-task-parameter-type</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-defparam" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-defparam</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-negative-array-dim" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-negative-array-dim</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#incomplete-assignment" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">incomplete-assignment</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#instance-shadowing" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">instance-shadowing</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#invalid-system-task-function" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">invalid-system-task-function</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#mismatched-labels" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">mismatched-labels</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-parameter" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-parameter</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-port" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-port</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#packed-dimensions-range-ordering" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">packed-dimensions-range-ordering</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#plusarg-assignment" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">plusarg-assignment</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#suspicious-semicolon" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">suspicious-semicolon</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#truncated-numeric-literal" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">truncated-numeric-literal</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#undeclared-identifier" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">undeclared-identifier</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#undersized-binary-literal" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">undersized-binary-literal</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unknown-parameter" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unknown-parameter</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unknown-port" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unknown-port</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#void-cast" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">void-cast</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#always-comb" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">always-comb</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#banned-declared-name-patterns" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">banned-declared-name-patterns</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#constraint-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">constraint-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-begin" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-begin</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-consecutive-null-statements" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-consecutive-null-statements</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#generate-label" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">generate-label</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#generate-label-prefix" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">generate-label-prefix</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#interface-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">interface-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#line-length" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">line-length</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#macro-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">macro-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#one-module-per-file" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">one-module-per-file</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#package-filename" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">package-filename</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#parameter-type-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">parameter-type-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#port-name-suffix" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">port-name-suffix</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#posix-eof" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">posix-eof</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#signal-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">signal-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#typedef-enums" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">typedef-enums</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#typedef-structs-unions" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">typedef-structs-unions</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#create-object-name-match" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">create-object-name-match</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#dff-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">dff-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#disable-statement" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">disable-statement</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#endif-comment" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">endif-comment</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-function-lifetime" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-function-lifetime</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-task-lifetime" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-task-lifetime</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-line-continuations" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-line-continuations</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbidden-macro" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbidden-macro</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#legacy-generate-region" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">legacy-generate-region</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#legacy-genvar-declaration" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">legacy-genvar-declaration</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#macro-string-concatenation" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">macro-string-concatenation</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-begin-block" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-begin-block</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#numeric-format-string-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">numeric-format-string-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#positive-meaning-parameter-name" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">positive-meaning-parameter-name</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#proper-parameter-declaration" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">proper-parameter-declaration</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#suggest-parentheses" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">suggest-parentheses</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unpacked-dimensions-range-ordering" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unpacked-dimensions-range-ordering</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#uvm-macro-semicolon" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">uvm-macro-semicolon</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#v2001-generate-begin" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">v2001-generate-begin</span></a></li></ul></div></details></nav></mobile-starlight-toc><script type="module" src="/_astro/MobileTableOfContents.astro_astro_type_script_index_0_lang.BcSo_yiZ.js"></script></div><div class="right-sidebar-panel sl-hidden lg:sl-block astro-q5mffni3"><div class="sl-container astro-q5mffni3"><starlight-toc data-min-h="2" data-max-h="3"><nav aria-labelledby="starlight__on-this-page"><h2 id="starlight__on-this-page">On this page</h2><ul class="astro-cxyftcne" style="--depth: 0;"><li style="--depth: 0;" class="astro-cxyftcne"><a href="#_top" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">Overview</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#always-comb-blocking" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">always-comb-blocking</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#always-ff-non-blocking" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">always-ff-non-blocking</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#case-missing-default" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">case-missing-default</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#empty-item" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">empty-item</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#enum-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">enum-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-parameter-storage-type" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-parameter-storage-type</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-filename" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-filename</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#multiply-driven" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">multiply-driven</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#no-tabs" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">no-tabs</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#no-trailing-whitespace" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">no-trailing-whitespace</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#parameter-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">parameter-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#struct-union-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">struct-union-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#undriven-net" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">undriven-net</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unused-signal" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unused-signal</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unused-waiver" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unused-waiver</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unused-import" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unused-import</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#wire-reg-mixup" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">wire-reg-mixup</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#duplicate-declaration" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">duplicate-declaration</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-function-task-parameter-type" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-function-task-parameter-type</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-defparam" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-defparam</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-negative-array-dim" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-negative-array-dim</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#incomplete-assignment" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">incomplete-assignment</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#instance-shadowing" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">instance-shadowing</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#invalid-system-task-function" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">invalid-system-task-function</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#mismatched-labels" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">mismatched-labels</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-parameter" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-parameter</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-port" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-port</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#packed-dimensions-range-ordering" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">packed-dimensions-range-ordering</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#plusarg-assignment" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">plusarg-assignment</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#suspicious-semicolon" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">suspicious-semicolon</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#truncated-numeric-literal" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">truncated-numeric-literal</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#undeclared-identifier" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">undeclared-identifier</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#undersized-binary-literal" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">undersized-binary-literal</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unknown-parameter" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unknown-parameter</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unknown-port" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unknown-port</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#void-cast" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">void-cast</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#always-comb" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">always-comb</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#banned-declared-name-patterns" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">banned-declared-name-patterns</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#constraint-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">constraint-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-begin" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-begin</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-consecutive-null-statements" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-consecutive-null-statements</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#generate-label" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">generate-label</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#generate-label-prefix" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">generate-label-prefix</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#interface-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">interface-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#line-length" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">line-length</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#macro-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">macro-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#one-module-per-file" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">one-module-per-file</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#package-filename" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">package-filename</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#parameter-type-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">parameter-type-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#port-name-suffix" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">port-name-suffix</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#posix-eof" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">posix-eof</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#signal-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">signal-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#typedef-enums" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">typedef-enums</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#typedef-structs-unions" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">typedef-structs-unions</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#create-object-name-match" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">create-object-name-match</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#dff-name-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">dff-name-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#disable-statement" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">disable-statement</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#endif-comment" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">endif-comment</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-function-lifetime" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-function-lifetime</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#explicit-task-lifetime" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">explicit-task-lifetime</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbid-line-continuations" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbid-line-continuations</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#forbidden-macro" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">forbidden-macro</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#legacy-generate-region" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">legacy-generate-region</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#legacy-genvar-declaration" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">legacy-genvar-declaration</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#macro-string-concatenation" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">macro-string-concatenation</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#module-begin-block" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">module-begin-block</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#numeric-format-string-style" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">numeric-format-string-style</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#positive-meaning-parameter-name" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">positive-meaning-parameter-name</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#proper-parameter-declaration" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">proper-parameter-declaration</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#suggest-parentheses" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">suggest-parentheses</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#unpacked-dimensions-range-ordering" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">unpacked-dimensions-range-ordering</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#uvm-macro-semicolon" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">uvm-macro-semicolon</span></a></li><li style="--depth: 0;" class="astro-cxyftcne"><a href="#v2001-generate-begin" style="--depth: 0;" class="astro-cxyftcne"><span style="--depth: 0;" class="astro-cxyftcne">v2001-generate-begin</span></a></li></ul></nav></starlight-toc><script type="module" src="/_astro/TableOfContents.astro_astro_type_script_index_0_lang.Csloo1VZ.js"></script></div></div></div></aside><div class="main-pane astro-abfeecmu"><main data-pagefind-body class="astro-vdxcvpsm" lang="en" dir="ltr"><div class="content-panel astro-oil7k7jf"><div class="sl-container astro-oil7k7jf"><h1 id="_top" class="astro-2sm4b3ln">Lint rules</h1></div></div><div class="content-panel astro-oil7k7jf"><div class="sl-container astro-oil7k7jf"><div class="sl-markdown-content"><p><span class="badge">74 rules indexed</span></p>
<p>Every rule is in one of three <strong>severity</strong> classes. <code dir="auto">error</code> is code that would very likely fail to compile, elaborate or synthesize; <code dir="auto">warning</code> is code that compiles and very likely does not mean what it says; <code dir="auto">style</code> is code that is correct and reads badly. The class is the word in the CLI diagnostic line (<code dir="auto">FILE:LINE:COL: warning: …</code>), the <code dir="auto">severity</code> field of <code dir="auto">--output-format json</code>, and the colour of the editor’s squiggle — and it is accepted wherever a rule name is, so <code dir="auto">--ignore style</code> and <code dir="auto">--select error</code> both work.</p>
<p>Every <code dir="auto">error</code>-class rule is held to one discipline: it goes <strong>silent whenever the run cannot answer</strong> — 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 <code dir="auto"> `include</code>d. A wrong accusation in that class is worse than a hundred missed ones.</p>
<p>This page is hand-written prose. The generated truth is <code dir="auto">lucisv check --rules-doc</code>, which prints every rule with its class, default, fix and rationale straight from the registry — <strong>and every option a rule takes, with its kind and default</strong>.</p>
<p>A configurable rule is configured in a <code dir="auto">[lint.&lt;rule-name&gt;]</code> table of a <code dir="auto">lucisv.toml</code>, or from an editor in the <code dir="auto">lucisv.lint.options</code> 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.</p>
<div class="expressive-code"><link rel="stylesheet" href="/_astro/ec.w36nc.css"><script type="module" src="/_astro/ec.0vx5m.js"></script><figure class="frame not-content"><figcaption class="header"></figcaption><pre data-language="toml"><code><div class="ec-line"><div class="code"><span style="--0:#D6DEEB;--1:#403F53">[lint.line-length]</span></div></div><div class="ec-line"><div class="code"><span style="--0:#C5E478;--1:#3B61B0">length</span><span style="--0:#D6DEEB;--1:#403F53"> = </span><span style="--0:#F78C6C;--1:#AA0982">120</span></div></div><div class="ec-line"><div class="code">
</div></div><div class="ec-line"><div class="code"><span style="--0:#D6DEEB;--1:#403F53">[lint.typedef-structs-unions]</span></div></div><div class="ec-line"><div class="code"><span style="--0:#C5E478;--1:#3B61B0">allow_anonymous_nested</span><span style="--0:#D6DEEB;--1:#403F53"> = </span><span style="--0:#FF6A83;--1:#A24848">true</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code="[lint.line-length]length = 120[lint.typedef-structs-unions]allow_anonymous_nested = true"><div></div></button></div></figure></div>
<p>A rule marked <strong>on (project)</strong> runs by default only where lucisv can see the other files of your project — <code dir="auto">lucisv check &lt;dir&gt;</code>, or the language server. Over a single file or a stdin buffer it is off and must be <code dir="auto">--select</code>ed, because its one false-positive mode is a use in another file. Turn any rule off with <code dir="auto">--ignore</code>, with <code dir="auto">ignore</code> under <code dir="auto">[lint]</code> in <code dir="auto">lucisv.toml</code>, or with <code dir="auto">lucisv.lint.ignore</code> in your editor.</p>
<table>
<thead>
<tr>
<th>Rule</th>
<th style="text-align: center">Severity</th>
<th style="text-align: center">Default</th>
<th style="text-align: center">Fix</th>
<th>Purpose</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#always-comb"><code dir="auto">always-comb</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">unsafe</td>
<td>Write <code dir="auto">always_comb</code>, not <code dir="auto">always @*</code></td>
</tr>
<tr>
<td><a href="#banned-declared-name-patterns"><code dir="auto">banned-declared-name-patterns</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Ban the names your project has decided against</td>
</tr>
<tr>
<td><a href="#constraint-name-style"><code dir="auto">constraint-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name constraints <code dir="auto">lower_snake_case</code> ending <code dir="auto">_c</code></td>
</tr>
<tr>
<td><a href="#explicit-begin"><code dir="auto">explicit-begin</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">safe</td>
<td>Wrap every body in <code dir="auto">begin ... end</code></td>
</tr>
<tr>
<td><a href="#forbid-consecutive-null-statements"><code dir="auto">forbid-consecutive-null-statements</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">safe</td>
<td>Drop a <code dir="auto">;</code> that follows a <code dir="auto">;</code></td>
</tr>
<tr>
<td><a href="#generate-label"><code dir="auto">generate-label</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Label every generate block</td>
</tr>
<tr>
<td><a href="#generate-label-prefix"><code dir="auto">generate-label-prefix</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Prefix that label <code dir="auto">g_</code> or <code dir="auto">gen_</code></td>
</tr>
<tr>
<td><a href="#interface-name-style"><code dir="auto">interface-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name interfaces <code dir="auto">lower_snake_case</code> ending <code dir="auto">_if</code></td>
</tr>
<tr>
<td><a href="#line-length"><code dir="auto">line-length</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Keep lines within the configured width</td>
</tr>
<tr>
<td><a href="#macro-name-style"><code dir="auto">macro-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name macros <code dir="auto">ALL_CAPS</code></td>
</tr>
<tr>
<td><a href="#one-module-per-file"><code dir="auto">one-module-per-file</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Declare one module per file</td>
</tr>
<tr>
<td><a href="#package-filename"><code dir="auto">package-filename</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Match one-package files to package names</td>
</tr>
<tr>
<td><a href="#parameter-type-name-style"><code dir="auto">parameter-type-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Name <code dir="auto">type</code> parameters <code dir="auto">lower_snake_case</code> ending <code dir="auto">_t</code></td>
</tr>
<tr>
<td><a href="#port-name-suffix"><code dir="auto">port-name-suffix</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Say a port’s direction in its name</td>
</tr>
<tr>
<td><a href="#posix-eof"><code dir="auto">posix-eof</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">safe</td>
<td>End the file with a newline</td>
</tr>
<tr>
<td><a href="#signal-name-style"><code dir="auto">signal-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Name signals <code dir="auto">lower_snake_case</code></td>
</tr>
<tr>
<td><a href="#typedef-enums"><code dir="auto">typedef-enums</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name an <code dir="auto">enum</code> type with a <code dir="auto">typedef</code></td>
</tr>
<tr>
<td><a href="#typedef-structs-unions"><code dir="auto">typedef-structs-unions</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name a <code dir="auto">struct</code>/<code dir="auto">union</code> type with a <code dir="auto">typedef</code></td>
</tr>
<tr>
<td><a href="#always-comb-blocking"><code dir="auto">always-comb-blocking</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Use <code dir="auto">=</code> inside <code dir="auto">always_comb</code></td>
</tr>
<tr>
<td><a href="#always-ff-non-blocking"><code dir="auto">always-ff-non-blocking</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Use <code dir="auto">&lt;=</code> inside <code dir="auto">always_ff</code></td>
</tr>
<tr>
<td><a href="#case-missing-default"><code dir="auto">case-missing-default</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Give every case a default branch</td>
</tr>
<tr>
<td><a href="#duplicate-declaration"><code dir="auto">duplicate-declaration</code></a></td>
<td style="text-align: center">error</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Declare each name once per scope</td>
</tr>
<tr>
<td><a href="#empty-item"><code dir="auto">empty-item</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">safe</td>
<td>Drop a <code dir="auto">;</code> that stands where an item belongs</td>
</tr>
<tr>
<td><a href="#enum-name-style"><code dir="auto">enum-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name enum typedefs with <code dir="auto">_e</code> or <code dir="auto">_t</code></td>
</tr>
<tr>
<td><a href="#explicit-function-task-parameter-type"><code dir="auto">explicit-function-task-parameter-type</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Type every function and task argument</td>
</tr>
<tr>
<td><a href="#explicit-parameter-storage-type"><code dir="auto">explicit-parameter-storage-type</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Declare parameter storage types</td>
</tr>
<tr>
<td><a href="#forbid-defparam"><code dir="auto">forbid-defparam</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Override at the instantiation, not with <code dir="auto">defparam</code></td>
</tr>
<tr>
<td><a href="#forbid-negative-array-dim"><code dir="auto">forbid-negative-array-dim</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Keep negative literals out of dimensions</td>
</tr>
<tr>
<td><a href="#incomplete-assignment"><code dir="auto">incomplete-assignment</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Assign on every path of an <code dir="auto">always_comb</code></td>
</tr>
<tr>
<td><a href="#instance-shadowing"><code dir="auto">instance-shadowing</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Do not hide an enclosing declaration</td>
</tr>
<tr>
<td><a href="#invalid-system-task-function"><code dir="auto">invalid-system-task-function</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Avoid deprecated and non-reproducible system tasks</td>
</tr>
<tr>
<td><a href="#mismatched-labels"><code dir="auto">mismatched-labels</code></a></td>
<td style="text-align: center">error</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Make an end label name its own block</td>
</tr>
<tr>
<td><a href="#module-filename"><code dir="auto">module-filename</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Match one-module files to module names</td>
</tr>
<tr>
<td><a href="#module-name-style"><code dir="auto">module-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Use lower_snake_case module names</td>
</tr>
<tr>
<td><a href="#module-parameter"><code dir="auto">module-parameter</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Override more than one parameter by name</td>
</tr>
<tr>
<td><a href="#module-port"><code dir="auto">module-port</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Connect more than one port by name</td>
</tr>
<tr>
<td><a href="#multiply-driven"><code dir="auto">multiply-driven</code></a></td>
<td style="text-align: center">error</td>
<td style="text-align: center">on (project)</td>
<td style="text-align: center">—</td>
<td>Give variables one driver</td>
</tr>
<tr>
<td><a href="#no-tabs"><code dir="auto">no-tabs</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">safe</td>
<td>Use spaces outside string literals</td>
</tr>
<tr>
<td><a href="#no-trailing-whitespace"><code dir="auto">no-trailing-whitespace</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">safe</td>
<td>Remove end-of-line whitespace</td>
</tr>
<tr>
<td><a href="#packed-dimensions-range-ordering"><code dir="auto">packed-dimensions-range-ordering</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Write a packed dimension <code dir="auto">[N-1:0]</code></td>
</tr>
<tr>
<td><a href="#parameter-name-style"><code dir="auto">parameter-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Use CamelCase or ALL_CAPS parameters</td>
</tr>
<tr>
<td><a href="#plusarg-assignment"><code dir="auto">plusarg-assignment</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Read a plusarg with <code dir="auto">$value$plusargs</code></td>
</tr>
<tr>
<td><a href="#struct-union-name-style"><code dir="auto">struct-union-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name aggregate typedefs with <code dir="auto">_t</code></td>
</tr>
<tr>
<td><a href="#suspicious-semicolon"><code dir="auto">suspicious-semicolon</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>No <code dir="auto">if (x);</code> or <code dir="auto">while (x);</code></td>
</tr>
<tr>
<td><a href="#truncated-numeric-literal"><code dir="auto">truncated-numeric-literal</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Keep a sized literal inside its width</td>
</tr>
<tr>
<td><a href="#undeclared-identifier"><code dir="auto">undeclared-identifier</code></a></td>
<td style="text-align: center">error</td>
<td style="text-align: center">on (project)</td>
<td style="text-align: center">—</td>
<td>Use a name something declares</td>
</tr>
<tr>
<td><a href="#undersized-binary-literal"><code dir="auto">undersized-binary-literal</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">safe</td>
<td>Write every bit of a sized binary literal</td>
</tr>
<tr>
<td><a href="#undriven-net"><code dir="auto">undriven-net</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on (project)</td>
<td style="text-align: center">—</td>
<td>Drive signals that are read</td>
</tr>
<tr>
<td><a href="#unknown-parameter"><code dir="auto">unknown-parameter</code></a></td>
<td style="text-align: center">error</td>
<td style="text-align: center">on (project)</td>
<td style="text-align: center">—</td>
<td>Override only parameters the module declares</td>
</tr>
<tr>
<td><a href="#unknown-port"><code dir="auto">unknown-port</code></a></td>
<td style="text-align: center">error</td>
<td style="text-align: center">on (project)</td>
<td style="text-align: center">—</td>
<td>Connect only ports the module declares</td>
</tr>
<tr>
<td><a href="#unused-signal"><code dir="auto">unused-signal</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on (project)</td>
<td style="text-align: center">—</td>
<td>Detect unreferenced internal signals</td>
</tr>
<tr>
<td><a href="#unused-waiver"><code dir="auto">unused-waiver</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Remove ineffective suppressions</td>
</tr>
<tr>
<td><a href="#unused-import"><code dir="auto">unused-import</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">safe</td>
<td>Remove an <code dir="auto">import</code> nothing in the scope reaches through</td>
</tr>
<tr>
<td><a href="#void-cast"><code dir="auto">void-cast</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Cast to <code dir="auto">void</code> only what a call returns</td>
</tr>
<tr>
<td><a href="#wire-reg-mixup"><code dir="auto">wire-reg-mixup</code></a></td>
<td style="text-align: center">error</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Prefer <code dir="auto">logic</code> to <code dir="auto">reg</code> in SystemVerilog</td>
</tr>
<tr>
<td><a href="#create-object-name-match"><code dir="auto">create-object-name-match</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name a <code dir="auto">type_id::create</code> after its handle</td>
</tr>
<tr>
<td><a href="#dff-name-style"><code dir="auto">dff-name-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Name a flip-flop <code dir="auto">_q</code> and its input <code dir="auto">_d</code></td>
</tr>
<tr>
<td><a href="#disable-statement"><code dir="auto">disable-statement</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Write <code dir="auto">disable fork</code>, not a fork label</td>
</tr>
<tr>
<td><a href="#endif-comment"><code dir="auto">endif-comment</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">safe</td>
<td>Say what an <code dir="auto">`endif</code> closes</td>
</tr>
<tr>
<td><a href="#explicit-function-lifetime"><code dir="auto">explicit-function-lifetime</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>State a function’s lifetime outside a class</td>
</tr>
<tr>
<td><a href="#explicit-task-lifetime"><code dir="auto">explicit-task-lifetime</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>State a task’s lifetime outside a class</td>
</tr>
<tr>
<td><a href="#forbid-line-continuations"><code dir="auto">forbid-line-continuations</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Do not break a string with a backslash</td>
</tr>
<tr>
<td><a href="#forbidden-macro"><code dir="auto">forbidden-macro</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Ban the macros your project has decided against</td>
</tr>
<tr>
<td><a href="#legacy-generate-region"><code dir="auto">legacy-generate-region</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Drop the <code dir="auto">generate … endgenerate</code> wrapper</td>
</tr>
<tr>
<td><a href="#legacy-genvar-declaration"><code dir="auto">legacy-genvar-declaration</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Declare a genvar in the <code dir="auto">for</code> header</td>
</tr>
<tr>
<td><a href="#macro-string-concatenation"><code dir="auto">macro-string-concatenation</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Do not put <code dir="auto"> </code> `` in a plain string</td>
</tr>
<tr>
<td><a href="#module-begin-block"><code dir="auto">module-begin-block</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>No <code dir="auto">begin</code>/<code dir="auto">end</code> at module scope</td>
</tr>
<tr>
<td><a href="#numeric-format-string-style"><code dir="auto">numeric-format-string-style</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>Match a radix prefix to its specifier</td>
</tr>
<tr>
<td><a href="#positive-meaning-parameter-name"><code dir="auto">positive-meaning-parameter-name</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Name a parameter for what it enables</td>
</tr>
<tr>
<td><a href="#proper-parameter-declaration"><code dir="auto">proper-parameter-declaration</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td><code dir="auto">parameter</code> in a header, <code dir="auto">localparam</code> in a body</td>
</tr>
<tr>
<td><a href="#suggest-parentheses"><code dir="auto">suggest-parentheses</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">safe</td>
<td>Parenthesize a conditional inside a conditional</td>
</tr>
<tr>
<td><a href="#unpacked-dimensions-range-ordering"><code dir="auto">unpacked-dimensions-range-ordering</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>Write an unpacked dimension <code dir="auto">[0:N-1]</code></td>
</tr>
<tr>
<td><a href="#uvm-macro-semicolon"><code dir="auto">uvm-macro-semicolon</code></a></td>
<td style="text-align: center">warning</td>
<td style="text-align: center">off</td>
<td style="text-align: center">—</td>
<td>No <code dir="auto">;</code> after a <code dir="auto">`uvm_*</code> macro</td>
</tr>
<tr>
<td><a href="#v2001-generate-begin"><code dir="auto">v2001-generate-begin</code></a></td>
<td style="text-align: center">style</td>
<td style="text-align: center">on</td>
<td style="text-align: center">—</td>
<td>No bare <code dir="auto">begin</code> in a generate region</td>
</tr>
</tbody>
</table>
<div class="sl-heading-wrapper level-h2"><h2 id="always-comb-blocking">always-comb-blocking</h2><a class="sl-anchor-link" href="#always-comb-blocking"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “always-comb-blocking”</span></a></div>
<p>Reports non-blocking assignments inside <code dir="auto">always_comb</code>. Scheduled updates can make later statements observe stale values in simulation. No automatic fix is offered because changing the operator can change behavior.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="always-ff-non-blocking">always-ff-non-blocking</h2><a class="sl-anchor-link" href="#always-ff-non-blocking"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “always-ff-non-blocking”</span></a></div>
<p>Reports blocking assignments inside <code dir="auto">always_ff</code>. Immediate updates can create simulation/synthesis mismatches between registers assigned in one clocked block.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="case-missing-default">case-missing-default</h2><a class="sl-anchor-link" href="#case-missing-default"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “case-missing-default”</span></a></div>
<p>Reports <code dir="auto">case</code>, <code dir="auto">casex</code>, and <code dir="auto">casez</code> statements without <code dir="auto">default</code>, including <code dir="auto">unique</code> and <code dir="auto">priority</code> cases. The correct default action is a design decision.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="empty-item">empty-item</h2><a class="sl-anchor-link" href="#empty-item"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “empty-item”</span></a></div>
<p>Reports a lone <code dir="auto">;</code> where an item belongs — after <code dir="auto">endgenerate</code>, after a generate block’s <code dir="auto">end</code>, after <code dir="auto">endmodule</code>, or anywhere else in a module, package, interface, program or class body. It is a legal <em>null item</em> (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 <code dir="auto">-Wempty-member</code>. Its safe fix deletes the <code dir="auto">;</code>, and the line with it when nothing else stood there; a comment on that line is kept.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="enum-name-style">enum-name-style</h2><a class="sl-anchor-link" href="#enum-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “enum-name-style”</span></a></div>
<p>Requires <code dir="auto">typedef enum</code> names to match lower_snake_case ending in <code dir="auto">_e</code> or <code dir="auto">_t</code>. Anonymous enums and escaped identifiers are exempt.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="explicit-parameter-storage-type">explicit-parameter-storage-type</h2><a class="sl-anchor-link" href="#explicit-parameter-storage-type"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “explicit-parameter-storage-type”</span></a></div>
<p>Reports parameters without a declared storage type, preventing overrides from silently changing width or signedness. Continuation parameters inherit the opening declaration’s type.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="module-filename">module-filename</h2><a class="sl-anchor-link" href="#module-filename"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “module-filename”</span></a></div>
<p>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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="module-name-style">module-name-style</h2><a class="sl-anchor-link" href="#module-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “module-name-style”</span></a></div>
<p>Requires lower_snake_case module names. It is opt-in because naming policy is project-specific; escaped identifiers are exempt.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="multiply-driven">multiply-driven</h2><a class="sl-anchor-link" href="#multiply-driven"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “multiply-driven”</span></a></div>
<p>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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="no-tabs">no-tabs</h2><a class="sl-anchor-link" href="#no-tabs"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “no-tabs”</span></a></div>
<p>Reports tabs outside string literals. Its safe fix expands each tab using the active indentation width.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="no-trailing-whitespace">no-trailing-whitespace</h2><a class="sl-anchor-link" href="#no-trailing-whitespace"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “no-trailing-whitespace”</span></a></div>
<p>Reports whitespace immediately before a line ending. Its safe fix removes the run while leaving string data untouched.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="parameter-name-style">parameter-name-style</h2><a class="sl-anchor-link" href="#parameter-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “parameter-name-style”</span></a></div>
<p>Requires <code dir="auto">parameter</code> and <code dir="auto">localparam</code> names to use CamelCase or ALL_CAPS. Item, statement, module-header, and class-header declarations are covered.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="struct-union-name-style">struct-union-name-style</h2><a class="sl-anchor-link" href="#struct-union-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “struct-union-name-style”</span></a></div>
<p>Requires <code dir="auto">typedef struct</code> and <code dir="auto">typedef union</code> names to use lower_snake_case ending in <code dir="auto">_t</code>. Anonymous aggregates and escaped identifiers are exempt.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="undriven-net">undriven-net</h2><a class="sl-anchor-link" href="#undriven-net"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “undriven-net”</span></a></div>
<p>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 <code dir="auto">force</code>.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="unused-signal">unused-signal</h2><a class="sl-anchor-link" href="#unused-signal"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “unused-signal”</span></a></div>
<p>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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="unused-waiver">unused-waiver</h2><a class="sl-anchor-link" href="#unused-waiver"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “unused-waiver”</span></a></div>
<p>Reports malformed, unknown, or ineffective waiver comments when their target rule is enabled. A waiver for a disabled rule is not judged.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="unused-import">unused-import</h2><a class="sl-anchor-link" href="#unused-import"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “unused-import”</span></a></div>
<p>An <code dir="auto">import pkg::*;</code> or <code dir="auto">import pkg::item;</code> that no reference in its scope — or in a scope nested in it — reaches a name through. “Reaches through” is the binder’s own lookup: the name is not declared closer than the import, and the package exports it (same-file packages by the binder’s tables, others by the workspace index, re-exports included). A qualified use <code dir="auto">pkg::y</code> does not use the import; an <code dir="auto">export pkg::…</code> in the same package does (a package may only re-export what it imported, IEEE 1800 §26.6). <strong>Off by default, and silent without a project</strong>: the rule needs the index to know what a package exports, and it refuses to judge — reporting nothing — where a macro call, a conditional directive, an unknown or twice-declared package, or a base class in another file could hide a use. The safe fix deletes the <code dir="auto">import</code> line; the <code dir="auto">Organize imports</code> code action does the same and also merges duplicates and sorts the run.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="wire-reg-mixup">wire-reg-mixup</h2><a class="sl-anchor-link" href="#wire-reg-mixup"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “wire-reg-mixup”</span></a></div>
<p>Reports <code dir="auto">reg</code> in <code dir="auto">.sv</code> and <code dir="auto">.svh</code> files and recommends <code dir="auto">logic</code>. Verilog <code dir="auto">.v</code>/<code dir="auto">.vh</code> files and unnamed stdin are exempt; <code dir="auto">wire</code> remains valid and is never flagged.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="duplicate-declaration">duplicate-declaration</h2><a class="sl-anchor-link" href="#duplicate-declaration"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “duplicate-declaration”</span></a></div>
<p>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 <strong>port</strong> 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 <strong>name range</strong> (<code dir="auto">Gpr[0:2]</code> declares a run of members under one written identifier), a <code dir="auto">generate</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="explicit-function-task-parameter-type">explicit-function-task-parameter-type</h2><a class="sl-anchor-link" href="#explicit-function-task-parameter-type"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “explicit-function-task-parameter-type”</span></a></div>
<p>Reports a task or function formal with no storage type, which the language makes a one-bit <code dir="auto">logic</code> (IEEE 1800 §13.3). Only the argument that <em>opens</em> a declaration is judged — a continuation (<code dir="auto">f(input int a, b)</code>) inherits — and a DPI import’s unnamed formal is not this rule’s subject. Verible’s <code dir="auto">explicit-function-task-parameter-type</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="forbid-defparam">forbid-defparam</h2><a class="sl-anchor-link" href="#forbid-defparam"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “forbid-defparam”</span></a></div>
<p>Reports <code dir="auto">defparam</code>, deprecated since IEEE 1800-2009 and rejected outright by several synthesis tools. The <code dir="auto">#(.NAME(value))</code> override at the instantiation says the same thing where the instance is. Verible’s <code dir="auto">forbid-defparam</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="forbid-negative-array-dim">forbid-negative-array-dim</h2><a class="sl-anchor-link" href="#forbid-negative-array-dim"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “forbid-negative-array-dim”</span></a></div>
<p>Reports a written negative literal inside a dimension, packed or unpacked — the shape <code dir="auto">[WIDTH-1:0]</code> collapses to when <code dir="auto">WIDTH</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="incomplete-assignment">incomplete-assignment</h2><a class="sl-anchor-link" href="#incomplete-assignment"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “incomplete-assignment”</span></a></div>
<p>Reports a variable an <code dir="auto">always_comb</code> writes under an <code dir="auto">if</code> with no <code dir="auto">else</code>, or in some arms of a <code dir="auto">default</code>-less <code dir="auto">case</code>, 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 <code dir="auto">if</code>/<code dir="auto">else</code> or <code dir="auto">case</code> 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 <code dir="auto">common_cells/src/deprecated</code>.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="instance-shadowing">instance-shadowing</h2><a class="sl-anchor-link" href="#instance-shadowing"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “instance-shadowing”</span></a></div>
<p>Reports a declaration that hides one from an enclosing scope of the same design unit — the block-local <code dir="auto">count</code> that quietly changes what every <code dir="auto">count</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="invalid-system-task-function">invalid-system-task-function</h2><a class="sl-anchor-link" href="#invalid-system-task-function"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “invalid-system-task-function”</span></a></div>
<p>Reports <code dir="auto">$random</code>, <code dir="auto">$srandom</code>, the <code dir="auto">$dist_*</code> family and <code dir="auto">$psprintf</code>, 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; <code dir="auto">$psprintf</code> is a vendor spelling of <code dir="auto">$sformatf</code>. Verible’s <code dir="auto">invalid-system-task-function</code>, same list, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="mismatched-labels">mismatched-labels</h2><a class="sl-anchor-link" href="#mismatched-labels"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “mismatched-labels”</span></a></div>
<p>Reports an end label that does not name the block it closes, and an <code dir="auto">end : name</code> 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, <code dir="auto">begin</code>, <code dir="auto">fork</code>/<code dir="auto">join</code>, generate block, clocking block, covergroup, property and sequence. Verible ships this off; lucisv turns it on and files it as an error.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="module-parameter">module-parameter</h2><a class="sl-anchor-link" href="#module-parameter"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “module-parameter”</span></a></div>
<p>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 <code dir="auto">module-parameter</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="module-port">module-port</h2><a class="sl-anchor-link" href="#module-port"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “module-port”</span></a></div>
<p>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 <code dir="auto">module-port</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="packed-dimensions-range-ordering">packed-dimensions-range-ordering</h2><a class="sl-anchor-link" href="#packed-dimensions-range-ordering"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “packed-dimensions-range-ordering”</span></a></div>
<p>Reports a packed dimension that counts upwards (<code dir="auto">[0:7]</code>, <code dir="auto">[0:WIDTH-1]</code>), where bit 0 is the most significant one and every concatenation with an ordinary <code dir="auto">[7:0]</code> 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 <code dir="auto">packed-dimensions-range-ordering</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="plusarg-assignment">plusarg-assignment</h2><a class="sl-anchor-link" href="#plusarg-assignment"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “plusarg-assignment”</span></a></div>
<p>Reports <code dir="auto">$test$plusargs</code>, which matches by <em>prefix</em> — <code dir="auto">+foobar</code> makes <code dir="auto">$test$plusargs("foo")</code> true — and asks for <code dir="auto">$value$plusargs</code>, which matches the whole name and hands back the value. Verible’s <code dir="auto">plusarg-assignment</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="suspicious-semicolon">suspicious-semicolon</h2><a class="sl-anchor-link" href="#suspicious-semicolon"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “suspicious-semicolon”</span></a></div>
<p>Reports <code dir="auto">if (x);</code>, <code dir="auto">for (…);</code>, <code dir="auto">while (…);</code> and their relatives, where the <code dir="auto">;</code> is the whole body and whatever is indented under it runs unconditionally. A deliberately empty body is <code dir="auto">begin end</code> and is not reported. Verible ships this off; lucisv turns it on, because the finding is a typo rather than a matter of taste.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="truncated-numeric-literal">truncated-numeric-literal</h2><a class="sl-anchor-link" href="#truncated-numeric-literal"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “truncated-numeric-literal”</span></a></div>
<p>Reports a sized literal whose digits need more bits than it declares (<code dir="auto">4'hFFF</code>), which most simulators truncate silently. Leading zeros do not count, and a literal whose digits are all <code dir="auto">x</code>/<code dir="auto">z</code> (<code dir="auto">3'hz</code>) is left alone — those spell an unknown of that width. Verible’s <code dir="auto">truncated-numeric-literal</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="undeclared-identifier">undeclared-identifier</h2><a class="sl-anchor-link" href="#undeclared-identifier"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “undeclared-identifier”</span></a></div>
<p>Reports a name this file does not declare, that no external unit it names could supply, and that <strong>no other file in the project writes down at all</strong>. 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 <code dir="auto"> `include</code>d fragment with no unit of its own. Measured on opentitan <code dir="auto">hw/</code> and on lucisv’s corpus: the same five findings, all real implicit nets in one ibex formal file. No Verible equivalent.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="undersized-binary-literal">undersized-binary-literal</h2><a class="sl-anchor-link" href="#undersized-binary-literal"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “undersized-binary-literal”</span></a></div>
<p>Reports a sized binary literal that writes fewer digits than its width (<code dir="auto">8'b1</code>), and its safe fix writes the extension the language would have applied — <code dir="auto">0</code> for a literal starting with <code dir="auto">0</code> or <code dir="auto">1</code>, the unknown itself for one starting with <code dir="auto">x</code> or <code dir="auto">z</code>. A literal whose value is zero is exempt, matching Verible’s <code dir="auto">lint_zero</code> default. Verible’s <code dir="auto">undersized-binary-literal</code>, same bases, same defaults.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="unknown-parameter">unknown-parameter</h2><a class="sl-anchor-link" href="#unknown-parameter"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “unknown-parameter”</span></a></div>
<p>Reports a <code dir="auto">#(.NAME(…))</code> override naming a parameter the instantiated module does not declare — including a <code dir="auto">localparam</code>, 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="unknown-port">unknown-port</h2><a class="sl-anchor-link" href="#unknown-port"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “unknown-port”</span></a></div>
<p>Reports a <code dir="auto">.name(…)</code> connection naming a port the instantiated module does not declare — the port rename that reached three of four instantiations. Same silences as <code dir="auto">unknown-parameter</code>; <code dir="auto">.*</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="void-cast">void-cast</h2><a class="sl-anchor-link" href="#void-cast"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “void-cast”</span></a></div>
<p>Reports <code dir="auto">void'(…)</code> 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 <code dir="auto">void-cast</code> forbids a <em>named list</em> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="always-comb">always-comb</h2><a class="sl-anchor-link" href="#always-comb"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “always-comb”</span></a></div>
<p>Reports <code dir="auto">always @*</code> and <code dir="auto">always @(*)</code>, which SystemVerilog spells <code dir="auto">always_comb</code>. 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 <strong>unsafe</strong>: <code dir="auto">always_comb</code> runs once at time zero and <code dir="auto">always @*</code> does not, so a testbench that samples before the first change can see a different value.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="banned-declared-name-patterns">banned-declared-name-patterns</h2><a class="sl-anchor-link" href="#banned-declared-name-patterns"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “banned-declared-name-patterns”</span></a></div>
<p>Reports a declared name matching one of the patterns in the <code dir="auto">patterns</code> 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 <code dir="auto">tmp</code> a review keeps catching). Every declared name is judged: modules, packages, types, parameters, signals, ports, instances, labels. A pattern must match the whole name.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="constraint-name-style">constraint-name-style</h2><a class="sl-anchor-link" href="#constraint-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “constraint-name-style”</span></a></div>
<p>Reports a <code dir="auto">constraint</code> whose name does not match <code dir="auto">([a-z0-9]+_)+c</code> (the <code dir="auto">pattern</code> option) — the shape Verible enables by default. A constraint’s name is what a test turns off with <code dir="auto">constraint_mode(0)</code>, so it is read far from its declaration.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="explicit-begin">explicit-begin</h2><a class="sl-anchor-link" href="#explicit-begin"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “explicit-begin”</span></a></div>
<p>Reports a body that is a single statement rather than a <code dir="auto">begin ... end</code> block, for eleven constructs each with its own <code dir="auto">*_enable</code> option (<code dir="auto">if_enable</code>, <code dir="auto">else_enable</code>, <code dir="auto">always_ff_enable</code>, …), 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 <code dir="auto">else if</code> chain is never reported. The safe fix wraps the body; run the formatter afterwards to lay it out.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="forbid-consecutive-null-statements">forbid-consecutive-null-statements</h2><a class="sl-anchor-link" href="#forbid-consecutive-null-statements"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “forbid-consecutive-null-statements”</span></a></div>
<p>Reports a null statement whose preceding token is a <code dir="auto">;</code> — the <code dir="auto">;;</code> an edit leaves behind, and the statement twin of <code dir="auto">empty-item</code>. The empty header of <code dir="auto">for (;;)</code> is not a statement and is never reported. The safe fix deletes the extra <code dir="auto">;</code>.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="generate-label">generate-label</h2><a class="sl-anchor-link" href="#generate-label"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “generate-label”</span></a></div>
<p>Reports a generate <code dir="auto">begin</code> with no <code dir="auto">: label</code>. An unlabelled block still gets a name (<code dir="auto">genblk3</code>), 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 <code dir="auto">begin</code> as a generate one, which on opentitan accounted for 177 of 180 findings before the guard was added.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="generate-label-prefix">generate-label-prefix</h2><a class="sl-anchor-link" href="#generate-label-prefix"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “generate-label-prefix”</span></a></div>
<p>Reports a generate label that starts with none of the <code dir="auto">prefix</code> option’s entries, <code dir="auto">g_</code> and <code dir="auto">gen_</code> by default. The prefix is what makes the generate levels of a hierarchical path visible. An empty list accepts every label while <code dir="auto">generate-label</code> still requires there to be one.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="interface-name-style">interface-name-style</h2><a class="sl-anchor-link" href="#interface-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “interface-name-style”</span></a></div>
<p>Reports an <code dir="auto">interface</code> whose name does not match <code dir="auto">[a-z_0-9]+(_if)</code> (the <code dir="auto">style_regex</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="line-length">line-length</h2><a class="sl-anchor-link" href="#line-length"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “line-length”</span></a></div>
<p>Reports a line wider than the limit — by default <strong>the width the formatter is configured with for that file</strong>, so the two halves of lucisv cannot disagree; the <code dir="auto">length</code> option overrides it. The check is token-aware, as Verible’s is: a line holding one unbreakable token (a long string, an <code dir="auto"> `include</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="macro-name-style">macro-name-style</h2><a class="sl-anchor-link" href="#macro-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “macro-name-style”</span></a></div>
<p>Reports a <code dir="auto"> `define</code> whose name does not match <code dir="auto">[A-Z_0-9]+</code> (the <code dir="auto">style_regex</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="one-module-per-file">one-module-per-file</h2><a class="sl-anchor-link" href="#one-module-per-file"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “one-module-per-file”</span></a></div>
<p>Reports every <code dir="auto">module</code> 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 <code dir="auto">interface</code>, a <code dir="auto">program</code> and a <code dir="auto">package</code> are not modules. Silent in a file that does not fully parse, where recovery can promote a nested declaration to file scope.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="package-filename">package-filename</h2><a class="sl-anchor-link" href="#package-filename"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “package-filename”</span></a></div>
<p>Reports a one-package file whose name matches neither the package (<code dir="auto">foo.sv</code>) nor the package with a <code dir="auto">_pkg</code> suffix (<code dir="auto">foo_pkg.sv</code>), the two spellings the industry writes. The <code dir="auto">allow-dash-for-underscore</code> option accepts <code dir="auto">foo-pkg.sv</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="parameter-type-name-style">parameter-type-name-style</h2><a class="sl-anchor-link" href="#parameter-type-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “parameter-type-name-style”</span></a></div>
<p>Reports a <code dir="auto">type</code> parameter whose name does not match <code dir="auto">[a-z][a-z_0-9]*_t</code> (the <code dir="auto">style_regex</code> option). A type parameter is a type, and naming it <code dir="auto">T</code> makes a declaration read like an expression. Off by default here as in Verible: <code dir="auto">#(type T = int)</code> is near-universal in UVM code.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="port-name-suffix">port-name-suffix</h2><a class="sl-anchor-link" href="#port-name-suffix"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “port-name-suffix”</span></a></div>
<p>Reports a port whose name does not end in the suffix for its direction — <code dir="auto">_i</code>/<code dir="auto">_ni</code> for an input, <code dir="auto">_o</code>/<code dir="auto">_no</code> for an output, <code dir="auto">_io</code>/<code dir="auto">_nio</code> for an <code dir="auto">inout</code>, where the <code dir="auto">n</code> marks active-low. The <code dir="auto">suffixes</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="posix-eof">posix-eof</h2><a class="sl-anchor-link" href="#posix-eof"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “posix-eof”</span></a></div>
<p>Reports a file whose last line has no newline — formally, a file with no last line: <code dir="auto">wc -l</code> 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="signal-name-style">signal-name-style</h2><a class="sl-anchor-link" href="#signal-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “signal-name-style”</span></a></div>
<p>Reports a net, variable or port inside a module, interface or program whose name does not match <code dir="auto">[a-z_0-9]+</code> (the <code dir="auto">style_regex</code> 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, <code dir="auto">parameter</code>s and subroutine locals are other rules’ business, or nobody’s.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="typedef-enums">typedef-enums</h2><a class="sl-anchor-link" href="#typedef-enums"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “typedef-enums”</span></a></div>
<p>Reports a declaration whose type is an anonymous <code dir="auto">enum</code>. 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.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="typedef-structs-unions">typedef-structs-unions</h2><a class="sl-anchor-link" href="#typedef-structs-unions"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “typedef-structs-unions”</span></a></div>
<p>Reports a declaration whose type is an anonymous <code dir="auto">struct</code> or <code dir="auto">union</code>, for the reasons <code dir="auto">typedef-enums</code> gives. The <code dir="auto">allow_anonymous_nested</code> 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 <code dir="auto">hw/</code>, all 3 159 findings are nested structs inside a <code dir="auto">typedef</code> in 57 <code dir="auto">reggen</code>-generated files, and opentitan’s own Verible config disables the rule with the comment “we allow nested struct definitions”. One option, or one <code dir="auto">ignore</code>, expresses the same choice here.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="create-object-name-match">create-object-name-match</h2><a class="sl-anchor-link" href="#create-object-name-match"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “create-object-name-match”</span></a></div>
<p>Reports a <code dir="auto">&lt;type&gt;::type_id::create("name", …)</code> whose string does not match the handle it is assigned to. That string is the object’s UVM instance name, so every <code dir="auto">uvm_config_db</code> path, factory override and <code dir="auto">+uvm_set_config</code> 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 <code dir="auto">create-object-name-match</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="dff-name-style">dff-name-style</h2><a class="sl-anchor-link" href="#dff-name-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “dff-name-style”</span></a></div>
<p>Reports a nonblocking assignment in an <code dir="auto">always_ff</code> whose target does not end in a registered-output suffix (<code dir="auto">_q</code>, <code dir="auto">_r</code>, <code dir="auto">_ff</code>, <code dir="auto">_reg</code>), one whose <code dir="auto">_d</code>/<code dir="auto">_n</code>/<code dir="auto">_next</code> source does not share its base, and a name ending in one of those suffixes that is driven combinationally instead. Verible’s <code dir="auto">dff-name-style</code>, same default (off) and the same four options — <code dir="auto">input</code>, <code dir="auto">output</code>, <code dir="auto">waive_ifs_with_conditions</code> and <code dir="auto">waive_lhs_regex</code>, whose default is Verible’s <code dir="auto">(?i)mem.*</code> rewritten as <code dir="auto">[mM][eE][mM].*</code> because lucisv’s pattern engine has no inline flags.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="disable-statement">disable-statement</h2><a class="sl-anchor-link" href="#disable-statement"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “disable-statement”</span></a></div>
<p>Reports <code dir="auto">disable &lt;label&gt;</code> where the label is not a sequential block’s. Naming a <code dir="auto">fork</code> block reads as though it kills the forked processes and does something else entirely; <code dir="auto">disable fork</code> is the spelling that works. Wider than Verible: a task or function declared in the same file is also a legal target here, because <code dir="auto">disable task_name</code> is ordinary and reporting it would be a false positive. Verible’s <code dir="auto">disable-statement</code>, same default (off).</p>
<div class="sl-heading-wrapper level-h2"><h2 id="endif-comment">endif-comment</h2><a class="sl-anchor-link" href="#endif-comment"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “endif-comment”</span></a></div>
<p>Reports an <code dir="auto">`endif</code> with no comment beside it naming the condition it closes, and offers a <strong>safe fix</strong> that appends <code dir="auto">// &lt;name&gt;</code>. A bare <code dir="auto">`endif</code> two hundred lines below its <code dir="auto">`ifdef</code> 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 <code dir="auto">endif-comment</code>, same default (off).</p>
<div class="sl-heading-wrapper level-h2"><h2 id="explicit-function-lifetime">explicit-function-lifetime</h2><a class="sl-anchor-link" href="#explicit-function-lifetime"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “explicit-function-lifetime”</span></a></div>
<p>Reports a function declared outside a class with no <code dir="auto">automatic</code> or <code dir="auto">static</code>. Such a function is <code dir="auto">static</code>, 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 <strong>out-of-body definition</strong> (<code dir="auto">function cls::f(…)</code>), which is wider than Verible — lexically it sits outside the class, but it <em>is</em> a class method, and on opentitan <code dir="auto">hw/</code> that one exemption removed 948 of 960 findings. Verible’s <code dir="auto">explicit-function-lifetime</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="explicit-task-lifetime">explicit-task-lifetime</h2><a class="sl-anchor-link" href="#explicit-task-lifetime"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “explicit-task-lifetime”</span></a></div>
<p>The same rule for tasks, and the case is stronger: a task can block, so a <code dir="auto">static</code> one is routinely called from two processes at once with one set of locals between them. Verible’s <code dir="auto">explicit-task-lifetime</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="forbid-line-continuations">forbid-line-continuations</h2><a class="sl-anchor-link" href="#forbid-line-continuations"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “forbid-line-continuations”</span></a></div>
<p>Reports a string literal broken across lines with a trailing <code dir="auto">\</code>. 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 <code dir="auto">`define</code> is not judged — that is the only spelling the language gives. Verible’s <code dir="auto">forbid-line-continuations</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="forbidden-macro">forbidden-macro</h2><a class="sl-anchor-link" href="#forbidden-macro"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “forbidden-macro”</span></a></div>
<p>Reports an invocation of a macro on the <code dir="auto">macros</code> list, which defaults to Verible’s own single entry, <code dir="auto">`uvm_warning</code> — a message nothing acts on, where the choice belongs at the point of failure (<code dir="auto">`uvm_error</code> or <code dir="auto">`uvm_info</code>). 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 <code dir="auto">forbidden-macro</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="legacy-generate-region">legacy-generate-region</h2><a class="sl-anchor-link" href="#legacy-generate-region"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “legacy-generate-region”</span></a></div>
<p>Reports a <code dir="auto">generate … endgenerate</code> region, which SystemVerilog does not need: an <code dir="auto">if</code>, <code dir="auto">for</code> or <code dir="auto">case</code> 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 <code dir="auto">legacy-generate-region</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="legacy-genvar-declaration">legacy-genvar-declaration</h2><a class="sl-anchor-link" href="#legacy-genvar-declaration"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “legacy-genvar-declaration”</span></a></div>
<p>Reports a <code dir="auto">genvar</code> declared outside a <code dir="auto">for</code> 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 <code dir="auto">legacy-genvar-declaration</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="macro-string-concatenation">macro-string-concatenation</h2><a class="sl-anchor-link" href="#macro-string-concatenation"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “macro-string-concatenation”</span></a></div>
<p>Reports the <code dir="auto"> </code> <code dir="auto">token-concatenation operator written inside a *plain* string literal in a</code> <code dir="auto">define `` body, where the preprocessor does not expand it and the two backticks reach the output. The `` </code>“…<code dir="auto">" `` spelling — which the rule skips — is the one that works. Verible's </code>macro-string-concatenation`, same default (off).</p>
<div class="sl-heading-wrapper level-h2"><h2 id="module-begin-block">module-begin-block</h2><a class="sl-anchor-link" href="#module-begin-block"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “module-begin-block”</span></a></div>
<p>Reports a <code dir="auto">begin … end</code> 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 <em>recovers</em> the construct in error-tolerant mode — it reads the block as that unnamed generate block and records a diagnostic at the <code dir="auto">begin</code>, 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 <code dir="auto">module-begin-block</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="numeric-format-string-style">numeric-format-string-style</h2><a class="sl-anchor-link" href="#numeric-format-string-style"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “numeric-format-string-style”</span></a></div>
<p>Reports a <code dir="auto">0x</code>/<code dir="auto">'b</code>-style radix prefix immediately before a <code dir="auto">%</code> specifier that prints a different base (<code dir="auto">"0x%0b"</code>), and any such prefix before a decimal one (<code dir="auto">"0d%0d"</code>). A specifier with no prefix is always accepted. A log line that prints <code dir="auto">addr = 0x1010</code> for a binary value costs the reader an hour. Verible’s <code dir="auto">numeric-format-string-style</code>, same default (off).</p>
<div class="sl-heading-wrapper level-h2"><h2 id="positive-meaning-parameter-name">positive-meaning-parameter-name</h2><a class="sl-anchor-link" href="#positive-meaning-parameter-name"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “positive-meaning-parameter-name”</span></a></div>
<p>Reports a parameter whose name starts with <code dir="auto">disable</code>, in any case. <code dir="auto">if (!DisableEcc)</code> is a double negative and <code dir="auto">DisableEcc = 0</code> means “ECC is on”, which nobody reads correctly at speed. Verible’s <code dir="auto">positive-meaning-parameter-name</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="proper-parameter-declaration">proper-parameter-declaration</h2><a class="sl-anchor-link" href="#proper-parameter-declaration"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “proper-parameter-declaration”</span></a></div>
<p>Reports a <code dir="auto">parameter</code> written in a module, class or package <em>body</em> rather than in a formal parameter list, and a <code dir="auto">localparam</code> written where the project’s options do not allow it. A body <code dir="auto">parameter</code> is still overridable from outside with nothing at the declaration to say so. A formal parameter list is never judged. Verible’s <code dir="auto">proper-parameter-declaration</code>, same default (off) and the same two options, <code dir="auto">package_allow_parameter</code> (false) and <code dir="auto">package_allow_localparam</code> (true).</p>
<div class="sl-heading-wrapper level-h2"><h2 id="suggest-parentheses">suggest-parentheses</h2><a class="sl-anchor-link" href="#suggest-parentheses"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “suggest-parentheses”</span></a></div>
<p>Reports a conditional expression standing unparenthesized in the true-clause of another (<code dir="auto">a ? b ? c : d : e</code>) and offers a <strong>safe fix</strong> 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 <code dir="auto">suggest-parentheses</code>, same shape and same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="unpacked-dimensions-range-ordering">unpacked-dimensions-range-ordering</h2><a class="sl-anchor-link" href="#unpacked-dimensions-range-ordering"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “unpacked-dimensions-range-ordering”</span></a></div>
<p>Reports an unpacked dimension that counts downwards (<code dir="auto">[7:0]</code>, <code dir="auto">[DEPTH-1:0]</code>), where element 0 is the last one and every <code dir="auto">for (i = 0; …)</code> beside it reads the array backwards. The mirror image of <code dir="auto">packed-dimensions-range-ordering</code>, 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 <code dir="auto">unpacked-dimensions-range-ordering</code>, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="uvm-macro-semicolon">uvm-macro-semicolon</h2><a class="sl-anchor-link" href="#uvm-macro-semicolon"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “uvm-macro-semicolon”</span></a></div>
<p>Reports a <code dir="auto">;</code> written after a <code dir="auto">`uvm_*</code> macro invocation. The macros expand to a <code dir="auto">begin … end</code>, so the <code dir="auto">;</code> is a null statement — usually inert, and not after <code dir="auto">if (x) </code>uvm_info(…); else …<code dir="auto">, where the </code>else<code dir="auto">then 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's</code>uvm-macro-semicolon`, same default.</p>
<div class="sl-heading-wrapper level-h2"><h2 id="v2001-generate-begin">v2001-generate-begin</h2><a class="sl-anchor-link" href="#v2001-generate-begin"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 1 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 0 0-1.42-1.42m8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 1 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 0 0 0 1.42 1 1 0 0 0 1.42 0l3.88-3.89a4.49 4.49 0 0 0 0-6.33M8.83 15.17a1 1 0 0 0 .71.29 1 1 0 0 0 .71-.29l4.92-4.92a1 1 0 1 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “v2001-generate-begin”</span></a></div>
<p>Reports a bare <code dir="auto">begin … end</code> written directly inside a <code dir="auto">generate … endgenerate</code> with no <code dir="auto">if</code>, <code dir="auto">for</code> or <code dir="auto">case</code> 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 <code dir="auto">module-begin-block</code> reads, one scope in. Verible’s <code dir="auto">v2001-generate-begin</code>, same default.</p>
</div><footer class="sl-flex astro-xhxjzfa7"><div class="meta sl-flex astro-xhxjzfa7"><a href="https://git.luci.ooo/lucio/verilogrustformatter/src/branch/master/docs/site/src/content/docs/reference/rules.md" class="sl-flex print:hidden astro-xk5gmzsg"><svg aria-hidden="true" class="astro-xk5gmzsg astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.2em;"><path d="M22 7.24a1 1 0 0 0-.29-.71l-4.24-4.24a1 1 0 0 0-1.1-.22 1 1 0 0 0-.32.22l-2.83 2.83L2.29 16.05a1 1 0 0 0-.29.71V21a1 1 0 0 0 1 1h4.24a1 1 0 0 0 .76-.29l10.87-10.93L21.71 8c.1-.1.17-.2.22-.33a1 1 0 0 0 0-.24v-.14l.07-.05ZM6.83 20H4v-2.83l9.93-9.93 2.83 2.83L6.83 20ZM18.17 8.66l-2.83-2.83 1.42-1.41 2.82 2.82-1.41 1.42Z"/></svg>Edit page</a><p>Last updated: <time datetime="2026-09-06T01:00:31.000Z">Sep 6, 2026</time></p></div><div class="pagination-links print:hidden astro-jgq3vlii" dir="ltr"><a href="/reference/cli/" rel="prev" class="astro-jgq3vlii"><svg aria-hidden="true" class="astro-jgq3vlii astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.5rem;"><path d="M17 11H9.41l3.3-3.29a1.004 1.004 0 1 0-1.42-1.42l-5 5a1 1 0 0 0-.21.33 1 1 0 0 0 0 .76 1 1 0 0 0 .21.33l5 5a1.002 1.002 0 0 0 1.639-.325 1 1 0 0 0-.219-1.095L9.41 13H17a1 1 0 0 0 0-2Z"/></svg><span class="astro-jgq3vlii">Previous<br class="astro-jgq3vlii"><span class="link-title astro-jgq3vlii">CLI</span></span></a><a href="/reference/language-tools/" rel="next" class="astro-jgq3vlii"><svg aria-hidden="true" class="astro-jgq3vlii astro-n5k4ipy7" width="16" height="16" viewBox="0 0 24 24" fill="currentColor" style="--sl-icon-size: 1.5rem;"><path d="M17.92 11.62a1.001 1.001 0 0 0-.21-.33l-5-5a1.003 1.003 0 1 0-1.42 1.42l3.3 3.29H7a1 1 0 0 0 0 2h7.59l-3.3 3.29a1.002 1.002 0 0 0 .325 1.639 1 1 0 0 0 1.095-.219l5-5a1 1 0 0 0 .21-.33 1 1 0 0 0 0-.76Z"/></svg><span class="astro-jgq3vlii">Next<br class="astro-jgq3vlii"><span class="link-title astro-jgq3vlii">Language tools</span></span></a></div></footer></div></div></main></div></div></div></div></body></html>