Repository navigation
0.11.2
Highlights (full notes in NOTES.md, section 0.11.2):
- Classes and specializations: bare
Scope::memberreferences 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)andP#(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:
foreachand 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),
insideandcaseoperands at the widest operand width,$typenameof expressions and unpacked arrays, andassign arr = '{...}on unpacked arrays. - DPI: real values pass to integral C types by value, scalar
bitformals 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 failedstd::randomizeleaves its variables unchanged. - Usability:
-uvmadds the UVM library named byXEZIM_UVM_DIR,-override_timescale,-xezim_envand-fst_scope_filefiles, andXEZIM_INIT_REG=randomfollows the seed. - Waveforms: FST scopes with a depth (
LEVEL:SCOPE), and FST dumps that stay readable after Ctrl-C, SIGTERM,kill -9or 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.