hwtLib.xilinx.locallink package¶
Submodules¶
hwtLib.xilinx.locallink.axis_conv module¶
- class hwtLib.xilinx.locallink.axis_conv.Axi4SToLocalLink(hdlName: str | None = None)[source]¶
Bases:
HwModuleAxi4Stream 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
- __annotations__ = {}¶
- class hwtLib.xilinx.locallink.axis_conv.LocalLinkToAxi4S(hdlName: str | None = None)[source]¶
Bases:
HwModuleFramelink 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
- __annotations__ = {}¶
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:
HwIOStream 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__ = {}¶