def __init__(self, structT: HdlType, tmpl: Optional[TransTmpl] = None, frames: Optional[List[FrameTmpl]] = None): """ :param hsIntfCls: class of interface which should be used as interface of this unit :param structT: instance of HStruct used as template for this frame If name is None no input port is generated and space is filled with invalid values, litle-endian encoding, supported types of interfaces are: Handshaked, Signal can be also instance of FrameTmpl :param tmpl: instance of TransTmpl for this structT :param frames: list of FrameTmpl instances for this tmpl :note: if tmpl and frames are None they are resolved from structT parseTemplate :note: This unit can parse sequence of frames, if they are specified by "frames" :note: structT can contain fields with variable size like HStream """ self._structT = structT self._tmpl = tmpl self._frames = frames self._tmpRegsForSelect = {} AxiSCompBase.__init__(self)
def __init__(self, structT: HdlType, tmpl: Optional[TransTmpl]=None, frames: Optional[List[FrameTmpl]]=None): """ :param hsIntfCls: class of interface which should be used as interface of this unit :param structT: instance of HStruct used as template for this frame If name is None no input port is generated and space is filled with invalid values, litle-endian encoding, supported types of interfaces are: Handshaked, Signal can be also instance of FrameTmpl :param tmpl: instance of TransTmpl for this structT :param frames: list of FrameTmpl instances for this tmpl :note: if tmpl and frames are None they are resolved from structT parseTemplate :note: This unit can parse sequence of frames, if they are specified by "frames" :note: structT can contain fields with variable size like HStream """ self._structT = structT self._tmpl = tmpl self._frames = frames self._tmpRegsForSelect = {} AxiSCompBase.__init__(self)
def _config(self): AxiSCompBase._config(self) self.USE_STRB = True self.T = Param(self._structT) self.TRANSACTION_TEMPLATE = Param(self._tmpl) self.FRAME_TEMPLATES = Param( None if self._frames is None else tuple(self._frames))
def __init__(self, structT: HdlType, tmpl: Optional[TransTmpl] = None, frames: Optional[List[FrameTmpl]] = None): """ :note: This unit can parse sequence of frames, if they are specified by "frames" :note: structT can contain fields with variable size like HStream """ self._tmpRegsForSelect = {} TemplateConfigured.__init__(self, structT, tmpl, frames) AxiSCompBase.__init__(self)
def __init__(self, structT: HdlType, tmpl: Optional[TransTmpl]=None, frames: Optional[List[FrameTmpl]]=None): """ :param structT: instance of HStruct which specifies data format to download :param tmpl: instance of TransTmpl for this structT :param frames: list of FrameTmpl instances for this tmpl :note: if tmpl and frames are None they are resolved from structT parseTemplate :note: this unit can parse sequence of frames, if they are specified by "frames" :attention: structT can not contain fields with variable size like HStream """ TemplateConfigured.__init__(self, structT, tmpl, frames) AxiSCompBase.__init__(self)
def __init__(self, structT: HdlType, tmpl: Optional[TransTmpl]=None, frames: Optional[List[FrameTmpl]]=None): """ :param structT: instance of HStruct which specifies data format to download :param tmpl: instance of TransTmpl for this structT :param frames: list of FrameTmpl instances for this tmpl :note: if tmpl and frames are None they are resolved from structT parseTemplate :note: this unit can parse sequence of frames, if they are specified by "frames" :attention: structT can not contain fields with variable size like HStream """ self._structT = structT if tmpl is not None: assert frames is not None, "tmpl and frames can be used only together" else: assert frames is None, "tmpl and frames can be used only together" self._tmpl = tmpl self._frames = frames AxiSCompBase.__init__(self)
def _config(self): AxiSCompBase._config(self) self.USE_STRB.set(True)
def _config(self): AxiSCompBase._config(self) self.OUT_DATA_WIDTH = Param(64) self.USE_STRB.set(True)
def _config(self): AxiSCompBase._config(self) self.FOOTER_WIDTH = Param(32)
def _config(self): AxiSCompBase._config(self) self.OUT_DATA_WIDTH = Param(64) self.USE_STRB = True