Bondan Rufen (@bondanr) profile picture

Former CPU team @ AMD, Intel. Qualcomm. Microprocessor, X86, ARM & RISC-V Enthusiast Build & Maintain Xezim (SystemVerilog sim)

Silicon Valley, USA
Joined August 2009
Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)Photo by Bondan Rufen (@bondanr)
xezim 0.11.7 is out 🚀 xezim is an open-source SystemVerilog simulator written in Rust: RTL, gate-level and UVM simulation in one command, from source to results. This was a busy week. Since 0.11.6 (November 13), across xezim and xezim-core: 🔹 1,368 commits (1,026 in xezim, 342 in xezim-core) 🔹 231 issues opened and 251 closed 🔹 171 pull requests opened, 158 of them from contributors, and 178 closed or merged. Most were integrated by cherry-pick with the contributor's authorship kept. What's new: 🔹 Elaboration memory: compilation-unit declarations, module bodies, declared types, constraint blocks and scope paths are shared across instances instead of copied, and the parser holds 8-byte tokens. On one synthetic fixture, 4,000 module definitions beside 200 unit declarations now peak at 107 MiB instead of 1,500 MiB. 🔹 Scheduling: a process waiting on @(...) is examined only when one of its signals is written. Queue pop_front, push_front, insert and delete(i) no longer slow down as the queue grows: 30,000 pop_front calls take 0.31 s instead of 396 s. 🔹 DPI and files: C and C++ sources can be listed with the design files and are compiled into one DPI library. $readmem and $writemem handle associative and multidimensional arrays and write the IEEE 1800-2023 §21.5.3 layout. 🔹 Waveforms: --wave-suppress leaves modules and paths out of VCD, FST and XTrace dumps. 🔹 Correctness: hundreds of fixes for unpacked arrays and assignment patterns, real and shortreal values, simulation time above 2^53 ticks, port connections, nettypes and clocking blocks. Most of them came from contributors' self-checking testcases. More than 8,100 regression tests pass on this release. A warm welcome to our new contributors: marcobrambilla99, whose 24 conformance reports landed in this release, and KelvinChung2000. Akash Levy and Shabbar Vejlani made their first contributions to xezim-core. And thank you to everyone who sent code or testcases this cycle: Akash Levy, ds54e, Adam Auten, Shabbar Vejlani, Thomas Burg, Chuanseng Ng, Ganesh T S, git-hevangel, amal-khailtash, Dave Keeshan, Vrajesh Prakhya, Philip Axer, Dragon-Git, rharikrishna25 and urbanij. Release notes: github.com/aionhw/xezim/rele… Repository: github.com/aionhw/xezim
1
73
xezim 0.11.5 is out 🚀 xezim is an open-source SystemVerilog simulator written in Rust. It handles everything from plain RTL to full UVM testbenches, and every change is checked against the IEEE 1800 standard and a reference simulator. It's free under the Apache 2.0 license. What's new in 0.11.5: 🧩 Generate blocks are real scopes. Each module gets a scope tree and a name binder. Names resolve the way IEEE 1800 says they should: inside generate blocks, upward through the hierarchy, in disable paths, through VPI and for implicit nets. A name declared nowhere is an error inside instances too. 💾 Checkpoints. Save a running simulation with --save-at or $save, and resume it later with --restore. The resumed run prints what the original would have. 🎲 Randomization. Large array constraints solve up to 125× faster, and modulo equalities and packed-struct foreach constraints now solve. 🏗️ Classes and collections. Fixes cover shadowed base-class members, static calls, class-property edges and selects, and associative arrays of packed types. ⚡ Speed. A 20,000-cell gate-level netlist now sets up in 8.5 s instead of 55.7 s, and more processes and class methods run compiled. ✅ 6,610 regression tests pass. The 0.11.5 cycle had 477 commits in the simulator and 134 in the core library. A big thank-you to the contributors: Philip Axer, AaronKel, Thomas Burg, Adam Auten, Dave Keeshan, Ng Chuan Seng, Shabbar Vejlani, Ganesh T S, Chen Ben Haroosh and ds54e, plus everyone who filed issues with small, self-checking testcases. You make this project better every week.
1
60
What happened to $INTC ? When I was at Intel, its stock was $40ish. Now it's trending down to $40ish again?
78
xezim 0.11.4 is out. xezim is an open-source SystemVerilog simulator written in Rust. This release focuses on correctness, memory use on long runs, and elaboration time on large designs. What's new: • Class objects that no handle can reach are now reclaimed with their storage as time advances, which keeps memory in check on long runs that create many short-lived objects. It is on by default; XEZIM_CLASS_GC=0 turns it off. • Elaboration now grows linearly with the instance count for bind directives in replicated modules, interface-port formals and constant-function calls. A 4,000-instance design with a bind went from 49.3 G to 1.6 G instructions. • Classes and randomization: specializations match however their arguments are spelled, randc variables up to 32 bits cycle through their whole domain, and inside, foreach, dist and constraint modes are fixed. • Parameters, packages, collections and DPI: struct typedefs are visible in a module's constants, multi-dimensional package parameters select correctly, and string-returning DPI imports print as text. • Reproducible builds: the same design writes byte-identical compiled artifacts on every run. Artifacts now use bincode 2 and zstd 0.14, clearing RustSec advisories. • New opt-in --relax-* switches and --keywords for sources written for more permissive tools. Validated against 5,838 tests, plus JIT smoke tests and minimum supported Rust version checks on both repositories. Designs compiled with 0.11.3 or earlier need to be recompiled. Thank you to everyone who sent pull requests and bug reports for this release, including AaronKel, auty1395, Ganesh-TNL and git-hevangel. The full list is in CONTRIBUTORS.md. Release notes: github.com/aionhw/xezim/rele…
55
Xezim 0.11.3 is out! This release focuses on correctness and interoperability—the details that matter when running real SystemVerilog designs and testbenches. Some highlights: • Hierarchical references through interfaces and modports, indexed generate scopes in bind targets, and virtual interface connections. • Assertion sampling and scheduling fixes, including time-zero behavior, sampled array indices, property vacuity, and callback-driven clocks. • Class and package fixes for instance scope, initialization order, constructors, and local storage across suspended calls. • Array and randomization fixes. Failed randomization now correctly restores both values and collection sizes. • VPI, FST, and cocotb integration fixes, including alias writes, waveform widths, runner arguments, and parameter overrides. There’s execution work too: reducing repeated work in case tables, equality branches, event handling, and class methods while preserving four-state behavior. Validation for this release: → 5,412 default tests passing → 32 DPI tests passing across the tested Linux and macOS execution paths → 211 saved-design/cache checks → Six AVIP workloads → C906 hello and CoreMark, plus C910 memcpy One upgrade note: recompile saved designs affected by the elaboration metadata fixes. Details are in the release notes. Thanks to everyone contributing fixes and reporting issues. Small reproducers make a big difference. Try 0.11.3 with your RTL and testbenches: github.com/aionhw/xezim/rele…
2
81
Xezim momentum!!
🤖 Made with AI
1
43
Xezim just crossed 100 GitHub stars! ⭐ Small milestone, but a meaningful one for an open-source SystemVerilog simulator built largely with AI-assisted coding. Thanks to everyone who tried it, filed issues, contributed, or simply followed the project. On to the next 100.
2
84
Xezim's community is getting louder. And that's a good sign! GitHub issues opened: 0.11.0: 40 in 10 days 0.11.1: 47 in 9 days 0.11.2: 57 in just 3 days More issues don't necessarily mean more users, but they show growing technical engagement. Especially encouraging: detailed reports on complex SystemVerilog LRM corner cases and UVM, often with reproducible test cases. Still plenty to improve, but this is how an open-source simulator matures. Thanks to everyone testing and contributing! github.com/aionhw/xezim
2
62
I recently came across Jev from TypeSafe AI. Interesting concept: an AI model designed for machines, not human conversation. It produces structured decisions that software can act on directly. It made me think about what I'm building with Xezim, an open-source SystemVerilog simulator. Traditional simulators were built around humans: run simulations, inspect waveforms, read logs, debug failures, repeat. But what if the primary user of a simulator is an AI agent? An agent capable of running thousands of experiments, observing internal states, identifying failures, and deciding what to investigate next without a human in the loop. That's the direction I'm exploring with Xezim. Can commercial simulators do the same thing? Of course. Vendors are already adding agentic capabilities. But connecting AI agents to an existing simulator isn't quite the same as designing the execution infrastructure around agents. Commercial simulators have decades of code and large customer bases relying on compatibility and stability. Major architectural changes introduce risks, and existing customers don't necessarily want disruption. Why not extend other open-source simulators? Absolutely possible. But open source doesn't automatically mean agility. Established projects have their own architectures, priorities, and contribution policies. Requirements around AI-assisted code can also influence how quickly changes are accepted. With Xezim, AI-assisted development is part of the engineering process itself. We can experiment with the architecture, add new observation and control interfaces, and continuously validate changes against SystemVerilog compliance tests and commercial reference simulators. The goal isn't to replace the engineer. It's to remove the need for a human to manually operate every step of verification. Instead of: Engineer → Simulator → Waveforms/Logs → Engineer Imagine: AI Agent → Xezim → Structured Execution Data → AI Agent The agent can run, observe, debug, modify, and rerun. The simulator remains responsible for correct SystemVerilog execution. The question isn't whether existing simulators can support AI agents. They can. The more interesting question is whether their architectures and development processes can evolve as quickly as AI agents themselves. Perhaps the next generation of simulators won't be primarily tools operated by humans. They'll be execution engines designed for machines to interrogate and control. That's the experiment behind Xezim. github.com/aionhw/xezim
2
2
165
I was surprised by how much attention the reports about Snapdragon 8 Elite Gen 6 struggling with sustained thermals are getting. Thermal issues during early OEM prototyping are pretty common. The important question is what’s causing them and how much room remains for tuning. The same SoC goes into very different phones: 1. Different form factors, thicknesses, and chassis materials. 2. Different PCB layouts and component placement. 3. Different cooling systems: graphite, vapor chambers, heat spreaders, sometimes active cooling. 4. Different Geekbench and AnTuTu performance targets. 5. Different battery capacities, power-delivery limits, and battery-temperature constraints. 6. Different targets for surface temperature, battery life, and sustained performance. An early prototype may start with vendor reference firmware and baseline power parameters. Those settings provide a starting point, but they aren’t necessarily tuned for that OEM’s hardware or product goals. The OEM runs workloads, collects power and thermal measurements, and sends feedback. Then the teams adjust power limits, frequency policies, boost behavior, and thermal thresholds to fit the device. That usually takes multiple iterations. Change the cooling hardware or chase a higher benchmark score, and you may need another round of tuning. Software tuning also has limits. If the device cannot dissipate the heat at the desired operating point, you have to accept lower sustained performance, improve the cooling, or change the design. So an early prototype running hot is useful information. But judging the final product requires more context: hardware revision, firmware maturity, ambient temperature, workload, power consumption, and sustained performance. A peak benchmark score tells you what a phone can do briefly. The harder engineering problem is deciding what it can keep doing once it heats up.
1
1
104
xezim 0.11.2 is out: an open-source SystemVerilog/UVM simulator in Rust. Since 0.11.1: 51 issues and 22 PRs opened, 47 issues and 18 PRs closed. Focus: parity with a commercial reference simulator for classes, collections, DPI and scheduling. What's new: • class specializations & per-instance statics • foreach over typedef'd/nested assoc arrays • static locals, program Reactive region • DPI reals by value • -uvm, crash-safe FST • C906 CoreMark −8.5% instructions Thanks to code contributors Thomas Burg, AaronKel, Ganesh T S, Taichi Ishitani, and to every bug reporter. Small self-checking testcases get bugs fixed fastest. github.com/aionhw/xezim/rele…
1
1
341
xezim 0.11.1 is out 🚀 An open-source SystemVerilog simulator, written in Rust. This release brings complete VPI, much leaner memory models, and a clause-by-clause IEEE 1800 conformance pass. 🔍 Conformance • We checked ~490 subclauses of IEEE 1800-2023 against a reference simulator, and fixed every high-severity gap: - procedural variable typing; - class property scoping and parameterized classes; - §13.5 argument passing (by-value copies, true ref -aliasing); - clocking-block skews (#1step, input/output skew); - disable from forked children, force/release on net bit-selects; - assertion local variables, procedural assertions, default disable iff. • A new 169-test conformance suite guards 409 subclauses. • The test suite runs with zero ignored tests. 🔌 VPI and DPI • Every IEEE 1800 clause 38 routine, every vpi_register_cb reason, and a full design walk. • Imported DPI tasks run on their own stacks, so concurrent callers suspend and resume independently. • The §35.9 disable protocol (svIsDisabledState) is supported. • export “DPI-C” works from any module instance. • Packed structs and multi-dimensional open arrays cross the DPI boundary. ⚡ Faster, leaner simulation • Large memories live in a packed arena by default: C906 CoreMark peaks at 0.6 GB instead of 2.6 GB. • A 64k-cell DRAM model needs about a tenth of the work, and a 256k-cell model fits in 2.1 GB instead of 7 GB. • Behavioural DDR4-style models run 4 to 6 times faster. • Startup is cheaper, and host instructions drop 7% on C906 CoreMark and 11% on a C910 memcpy run. 🧹 Cleanup • The experimental multikernel/PDES code is gone (−7,500 lines). • The release binary is 1.6% smaller. 🙏 Thank you to everyone who contributed to this release: Thomas Burg, Taichi Ishitani, Ganesh T S, eenky and Francesco Urbani. Release notes: github.com/aionhw/xezim/rele… Repo: github.com/aionhw/xezim Try it, break it, file issues, send PRs.
1
4
379
Small thing from the preliminary DVCon reviews that made me happy: I started Xezim to see how far AI-assisted coding could go in building a SystemVerilog simulator from the bottom up. The bigger question became: what if EDA tools were designed for AI agents from the start, instead of adapting human-centric tools? One reviewer wrote: “Exploring new simulators that are developed with AI-assisted design and verification in mind is a great idea.” Still preliminary, but this feels like an inflection point for EDA.
1
2
138
Excited that my Xezim extended abstract received preliminary acceptance for DVCon U.S. 2027. The paper explores a SystemVerilog simulator designed not just for engineers, but also for AI agents — with semantic observation, controllability, and extensible interfaces.
2
414
What actually happens inside a SystemVerilog simulator? 4-state vs 2-state. Event-driven vs cycle-based. The interesting question isn't which one to choose. It's how much dynamic scheduling can become static execution without changing SV behavior. 👇
1
69
xezim 0.11.0 is out 🚀 xezim is an open-source SystemVerilog simulator written in Rust. This release was about one thing: closing the gap with commercial simulators. Nearly every behaviour change was checked against a commercial reference simulator before it landed, and more than 400 new regression tests pin the results. Here's what's new. 📊 Coverage • Code coverage is new: statement, branch and toggle coverage with --code-coverage (or the familiar +cover / -coverage). It's off by default and costs nothing when off. Results go to xezim_cov.json, per instance and per design unit. • Functional coverage grew up: – covergroups work in submodules, interfaces, packages and multi-top designs – crosses support binsof, intersect, with, and ignore/illegal bins – transition bins, bins x[N], iff sampling, start()/stop() and type-level get_coverage() all work, and cover sequence is new – illegal_bins hits are real errors • Coverage numbers match the reference simulator on every pinned case. 🎲 Constrained random • A new joint solver handles sum(), unique and ordering constraints together, so problems that used to fail now solve every time. • dist weights (:= and :/) and solve … before shape the distribution the way the standard describes. • Inline randomize() with {} binds names to the object first, then to the calling scope (§18.7). • Constraints on nested rand objects are solved jointly. 🧪 UVM • Built-in UVM DPI: regex and glob matching for config_db and the factory, uvm_hdl_* backdoor access, and the command-line processor, for both UVM 1.2 and 2020.3. UVM_NO_DPI is now optional. • Transcripts of five open-source UVM VIPs (axi4, apb, i3c, spi, axi4-lite) now match the reference simulator message for message. • UVM tables print correctly, $typename matches, and dozens of class, struct and interface fixes landed. ⚡ Performance • UVM class code: less than half the host instructions per transaction on our UVM stress bench (20.6 M → 9.0 M), and about a third fewer on the axi4 VIP. • RTL: a 2.5% gain on a RISC-V SoC CoreMark run. ⏱️ Timing and gate level • Specify-block timing checks with notifiers: $setup, $hold, $setuphold, $recovery, $removal, $recrem, $width, $period, $skew and more. • SDF back-annotation of timing checks. • Specify path delays honour the module timescale. 🛠️ Easier to adopt • Quiet transcripts by default; engine internals appear only with --verbose. • Errors show file:line:col with a source snippet. • Command lines written for other simulators run as-is: bare top names, -F, -do "run -all", -g/-G, -sv_seed, -sv_lib, -l. • The default time limit is now 100 ms, so long UVM tests finish. ✅ Conformance • sv-tests: 99.0% pass, up from 94.0%. • Scheduling order (time-0 activation, continuous-assign wakeups) now matches the reference, so racy testbenches behave the same. Opus 5.5 is good at cleaning up gaps and bugs with multiagents. Release notes: github.com/aionhw/xezim/rele… Repo: github.com/aionhw/xezim Coverage guide: github.com/aionhw/xezim/blob…
1
2
11
822