avl_axi._item module
- class avl_axi._item.SequenceItem(*args, **kwargs)[source]
- Parameters:
name (str)
parent (Component)
- __init__(name, parent)[source]
Initialize the sequence item
- Parameters:
name (str) – Name of the sequence item
parent (Component) – Parent component of the sequence item
- Returns:
None
- Return type:
None
- resize(size=None, randomize=False)[source]
Re-size transaction data fields based on len
- Parameters:
size (int) – New size of the transaction (len+1) - if None use current len+1
randomize (bool) – Randomize any un-created fields
- Returns:
None
- Return type:
None
- sanity()[source]
Sanity Check fields vs. spec e.g. - command / response fields that should match - parameters that enforce values
- Return type:
None
- set(name, value, idx=None)[source]
Set the value of a field in the sequence item - if it exists.
- Parameters:
name (str) – Name of the field to set
value (int) – Value to set for the field
idx (int)
- Returns:
None
- Return type:
None
- get(name, idx=None, default=None)[source]
Get the value of a field in the sequence item - if it exists.
- Parameters:
name (str) – Name of the field to get
default (Any) – Default value to return if the field does not exist
idx (int)
- Returns:
Value of the field or default value
- Return type:
int
- set_addr(addr)[source]
Set the address
- Returns:
Addr (awaddr, araddr)
- Parameters:
addr (int)
- Return type:
None
- class avl_axi._item.WriteItem(*args, **kwargs)[source]
- Parameters:
name (str)
parent (Component)
- __init__(name, parent)[source]
Initialize the sequence item
- Parameters:
name (str) – Name of the sequence item
parent (Component) – Parent component of the sequence item
- Return type:
None
- aw_wait_cycles
Wait cycles between control awvalid and control awready
- w_wait_cycles
Wait cycles between data wvalid and data wready
- b_wait_cycles
Wait cycles between data bvalid and data bready
- class avl_axi._item.ReadItem(*args, **kwargs)[source]
- Parameters:
name (str)
parent (Component)
- __init__(name, parent)[source]
Initialize the sequence item
- Parameters:
name (str) – Name of the sequence item
parent (Component) – Parent component of the sequence item
- Return type:
None
- ar_wait_cycles
Wait cycles between control arvalid and control arready
- r_wait_cycles
Wait cycles between data rvalid and data rready