aboutsummaryrefslogtreecommitdiff
path: root/src/tb/modexp_fpga_model_vectors.v
blob: c86f7ba6cf6088f9b8c3f211500c45cf690bf8fe (plain) (blame)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
/* Generated automatically, do not edit. */

localparam [383:0] M_384 =
	{32'h00d1bda6, 32'h6c3babf4, 32'he418ec5b, 32'h18435414, 
	 32'h5ed5b8aa, 32'h0b62f138, 32'h84551519, 32'h1e94e625, 
	 32'h0901814a, 32'h138eda05, 32'h56b54f83, 32'h1cd7605d};

localparam [383:0] N_384 =
	{32'hb06b4de3, 32'h1006214f, 32'haa3c8cae, 32'h6c568477, 
	 32'hb8c8d8b2, 32'h08684070, 32'h3b9ba674, 32'h739e0eec, 
	 32'h950a0d8a, 32'hb6b7443d, 32'hfebe690c, 32'he2810099};

localparam [383:0] N_COEFF_384 =
	{32'hd4511719, 32'h4d546bb2, 32'hdf614d49, 32'h81e00324, 
	 32'h07b0ccd5, 32'h44ccffdc, 32'h1d37c210, 32'h1733fb82, 
	 32'h35cf01cb, 32'hf7bf10e9, 32'h4238c3df, 32'h2712ac57};

localparam [383:0] FACTOR_384 =
	{32'h7643f0e6, 32'h7057fffc, 32'h92e27890, 32'h66a30c4a, 
	 32'ha6e3ef37, 32'h97d72f8a, 32'h0d4a5392, 32'heb5ad4a1, 
	 32'h0aa57383, 32'h1e3a5028, 32'h0cbaa40e, 32'hb17a468b};

localparam [383:0] COEFF_384 =
	{32'h9250be5e, 32'hc1e19afe, 32'h99341b1b, 32'hda823ac7, 
	 32'hcc46fbd2, 32'he7da1ff3, 32'he36e49fd, 32'hd593b36c, 
	 32'h09ae9f5e, 32'h7f44805d, 32'hf77c6019, 32'h45563ab6};

localparam [383:0] M_FACTOR_384 =
	{32'h8166125d, 32'h30aece3d, 32'h30d77d7e, 32'h8b0791ba, 
	 32'h91e92683, 32'hc483bb6c, 32'h0ee1571d, 32'h6e28c2f5, 
	 32'hff5e6b61, 32'h65fb6164, 32'hd3651e5a, 32'h746b8ca0};

localparam [383:0] D_384 =
	{32'had24a30c, 32'h766d8dc3, 32'he2100b02, 32'h24d1c4b0, 
	 32'hbb6a6342, 32'h577df9be, 32'h89bb1ec3, 32'hdc3259f0, 
	 32'h1a343f93, 32'h57a12599, 32'ha328ae2f, 32'hf85ef401};

localparam [383:0] S_384 =
	{32'h65752d0f, 32'h9a017293, 32'h36bfa115, 32'h4a7a81fc, 
	 32'ha76b945b, 32'h49a3f645, 32'h76801499, 32'hb98e6a16, 
	 32'hd2467b6a, 32'h75b7d614, 32'h0fff0fde, 32'hb31d1819};

localparam [191:0] P_192 =
	{32'he9ac4cf6, 32'h03b2d80a, 32'h7f1d091e, 32'h49d5f1a0, 
	 32'hac2ae4ff, 32'hbf9bf375};

localparam [191:0] Q_192 =
	{32'hc1468f3e, 32'hc6909231, 32'h5a4d74ba, 32'h477b303f, 
	 32'h4b2e10d1, 32'h1f44e815};

localparam [191:0] P_COEFF_192 =
	{32'h8ba8d46c, 32'hb4ed830d, 32'hfbb97c6e, 32'h72d150d3, 
	 32'h72d21392, 32'h70d2fb23};

localparam [191:0] Q_COEFF_192 =
	{32'hd863905a, 32'hc1541c8a, 32'h25952b0e, 32'ha62b0348, 
	 32'h837f149f, 32'hd6cc58c3};

localparam [191:0] FACTOR_P_192 =
	{32'h886bad59, 32'h9bf7a46e, 32'h482ed232, 32'he55164cf, 
	 32'hcb46a9e8, 32'he9bd888b};

localparam [191:0] FACTOR_Q_192 =
	{32'h324b776e, 32'h3734d186, 32'h73dc8796, 32'h9e1aba2c, 
	 32'h4d5df285, 32'he97656b7};

localparam [191:0] DP_192 =
	{32'h69b6c286, 32'h95fbc613, 32'h51988034, 32'h8cb0d684, 
	 32'h9aff38e4, 32'h9ef9ddb5};

localparam [191:0] DQ_192 =
	{32'h1eda82b7, 32'h84bf4377, 32'h39712ff7, 32'h24be179f, 
	 32'ha302c190, 32'h80ab6159};

localparam [191:0] MP_192 =
	{32'h9e163bb5, 32'h35e718cb, 32'hcde52b7b, 32'h5db8552b, 
	 32'h46a300e0, 32'h34f91e6b};

localparam [191:0] MQ_192 =
	{32'h7b01a724, 32'h90f0d5f9, 32'h9e237ce5, 32'h6d31fd28, 
	 32'h4ecb9dad, 32'h58bf366a};

localparam [511:0] M_512 =
	{32'h005536b6, 32'h43ea651f, 32'h2fd3c70a, 32'ha83659cb, 
	 32'hd0c1f47b, 32'ha8033730, 32'h29c6b082, 32'h6db48613, 
	 32'h6b4f769c, 32'h6bf531ff, 32'h247d6d76, 32'hea4ad050, 
	 32'hdc0e82cc, 32'hedf5fd1c, 32'he07abb51, 32'h92204551};

localparam [511:0] N_512 =
	{32'hef78b4ed, 32'haee1cc78, 32'h659b9935, 32'h39d5f5e1, 
	 32'ha47c2b29, 32'h5a38e8c4, 32'h85e2b846, 32'ha354614f, 
	 32'hde1f94ee, 32'h7462ba8f, 32'h991ffec3, 32'h6172bc7a, 
	 32'h11784156, 32'h572b6e41, 32'ha23fa8d0, 32'h257ae8f7};

localparam [511:0] N_COEFF_512 =
	{32'he20d94ee, 32'hee497b57, 32'h13d83f00, 32'h7445c269, 
	 32'h7258393f, 32'h5a725633, 32'hf7349437, 32'h83681b0a, 
	 32'h5a4be08f, 32'h7f49b1eb, 32'h09221d14, 32'h5bb82985, 
	 32'h2599e229, 32'h1a15218d, 32'h62f8803c, 32'haa5fa739};

localparam [511:0] FACTOR_512 =
	{32'h220ef9ff, 32'h55989a78, 32'h722c5c1e, 32'ha466c81c, 
	 32'h6e6e0423, 32'h1242da6d, 32'h1482351e, 32'h5d14212e, 
	 32'h8fc70923, 32'hb24cad26, 32'h3f3538a9, 32'h4f0a6bdf, 
	 32'h14ca36b9, 32'h819a72fc, 32'h9b5ea0ea, 32'h8b4fe28b};

localparam [511:0] COEFF_512 =
	{32'hd375442c, 32'h4e2dcb0d, 32'hcfd2f151, 32'hc694c180, 
	 32'h3781078f, 32'hf2647315, 32'hc5f685c2, 32'ha75c0e9d, 
	 32'h545f18cb, 32'hec66027f, 32'h229cb16f, 32'hc8613357, 
	 32'h8f92a4c4, 32'h50de0908, 32'h6d8a8d78, 32'h7011f42d};

localparam [511:0] M_FACTOR_512 =
	{32'h099cc6e8, 32'h778f03a1, 32'h329890e9, 32'ha0a86dd2, 
	 32'hd7354e49, 32'h00a2d28a, 32'h2b0848c6, 32'hb08915dc, 
	 32'h663032a3, 32'h70734b62, 32'h2d30c132, 32'hefa75cc6, 
	 32'h9f18b32a, 32'h97d6ddf8, 32'h2f6df2d0, 32'he9098874};

localparam [511:0] D_512 =
	{32'hc9686c43, 32'hbbe28d66, 32'h758ef8bc, 32'h9b7828e5, 
	 32'h2ec2804a, 32'hb76745de, 32'h83fcbba0, 32'h2d9eba78, 
	 32'h215f4cc2, 32'hf49387b3, 32'h8ed0b9dc, 32'h6c129231, 
	 32'h944368be, 32'hdbf2db79, 32'h16323c49, 32'h34cdf801};

localparam [511:0] S_512 =
	{32'hcc2fc6b6, 32'he4849987, 32'h75773499, 32'hcb0792b0, 
	 32'he79f4600, 32'hb2d739c5, 32'h1a661ac6, 32'hd3bf2db5, 
	 32'hfd1e029d, 32'hfe887387, 32'h4312635f, 32'hb2b54b8d, 
	 32'h5d3b379e, 32'h161eaa4f, 32'hedfd932b, 32'h780f0203};

localparam [255:0] P_256 =
	{32'hfedea889, 32'h97cfdb79, 32'hcca87074, 32'he5abcda1, 
	 32'h3be201c4, 32'hc416fd15, 32'hf2130931, 32'h61ff5937};

localparam [255:0] Q_256 =
	{32'hf0889147, 32'h5aa60f93, 32'hb9927d86, 32'h8f795c5c, 
	 32'h8e98dcf2, 32'had3aad74, 32'h9441583a, 32'h967dce41};

localparam [255:0] P_COEFF_256 =
	{32'h7af63ffc, 32'h428d9408, 32'h86e79fb9, 32'h018dad77, 
	 32'h4ff704df, 32'h93effb1e, 32'h265d181a, 32'h47ae5379};

localparam [255:0] Q_COEFF_256 =
	{32'hd27f8aa0, 32'h9f2b9800, 32'h2dfd2392, 32'h4f868b9d, 
	 32'h0fc51e1d, 32'h022de65b, 32'ha55f9ad1, 32'h0676be3f};

localparam [255:0] FACTOR_P_256 =
	{32'h1a5f27a1, 32'h8d16b0cb, 32'h8c2751b8, 32'h106a099c, 
	 32'ha6efbadd, 32'hcb313a5f, 32'hf530eeb6, 32'hbbc7d8f5};

localparam [255:0] FACTOR_Q_256 =
	{32'h6794987c, 32'h932203a6, 32'h8c5b1e68, 32'h18d458e6, 
	 32'h6737f12a, 32'h664d4187, 32'hc4ec03ba, 32'h4bd3d0c2};

localparam [255:0] DP_256 =
	{32'h2504d437, 32'hfffbe9e5, 32'hfc0aef22, 32'h9b8563bd, 
	 32'haa83fe3b, 32'hc53b8d91, 32'h15731c5f, 32'hb6db2eeb};

localparam [255:0] DQ_256 =
	{32'hd3265fba, 32'h2eb65638, 32'h4d106ec7, 32'h000dfe69, 
	 32'h75f87505, 32'h47d299d0, 32'h1c115cdd, 32'h599ca8c1};

localparam [255:0] MP_256 =
	{32'h23359955, 32'hcad299b6, 32'h049bb248, 32'h3828b6a5, 
	 32'h74c85825, 32'h7dd8e109, 32'h07edbda9, 32'h4980c2c9};

localparam [255:0] MQ_256 =
	{32'h8578120b, 32'h91f4ca9e, 32'h371d3e70, 32'h0005bb89, 
	 32'hd31ed864, 32'h477bd9cf, 32'h65a1f03b, 32'h606d3bc8};