You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Evaluate and document Aplite sampling distribution guarantees #2187
The approximate sampler introduced in #2184 should not block initial SystemVerilog constrained randomize integration. Track distribution guarantees separately from satisfying constraints correctly.
Current implementation follows a UniGen2-style policy with bounded cells and seeded randomness. It does not yet establish that the paper's probability bounds transfer to this implementation, including projected variables, cached parameter estimates, finite PRNG state, resource limits and batch dependence. Statistical regression tests are not proofs.
Follow-up:
Audit the implemented policy against the paper's assumptions and state an accurate approximation contract, including failure conditioning and the fixed tolerance.
Evaluate practical distribution quality and performance on representative SV constraints; compare against existing simulators without treating their behavior as the specification.
Consider exact sampling for cheaply countable domains where useful. Do not require general exact model counting or full-space enumeration for initial randomize support.
Preserve the distinction between proved UNSAT and resource exhaustion/Unknown at the SV boundary; document unsupported dist, solve-before and randc combinations.
Initial SV integration: #2194 deliberately uses seeded SAT model search rather than the hash-cell sampler. This prioritizes satisfying constraints and avoids exposing cell-acceptance failures as normal randomize failures. Its output is not claimed to be uniform; evaluating and improving that policy belongs to this issue.
Activity
feat(sv)!: solve scalar class constraints during randomize
feat(sv)!: solve scalar class constraints during randomize
feat(sv)!: solve scalar class constraints during randomize