i2c_wrap_pkg

Hold address-map and AXI-Lite typedefs for the multi-instance I2C wrapper.

Defines the 32-bit RegAddrWidth and data width, the axil request/response types used by i2c_wrap, the instance limit MaxNumI2cs that i2c_wrap asserts, and the default I2cInstanceSpacing.

reg_addr_t

Alias for logic [RegAddrWidth-1:0]

reg_data_t

Alias for logic [RegDataWidth-1:0]

reg_strb_t

Alias for logic [RegStrbWidth-1:0]

axil_aw_chan_t

Packed struct

Table 1. axil_aw_chan_t
FieldTypeDescription
addrreg_addr_t
protaxi_pkg::prot_t

axil_w_chan_t

Packed struct

Table 2. axil_w_chan_t
FieldTypeDescription
datareg_data_t
strbreg_strb_t

axil_b_chan_t

Packed struct

Table 3. axil_b_chan_t
FieldTypeDescription
respaxi_pkg::resp_t

axil_ar_chan_t

Packed struct

Table 4. axil_ar_chan_t
FieldTypeDescription
addrreg_addr_t
protaxi_pkg::prot_t

axil_r_chan_t

Packed struct

Table 5. axil_r_chan_t
FieldTypeDescription
datareg_data_t
respaxi_pkg::resp_t

axil_req_t

Packed struct

Table 6. axil_req_t
FieldTypeDescription
awaxil_aw_chan_t
aw_validlogic
waxil_w_chan_t
w_validlogic
b_readylogic
araxil_ar_chan_t
ar_validlogic
r_readylogic

axil_resp_t

Packed struct

Table 7. axil_resp_t
FieldTypeDescription
aw_readylogic
w_readylogic
baxil_b_chan_t
b_validlogic
ar_readylogic
raxil_r_chan_t
r_validlogic