hwtLib.avalon.sim package¶
Submodules¶
hwtLib.avalon.sim.memSpaceMaster module¶
- class hwtLib.avalon.sim.memSpaceMaster.AvalonMmMemSpaceMaster(bus, registerMap)[source]¶
Bases:
AbstractMemSpaceMaster
Controller of AvalonMM simulation agent which keeps track of axi lite transactions and aggregates them to proper register names on target bus
hwtLib.avalon.sim.ram module¶
- class hwtLib.avalon.sim.ram.AvalonMmSimRam(avalon_mm: AvalonMM, parent=None, clk=None, allow_unaligned_addr=False)[source]¶
Bases:
SimRam
Simulation memory for AvalonMM interfaces (slave component)
- __init__(avalon_mm: AvalonMM, parent=None, clk=None, allow_unaligned_addr=False)[source]¶
- Parameters
clk – clk which should this memory use in simulation (if None the clk associated with an interface is used)
avalon_mm – avalon_mm (AvalonMM master) interface to listen on
parent – parent instance of this memory, memory will operate with same memory as parent one
- Attention
memories are commiting into memory in “data” property after transaction is complete