Skip to content

0.11.4

Choose a tag to compare

@aionhw aionhw released this 31 Oct 10:04
· 2417 commits to main since this release

Correctness, memory and elaboration-time fixes since 0.11.3. Full details and individual credits are in NOTES.md and CONTRIBUTORS.md.

  • Class objects: class objects no handle reaches are reclaimed with their storage at a time advance, on by default (XEZIM_CLASS_GC=0 turns it off), with collections spaced so their total cost stays linear.
  • Elaboration time: bind directives in replicated modules, interface-port formals and constant-function calls no longer scan or copy the design-wide parameter table per instance, so elaboration grows linearly with the instance count.
  • Classes and specializations: specializations keyed by value however the argument is spelled (package parameters, package-scoped types, enclosing value parameters, omitted type defaults); class events, virtual interfaces bound through type parameters and own-definition names, clocking blocks and class statics; fork-child state shared only within its activation.
  • Randomization: randc variables up to 32 bits cycle through their whole domain; fixes for inside, foreach, dist, enum domains, context widths and whole-object constraint modes.
  • Parameters, packages and types: a module's first instance sees its body struct typedefs in constants; array parameters named through imports or other array parameters; packed multi-dimensional package parameters; class-parameter-sized locals; constant concatenations, casts and $bits in constant expressions.
  • Collections, patterns and DPI: struct patterns into mailboxes, unpacked-struct formals and class queues; queue assignment, clearing and concatenation through class handles; string-returning DPI imports print as text, and x/z bits reach a two-state DPI vector as 0.
  • Parser and preprocessor: macro pastes and argument lists, cross bins, constraint and property forms, and based-literal white space follow the grammar.
  • Build and command line: artifacts are bincode 2 and zstd 0.14 (clearing RustSec advisories); the same design writes byte-identical artifacts on every run; a compiled artifact named beside source files is refused with an error; opt-in --relax-* switches and --keywords for sources written for more permissive tools.

Validation: 5,838 default tests pass, with one existing ignored test, plus two JIT smoke tests. Core and parser pass 176 and 186 tests. Both repositories pass minimum supported Rust version checks.

Recompile previously saved designs: artifacts written by 0.11.3 or earlier are refused with the "recompile with current xezim" message.

All three crates (xezim, xezim-core and sv-parser) are versioned 0.11.4. This release pins the exact xezim-core 0.11.4 release revision.