avl_axi._mwdriver module

class avl_axi._mwdriver.ManagerWriteDriver(*args, **kwargs)[source]
Parameters:
__init__(name, parent)[source]

Initialize the Manager Write Driver for the AMBA agent.

Parameters:
  • name (str) – Name of the agent instance

  • parent (Component) – Parent component

Return type:

None

allow_early_data

Allow data phase (W) to start before control phase (AW) is accepted

async reset()[source]

Reset the driver by setting all signals to their default values. This method is called when the driver is reset.

By default 0’s all signals - can be overridden in subclasses to add randomization or other behavior.

Return type:

None

async quiesce_control()[source]

Quiesce the control signals by setting them to their default values. This method is called to ensure that the control signals are in a known state.

By default 0’s all signals - can be overridden in subclasses to add randomization or other behavior.

Return type:

None

async drive_control()[source]

Drive the control signals based on the items in the control queue. This method is responsible for driving the control signals according to the protocol.

Return type:

None

async quiesce_data()[source]

Quiesce the data signals by setting them to their default values. This method is called to ensure that the data signals are in a known state. By default 0’s all signals - can be overridden in subclasses to add randomization or other behavior.

Return type:

None

async drive_data()[source]

Drive the data signals based on the items in the data queue. This method is responsible for driving the data signals according to the protocol.

Return type:

None

async quiesce_response()[source]

Quiesce the response signals by setting them to their default values. This method is called to ensure that the response signals are in a known state. By default 0’s all signals - can be overridden in subclasses to add randomization or other behavior.

Return type:

None

async drive_response()[source]

Drive the response signals based on the items in the response queue. This method is responsible for driving the response signals according to the protocol.

async run_phase()[source]

Run phase for the Requester Driver. This method is called during the run phase of the simulation. It is responsible for driving the request signals based on the sequencer’s items.

Raises:

NotImplementedError – If the run phase is not implemented.