avl_axi._mrdriver module

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

Initialize the Manager Read Driver for the AMBA agent.

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

  • parent (Component) – Parent component

Return type:

None

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 after driving the control signals.

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 called during the run phase of the simulation. It waits for items in the control queue and drives the corresponding signals.

Return type:

None

async quiesce_data()[source]

Quiesce the data signals by setting them to their default values. This method is called after driving the data signals.

Return type:

None

async drive_data()[source]

Drive the data signals based on the items in the data queue. This method is called during the run phase of the simulation.

Return type:

None

async quiesce_response()[source]

Quiesce the response signals by setting them to their default values. This method is called after driving the response signals. 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 called during the run phase of the simulation. It waits for items in the response queue and drives the corresponding signals.

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.