hwtLib.amba.axis_comp.frame_deparser package

Submodules

hwtLib.amba.axis_comp.frame_deparser.strb_keep_stash module

class hwtLib.amba.axis_comp.frame_deparser.strb_keep_stash.StrbKeepStash[source]

Bases: object

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

static _push_mask_vec(res, data_len, data_valid)[source]
static _vec_to_signal(extra_strbs: Union[Tuple[int, bool], hwt.synthesizer.rtlLevel.rtlSignal.RtlSignal])[source]
Parameters

extra_strbs – number of bits and padding flag or strb signal directly

pop(inversedWordIndex, extra_strbs, extra_keeps, STRB_ALL)[source]
push(strb, keep)[source]
hwtLib.amba.axis_comp.frame_deparser.strb_keep_stash.pop_mask_value(mask_val_to_en_dict: Dict[hwt.hdl.value.HValue, List[hwt.synthesizer.rtlLevel.rtlSignal.RtlSignal]])[source]
hwtLib.amba.axis_comp.frame_deparser.strb_keep_stash.reduce_conditional_StrbKeepStashes(sk_stashes: List[hwtLib.amba.axis_comp.frame_deparser.strb_keep_stash.StrbKeepStash])[source]

hwtLib.amba.axis_comp.frame_deparser.test_types module

hwtLib.amba.axis_comp.frame_deparser.utils module

hwtLib.amba.axis_comp.frame_deparser.utils._get_only_stream(t: hwt.hdl.types.hdlType.HdlType)[source]

Return HStream if base datatype is HStream. (HStream field may be nested in HStruct)

hwtLib.amba.axis_comp.frame_deparser.utils.connect_optional_with_best_effort_axis_mask_propagation(src, dst)[source]
hwtLib.amba.axis_comp.frame_deparser.utils.drill_down_in_HStruct_fields(t: hwt.hdl.types.hdlType.HdlType, intf: hwt.synthesizer.interface.Interface)[source]

Find a base type and corresponding interface for nested HStruct with a single field.