avl_axi._swdriver module

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

Initialize the Subordinate Write Driver for the AMBA agent.

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

  • parent (Component) – Parent component

Return type:

None

in_order

Responses return in order of control

qosaccept

QOS Accept hint value

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 a control transaction is completed.

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 by waiting for valid signals and then setting the ready signals. This method runs in an infinite loop and should be started as a separate coroutine.

Return type:

None

async quiesce_data()[source]

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

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 by waiting for valid signals and then setting the ready signals. This method runs in an infinite loop and should be started as a separate coroutine.

Return type:

None

async quiesce_response()[source]

Quiesce the response signals by setting them to their default values. This method is called after a response transaction is completed. 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 by waiting for valid signals and then setting the ready signals. This method runs in an infinite loop and should be started as a separate coroutine.

Return type:

None

async drive_credits()[source]

Drive credits

Return type:

None

async get_next_item(item=None)[source]

Get the next item to be processed. This method can be overridden in subclasses to modify the item before it is processed.

Parameters:

item (SequenceItem) – The item to be processed

Returns:

The item to be processed

Return type:

SequenceItem

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

Initialize the Subordinate Write Driver for the AXI agent.

This agent behaves as a memory

Memory operations are performed at the end of the aw/w phase as responses can be delayed

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

  • parent (Component) – Parent component

Return type:

None