blob: 86a3915be63e438bb5d108547c5b16463ad22bfa (
plain)
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
|
//
// Copyright (c) 2026, Apollo Telephone Laboratories.
// Provided under the BSD-3 clause.
//
`ifndef BUS_ARI_SVH
`define BUS_ARI_SVH 1
//
// Number of bus segments / endpoints supported, this value
// should be bumped per every new device added to the chip.
//
parameter ARI_SEGMENT_COUNT = 3;
// Physical memory address bit-width
parameter PMA_XLEN = 32;
//
// ARI bus tags for determining payload type
//
// @ARI_NOP: No-operation, as per the spec
//
typedef enum logic [3:0] {
ARI_NOP
} AriTag;
//
// Represents an ARI frame that encapsulates a payload.
// Refer to the ARI specification.
//
// @tag: Frame tag / kind
// @seq: Frame sequence
// @payload: Payload (reserved if tag = ARI_NOP)
//
typedef struct packed {
AriTag tag;
logic [3:0] seq;
logic [127:0] payload;
} AriFrame;
`endif // !BUS_ARI_SVH
|