• v0.23.0
    ci / checks (push) Successful in 51s
    ci / corpus (push) Successful in 21s
    release / build-and-publish (push) Successful in 4m50s
    Stable

    lucio released this 2026-09-01 21:37:28 -07:00 | 239 commits to master since this release

    Member chains and instance heads — DV class-semantics round 2.

    cfg.vif.clk, item.hdr.addr, u_sub.port, tb.dut.u_core.done_o:
    the tail of a chain now resolves link by link through each link's
    declared type. In one file the resolver hops declared type → declared
    type; across files a chain becomes one composed path (item_t::hdr::addr)
    the workspace's member table walks, so hover, find-references and rename
    agree by construction. Def::type_name rides every indexed declaration
    (FACTS_FORMAT 6 → 7; older stores rebuild once), and this.x/super.x
    uses now post to the index, so references from a base class's
    declaration list its subclasses' uses in other files.

    Instance heads: an instance's type is its module, and modules export
    their ports and parameters — so u_sub.port resolves cross-file;
    internal nets and vars resolve in the declaring file only, by ruling:
    exporting them cost +24 % store and made .port(w) connections resolve
    to internals. Typedef'd class aliases (typedef c1 my_t; my_t h; h.x)
    are chased, visited-guarded. A chain link whose type is declared twice
    in the workspace with different kinds is refused — round 1's lesson,
    one hop out. No link ever guesses.

    Rename's truth moved with it: renaming sub's wire sig now rewrites
    u_sub.sig too, which a compiler needs; an unresolvable tail is left
    alone (and, a known gap filed as topo §2.9-20, no longer warned about).

    Corpus: unresolved unchanged at 1 256; store +15.4 % (opentitan
    30.8 → 35.4 MB), most of it the inherited-member postings. Zero wrong
    answers in QA's 15 live opentitan probes. Formatter output unchanged.

    Downloads