Skip to content

v0.8.5

Choose a tag to compare

@hesheng01 hesheng01 released this 09 May 07:53
· 246 commits to main since this release

v0.8.5 — Output Alignment, Step Fix, Fuzzy Get, Hot Cache & More

Output Format Alignment

  • print now outputs strings without quotes (matches original WAL)
  • Script mode no longer prints => intermediate values or Evaluating: header
  • Multi-line evaluator now evaluates each complete expression independently (fixes (step 1) (print INDEX) returning 0)

New Features

  • Fuzzy signal matching: (get "clk") auto-matches hierarchy_tb.top.clk via suffix → short name → substring fallback
  • REPL tab completion: Signal names auto-completed via Tab (refreshed after load)
  • Auto format detection: Magic-byte fallback when extension is unrecognized ($date → VCD, 0x00 → FST)
  • Hot signal cache: FstTrace tracks access frequency and pre-caches surrounding timestamps for hot signals
  • find result limit: (find cond limit) — early termination after N matches
  • Virtual signal tracking: VIRTUAL-SIGNALS special variable now enumerates defsig-defined signals
  • mpa/dela key matching: key_to_string normalization fixes cross-type key comparison

Robustness

  • Empty VCD file detection (returns InvalidData instead of empty mmap)
  • MADV_WILLNEED hint on header region for faster initial scan
  • printf now handles \n, \t, \" escape sequences

Test Infrastructure

  • test_samples/spec_test.wal — 75+ assertions, 0 FAIL on both original WAL and wal-rust
  • test_samples/spec_audit.wal — structured feature-by-feature audit
  • test_samples/run_spec_test.sh — automated cross-comparison runner
  • docs/WAL_APPENDIX.md — full compliance matrix, extensions list, known differences