hwt/hdl/transTmpl.py
def _loadFromHStream(self, dtype: HStream, bitAddr: int) -> int:
        """
        Parse HUnion type to this transaction template instance

        :return: address of it's end
        """
        ch = TransTmpl(dtype.elmType, 0, parent=self, origin=self.origin)
        self.children.append(ch)
        return bitAddr + dtype.elmType.bit_length()
def _loadFromHStream(self, dtype: HStream, bitAddr: int) -> int:
        """
        Parse HUnion type to this transaction template instance

        :return: address of it's end
        """
        ch = TransTmpl(dtype.elmType, 0, parent=self, origin=self.origin)
        self.children.append(ch)
        return bitAddr + dtype.elmType.bit_length()
def _loadFromHStream ( self , dtype : HStream , bitAddr : int ) -> int : ch = TransTmpl ( dtype . elmType , 0 , parent = self , origin = self . origin ) self . children . append ( ch ) return bitAddr + dtype . elmType . bit_length ( )
Parse HUnion type to this transaction template instance

        :return: address of it's end
Parse HUnion type to this transaction template instance