forked from ChairImpSec/PROLEAD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.set
81 lines (56 loc) · 2.52 KB
/
config.set
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
% Taken from: examples\PRESENT_Sbox_TI_d1_Uniform\results\compact_mode\config.set
max_no_of_threads % maximum number of threads *for parallel operation*
48
no_of_groups % number of groups to conduct the test, e.g., fixed vs. fixed, fixed vs. random, etc.
2
4'h$
4'h0
clock_signal_name % name of the clock signal
clk
max_clock_cycle % maximum number of clock cycles per run before checking the end_condition
5
no_of_always_random_inputs % number of inputs which are fed randomly at every clock cycle
0
no_of_initial_inputs % number of primary inputs during the initialization
4
no_of_initial_clock_cycles % number of clock cycles to initiate the run (start of encryption)
1
[3:0] sboxIn1 group_in0[3:0]
[3:0] sboxIn2 group_in1[3:0]
[3:0] sboxIn3 group_in2[3:0]
en 1'b1
end_condition % the condition to check to terminate the simulation (e.g., done signal is high)
% or a numer of clock cycles, e.g., ClockCycles 5
%done 1'b1
%[31:0] y 32'h89ABCE00
ClockCycles 5
end_wait_cycles % number of clock cycles to wait after the end_condition
0
order_of_test % maximum number of probes, i.e., order of test
1
multivariate_test % no: only univariate test should be done, yes: univariate + multivariate
no
transitional_leakage % yes/no: whether transitional leakage should be considered in the tests
yes
compact_distributions % yes/no: whether distributions (of probes) should be considered as compact.
% it is recommended to use 'no' only for small circuits and low security orders
yes
minimize_probe_sets
yes
no_of_test_clock_cycles % number of blocks to define clock cycles which should be covered in the tests
1
1-5 % clock cycles 4, 5, 6
no_of_simulations % total number of simulations (traces) in the tests, should be a factor of 64
100000000
no_of_step_simulations % number of simulations in each step, should be a factor of 64, and a divisor of no_of_simulations
1000000
no_of_step_write_results % number of simulations in each step that result files are written,
% should be a factor of 64, and a divisor of no_of_simulations and
% should be a factor of no_of_step_simulations
1000000
no_of_entries_in_report
10
probes_include % those wires which should be included for probing (all : to include them all, 0 : to include none, e.g., 2 : to inlcude two and name them)
all
probes_exclude % those wires which should be exclused for probing (all : to exclude them all, 0 : to exclude none, e.g., 2 : to exclude two and name them)
0