Skip to content

How to Modify the Execution Cycles of Certain Instruction Types

root edited this page Sep 16, 2022 · 1 revision

LLTFI allows users to specify the execution cycle of all instruction types (opcodes). This is to better simulate hardware fault injections.

Change the last field of HANDLE_INST() in < LLFI_SRC_ROOT >/runtime_lib/Instruction.def for the instruction type you want to change. The default value is 1 cycle of all instructions. Then go to < LLFI_DST_ROOT > and run make