User manual¶
The manual explains how to describe, run and read an HFIM fault injection campaign: a series of runs of one program, each with one fault, compared with a fault-free golden run.
If you are new to HFIM, read it in this order: Campaign configuration, then the Fault targets chapter up to Memory, then the Fault models chapter up to Single-bit flip, then Fault classification and Running campaigns. That path covers a complete register or memory campaign from the file to the results. Choose the other pages when you need them. The navigation follows the same order, so the Next link at the bottom of each page continues the path.
| Page | Covers |
|---|---|
| Campaign configuration | the campaign file, seed, number of injections, injection time |
| Fault targets | one page per target: registers, CSRs, memory, caches, DRAM, NVM, pipeline structures, coherence |
| Fault models | one page per model: single-bit flip, multi-bit, stuck-at, combinations, DRAM error models |
| Fault classification | outcomes and the method that decides each |
| Running campaigns | local, parallel workers, batches, checkpoints, server, replaying exact faults |
| Writing a benchmark | fim_init, fim_exit, what a correct run produces, building |
| Multicore | choosing the hart, memory per core, clusters |
| Use another simulator | simulator versions and board compatibility |
| Updating | HFIM, the template, the simulator and the SDK |
| Uninstalling | removing what hfim installed, on a computer and on a Server |