Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

FlowChecksConfig fileSteps
TestRIGA RISC-V core against a reference model, instruction by instructiontestrig.hjsonmodel, engine, filelist, flatten, instrument (Verilator), build, run, coverage (with functional coverage)
LintA design’s RTL with Verilator, Verible, slang and AscentLint, as its core’s lint target describes itlint.hjsonfilelist, flatten, lint
CDCA design’s clock domain crossings with Meridian CDC, given its constraintscdc.hjsonfilelist, flatten, script, cdc
RDCA design’s reset domain crossings with Meridian RDC, in each reset scenariordc.hjsonfilelist, 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.

FlowRoleKind of toolTools
TestRIGdutSimulatorxcelium, verilator
TestRIGreferenceReference modelsail, the CHERI RISC-V model
TestRIGcoverageCoverage reporterimc, and doris for doris’s own
LintlinterLinterverilator, verible, slang, ascentlint
CDCcheckerCDC checkermeridiancdc
RDCcheckerRDC checkermeridianrdc

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.