cross_trigger_network_pkg
Define defaults and AXI-Lite typedefs for the cross-trigger network.
DefaultNumCtp, DefaultNumIntCt, and DefaultNumClkStopReq size the network. ctn_axil_req_t and ctn_axil_resp_t type the CSR subordinate port.
ctn_axil_addr_t
AXI-Lite Type Definitions
Alias for logic [AxiLiteAddrWidth-1:0]
ctn_axil_data_t
Alias for logic [AxiLiteDataWidth-1:0]
ctn_axil_strb_t
Alias for logic [AxiLiteStrbWidth-1:0]
ctn_axil_aw_chan_t
Packed struct
| Field | Type | Description |
|---|---|---|
addr | ctn_axil_addr_t | |
prot | axi_pkg::prot_t |
ctn_axil_w_chan_t
Packed struct
| Field | Type | Description |
|---|---|---|
data | ctn_axil_data_t | |
strb | ctn_axil_strb_t |
ctn_axil_b_chan_t
Packed struct
| Field | Type | Description |
|---|---|---|
resp | axi_pkg::resp_t |
ctn_axil_ar_chan_t
Packed struct
| Field | Type | Description |
|---|---|---|
addr | ctn_axil_addr_t | |
prot | axi_pkg::prot_t |
ctn_axil_r_chan_t
Packed struct
| Field | Type | Description |
|---|---|---|
data | ctn_axil_data_t | |
resp | axi_pkg::resp_t |
ctn_axil_req_t
Packed struct
| Field | Type | Description |
|---|---|---|
aw | ctn_axil_aw_chan_t | |
aw_valid | logic | |
w | ctn_axil_w_chan_t | |
w_valid | logic | |
b_ready | logic | |
ar | ctn_axil_ar_chan_t | |
ar_valid | logic | |
r_ready | logic |
ctn_axil_resp_t
Packed struct
| Field | Type | Description |
|---|---|---|
aw_ready | logic | |
w_ready | logic | |
b | ctn_axil_b_chan_t | |
b_valid | logic | |
ar_ready | logic | |
r | ctn_axil_r_chan_t | |
r_valid | logic |
calc_num_xbar_mst_ports
NUM_CTP external CTPs + 1 CTM
Function returning int unsigned
| Name | Direction | Type | Description |
|---|---|---|---|
num_ctp | input | int unsigned |
calc_num_ctm_ports
cast to 32 bits to avoid lint issues since integer type is 32 bits (32bits + 32bits requires 33rd bit to prevent overflow, not realistic here)
Function returning int unsigned
| Name | Direction | Type | Description |
|---|---|---|---|
num_ctp | input | int unsigned | |
num_int_ct | input | int unsigned |
calc_ctm_base_addr
Function to calculate the CTM base address (CTM is at address 0)
Function returning logic [AxiLiteAddrWidth-1:0]
| Name | Direction | Type | Description |
|---|---|---|---|
num_ctp | input | int unsigned |
calc_ctp_base_addr
Function to calculate CTP base address (CTPs start after CTM)
Function returning logic [AxiLiteAddrWidth-1:0]
| Name | Direction | Type | Description |
|---|---|---|---|
ctp_idx | input | int unsigned |