Constraint Solvers
3 posts
PyVSC Meets Dataclasses
The last post ended with a number that a solver can't explain. Switching PyVSC to dv-solve took riscv-dv's Python generator from 128 to 474 instructions a second, without changing pygen. Porting pygen's instruction classes to a new front-end took it to 6,553, …
DV-Solve: A Random-First Solver
len 8 -- feeds two front-ends, PyVSC 1.0 (Python, in-process) and Verilator 5.054 (SV randomize()). Both lead to a dark card: dv-solve, same packet both ways: about 140 times the draws per second of Boolector in PyVSC, about 6 times the bundled Bitwuzla in Ve…
Revisiting PyVSC: Where we Stand
PyVSC started in 2019 with a simple goal: make SystemVerilog-style constrained-random stimulus and functional coverage feel as natural in Python as they do in SystemVerilog. I wrote about it in early 2020, in a series that started with [Modeling Random Stimulu…