Flows
A flow is one kind of verification work. It owns the shape of that work: which steps exist, how they connect, and what the result means. A design takes part in a flow by having a config file for it.
| Flow | Checks | Config file | Steps |
|---|---|---|---|
| TestRIG | A RISC-V core against a reference model, instruction by instruction | testrig.hjson | model, engine, filelist, flatten, instrument (Verilator), build, run, coverage (with functional coverage) |
| Lint | A design’s RTL with Verilator, Verible, slang and AscentLint, as its core’s lint target describes it | lint.hjson | filelist, flatten, lint |
| CDC | A design’s clock domain crossings with Meridian CDC, given its constraints | cdc.hjson | filelist, flatten, script, cdc |
| RDC | A design’s reset domain crossings with Meridian RDC, in each reset scenario | rdc.hjson | filelist, flatten, script, rdc |
The flows are a fixed list in doris. Synthesis and formal are planned.
Flows and tools
A flow has a role for each kind of tool it needs, and config binds a tool to each role: the design’s flow config, or the project file for a role that config leaves out (see Tools and roles). How to invoke the tool and read its output is part of doris, so a config carries no command lines.
| Flow | Role | Kind of tool | Tools |
|---|---|---|---|
| TestRIG | dut | Simulator | xcelium, verilator |
| TestRIG | reference | Reference model | sail, the CHERI RISC-V model |
| TestRIG | coverage | Coverage reporter | imc, and doris for doris’s own |
| Lint | linter | Linter | verilator, verible, slang, ascentlint |
| CDC | checker | CDC checker | meridiancdc |
| RDC | checker | RDC checker | meridianrdc |
FuseSoC resolves every design’s sources and is used by every flow.
Flow, role and tool names are checked when config is loaded, so doris validate reports an unknown one.
Reading these pages
Each flow’s page says which steps it runs, what its config gives them, what its result holds, and how to check a run by hand. Each step’s page gives the command it runs, what it reads and writes, and what passed means for it.
Read Running flows first for how any step runs and what outcomes mean.