Glossary
Artefact. A declared output of a step, as another step refers to it. Reading one is what makes a step run after the step that wrote it.
Cache entry. The stored verdict and outputs of one step, under its cache key. See The cache.
Cache key. A hash of everything doris knows can change a step’s result: its command, inputs, tool versions and upstream outputs.
Cache unit. A step with child steps and no command of its own, cached as a whole. Only the outputs it exports are stored. Its children run side by side, and can be units themselves. No flow has one yet. See Cache units.
Composite step. A step with child steps and no command of its own, whose children are each cached by itself. A job’s composite steps are flattened when it is planned, into steps named PARENT/CHILD. No flow has one yet. See Composite steps.
Capability. A kind of tool a flow can ask for, such as a simulator or a linter. Each tool that provides it is a plugin: built into doris, or added with the setting plugins.path.
Core. A FuseSoC core: a .core file that names a set of sources, their dependencies and targets. doris gets every design’s sources from FuseSoC.
Counterexample. A shrunk instruction sequence on which the design and the reference model disagree, saved by a TestRIG run.
Debug output. An output of a step that is only of use for looking into it, such as a raw build log. It is kept and cached only in a run with --debug.
Design. One thing that flows are run on, declared by a design.hjson. It can be an IP block, a core or a whole top.
Design file. design.hjson: a design’s name, RTL core and top module.
DUT. Design under test. In result files, dut is the design’s name, as TOP/NAME for a top’s own design.
Flow. One kind of verification work, such as lint or TestRIG. A flow owns its steps and its result format.
Flow config file. A design’s config for one flow, such as lint.hjson. It belongs to the nearest design file above it.
GC root. The record a run leaves in the cache, listing the entries it used. Roots keep entries alive. See Cleaning the cache.
Invocation. One program and everything doris must do to start it: arguments, environment, working directory and staging. A plugin builds it.
Context. The top a design is run in the context of: the design is resolved with that top’s FuseSoC mappings. See Tops and contexts.
Job. One design in one flow with one tool bound to each of the flow’s roles, and for lint in one context, named FLOW/[TOP/]DESIGN@TOOL after the tool in the main role. Another role bound to several tools adds its tool, as @TOOL+TOOL. A job is what a result file describes.
Judge. A function in doris that decides whether a completed step passed or failed, from its exit code, the files in its directory and its parsed results.
Outcome. How a step or job ended: passed, failed, step error, setup error or skipped. See Outcomes.
Parse function. A function in doris that reads what a completed step wrote into results, such as a linter’s messages from its logs. They are written to one of the step’s outputs as JSON, and given to its judge.
Pattern. A regular expression looked for in one output of a step, or in its stdout or stderr. A pass pattern must match for the step to complete, and a fail pattern that matches fails it.
Pin. A mark on a GC root that protects it from collection.
Precheck. A condition a step needs of the machine, checked before any step of a run starts: a program on PATH, an environment variable, a file, a tool’s version, a command that exits with code 0. doris check runs them alone. See Checking the environment.
Probe. How doris asks a tool for its version, such as by running xrun -version. The version is part of the cache key of each step that uses the tool, and is written to the result file.
Project file. project.hjson at the repo root. It marks the root and says where the config files and cores are.
QCVEngine. QuickCheckVEngine, the TestRIG verification engine. It generates instruction sequences and compares the traces two implementations return.
Reference model. The implementation a design is compared against in TestRIG. Sail is the only one.
Resource pool. A named amount of something steps hold while they run: CPU threads, memory, disk space or licences. The steps running at once never hold more of a pool than its size. See Resource pools.
Role. One thing a flow needs a tool for, such as lint’s linter or TestRIG’s dut. Config binds a tool to each role, and a flow’s first role is its main one. See Tools and roles.
Result file. result.json: the versioned JSON record of a job.
Run. One doris run command. It has one or more jobs and one GC root.
RVFI-DII. The socket protocol TestRIG uses: instructions are injected into an implementation, which returns a trace packet for each.
Scope. Where a design sits among the tops: a top, a top’s own design, or shared.
Scratch directory. scratch/doris/ in the repo root, where every job and step has its directory. A step’s directory is its working directory: a step that passed leaves only its outputs there, and one that failed is kept whole. See Working directories.
Service. A program a step starts before its command and stops after it, such as the simulator in TestRIG’s run step. The command starts once every service is ready.
Settings. How and where a run happens on this machine, such as pool sizes and where a tool is installed, from layered settings files and the command line. No setting changes a result. See Settings.
Step. One unit of a job: usually one command, with declared inputs and outputs, cached by itself. A step runs after the steps whose artefacts it reads.
Step error. An outcome meaning the step did not complete. It says nothing about the design.
Top. A design that others are run in the context of, marked scope: top in its design file. Designs below its directory are its own.
Verdict. A completed step’s pass or fail, from its judge and its fail patterns.