hwtLib
  • Site

      Contents:

      • hwtLib package
  • Page
      • hwtLib.xilinx.locallink package
        • Submodules
        • hwtLib.xilinx.locallink.axis_conv module
          • Axi4SToLocalLink
            • Axi4SToLocalLink.__annotations__
          • LocalLinkToAxi4S
            • LocalLinkToAxi4S.__annotations__
          • strbToRem()
        • hwtLib.xilinx.locallink.hIOLocallink module
          • LocalLink
            • LocalLink.__annotations__
  • « hwtLib.xilinx...
  • hwtLib.xilinx... »
  • Source
  • hwtLib.xilinx.locallink package
    • Submodules
    • hwtLib.xilinx.locallink.axis_conv module
      • Axi4SToLocalLink
        • Axi4SToLocalLink.__annotations__
      • LocalLinkToAxi4S
        • LocalLinkToAxi4S.__annotations__
      • strbToRem()
    • hwtLib.xilinx.locallink.hIOLocallink module
      • LocalLink
        • LocalLink.__annotations__
  • « hwtLib.xilinx...
  • hwtLib.xilinx... »
  • Source

    hwtLib.xilinx.locallink package¶

    Submodules¶

    hwtLib.xilinx.locallink.axis_conv module¶

    class hwtLib.xilinx.locallink.axis_conv.Axi4SToLocalLink(hdlName: str | None = None)[source]¶

    Bases: HwModule

    Axi4Stream to LocalLink

    format of user signal: user[0]: start of packet user[1]: end of packet

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

    • USER_WIDTH - default value 2 of type int

    • USE_STRB - default value True of type bool

    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

    • dataIn - of type hwtLib.amba.axi4s.Axi4Stream - SLAVE

    • dataOut - of type hwtLib.xilinx.locallink.hIOLocallink.LocalLink - MASTER

    schematic
    __annotations__ = {}¶
    class hwtLib.xilinx.locallink.axis_conv.LocalLinkToAxi4S(hdlName: str | None = None)[source]¶

    Bases: HwModule

    Framelink to axi-stream

    format of user signal: user[0]: start of packet user[1]: end of packet

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

    • USER_WIDTH - default value 2 of type int

    • USE_STRB - default value True of type bool

    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

    • dataIn - of type hwtLib.xilinx.locallink.hIOLocallink.LocalLink - SLAVE

    • dataOut - of type hwtLib.amba.axi4s.Axi4Stream - MASTER

    schematic
    __annotations__ = {}¶
    hwtLib.xilinx.locallink.axis_conv.strbToRem(strbBits, remBits)[source]¶

    hwtLib.xilinx.locallink.hIOLocallink module¶

    class hwtLib.xilinx.locallink.hIOLocallink.LocalLink(masterDir=DIRECTION.OUT, hdlName: str | dict[str, str] | None = None, loadConfig=True)[source]¶

    Bases: HwIO

    Stream with “byte enable” and “start/end of frame/packet”

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

    HDL IO:
    • data - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 32bits> - UNKNOWN

    • rem - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 2bits> - UNKNOWN

    • src_rdy_n - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 1bit> - UNKNOWN

    • dst_rdy_n - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 1bit> - UNKNOWN (Master=IN)

    • sof_n - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 1bit> - UNKNOWN

    • eof_n - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 1bit> - UNKNOWN

    • eop_n - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 1bit> - UNKNOWN

    • sop_n - of type hwt.hwIOs.std.HwIOSignal with dtype=<HBits, 1bit> - UNKNOWN

    __annotations__ = {}¶

    Back to top

    © Copyright 2017-2026, Michal Orsak.
    Created using Sphinx 9.1.0.