Skip to content

Protocol reference

AXI4

Bases: ProtocolDesc

AXI4 protocol class.

render_cfg(name, mgr_axi, sbr_axi) classmethod

Render the configuration of the protocol.

render_params()

Render the parameters of the protocol.

render_typedefs(prefix='', ignored_user_fields=[])

Render the typedefs of the protocol.

type_name(prefix='')

Return the full name of the protocol.

AXI4Bus

Bases: AXI4

AXI4 bus protocol class.

declare()

Declare the protocol.

render_cfg(name, mgr_axi, sbr_axi) classmethod

Render the configuration of the protocol.

render_params()

Render the parameters of the protocol.

render_port(pkg_name='', prefix='')

Render the port of the protocol.

render_typedefs(prefix='', ignored_user_fields=[])

Render the typedefs of the protocol.

req_name(port=False, idx=False)

Return the request name of the protocol.

req_type(prefix='')

Return the request type of the protocol.

rsp_name(port=False, idx=False)

Return the response name of the protocol.

rsp_type(prefix='')

Return the response type of the protocol.

type_name(prefix='')

Return the full name of the protocol.

ProtocolDesc

Bases: BaseModel

Protocol class to describe a protocol.