hwtLib.tools package

Submodules

hwtLib.tools.debug_bus_monitor_ctl module

class hwtLib.tools.debug_bus_monitor_ctl.DebugBusMonitorCtl(addr)[source]

Bases: object

A tool used to interact with a hwtLib.abstract.debug_bus_monitor.DebugBusMonitor

REG_DATA_MEMORY = 8
REG_NAME_MEMORY_OFFSET = 4
REG_NAME_MEMORY_SIZE = 0
__init__(addr)[source]

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

_dump_txt(out, name_memory, data, indent)[source]
_dump_txt_indent(out, indent)[source]
dump_txt(out=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>)[source]
get_data_memory_width(name_memory)[source]
load_name_memory()[source]
read(addr, size)[source]
read_int(addr, size)[source]
class hwtLib.tools.debug_bus_monitor_ctl.DebugBusMonitorCtlDevmem(addr)[source]

Bases: hwtLib.tools.debug_bus_monitor_ctl.DebugBusMonitorCtl

__init__(addr)[source]

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

read(addr, size)[source]
hwtLib.tools.debug_bus_monitor_ctl.bit_mask(w)[source]
Note

duplication with pyMathBitPrecise in order to keep this script without non-std dependencies

hwtLib.tools.debug_bus_monitor_ctl.select_bit_range(val: int, bits_start: int, bits_len: int)[source]

Get sequence of bits from an int value

Note

duplication with pyMathBitPrecise in order to keep this script without non-std dependencies

hwtLib.tools.debug_bus_monitor_ctl.words_to_int(words, word_size, size)[source]