gacdv · coverage-driven GA on xsim

Configuration

Launch

Algorithms
Ibex hardware (fixed for a run; differs from the config → results under <name>~<tag>)

Notes

Each (algorithm, seed) pair is one experiment run with the config's budget. Results go to experiments/results/<config>/<algo>/seed<n>/; a rerun of the same config and seed overwrites them. Jobs beyond the server's limit wait in the queue.

Jobs

Select a job to see its log.
○ offline
Manage
How to read this page

The experiment. A genetic algorithm (GA) tunes the probabilities of a random program generator so that the generated programs exercise more of the Ibex RISC-V core. It is compared with two random baselines: RS-plain (default probabilities, new random seed per program) and RS-weights (random probabilities per program, no learning). Each algorithm is run with several master seeds (independent repetitions).

Coverage = the share of the design's coverage points (source lines, branch outcomes, condition outcomes, functional covergroup bins) that the simulated programs reached. Accumulated coverage is the union over all programs of a run so far, the quantity the methods try to raise; per test is one program on its own.

Charts show the median over master seeds (line) and the middle 50 % of the seeds (shaded band). Click a legend entry to hide or show an algorithm. A12 in the table is the probability that a run of the algorithm ends with more coverage than a run of the baseline (0.5 = no difference, > 0.71 = large advantage).

The coverage report shows the source code with the reached and missed points; click a line's count to see which programs reached it, open such a program and its own coverage.

Coverage over the experiment

Chart options

Line: median over master seeds; band: middle 50 % of the seeds. Hover for exact values; click a legend entry to hide / show it.

Chart data as a table

How the GA population evolves

Chart options

One generation = one batch of programs (the random baselines are batched the same way for comparison). Generation 1 is skipped by default: its first random batch finds most of the easy points and would flatten the rest.

Comparison of the algorithms

Final coverage: accumulated coverage at the end of a run (median, middle 50 %, worst–best over the seeds). Programs to x % of best: how many programs a run needed to reach x % of the best final coverage of this experiment (median; fewer = faster). A12: chance that a run of the algorithm ends higher than a run of the baseline (0.5 = equal; 0.56 / 0.64 / 0.71 = small / medium / large).

Details

Runs (one per algorithm and master seed)
Assertion failures
Non-passing simulations

Comments

Log in to comment.

Archives (stored, removed experiments)

Archived results (experiments/archive/<experiment>@<time>.tar.gz). Load puts them back; upload an archive from another machine to load it here.

Chromosomes

Edit

Tick a knob to make it a gene (the GA evolves it; bits, range and default can be changed). A knob that is not a gene keeps the generator default, or the fixed value you enter. Use a chromosome in a config with [options] chromosome = "<name>".

Preview

Fitness functions

A config selects one with [ga] fitness = "<name>". The experiment stores the expression with its results.

Define

Factors

Per simulation, computed after each batch. Click a name to insert it.

Your account

Users

Add or change a user

viewer: sees everything, changes nothing · user: also runs and edits experiments · admin: also results management, server and users.

Notes text/notes

—
Pick a note.

Saving writes the file in the repository working tree (not committed). Ctrl+S saves. Select text in the preview to quote it in a comment.

Comments on this note

Program on Ibex

Ctrl+Enter
Output appears here.