hwtLib.xilinx.locallink package¶
Submodules¶
hwtLib.xilinx.locallink.axis_conv module¶
- class hwtLib.xilinx.locallink.axis_conv.AxiSToLocalLink(hdl_name_override: Optional[str] = None)[source]¶
Bases:
Unit
Axi 4 stream 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.interfaces.std.Clk with dtype=<Bits, 1bit> - SLAVE
rst_n - of type hwt.interfaces.std.Rst_n with dtype=<Bits, 1bit> - SLAVE
dataIn - of type hwtLib.amba.axis.AxiStream - SLAVE
dataOut - of type hwtLib.xilinx.locallink.intf.LocalLink - MASTER
- class hwtLib.xilinx.locallink.axis_conv.LocalLinkToAxiS(hdl_name_override: Optional[str] = None)[source]¶
Bases:
Unit
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.interfaces.std.Clk with dtype=<Bits, 1bit> - SLAVE
rst_n - of type hwt.interfaces.std.Rst_n with dtype=<Bits, 1bit> - SLAVE
dataIn - of type hwtLib.xilinx.locallink.intf.LocalLink - SLAVE
dataOut - of type hwtLib.amba.axis.AxiStream - MASTER
hwtLib.xilinx.locallink.intf module¶
- class hwtLib.xilinx.locallink.intf.LocalLink(masterDir=DIRECTION.OUT, hdl_name: Optional[Union[str, Dict[str, str]]] = None, loadConfig=True)[source]¶
Bases:
Interface
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.interfaces.std.Signal with dtype=<Bits, 32bits> - MASTER
rem - of type hwt.interfaces.std.Signal with dtype=<Bits, 2bits> - MASTER
src_rdy_n - of type hwt.interfaces.std.Signal with dtype=<Bits, 1bit> - MASTER
dst_rdy_n - of type hwt.interfaces.std.Signal with dtype=<Bits, 1bit> - SLAVE (Master=IN)
sof_n - of type hwt.interfaces.std.Signal with dtype=<Bits, 1bit> - MASTER
eof_n - of type hwt.interfaces.std.Signal with dtype=<Bits, 1bit> - MASTER
eop_n - of type hwt.interfaces.std.Signal with dtype=<Bits, 1bit> - MASTER
sop_n - of type hwt.interfaces.std.Signal with dtype=<Bits, 1bit> - MASTER