| backend |
The simulator, or the board, that runs the program: QEMU, gem5 or hardware. Selected with simulator_backend. See Backends. |
| batch |
A campaign file with a defaults: block and a campaigns: list. Each entry is one campaign; its keys override defaults. |
| benchmark |
A program under benchmarks/<name>/ that calls fim_init() and fim_exit(). Its directory holds code and its own build files only; its observables are named in the campaigns. |
| bit-flip |
Fault model that inverts one bit (single_bit_flip) or several (multi_bit_count). Models a single-event upset. |
| board |
The hardware a template describes, in board.yaml: CPU, harts, clusters, memory map, and how HFIM runs it. |
board.yaml |
The board description. HFIM acts on cpu.cores, cpu.clusters, cpu.harts, cpu.clock_hz and the emulation: block. See Boards. |
| breakpoint mode |
injection_mode: breakpoint. The injection point is a program counter and a hit instance, not an instruction count. Used for multicore and feeder-driven runs. |
| build |
Compiling a benchmark into an ELF. Done by the SDK's build.sh, or by the command in the template's hfim.yaml build: key. |
| build runtime |
build_runtime, a campaign key: how the program starts and whether libc is linked. nostdlib (default), newlib, or zephyr for an ELF built outside the SDK. |
| campaign |
One YAML file under campaigns/ that names, directly or through the files it includes, a benchmark, a seed, a number of injections, a fault target, a fault model and a simulator. hfim run executes it. |
| campaign ID |
The name of a campaign's result directory: benchmark, date, time, microseconds, for example fibonacci_20260916_124622_491942. |
| campaign repository |
The directory hfim init creates from a template. Holds the board, benchmarks, campaigns and results; versioned with git. |
| checkpoint |
A QEMU snapshot taken once at an anchor symbol, usually fim_init, and restored before each injection instead of booting again. |
| cluster |
A group of harts that GDB sees as one inferior. A board with more than one (cpu.clusters) has each attached separately. PolarFire has two: the E51, and the four U54s. |
| crash |
Outcome. The program did not finish: exit code above 1, CPU exception, or a crash_patterns string on the console. |
| crash pattern |
A console string in crash_patterns that ends a run as crash, for example ZEPHYR FATAL ERROR. |
| detected |
Outcome. The benchmark's own check caught the fault and called fim_exit(1), or the console printed detection_string. |
| DMR |
Dual modular redundancy: a benchmark computes a result twice and compares. A mismatch ends the run with fim_exit(1), the detected outcome. |
| exit device |
A device that ends QEMU when the program writes to it, such as sifive_test. A board with exit_device: none ends each run at a breakpoint on fim_exit. |
| fault |
One change to the machine state: a target, a bit, a fault model and an injection point. |
| fault model |
How the target bits are changed: single_bit_flip, multi-bit flip, stuck_at_0, stuck_at_1. See Fault models. |
| fault target |
Where a fault lands: a register, a memory range or variable, or on gem5 a cache, DRAM, NVM, pipeline or coherence structure. See Fault targets. |
| faultlist |
The list of faults a campaign injects, drawn from the seed before the first injection. Written to faultlist.json. |
| feeder |
An external process connected to the benchmark's serial port (serial_feeder_cmd), for programs that exchange data with a model of their environment. |
fim_exit() |
SDK call that ends the injection window. Its argument is the exit code: 0 for a run that saw no problem, 1 for a fault the benchmark detected. |
fim_init() |
SDK call that opens the injection window. |
| firmware |
Code every hart starts in before the program, named by firmware_path. On PolarFire this is the HSS. |
| fleet |
The workers of one account on a server, which run injections of a campaign in parallel. |
| GDB inferior |
One debugged target inside GDB. HFIM uses one per cluster. |
| golden run |
The benchmark run once without a fault. Its console output, observables and instruction counts are the reference every injection is compared against. Stored in golden/<benchmark>/<record key>/. |
| hart |
A RISC-V hardware thread, one per core on the boards HFIM supports. Numbered within its cluster in target_core. |
| hit instance |
In breakpoint mode, which execution of the injection address the fault fires on, counted from 0. Column hit_instance. |
| HSS |
Hart Software Services: Microchip's firmware for PolarFire SoC. It runs on the E51 and starts the program on the U54s. |
| icount |
Retired-instruction count. In icount mode the injection point is an instruction number inside the injection window. |
| icount plugin |
The QEMU plugin (libicount_breakpoint.so) that counts retired instructions, stops QEMU at the injection point, counts breakpoint hits, and enforces the instruction limit. Shipped with hfim-sim-qemu. |
infrastructure_failure |
Outcome value for an injection that was not carried out: the simulator did not start, GDB did not connect, or the run never reached its injection point. Excluded from rates. |
| included file |
A YAML file under campaigns/ that a campaign names under include:, by a path relative to itself. It fills only the keys the campaign leaves unset; the file run wins, and in one include: list the first file listed wins. See Sharing settings with include. |
| injection |
One run of the benchmark with one fault, classified into one outcome. One row of injections.csv. |
| injection mode |
How the injection point is named: icount, breakpoint, timer or stepi. |
| injection point |
The instant a fault is applied: an instruction count, or an address and hit instance. |
| injection window |
The part of the run between fim_init() and fim_exit(). Faults land only there. |
injections.csv |
The result file of a campaign, one row per injection. See Output files. |
| instruction limit |
hang_icount_factor times the golden run's instruction count. A run that exceeds it ends as timeout. QEMU only. |
| manifest hash |
integrity.manifest_hash in provenance.json: one hash over every input, tool and parameter of the campaign. |
| masked |
Outcome. The program finished and its observables equal the golden run. |
| MTTCG |
QEMU's multi-threaded mode: each hart runs on its own host thread. Runs under MTTCG are not bit-exact reproducible. |
| multi-bit fault |
A fault that changes several bits of one target, multi_bit_count above 1. Column bit_positions. |
| observable |
A file-scope volatile variable named in observable_outputs. Read at fim_exit and compared with the golden run. |
| outcome |
The class of one injection: masked, sdc, detected, crash or timeout. See Fault classification. |
| probe package |
The GDB server in front of a physical board, named <package>@<version>, for example hfim-probe-openocd@0.12.0 or, by its short name, openocd@0.12.0. A -hardware template pins one with probe: in hfim.yaml; hfim init and hfim run install it into ~/.hfim/probes/ (as do hfim setup and hfim probe install). Its manifest.yaml names the server command and the line it prints when ready. See Hardware backend. |
| provenance |
provenance.json: hashes of the ELF, the configuration, the golden run and the tools, and the parameters a campaign ran with. |
| results store |
Where the per-injection tree of a campaign is archived, by campaign ID: file:// or ssh://. results_store in hfim.yaml. |
| SDC |
Silent data corruption. Outcome sdc: the program finished, its observables differ from the golden run, and nothing reported an error. |
| SDK |
hfim-sdk: the build script and the fim_init() / fim_exit() calls a benchmark links against. hfim init and hfim run install the release the template's sdk: range pins into ~/.hfim/sdk/<version>/. |
| seed |
The integer that seeds the campaign's random draws. The same seed, ELF and configuration give the same faultlist. |
| server |
A machine that runs hfim-server: a gateway and a fleet of workers per account. hfim run --on <server> sends a campaign there. See Running campaigns. |
| server account |
The Linux user fim-<name> a member's campaigns run as on a server, with its own workers. |
| short name |
A package's name without the prefix of its kind: ovp for hfim-sim-ovp, openocd for hfim-probe-openocd. hfim sim install, hfim probe install, simulator: and probe: take it, because the command or the key already says the kind. The full name names the same package. See Extending HFIM. |
| simulator package |
An installed, versioned simulator, named <package>@<version>, for example hfim-sim-qemu@9.2.3 (short name qemu@9.2.3) or hfim-sim-gem5. hfim init and hfim run (or hfim setup and hfim sim install) build it from its release tag and registers it in ~/.hfim/simulators/; its manifest.yaml says what it is and lists the QEMU fixes it carries. |
| station |
The Linux machine a physical board is plugged into. board.yaml lists what it needs under hardware.host; hfim doctor checks it and prints the command for each missing item. See Hardware backend. |
| stuck-at |
Fault model that forces bits to 0 (stuck_at_0) or 1 (stuck_at_1). |
| submission |
One campaign sent to a server, identified in provenance.json by submission_id. |
| template |
A repository with one board's description, boot code, benchmarks and campaigns. hfim init <template> <dir> copies it. See Boards. |
| timeout |
Outcome. The run exceeded its wall-clock limit (timeout, injection_timeout) or its instruction limit. |
unknown |
Outcome value for a run that could not be classified. Excluded from rates. |
| valid rows |
All rows of a campaign except infrastructure_failure and unknown. Percentages are taken over them. |
| worker |
Runs an injection in a parallel campaign. On local QEMU and gem5 runs, num_workers or --workers sets the number of workers. |