tlul_rsp_intg_gen

Generate TL-UL D-channel response integrity bits.

Fill rsp_intg and data_intg in tl_o.d_user:

  • When ENABLE_RSP_INTG_GEN is true, generate rsp_intg from the opcode, d_size, and d_error fields via tlul_pkg::extract_d2h_rsp_intg.
  • When ENABLE_DATA_INTG_GEN is true, generate data_intg from d_data.

When ENABLE_RSP_INTG_GEN is false, rsp_intg is zero if RSP_INTG_IN_IS_ZERO is set and taken from tl_i otherwise. When ENABLE_DATA_INTG_GEN is false, data_intg is zero if USER_IN_IS_ZERO is set and taken from tl_i otherwise.

Parameters

Table 1. Parameters
NameTypeDefaultDescription
ENABLE_RSP_INTG_GENbit1'b1Generate rsp_intg from opcode/size/error.
ENABLE_DATA_INTG_GENbit1'b1Generate data_intg from d_data.
USER_IN_IS_ZERObit1'b0Zero data_intg when not generated; simulation asserts d_user is zero.
RSP_INTG_IN_IS_ZERObitUSER_IN_IS_ZEROZero rsp_intg when not generated; simulation asserts it is zero.

Ports

Table 2. Ports
NameDirectionTypeDescription
tl_iinputtl_d2h_tD-channel response before integrity insertion.
tl_ooutputtl_d2h_tD-channel response with integrity fields filled.