fault_selection_type_pkg.vhd 2.14 KB
Newer Older
1
--------------------------------------------------------------------------------
2
3
4
-- Fault InJection Instrumenter (FIJI)
-- https://embsys.technikum-wien.at/projects/vecs/fiji
--
5
6
7
8
-- The creation of this file has been supported by the publicly funded
-- R&D project Josef Ressel Center for Verification of Embedded Computing
-- Systems (VECS) managed by the Christian Doppler Gesellschaft (CDG).
--
9
10
11
-- Authors:
-- Christian Fibich <fibich@technikum-wien.at>
-- Stefan Tauner <tauner@technikum-wien.at>
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--
-- Copyright and related rights are licensed under the Solderpad Hardware
-- License, Version 0.51 (the "License"); you may not use this file except
-- in compliance with the License. You may obtain a copy of the License at
-- http://solderpad.org/licenses/SHL-0.51. Unless required by applicable
-- law or agreed to in writing, software, hardware and materials
-- distributed under this License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expressed or
-- implied. See the License for the specific language governing
-- permissions and limitations under the License.
--
-- See the LICENSE file for more details.
--
-- Description:
--  Fault selection enumeration type used in public_config and FIU
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--------------------------------------------------------------------------------

library ieee;
use ieee.std_logic_1164.all;

package fault_selection_type_pkg is
  type t_select_fault_models is (RUNTIME,  -- implement all fault models in hardware
                                 STUCK_AT_0,  -- only implement stuck-at-0: Ties a signal to GND until released
                                 STUCK_AT_1,  -- only implement stuck-at-1: Ties a signal to VCC until released 
                                 DELAY,  -- only implement delay: passes input through one additional register until released,
                                 SEU,  -- only implement SEU: inverts input for one clock cycle,
                                 STUCK_OPEN,  -- only implement stuck-open: generate random data on output, sourced from LFSR,
                                 PASS_THRU);  -- do not implement any fault model

end package fault_selection_type_pkg;