/usr/share/faumachine/experiments/test-fi-smart-step2/fi.vhdl.in is in faumachine-data 20110812-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | --
-- $Id: fi.vhdl.in,v 1.2 2009-10-15 09:33:36 potyra Exp $
--
library expect;
use expect.types.all;
use expect.procedures.all;
entity fi is
end fi;
architecture behaviour of fi is
signal err : integer;
begin
fault_injector : process
begin
@FAULT_CONNECT@
wait for @FAULT_INITIAL_DELAY@ ms;
assert false report "Injecting Faults." severity note;
err <= 1;
wait;
end process;
end behaviour;
|