def _config(self): self.T = Param(HStruct( (HStream(Bits(8), frame_len=(1, inf), start_offsets=[0]), "f0"), (HStream(Bits(16), frame_len=(1, 1)), "f1"), )) AxiStream._config(self) self.DATA_WIDTH = 16 self.USE_KEEP = True self.OUT_OFFSET = Param(0)
def _config(self): self.REG_CNT = Param(2) AxiStream._config(self) self.USE_KEEP = True
def _config(self): AxiStream._config(self)
def _config(self): AxiStream._config(self) self.SIZES_BUFF_DEPTH = Param(16) self.MAX_LEN = Param((2048 // 8) - 1) self.EXPORT_ALIGNMENT_ERROR = Param(False)
def _config(self): AxiStream._config(self) self.USE_STRB = True self.REPEAT = Param(False) self.DATA = Param(tuple(ord(c) for c in "Hello world"))
def _config(self): AxiStream._config(self) self.VAL = Param(Bits(64).from_py(0))
def _config(self): AxiStream._config(self) self.HAS_RX = Param(True) self.HAS_TX = Param(True)