• v0.35.0
    ci / checks (push) Successful in 54s
    ci / corpus (push) Successful in 26s
    release / build-and-publish (push) Successful in 5m16s
    Stable

    lucio released this 2026-09-03 03:46:24 -07:00 | 191 commits to master since this release

    Format fences reach statements and class bodies

    // verilog_format: off / // lucisv: off (and the lucisv: spelling)
    now protect statements inside begin … end, fork … join, function
    and task bodies and always/initial/final blocks, and items inside
    a class body — not only items at module scope. A fenced region is
    copied byte for byte, keeps its own indentation, and is a fixed point
    under a second pass; an unmatched off runs to the end of its own
    list. --lines range formatting honours a fenced statement inside the
    selected range. Four opentitan files that already carried fences inside
    functions and class bodies now keep those bytes.

    One rule is applied uniformly: a fence must start its line (whitespace
    or a finished block comment may precede it). A fence written after code
    on the same line — module m; // lucisv: off — is an ordinary comment,
    as the fence documentation has said since the feature shipped; it used
    to open a region at module scope by accident.

    Not yet fenceable, with reasons in the feature README: port lists,
    case-item label lists, same-line fences, and a property's local
    declarations.

    Downloads