Skip to content

0.11.2

Choose a tag to compare

@aionhw aionhw released this 16 Oct 15:46
· 3025 commits to main since this release

Highlights (full notes in NOTES.md, section 0.11.2):

  • Classes and specializations: bare Scope::member references through type parameters and typedefs of specializations (UVM 2017-0.9 factory registration works again), specialization parameters and localparams, specializations that differ only in how a value is spelled (P#(2+2) and P#(4)), class-scope typedefs, nested-class constants, per-instance statics of classes declared in modules, and virtual interfaces held in static properties and vif arrays.
  • Collections: foreach and the collection methods over typedef'd arrays in every scope (chained and cross-package typedefs, foreach (m[i, j]) over associative arrays of associative arrays, typedef'd formals and returns), associative arrays nested under fixed, dynamic and queue dimensions, whole associative-array copies into class properties and queue elements, and aggregate formal defaults (output o = a, 1800-2023 §13.5.3).
  • Scheduling and processes: a bare static-to-static task call blocks, static class events, program processes in the Reactive region, @(cb.sig) on clocking blocks of interface instances, and static block and subroutine variables that keep their values per instance (§6.21).
  • Expressions and types: §13.4.1 return conversion, reals that wrap to the integral target width at any width (also through DPI), inside and case operands at the widest operand width, $typename of expressions and unpacked arrays, and assign arr = '{...} on unpacked arrays.
  • DPI: real values pass to integral C types by value, scalar bit formals carry one bit, and exported subroutines accept every formal type DPI can carry; imported tasks run on their own stacks on x86_64 and aarch64 (Linux and macOS).
  • Constraints: rand sub-objects in handle arrays, sum() over wide elements, dynamic-array sizes solved before elements, wide (>64-bit) sums and differences with constants, and a failed std::randomize leaves its variables unchanged.
  • Usability: -uvm adds the UVM library named by XEZIM_UVM_DIR, -override_timescale, -xezim_env and -fst_scope_file files, and XEZIM_INIT_REG=random follows the seed.
  • Waveforms: FST scopes with a depth (LEVEL:SCOPE), and FST dumps that stay readable after Ctrl-C, SIGTERM, kill -9 or an out-of-memory kill.
  • Performance: more class methods, class tasks and package functions run as bytecode; against 0.11.1, C906 CoreMark runs 8.5% fewer host instructions, and the AXI4 AVIP about 7% more cycles, the cost of the correctness fixes.

Thanks to Thomas Burg, AaronKel, Ganesh T S and Taichi Ishitani for code contributions, and to Dragon-Git, Ganesh-TNL, AaronKel, rharikrishna25, taichi-ishitani, jjts and urbanij for detailed bug reports.

Requires xezim-core 0.11.2.