forked from open-power/snap
-
Notifications
You must be signed in to change notification settings - Fork 4
/
action_wrapper.vhd_source
585 lines (573 loc) · 50.1 KB
/
action_wrapper.vhd_source
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
----------------------------------------------------------------------------
----------------------------------------------------------------------------
--
-- Copyright 2016,2017 International Business Machines
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions AND
-- limitations under the License.
--
----------------------------------------------------------------------------
----------------------------------------------------------------------------
LIBRARY ieee;
USE ieee.std_logic_1164.all;
USE ieee.std_logic_misc.all;
USE ieee.std_logic_unsigned.all;
USE ieee.numeric_std.all;
USE work.psl_accel_types.ALL;
USE work.action_types.ALL;
ENTITY action_wrapper IS
PORT (
ap_clk : IN STD_LOGIC;
ap_rst_n : IN STD_LOGIC;
interrupt : OUT STD_LOGIC;
interrupt_src : OUT STD_LOGIC_VECTOR(INT_BITS-2 DOWNTO 0);
interrupt_ctx : OUT STD_LOGIC_VECTOR(CONTEXT_BITS-1 DOWNTO 0);
interrupt_ack : IN STD_LOGIC;
-- -- only for DDRI_USED=TRUE
-- AXI SDRAM Interface -- only for DDRI_USED=TRUE
m_axi_card_mem0_araddr : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_ADDR_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arburst : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arcache : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arid : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arlen : OUT STD_LOGIC_VECTOR ( 7 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arlock : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arprot : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arqos : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arready : IN STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_arregion : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arsize : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_aruser : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_ARUSER_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_arvalid : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_awaddr : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_ADDR_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awburst : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awcache : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awid : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awlen : OUT STD_LOGIC_VECTOR ( 7 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awlock : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awprot : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awqos : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awready : IN STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_awregion : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awsize : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awuser : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_AWUSER_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_awvalid : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_bid : IN STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_bready : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_bresp : IN STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_buser : IN STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_BUSER_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_bvalid : IN STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_rdata : IN STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_DATA_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_rid : IN STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_rlast : IN STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_rready : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_rresp : IN STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_ruser : IN STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_RUSER_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_rvalid : IN STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_wdata : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_DATA_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_wlast : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_wready : IN STD_LOGIC; -- only for DDRI_USED=TRUE
m_axi_card_mem0_wstrb : OUT STD_LOGIC_VECTOR ( (C_M_AXI_CARD_MEM0_DATA_WIDTH/8)-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_wuser : OUT STD_LOGIC_VECTOR ( C_M_AXI_CARD_MEM0_WUSER_WIDTH-1 DOWNTO 0 ); -- only for DDRI_USED=TRUE
m_axi_card_mem0_wvalid : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
-- -- only for NVME_USED=TRUE
-- AXI NVME Interface -- only for NVME_USED=TRUE
m_axi_nvme_araddr : OUT STD_LOGIC_VECTOR ( C_M_AXI_NVME_ADDR_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arburst : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arcache : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arid : OUT STD_LOGIC_VECTOR ( C_M_AXI_NVME_ID_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arlen : OUT STD_LOGIC_VECTOR ( 7 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arlock : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arprot : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arqos : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arready : IN STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_arregion : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arsize : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_aruser : OUT STD_LOGIC_VECTOR ( C_M_AXI_NVME_ARUSER_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_arvalid : OUT STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_awaddr : OUT STD_LOGIC_VECTOR ( C_M_AXI_NVME_ADDR_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awburst : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awcache : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awid : OUT STD_LOGIC_VECTOR ( C_M_AXI_NVME_ID_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awlen : OUT STD_LOGIC_VECTOR ( 7 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awlock : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awprot : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awqos : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awready : IN STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_awregion : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awsize : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awuser : OUT STD_LOGIC_VECTOR ( C_M_AXI_NVME_AWUSER_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_awvalid : OUT STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_bid : IN STD_LOGIC_VECTOR ( C_M_AXI_NVME_ID_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_bready : OUT STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_bresp : IN STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_buser : IN STD_LOGIC_VECTOR ( C_M_AXI_NVME_BUSER_WIDTH -1 downto 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_bvalid : IN STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_rdata : IN STD_LOGIC_VECTOR ( C_M_AXI_NVME_DATA_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_rid : IN STD_LOGIC_VECTOR ( C_M_AXI_NVME_ID_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_rlast : IN STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_rready : OUT STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_rresp : IN STD_LOGIC_VECTOR ( 1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_ruser : IN STD_LOGIC_VECTOR ( C_M_AXI_NVME_RUSER_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_rvalid : IN STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_wdata : OUT STD_LOGIC_VECTOR (C_M_AXI_NVME_DATA_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_wlast : OUT STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_wready : IN STD_LOGIC; -- only for NVME_USED=TRUE
m_axi_nvme_wstrb : OUT STD_LOGIC_VECTOR ((C_M_AXI_NVME_DATA_WIDTH/8) -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_wuser : OUT STD_LOGIC_VECTOR (C_M_AXI_NVME_WUSER_WIDTH -1 DOWNTO 0 ); -- only for NVME_USED=TRUE
m_axi_nvme_wvalid : OUT STD_LOGIC; -- only for NVME_USED=TRUE
--
-- AXI Control Register Interface
s_axi_ctrl_reg_araddr : IN STD_LOGIC_VECTOR ( C_S_AXI_CTRL_REG_ADDR_WIDTH-1 DOWNTO 0 );
s_axi_ctrl_reg_arready : OUT STD_LOGIC;
s_axi_ctrl_reg_arvalid : IN STD_LOGIC;
s_axi_ctrl_reg_awaddr : IN STD_LOGIC_VECTOR ( C_S_AXI_CTRL_REG_ADDR_WIDTH-1 DOWNTO 0 );
s_axi_ctrl_reg_awready : OUT STD_LOGIC;
s_axi_ctrl_reg_awvalid : IN STD_LOGIC;
s_axi_ctrl_reg_bready : IN STD_LOGIC;
s_axi_ctrl_reg_bresp : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
s_axi_ctrl_reg_bvalid : OUT STD_LOGIC;
s_axi_ctrl_reg_rdata : OUT STD_LOGIC_VECTOR ( C_S_AXI_CTRL_REG_DATA_WIDTH-1 DOWNTO 0 );
s_axi_ctrl_reg_rready : IN STD_LOGIC;
s_axi_ctrl_reg_rresp : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
s_axi_ctrl_reg_rvalid : OUT STD_LOGIC;
s_axi_ctrl_reg_wdata : IN STD_LOGIC_VECTOR ( C_S_AXI_CTRL_REG_DATA_WIDTH-1 DOWNTO 0 );
s_axi_ctrl_reg_wready : OUT STD_LOGIC;
s_axi_ctrl_reg_wstrb : IN STD_LOGIC_VECTOR ( (C_S_AXI_CTRL_REG_DATA_WIDTH/8)-1 DOWNTO 0 );
s_axi_ctrl_reg_wvalid : IN STD_LOGIC;
--
-- AXI Host Memory Interface
m_axi_host_mem_araddr : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_ADDR_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_arburst : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
m_axi_host_mem_arcache : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 );
m_axi_host_mem_arid : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_arlen : OUT STD_LOGIC_VECTOR ( 7 DOWNTO 0 );
m_axi_host_mem_arlock : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
m_axi_host_mem_arprot : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 );
m_axi_host_mem_arqos : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 );
m_axi_host_mem_arready : IN STD_LOGIC;
m_axi_host_mem_arregion : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 );
m_axi_host_mem_arsize : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 );
m_axi_host_mem_aruser : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_ARUSER_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_arvalid : OUT STD_LOGIC;
m_axi_host_mem_awaddr : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_ADDR_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_awburst : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
m_axi_host_mem_awcache : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 );
m_axi_host_mem_awid : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_awlen : OUT STD_LOGIC_VECTOR ( 7 DOWNTO 0 );
m_axi_host_mem_awlock : OUT STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
m_axi_host_mem_awprot : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 );
m_axi_host_mem_awqos : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 );
m_axi_host_mem_awready : IN STD_LOGIC;
m_axi_host_mem_awregion : OUT STD_LOGIC_VECTOR ( 3 DOWNTO 0 );
m_axi_host_mem_awsize : OUT STD_LOGIC_VECTOR ( 2 DOWNTO 0 );
m_axi_host_mem_awuser : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_AWUSER_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_awvalid : OUT STD_LOGIC;
m_axi_host_mem_bid : IN STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_bready : OUT STD_LOGIC;
m_axi_host_mem_bresp : IN STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
m_axi_host_mem_buser : IN STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_BUSER_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_bvalid : IN STD_LOGIC;
m_axi_host_mem_rdata : IN STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_DATA_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_rid : IN STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_rlast : IN STD_LOGIC;
m_axi_host_mem_rready : OUT STD_LOGIC;
m_axi_host_mem_rresp : IN STD_LOGIC_VECTOR ( 1 DOWNTO 0 );
m_axi_host_mem_ruser : IN STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_RUSER_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_rvalid : IN STD_LOGIC;
m_axi_host_mem_wdata : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_DATA_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_wlast : OUT STD_LOGIC;
m_axi_host_mem_wready : IN STD_LOGIC;
m_axi_host_mem_wstrb : OUT STD_LOGIC_VECTOR ( (C_M_AXI_HOST_MEM_DATA_WIDTH/8)-1 DOWNTO 0 );
m_axi_host_mem_wuser : OUT STD_LOGIC_VECTOR ( C_M_AXI_HOST_MEM_WUSER_WIDTH-1 DOWNTO 0 );
m_axi_host_mem_wvalid : OUT STD_LOGIC
);
END action_wrapper;
ARCHITECTURE STRUCTURE OF action_wrapper IS
COMPONENT action_example IS
GENERIC (
-- Parameters for Axi Master Bus Interface AXI_CARD_MEM0 : to on-card SDRAM
C_AXI_CARD_MEM0_ID_WIDTH : integer;
C_AXI_CARD_MEM0_ADDR_WIDTH : integer;
C_AXI_CARD_MEM0_DATA_WIDTH : integer;
C_AXI_CARD_MEM0_AWUSER_WIDTH : integer;
C_AXI_CARD_MEM0_ARUSER_WIDTH : integer;
C_AXI_CARD_MEM0_WUSER_WIDTH : integer;
C_AXI_CARD_MEM0_RUSER_WIDTH : integer;
C_AXI_CARD_MEM0_BUSER_WIDTH : integer;
-- Parameters for Axi Slave Bus Interface AXI_CTRL_REG
C_AXI_CTRL_REG_DATA_WIDTH : integer;
C_AXI_CTRL_REG_ADDR_WIDTH : integer;
-- Parameters for Axi Master Bus Interface AXI_HOST_MEM : to Host memory
C_AXI_HOST_MEM_ID_WIDTH : integer;
C_AXI_HOST_MEM_ADDR_WIDTH : integer;
C_AXI_HOST_MEM_DATA_WIDTH : integer;
C_AXI_HOST_MEM_AWUSER_WIDTH : integer;
C_AXI_HOST_MEM_ARUSER_WIDTH : integer;
C_AXI_HOST_MEM_WUSER_WIDTH : integer;
C_AXI_HOST_MEM_RUSER_WIDTH : integer;
C_AXI_HOST_MEM_BUSER_WIDTH : integer;
INT_BITS : integer;
CONTEXT_BITS : integer
);
PORT (
action_clk : IN STD_LOGIC;
action_rst_n : IN STD_LOGIC;
int_req : OUT STD_LOGIC;
int_src : OUT STD_LOGIC_VECTOR(INT_BITS-2 DOWNTO 0);
int_ctx : OUT STD_LOGIC_VECTOR(CONTEXT_BITS-1 DOWNTO 0);
int_req_ack : IN STD_LOGIC;
-- Ports of Axi Master Bus Interface AXI_CARD_MEM0 -- only for DDRI_USED=TRUE
-- to on-card SDRAM -- only for DDRI_USED=TRUE
axi_card_mem0_awaddr : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_ADDR_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awlen : OUT STD_LOGIC_VECTOR(7 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awsize : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awburst : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awlock : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awcache : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awprot : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awregion : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awqos : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awvalid : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_awready : IN STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_wdata : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_DATA_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_wstrb : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_DATA_WIDTH/8-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_wlast : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_wvalid : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_wready : IN STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_bresp : IN STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_bvalid : IN STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_bready : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_araddr : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_ADDR_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arlen : OUT STD_LOGIC_VECTOR(7 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arsize : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arburst : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arlock : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arcache : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arprot : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arregion : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arqos : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_arvalid : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_arready : IN STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_rdata : IN STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_DATA_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_rresp : IN STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_rlast : IN STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_rvalid : IN STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_rready : OUT STD_LOGIC; -- only for DDRI_USED=TRUE
axi_card_mem0_arid : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_aruser : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_ARUSER_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awid : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_awuser : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_AWUSER_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_bid : IN STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_buser : IN STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_BUSER_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_rid : IN STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_ID_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_ruser : IN STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_RUSER_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
axi_card_mem0_wuser : OUT STD_LOGIC_VECTOR(C_M_AXI_CARD_MEM0_WUSER_WIDTH-1 DOWNTO 0); -- only for DDRI_USED=TRUE
-- -- only for NVME_USED=TRUE
-- Ports of Axi Master Bus Interface AXI_NVME -- only for NVME_USED=TRUE
-- to NVME -- only for NVME_USED=TRUE
axi_nvme_awaddr : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_ADDR_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awlen : OUT STD_LOGIC_VECTOR(7 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awsize : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awburst : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awlock : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awcache : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awprot : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awregion : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awqos : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awvalid : OUT STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_awready : IN STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_wdata : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_DATA_WIDTH-1 downto 0); -- only for NVME_USED=TRUE
axi_nvme_wstrb : OUT STD_LOGIC_VECTOR((C_M_AXI_NVME_DATA_WIDTH/8)-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_wlast : OUT STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_wvalid : OUT STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_wready : IN STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_bresp : IN STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_bvalid : IN STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_bready : OUT STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_araddr : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_ADDR_WIDTH-1 downto 0); -- only for NVME_USED=TRUE
axi_nvme_arlen : OUT STD_LOGIC_VECTOR(7 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arsize : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arburst : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arlock : OUT STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arcache : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arprot : OUT STD_LOGIC_VECTOR(2 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arregion : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arqos : OUT STD_LOGIC_VECTOR(3 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_arvalid : OUT STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_arready : IN STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_rdata : IN STD_LOGIC_VECTOR(C_M_AXI_NVME_DATA_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_rresp : IN STD_LOGIC_VECTOR(1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_rlast : IN STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_rvalid : IN STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_rready : OUT STD_LOGIC; -- only for NVME_USED=TRUE
axi_nvme_arid : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_ID_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_aruser : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_ARUSER_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awid : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_ID_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_awuser : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_AWUSER_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_bid : IN STD_LOGIC_VECTOR(C_M_AXI_NVME_ID_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_buser : IN STD_LOGIC_VECTOR(C_M_AXI_NVME_BUSER_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_rid : IN STD_LOGIC_VECTOR(C_M_AXI_NVME_ID_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_ruser : IN STD_LOGIC_VECTOR(C_M_AXI_NVME_RUSER_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
axi_nvme_wuser : OUT STD_LOGIC_VECTOR(C_M_AXI_NVME_WUSER_WIDTH-1 DOWNTO 0); -- only for NVME_USED=TRUE
--
-- Ports of Axi Slave Bus Interface AXI_CTRL_REG
axi_ctrl_reg_awaddr : IN STD_LOGIC_VECTOR(C_S_AXI_CTRL_REG_ADDR_WIDTH-1 DOWNTO 0);
axi_ctrl_reg_awvalid : IN STD_LOGIC;
axi_ctrl_reg_awready : OUT STD_LOGIC;
axi_ctrl_reg_wdata : IN STD_LOGIC_VECTOR(C_S_AXI_CTRL_REG_DATA_WIDTH-1 DOWNTO 0);
axi_ctrl_reg_wstrb : IN STD_LOGIC_VECTOR((C_S_AXI_CTRL_REG_DATA_WIDTH/8)-1 DOWNTO 0);
axi_ctrl_reg_wvalid : IN STD_LOGIC;
axi_ctrl_reg_wready : OUT STD_LOGIC;
axi_ctrl_reg_bresp : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_ctrl_reg_bvalid : OUT STD_LOGIC;
axi_ctrl_reg_bready : IN STD_LOGIC;
axi_ctrl_reg_araddr : IN STD_LOGIC_VECTOR(C_S_AXI_CTRL_REG_ADDR_WIDTH-1 DOWNTO 0);
axi_ctrl_reg_arvalid : IN STD_LOGIC;
axi_ctrl_reg_arready : OUT STD_LOGIC;
axi_ctrl_reg_rdata : OUT STD_LOGIC_VECTOR(C_S_AXI_CTRL_REG_DATA_WIDTH-1 DOWNTO 0);
axi_ctrl_reg_rresp : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_ctrl_reg_rvalid : OUT STD_LOGIC;
axi_ctrl_reg_rready : IN STD_LOGIC;
--
-- Ports of Axi Master Bus Interface AXI_HOST_MEM
-- to HOST memory
axi_host_mem_awaddr : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_ADDR_WIDTH-1 DOWNTO 0);
axi_host_mem_awlen : OUT STD_LOGIC_VECTOR(7 DOWNTO 0);
axi_host_mem_awsize : OUT STD_LOGIC_VECTOR(2 DOWNTO 0);
axi_host_mem_awburst : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_host_mem_awlock : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_host_mem_awcache : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
axi_host_mem_awprot : OUT STD_LOGIC_VECTOR(2 DOWNTO 0);
axi_host_mem_awregion : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
axi_host_mem_awqos : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
axi_host_mem_awvalid : OUT STD_LOGIC;
axi_host_mem_awready : IN STD_LOGIC;
axi_host_mem_wdata : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_DATA_WIDTH-1 DOWNTO 0);
axi_host_mem_wstrb : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_DATA_WIDTH/8-1 DOWNTO 0);
axi_host_mem_wlast : OUT STD_LOGIC;
axi_host_mem_wvalid : OUT STD_LOGIC;
axi_host_mem_wready : IN STD_LOGIC;
axi_host_mem_bresp : IN STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_host_mem_bvalid : IN STD_LOGIC;
axi_host_mem_bready : OUT STD_LOGIC;
axi_host_mem_araddr : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_ADDR_WIDTH-1 DOWNTO 0);
axi_host_mem_arlen : OUT STD_LOGIC_VECTOR(7 DOWNTO 0);
axi_host_mem_arsize : OUT STD_LOGIC_VECTOR(2 DOWNTO 0);
axi_host_mem_arburst : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_host_mem_arlock : OUT STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_host_mem_arcache : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
axi_host_mem_arprot : OUT STD_LOGIC_VECTOR(2 DOWNTO 0);
axi_host_mem_arregion : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
axi_host_mem_arqos : OUT STD_LOGIC_VECTOR(3 DOWNTO 0);
axi_host_mem_arvalid : OUT STD_LOGIC;
axi_host_mem_arready : IN STD_LOGIC;
axi_host_mem_rdata : IN STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_DATA_WIDTH-1 DOWNTO 0);
axi_host_mem_rresp : IN STD_LOGIC_VECTOR(1 DOWNTO 0);
axi_host_mem_rlast : IN STD_LOGIC;
axi_host_mem_rvalid : IN STD_LOGIC;
axi_host_mem_rready : OUT STD_LOGIC;
axi_host_mem_arid : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0);
axi_host_mem_aruser : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_ARUSER_WIDTH-1 DOWNTO 0);
axi_host_mem_awid : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0);
axi_host_mem_awuser : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_AWUSER_WIDTH-1 DOWNTO 0);
axi_host_mem_bid : IN STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0);
axi_host_mem_buser : IN STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_BUSER_WIDTH-1 DOWNTO 0);
axi_host_mem_rid : IN STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_ID_WIDTH-1 DOWNTO 0);
axi_host_mem_ruser : IN STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_RUSER_WIDTH-1 DOWNTO 0);
axi_host_mem_wuser : OUT STD_LOGIC_VECTOR(C_M_AXI_HOST_MEM_WUSER_WIDTH-1 DOWNTO 0)
);
END COMPONENT action_example;
BEGIN
action_0: COMPONENT action_example
GENERIC MAP (
-- Parameters for Axi Master Bus Interface AXI_CARD_MEM0 : to on-card SDRAM
C_AXI_CARD_MEM0_ID_WIDTH => C_M_AXI_CARD_MEM0_ID_WIDTH,
C_AXI_CARD_MEM0_ADDR_WIDTH => C_M_AXI_CARD_MEM0_ADDR_WIDTH,
C_AXI_CARD_MEM0_DATA_WIDTH => C_M_AXI_CARD_MEM0_DATA_WIDTH,
C_AXI_CARD_MEM0_AWUSER_WIDTH => C_M_AXI_CARD_MEM0_AWUSER_WIDTH,
C_AXI_CARD_MEM0_ARUSER_WIDTH => C_M_AXI_CARD_MEM0_ARUSER_WIDTH,
C_AXI_CARD_MEM0_WUSER_WIDTH => C_M_AXI_CARD_MEM0_WUSER_WIDTH,
C_AXI_CARD_MEM0_RUSER_WIDTH => C_M_AXI_CARD_MEM0_RUSER_WIDTH,
C_AXI_CARD_MEM0_BUSER_WIDTH => C_M_AXI_CARD_MEM0_BUSER_WIDTH,
-- Parameters for Axi Slave Bus Interface AXI_CTRL_REG
C_AXI_CTRL_REG_DATA_WIDTH => C_S_AXI_CTRL_REG_DATA_WIDTH,
C_AXI_CTRL_REG_ADDR_WIDTH => C_S_AXI_CTRL_REG_ADDR_WIDTH,
-- Parameters for Axi Master Bus Interface AXI_HOST_MEM : to Host memory
C_AXI_HOST_MEM_ID_WIDTH => C_M_AXI_HOST_MEM_ID_WIDTH,
C_AXI_HOST_MEM_ADDR_WIDTH => C_M_AXI_HOST_MEM_ADDR_WIDTH,
C_AXI_HOST_MEM_DATA_WIDTH => C_M_AXI_HOST_MEM_DATA_WIDTH,
C_AXI_HOST_MEM_AWUSER_WIDTH => C_M_AXI_HOST_MEM_AWUSER_WIDTH,
C_AXI_HOST_MEM_ARUSER_WIDTH => C_M_AXI_HOST_MEM_ARUSER_WIDTH,
C_AXI_HOST_MEM_WUSER_WIDTH => C_M_AXI_HOST_MEM_WUSER_WIDTH,
C_AXI_HOST_MEM_RUSER_WIDTH => C_M_AXI_HOST_MEM_RUSER_WIDTH,
C_AXI_HOST_MEM_BUSER_WIDTH => C_M_AXI_HOST_MEM_BUSER_WIDTH,
INT_BITS => INT_BITS,
CONTEXT_BITS => CONTEXT_BITS
)
PORT MAP (
action_clk => ap_clk,
action_rst_n => ap_rst_n,
int_req => interrupt,
int_src => interrupt_src,
int_ctx => interrupt_ctx,
int_req_ack => interrupt_ack,
axi_card_mem0_araddr => m_axi_card_mem0_araddr, -- only for DDRI_USED=TRUE
axi_card_mem0_arburst => m_axi_card_mem0_arburst, -- only for DDRI_USED=TRUE
axi_card_mem0_arcache => m_axi_card_mem0_arcache, -- only for DDRI_USED=TRUE
axi_card_mem0_arid => m_axi_card_mem0_arid, -- only for DDRI_USED=TRUE
axi_card_mem0_arlen => m_axi_card_mem0_arlen, -- only for DDRI_USED=TRUE
axi_card_mem0_arlock => m_axi_card_mem0_arlock, -- only for DDRI_USED=TRUE
axi_card_mem0_arprot => m_axi_card_mem0_arprot, -- only for DDRI_USED=TRUE
axi_card_mem0_arqos => m_axi_card_mem0_arqos, -- only for DDRI_USED=TRUE
axi_card_mem0_arready => m_axi_card_mem0_arready, -- only for DDRI_USED=TRUE
axi_card_mem0_arregion => m_axi_card_mem0_arregion, -- only for DDRI_USED=TRUE
axi_card_mem0_arsize => m_axi_card_mem0_arsize, -- only for DDRI_USED=TRUE
axi_card_mem0_aruser => m_axi_card_mem0_aruser, -- only for DDRI_USED=TRUE
axi_card_mem0_arvalid => m_axi_card_mem0_arvalid, -- only for DDRI_USED=TRUE
axi_card_mem0_awaddr => m_axi_card_mem0_awaddr, -- only for DDRI_USED=TRUE
axi_card_mem0_awburst => m_axi_card_mem0_awburst, -- only for DDRI_USED=TRUE
axi_card_mem0_awcache => m_axi_card_mem0_awcache, -- only for DDRI_USED=TRUE
axi_card_mem0_awid => m_axi_card_mem0_awid, -- only for DDRI_USED=TRUE
axi_card_mem0_awlen => m_axi_card_mem0_awlen, -- only for DDRI_USED=TRUE
axi_card_mem0_awlock => m_axi_card_mem0_awlock, -- only for DDRI_USED=TRUE
axi_card_mem0_awprot => m_axi_card_mem0_awprot, -- only for DDRI_USED=TRUE
axi_card_mem0_awqos => m_axi_card_mem0_awqos, -- only for DDRI_USED=TRUE
axi_card_mem0_awready => m_axi_card_mem0_awready, -- only for DDRI_USED=TRUE
axi_card_mem0_awregion => m_axi_card_mem0_awregion, -- only for DDRI_USED=TRUE
axi_card_mem0_awsize => m_axi_card_mem0_awsize, -- only for DDRI_USED=TRUE
axi_card_mem0_awuser => m_axi_card_mem0_awuser, -- only for DDRI_USED=TRUE
axi_card_mem0_awvalid => m_axi_card_mem0_awvalid, -- only for DDRI_USED=TRUE
axi_card_mem0_bid => m_axi_card_mem0_bid, -- only for DDRI_USED=TRUE
axi_card_mem0_bready => m_axi_card_mem0_bready, -- only for DDRI_USED=TRUE
axi_card_mem0_bresp => m_axi_card_mem0_bresp, -- only for DDRI_USED=TRUE
axi_card_mem0_buser => m_axi_card_mem0_buser, -- only for DDRI_USED=TRUE
axi_card_mem0_bvalid => m_axi_card_mem0_bvalid, -- only for DDRI_USED=TRUE
axi_card_mem0_rdata => m_axi_card_mem0_rdata, -- only for DDRI_USED=TRUE
axi_card_mem0_rid => m_axi_card_mem0_rid, -- only for DDRI_USED=TRUE
axi_card_mem0_rlast => m_axi_card_mem0_rlast, -- only for DDRI_USED=TRUE
axi_card_mem0_rready => m_axi_card_mem0_rready, -- only for DDRI_USED=TRUE
axi_card_mem0_rresp => m_axi_card_mem0_rresp, -- only for DDRI_USED=TRUE
axi_card_mem0_ruser => m_axi_card_mem0_ruser, -- only for DDRI_USED=TRUE
axi_card_mem0_rvalid => m_axi_card_mem0_rvalid, -- only for DDRI_USED=TRUE
axi_card_mem0_wdata => m_axi_card_mem0_wdata, -- only for DDRI_USED=TRUE
axi_card_mem0_wlast => m_axi_card_mem0_wlast, -- only for DDRI_USED=TRUE
axi_card_mem0_wready => m_axi_card_mem0_wready, -- only for DDRI_USED=TRUE
axi_card_mem0_wstrb => m_axi_card_mem0_wstrb, -- only for DDRI_USED=TRUE
axi_card_mem0_wuser => m_axi_card_mem0_wuser, -- only for DDRI_USED=TRUE
axi_card_mem0_wvalid => m_axi_card_mem0_wvalid, -- only for DDRI_USED=TRUE
axi_nvme_araddr => m_axi_nvme_araddr, -- only for NVME_USED=TRUE
axi_nvme_arburst => m_axi_nvme_arburst, -- only for NVME_USED=TRUE
axi_nvme_arcache => m_axi_nvme_arcache, -- only for NVME_USED=TRUE
axi_nvme_arid => m_axi_nvme_arid, -- only for NVME_USED=TRUE
axi_nvme_arlen => m_axi_nvme_arlen, -- only for NVME_USED=TRUE
axi_nvme_arlock => m_axi_nvme_arlock, -- only for NVME_USED=TRUE
axi_nvme_arprot => m_axi_nvme_arprot, -- only for NVME_USED=TRUE
axi_nvme_arqos => m_axi_nvme_arqos, -- only for NVME_USED=TRUE
axi_nvme_arready => m_axi_nvme_arready, -- only for NVME_USED=TRUE
axi_nvme_arregion => m_axi_nvme_arregion, -- only for NVME_USED=TRUE
axi_nvme_arsize => m_axi_nvme_arsize, -- only for NVME_USED=TRUE
axi_nvme_aruser => m_axi_nvme_aruser, -- only for NVME_USED=TRUE
axi_nvme_arvalid => m_axi_nvme_arvalid, -- only for NVME_USED=TRUE
axi_nvme_awaddr => m_axi_nvme_awaddr, -- only for NVME_USED=TRUE
axi_nvme_awburst => m_axi_nvme_awburst, -- only for NVME_USED=TRUE
axi_nvme_awcache => m_axi_nvme_awcache, -- only for NVME_USED=TRUE
axi_nvme_awid => m_axi_nvme_awid, -- only for NVME_USED=TRUE
axi_nvme_awlen => m_axi_nvme_awlen, -- only for NVME_USED=TRUE
axi_nvme_awlock => m_axi_nvme_awlock, -- only for NVME_USED=TRUE
axi_nvme_awprot => m_axi_nvme_awprot, -- only for NVME_USED=TRUE
axi_nvme_awqos => m_axi_nvme_awqos, -- only for NVME_USED=TRUE
axi_nvme_awready => m_axi_nvme_awready, -- only for NVME_USED=TRUE
axi_nvme_awregion => m_axi_nvme_awregion, -- only for NVME_USED=TRUE
axi_nvme_awsize => m_axi_nvme_awsize, -- only for NVME_USED=TRUE
axi_nvme_awuser => m_axi_nvme_awuser, -- only for NVME_USED=TRUE
axi_nvme_awvalid => m_axi_nvme_awvalid, -- only for NVME_USED=TRUE
axi_nvme_bid => m_axi_nvme_bid, -- only for NVME_USED=TRUE
axi_nvme_bready => m_axi_nvme_bready, -- only for NVME_USED=TRUE
axi_nvme_bresp => m_axi_nvme_bresp, -- only for NVME_USED=TRUE
axi_nvme_buser => m_axi_nvme_buser, -- only for NVME_USED=TRUE
axi_nvme_bvalid => m_axi_nvme_bvalid, -- only for NVME_USED=TRUE
axi_nvme_rdata => m_axi_nvme_rdata, -- only for NVME_USED=TRUE
axi_nvme_rid => m_axi_nvme_rid, -- only for NVME_USED=TRUE
axi_nvme_rlast => m_axi_nvme_rlast, -- only for NVME_USED=TRUE
axi_nvme_rready => m_axi_nvme_rready, -- only for NVME_USED=TRUE
axi_nvme_rresp => m_axi_nvme_rresp, -- only for NVME_USED=TRUE
axi_nvme_ruser => m_axi_nvme_ruser, -- only for NVME_USED=TRUE
axi_nvme_rvalid => m_axi_nvme_rvalid, -- only for NVME_USED=TRUE
axi_nvme_wdata => m_axi_nvme_wdata, -- only for NVME_USED=TRUE
axi_nvme_wlast => m_axi_nvme_wlast, -- only for NVME_USED=TRUE
axi_nvme_wready => m_axi_nvme_wready, -- only for NVME_USED=TRUE
axi_nvme_wstrb => m_axi_nvme_wstrb, -- only for NVME_USED=TRUE
axi_nvme_wuser => m_axi_nvme_wuser, -- only for NVME_USED=TRUE
axi_nvme_wvalid => m_axi_nvme_wvalid, -- only for NVME_USED=TRUE
axi_ctrl_reg_araddr => s_axi_ctrl_reg_araddr,
axi_ctrl_reg_arready => s_axi_ctrl_reg_arready,
axi_ctrl_reg_arvalid => s_axi_ctrl_reg_arvalid,
axi_ctrl_reg_awaddr => s_axi_ctrl_reg_awaddr,
axi_ctrl_reg_awready => s_axi_ctrl_reg_awready,
axi_ctrl_reg_awvalid => s_axi_ctrl_reg_awvalid,
axi_ctrl_reg_bready => s_axi_ctrl_reg_bready,
axi_ctrl_reg_bresp => s_axi_ctrl_reg_bresp,
axi_ctrl_reg_bvalid => s_axi_ctrl_reg_bvalid,
axi_ctrl_reg_rdata => s_axi_ctrl_reg_rdata,
axi_ctrl_reg_rready => s_axi_ctrl_reg_rready,
axi_ctrl_reg_rresp => s_axi_ctrl_reg_rresp,
axi_ctrl_reg_rvalid => s_axi_ctrl_reg_rvalid,
axi_ctrl_reg_wdata => s_axi_ctrl_reg_wdata,
axi_ctrl_reg_wready => s_axi_ctrl_reg_wready,
axi_ctrl_reg_wstrb => s_axi_ctrl_reg_wstrb,
axi_ctrl_reg_wvalid => s_axi_ctrl_reg_wvalid,
axi_host_mem_araddr => m_axi_host_mem_araddr,
axi_host_mem_arburst => m_axi_host_mem_arburst,
axi_host_mem_arcache => m_axi_host_mem_arcache,
axi_host_mem_arid => m_axi_host_mem_arid,
axi_host_mem_arlen => m_axi_host_mem_arlen,
axi_host_mem_arlock => m_axi_host_mem_arlock,
axi_host_mem_arprot => m_axi_host_mem_arprot,
axi_host_mem_arqos => m_axi_host_mem_arqos,
axi_host_mem_arready => m_axi_host_mem_arready,
axi_host_mem_arregion => m_axi_host_mem_arregion,
axi_host_mem_arsize => m_axi_host_mem_arsize,
axi_host_mem_aruser => m_axi_host_mem_aruser,
axi_host_mem_arvalid => m_axi_host_mem_arvalid,
axi_host_mem_awaddr => m_axi_host_mem_awaddr,
axi_host_mem_awburst => m_axi_host_mem_awburst,
axi_host_mem_awcache => m_axi_host_mem_awcache,
axi_host_mem_awid => m_axi_host_mem_awid,
axi_host_mem_awlen => m_axi_host_mem_awlen,
axi_host_mem_awlock => m_axi_host_mem_awlock,
axi_host_mem_awprot => m_axi_host_mem_awprot,
axi_host_mem_awqos => m_axi_host_mem_awqos,
axi_host_mem_awready => m_axi_host_mem_awready,
axi_host_mem_awregion => m_axi_host_mem_awregion,
axi_host_mem_awsize => m_axi_host_mem_awsize,
axi_host_mem_awuser => m_axi_host_mem_awuser,
axi_host_mem_awvalid => m_axi_host_mem_awvalid,
axi_host_mem_bid => m_axi_host_mem_bid,
axi_host_mem_bready => m_axi_host_mem_bready,
axi_host_mem_bresp => m_axi_host_mem_bresp,
axi_host_mem_buser => m_axi_host_mem_buser,
axi_host_mem_bvalid => m_axi_host_mem_bvalid,
axi_host_mem_rdata => m_axi_host_mem_rdata,
axi_host_mem_rid => m_axi_host_mem_rid,
axi_host_mem_rlast => m_axi_host_mem_rlast,
axi_host_mem_rready => m_axi_host_mem_rready,
axi_host_mem_rresp => m_axi_host_mem_rresp,
axi_host_mem_ruser => m_axi_host_mem_ruser,
axi_host_mem_rvalid => m_axi_host_mem_rvalid,
axi_host_mem_wdata => m_axi_host_mem_wdata,
axi_host_mem_wlast => m_axi_host_mem_wlast,
axi_host_mem_wready => m_axi_host_mem_wready,
axi_host_mem_wstrb => m_axi_host_mem_wstrb,
axi_host_mem_wuser => m_axi_host_mem_wuser,
axi_host_mem_wvalid => m_axi_host_mem_wvalid
);
END STRUCTURE;