Gate Decorator LUT

class hal_py.gate_decorator_lut
get_input_bit_width(self: hal_py.gate_decorator_lut) → int

Get the number of the input signals of the lut.

Returns:The number of input signals.
Return type:int
get_lut_configuration(*args, **kwargs)

Overloaded function.

  1. get_lut_configuration(self: hal_py.gate_decorator_lut) -> List[bool]

Get the lut configuration memory.

Returns:A List of output bits.
Return type:list(bool)
  1. get_lut_configuration(self: hal_py.gate_decorator_lut) -> List[bool]

Get the lut configuration memory.

Returns:A List of output bits.
Return type:list(bool)
get_lut_configuration_bit_size(self: hal_py.gate_decorator_lut) → int

Get the size of the lut configuration in bits.

Returns:The number of bits.
Return type:int
get_lut_configuration_byte_by_index(self: hal_py.gate_decorator_lut, index: int) → int

Get a byte of the lut configuration memory.

Parameters:index (int) – The byte index.
Returns:A single byte.
Return type:int
get_lut_configuration_byte_size(self: hal_py.gate_decorator_lut) → int

Get the size of the lut configuration memory in bytes.

Returns:The number of bytes.
Return type:int
get_output_bit_width(self: hal_py.gate_decorator_lut) → int

Get the number of output signals of the lut.

Returns:The number of output signals.
Return type:int
get_type(self: hal_py.gate_decorator_lut) → hal_py.decorator_type

Get the type of the decorator.

Returns:The type.
Return type:int
input_bit_width

Get the number of the input signals of the lut.

Returns:The number of input signals.
Return type:int
lut_memory_bit_size

Get the size of the lut configuration in bits.

Returns:The number of bits.
Return type:int
lut_memory_byte_size

Get the size of the lut configuration memory in bytes.

Returns:The number of bytes.
Return type:int
output_bit_width

Get the number of output signals of the lut.

Returns:The number of output signals.
Return type:int
type

Get the type of the decorator.

Returns:The type.
Return type:int