hwtLib.examples.axi package

Various examples with an AMBA AXI invterfaces

Subpackages

Submodules

hwtLib.examples.axi.debugbusmonitor module

class hwtLib.examples.axi.debugbusmonitor.DebugBusMonitorExampleAxi(hdlName: str | None = None)[source]

Bases: HwModule

An example how to use hwtLib.abstract.debug_bus_monitor.DebugBusMonitor

HDL params:
  • ADDR_WIDTH - default value 32 of type int

  • DATA_WIDTH - default value 64 of type int

HDL IO:
  • clk - of type hwt.hwIOs.std.HwIOClk with dtype=<HBits, 1bit> - SLAVE

  • rst_n - of type hwt.hwIOs.std.HwIORst_n with dtype=<HBits, 1bit, n> - SLAVE

  • s - of type hwtLib.amba.axi4Lite.Axi4Lite - SLAVE

  • din0 - of type hwt.hwIOs.std.HwIODataRdVld - SLAVE

  • dout0 - of type hwt.hwIOs.std.HwIODataRdVld - MASTER

  • din1 - of type hwt.hwIOs.std.HwIODataRdVld - SLAVE

  • dout1 - of type hwt.hwIOs.std.HwIODataRdVld - MASTER

  • other_clk - of type hwt.hwIOs.std.HwIOClk with dtype=<HBits, 1bit> - SLAVE

  • other_rst_n - of type hwt.hwIOs.std.HwIORst_n with dtype=<HBits, 1bit, n> - SLAVE

  • din2 - of type hwt.hwIOs.std.HwIODataRdVld - SLAVE

  • dout2 - of type hwt.hwIOs.std.HwIODataRdVld - MASTER

HDL components:
schematic
__annotations__ = {}

hwtLib.examples.axi.simpleAxiRegs module

class hwtLib.examples.axi.simpleAxiRegs.SimpleAxiRegs(hdlName: str | None = None)[source]

Bases: HwModule

Axi litle mapped registers example, 0x0 - reg0 0x4 - reg1

HDL params:
  • ADDR_WIDTH - default value 8 of type int

  • DATA_WIDTH - default value 32 of type int

HDL IO:
  • clk - of type hwt.hwIOs.std.HwIOClk with dtype=<HBits, 1bit> - SLAVE

  • rst_n - of type hwt.hwIOs.std.HwIORst_n with dtype=<HBits, 1bit, n> - SLAVE

  • axi - of type hwtLib.amba.axi4Lite.Axi4Lite - SLAVE

HDL components:
schematic
__annotations__ = {}