hdl_registers/__init__.py |
(no function) |
10 |
0 |
0 |
100% |
hdl_registers/about.py |
get_short_slogan |
2 |
0 |
0 |
100% |
hdl_registers/about.py |
get_readme_rst |
13 |
13 |
0 |
0% |
hdl_registers/about.py |
(no function) |
4 |
0 |
0 |
100% |
hdl_registers/conftest.py |
(no function) |
1 |
0 |
0 |
100% |
hdl_registers/constant/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.__init__ |
6 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.prefix |
1 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.value |
1 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.value |
11 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.value_without_separator |
1 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.is_hexadecimal_not_binary |
1 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.width |
2 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
BitVectorConstant.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/constant/bit_vector_constant.py |
(no function) |
22 |
0 |
0 |
100% |
hdl_registers/constant/boolean_constant.py |
BooleanConstant.__init__ |
4 |
0 |
0 |
100% |
hdl_registers/constant/boolean_constant.py |
BooleanConstant.value |
1 |
0 |
0 |
100% |
hdl_registers/constant/boolean_constant.py |
BooleanConstant.value |
3 |
0 |
0 |
100% |
hdl_registers/constant/boolean_constant.py |
BooleanConstant.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/constant/boolean_constant.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/constant/constant.py |
Constant.value |
0 |
0 |
0 |
100% |
hdl_registers/constant/constant.py |
Constant.value |
0 |
0 |
0 |
100% |
hdl_registers/constant/constant.py |
(no function) |
11 |
0 |
0 |
100% |
hdl_registers/constant/float_constant.py |
FloatConstant.__init__ |
4 |
0 |
0 |
100% |
hdl_registers/constant/float_constant.py |
FloatConstant.value |
1 |
0 |
0 |
100% |
hdl_registers/constant/float_constant.py |
FloatConstant.value |
3 |
0 |
0 |
100% |
hdl_registers/constant/float_constant.py |
FloatConstant.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/constant/float_constant.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/constant/integer_constant.py |
IntegerConstant.__init__ |
4 |
0 |
0 |
100% |
hdl_registers/constant/integer_constant.py |
IntegerConstant.value |
1 |
0 |
0 |
100% |
hdl_registers/constant/integer_constant.py |
IntegerConstant.value |
3 |
0 |
0 |
100% |
hdl_registers/constant/integer_constant.py |
IntegerConstant.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/constant/integer_constant.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/constant/string_constant.py |
StringConstant.__init__ |
4 |
0 |
0 |
100% |
hdl_registers/constant/string_constant.py |
StringConstant.value |
1 |
0 |
0 |
100% |
hdl_registers/constant/string_constant.py |
StringConstant.value |
3 |
0 |
0 |
100% |
hdl_registers/constant/string_constant.py |
StringConstant.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/constant/string_constant.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/constant/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/constant/test/test_bit_vector_constant.py |
test_unsigned_hexadecimal |
8 |
0 |
0 |
100% |
hdl_registers/constant/test/test_bit_vector_constant.py |
test_unsigned_binary |
8 |
0 |
0 |
100% |
hdl_registers/constant/test/test_bit_vector_constant.py |
test_illegal_prefix_should_raise_exception |
19 |
0 |
0 |
100% |
hdl_registers/constant/test/test_bit_vector_constant.py |
test_illegal_value_type_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/constant/test/test_bit_vector_constant.py |
test_illegal_hexadecimal_character_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/constant/test/test_bit_vector_constant.py |
test_repr |
11 |
0 |
0 |
100% |
hdl_registers/constant/test/test_bit_vector_constant.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/constant/test/test_boolean_constant.py |
test_constant |
5 |
0 |
0 |
100% |
hdl_registers/constant/test/test_boolean_constant.py |
test_invalid_data_type |
3 |
0 |
0 |
100% |
hdl_registers/constant/test/test_boolean_constant.py |
test_repr |
9 |
0 |
0 |
100% |
hdl_registers/constant/test/test_boolean_constant.py |
(no function) |
6 |
0 |
0 |
100% |
hdl_registers/constant/test/test_float_constant.py |
test_constant |
5 |
0 |
0 |
100% |
hdl_registers/constant/test/test_float_constant.py |
test_invalid_data_type |
3 |
0 |
0 |
100% |
hdl_registers/constant/test/test_float_constant.py |
test_repr |
9 |
0 |
0 |
100% |
hdl_registers/constant/test/test_float_constant.py |
(no function) |
6 |
0 |
0 |
100% |
hdl_registers/constant/test/test_integer_constant.py |
test_constant |
5 |
0 |
0 |
100% |
hdl_registers/constant/test/test_integer_constant.py |
test_invalid_data_type |
3 |
0 |
0 |
100% |
hdl_registers/constant/test/test_integer_constant.py |
test_repr |
9 |
0 |
0 |
100% |
hdl_registers/constant/test/test_integer_constant.py |
(no function) |
6 |
0 |
0 |
100% |
hdl_registers/constant/test/test_string_constant.py |
test_constant |
5 |
0 |
0 |
100% |
hdl_registers/constant/test/test_string_constant.py |
test_invalid_data_type |
3 |
0 |
0 |
100% |
hdl_registers/constant/test/test_string_constant.py |
test_repr |
9 |
0 |
0 |
100% |
hdl_registers/constant/test/test_string_constant.py |
(no function) |
6 |
0 |
0 |
100% |
hdl_registers/field/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/field/bit.py |
Bit.__init__ |
5 |
0 |
0 |
100% |
hdl_registers/field/bit.py |
Bit.default_value |
1 |
0 |
0 |
100% |
hdl_registers/field/bit.py |
Bit.default_value |
7 |
0 |
0 |
100% |
hdl_registers/field/bit.py |
Bit.default_value_uint |
1 |
0 |
0 |
100% |
hdl_registers/field/bit.py |
Bit.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/bit.py |
(no function) |
11 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.__init__ |
8 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.numerical_interpretation |
1 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector._check_width |
7 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.default_value |
1 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.default_value |
11 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.get_value |
2 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.set_value |
2 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.default_value_uint |
1 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
BitVector.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/bit_vector.py |
(no function) |
17 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
EnumerationElement.__init__ |
3 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
EnumerationElement.name |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
EnumerationElement.value |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
EnumerationElement.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.__init__ |
13 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration._calculate_width |
3 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.elements |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.get_element_by_name |
5 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.get_element_by_value |
5 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.default_value |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.set_default_value |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.default_value_uint |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.get_value |
2 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.set_value |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
Enumeration.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/enumeration.py |
(no function) |
23 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.__init__ |
10 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer._check_range |
9 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer._calculate_width |
12 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.min_value |
1 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.max_value |
1 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.is_signed |
1 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.default_value |
1 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.default_value |
7 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.default_value_uint |
5 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.get_value |
5 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.set_value |
4 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
Integer.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/integer.py |
(no function) |
21 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
from_unsigned_binary |
9 |
1 |
0 |
89% |
hdl_registers/field/numerical_interpretation.py |
to_unsigned_binary |
9 |
2 |
0 |
78% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation.is_signed |
0 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation.min_value |
0 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation.max_value |
0 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation.convert_from_unsigned_binary |
0 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation.convert_to_unsigned_binary |
0 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation.__repr__ |
1 |
1 |
0 |
0% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation._check_native_value_in_range |
4 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
NumericalInterpretation._check_unsigned_binary_value_in_range |
3 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Unsigned.__init__ |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Unsigned.min_value |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Unsigned.max_value |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Unsigned.convert_from_unsigned_binary |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Unsigned.convert_to_unsigned_binary |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Unsigned.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Signed.__init__ |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Signed.min_value |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Signed.max_value |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Signed.convert_from_unsigned_binary |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Signed.convert_to_unsigned_binary |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Signed.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Fixed.__init__ |
9 |
1 |
0 |
89% |
hdl_registers/field/numerical_interpretation.py |
Fixed.is_signed |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Fixed.min_value |
3 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Fixed.max_value |
3 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Fixed.convert_from_unsigned_binary |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Fixed.convert_to_unsigned_binary |
2 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
Fixed.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
UnsignedFixedPoint.__init__ |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
UnsignedFixedPoint.from_bit_widths |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
SignedFixedPoint.__init__ |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
SignedFixedPoint.from_bit_widths |
1 |
0 |
0 |
100% |
hdl_registers/field/numerical_interpretation.py |
(no function) |
62 |
0 |
0 |
100% |
hdl_registers/field/register_field.py |
RegisterField.base_index |
1 |
0 |
0 |
100% |
hdl_registers/field/register_field.py |
RegisterField.width |
1 |
0 |
0 |
100% |
hdl_registers/field/register_field.py |
RegisterField.default_value_uint |
0 |
0 |
0 |
100% |
hdl_registers/field/register_field.py |
RegisterField.get_value |
5 |
0 |
0 |
100% |
hdl_registers/field/register_field.py |
RegisterField.set_value |
4 |
0 |
0 |
100% |
hdl_registers/field/register_field.py |
RegisterField.__repr__ |
1 |
1 |
0 |
0% |
hdl_registers/field/register_field.py |
(no function) |
19 |
0 |
0 |
100% |
hdl_registers/field/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
test_get_value |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
test_set_value |
9 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
test_repr |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
test_default_value_uint |
2 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
test_invalid_default_value_should_raise_exception |
9 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
test_can_update_default_value |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
test_updating_to_invalid_default_value_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_get_value_plain |
7 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_get_value_fixed |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_set_value |
29 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_min_and_max_value |
12 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_repr |
10 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_invalid_width |
9 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_invalid_default_value_should_raise_exception |
9 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_can_update_default_value |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_updating_to_invalid_default_value_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_default_value_uint |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_numeric_interpretation |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_invalid_numerical_interpretation_width_should_raise_exception |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
test_invalid_numerical_interpretation_width_should_raise_exception.test |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_bit_vector.py |
(no function) |
15 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_enumeration_element |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_enumeration_basics |
11 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_no_elements_should_raise_exception |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_get_element_by_name |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_get_element_by_name_with_invalid_name_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_get_element_by_value |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_get_element_by_value_with_invalid_value_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_setting_default_value |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_setting_default_value_that_does_not_exist_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_get_value |
14 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_set_value |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
test_repr |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_enumeration.py |
(no function) |
14 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_fields |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_repr_is_an_actual_representation |
1 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_repr_is_same_after_copy |
2 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_repr_should_change_when_name_is_changed |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_repr_should_change_when_default_value_is_changed |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_repr_when_static_members_have_different_value |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_is_signed |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_is_signed.get_is_signed |
1 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_non_ascending_range_should_raise_exception |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_non_integer_range_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_get_value_unsigned |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_get_value_signed |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_get_value_should_raise_exception_if_value_out_of_range |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_set_value_unsigned |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_set_value_signed |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_set_value_should_raise_exception_if_value_out_of_range |
4 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_default_value_uint |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_default_value_uint._get_default_value_uint |
1 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_default_value_of_bad_type_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_default_value_out_of_range_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
_get_field_width |
1 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_unsigned_width |
5 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_signed_width |
10 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_width_out_of_range_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
test_width_out_of_range_should_raise_exception._test_width_out_of_range |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_integer.py |
(no function) |
26 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_min_max_zero |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_zero_min_max_restore |
16 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_out_of_range |
10 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_signed |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_ufixed |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_sfixed |
6 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_via_bit_widths |
3 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_convert_from_unsigned_binary_value_out_of_range_should_raise_exception |
9 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
test_repr |
18 |
0 |
0 |
100% |
hdl_registers/field/test/test_numerical_interpretation.py |
(no function) |
19 |
0 |
0 |
100% |
hdl_registers/generator/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/c/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator.__init__ |
2 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator.get_code |
3 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator._register_struct |
20 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator._number_of_registers |
6 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator._register_defines |
6 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator._addr_define |
11 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator._field_definitions |
13 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
CHeaderGenerator._constants |
17 |
1 |
0 |
94% |
hdl_registers/generator/c/header.py |
CHeaderGenerator._constants.define |
1 |
0 |
0 |
100% |
hdl_registers/generator/c/header.py |
(no function) |
28 |
1 |
0 |
96% |
hdl_registers/generator/c/reserved_keywords.py |
(no function) |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon.__init__ |
2 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._with_namespace |
5 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._constructor_signature |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._get_methods_description |
2 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._field_value_type_name |
9 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._register_getter_function_name |
5 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._register_getter_function_signature |
7 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._field_getter_function_name |
7 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._field_getter_function_signature |
9 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._register_setter_function_name |
5 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._register_setter_function_signature |
7 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._field_setter_function_name |
7 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
CppGeneratorCommon._field_setter_function_signature |
10 |
0 |
0 |
100% |
hdl_registers/generator/cpp/cpp_generator_common.py |
(no function) |
30 |
3 |
0 |
90% |
hdl_registers/generator/cpp/header.py |
CppHeaderGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/header.py |
CppHeaderGenerator.get_code |
32 |
0 |
0 |
100% |
hdl_registers/generator/cpp/header.py |
CppHeaderGenerator.get_code.function |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/header.py |
(no function) |
10 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator.get_code |
23 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._register_setter_function |
10 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._field_setter_function |
22 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._field_setter_function_from_value |
2 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._get_field_shift_and_mask |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._get_field_setter_value_checker |
6 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._get_field_getter_value_checker |
3 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._register_getter_function |
11 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._field_getter_function |
14 |
0 |
0 |
100% |
hdl_registers/generator/cpp/implementation.py |
CppImplementationGenerator._field_getter_function_from_value |
12 |
1 |
0 |
92% |
hdl_registers/generator/cpp/implementation.py |
(no function) |
29 |
3 |
0 |
90% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator.get_code |
34 |
0 |
0 |
100% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator._constants |
23 |
1 |
0 |
96% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator._num_registers |
6 |
0 |
0 |
100% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator._field_interface |
28 |
0 |
0 |
100% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator._field_interface.function |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator._get_default_value |
7 |
1 |
0 |
86% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator._field_attributes |
14 |
0 |
0 |
100% |
hdl_registers/generator/cpp/interface.py |
CppInterfaceGenerator._register_array_attributes |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/interface.py |
(no function) |
30 |
3 |
0 |
90% |
hdl_registers/generator/cpp/reserved_keywords.py |
(no function) |
1 |
0 |
0 |
100% |
hdl_registers/generator/cpp/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/cpp/test/test_register_cpp_generator.py |
cpp_test_toml_code |
2 |
0 |
0 |
100% |
hdl_registers/generator/cpp/test/test_register_cpp_generator.py |
test_read_only_register_has_no_setters |
2 |
0 |
0 |
100% |
hdl_registers/generator/cpp/test/test_register_cpp_generator.py |
test_write_only_register_has_no_setters |
2 |
0 |
0 |
100% |
hdl_registers/generator/cpp/test/test_register_cpp_generator.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/generator/html/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/html/constant_table.py |
HtmlConstantTableGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/html/constant_table.py |
HtmlConstantTableGenerator.__init__ |
2 |
0 |
0 |
100% |
hdl_registers/generator/html/constant_table.py |
HtmlConstantTableGenerator.get_code |
8 |
0 |
0 |
100% |
hdl_registers/generator/html/constant_table.py |
HtmlConstantTableGenerator._format_constant_value |
7 |
1 |
0 |
86% |
hdl_registers/generator/html/constant_table.py |
(no function) |
20 |
2 |
0 |
90% |
hdl_registers/generator/html/html_generator_common.py |
(no function) |
4 |
0 |
0 |
100% |
hdl_registers/generator/html/html_translator.py |
HtmlTranslator.translate |
4 |
0 |
0 |
100% |
hdl_registers/generator/html/html_translator.py |
HtmlTranslator._annotate |
4 |
0 |
0 |
100% |
hdl_registers/generator/html/html_translator.py |
HtmlTranslator._insert_line_breaks |
4 |
0 |
0 |
100% |
hdl_registers/generator/html/html_translator.py |
HtmlTranslator._translate_angle_brackets |
3 |
0 |
0 |
100% |
hdl_registers/generator/html/html_translator.py |
(no function) |
15 |
0 |
0 |
100% |
hdl_registers/generator/html/page.py |
HtmlPageGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/html/page.py |
HtmlPageGenerator.get_code |
14 |
0 |
0 |
100% |
hdl_registers/generator/html/page.py |
HtmlPageGenerator.get_page_style |
6 |
0 |
0 |
100% |
hdl_registers/generator/html/page.py |
HtmlPageGenerator._get_mode_descriptions |
5 |
0 |
0 |
100% |
hdl_registers/generator/html/page.py |
(no function) |
16 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator.__init__ |
2 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator.get_code |
9 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator._to_hex_string |
4 |
1 |
0 |
75% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator._annotate_register_array |
8 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator._annotate_register |
13 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator._annotate_field |
12 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator._field_range |
3 |
0 |
0 |
100% |
hdl_registers/generator/html/register_table.py |
HtmlRegisterTableGenerator._field_default_value |
7 |
1 |
0 |
86% |
hdl_registers/generator/html/register_table.py |
(no function) |
29 |
3 |
0 |
90% |
hdl_registers/generator/html/reserved_keywords.py |
(no function) |
1 |
0 |
0 |
100% |
hdl_registers/generator/html/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_html_translator.py |
html_translator |
1 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_html_translator.py |
test_markdown_parser_can_handle_annotating_sentences |
6 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_html_translator.py |
test_markdown_parser_can_handle_escaped_asterisks |
15 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_html_translator.py |
test_line_breaks |
12 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_html_translator.py |
test_literal_underscore_can_be_used |
3 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_html_translator.py |
test_angle_brackets_should_be_translated_to_html |
3 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_html_translator.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
HtmlTest.__init__ |
2 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
HtmlTest.create_html_page |
2 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
HtmlTest.check_register |
2 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
HtmlTest.check_field |
4 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
HtmlTest.check_register_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
HtmlTest.check_constant |
2 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
html_test |
1 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
test_registers |
5 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
test_register_fields |
9 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
test_registers_and_constants |
16 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
test_constants_and_no_registers |
7 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
test_register_table_is_empty_string_if_no_registers_are_available |
3 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
test_constant_table_is_empty_string_if_no_constants_are_available |
3 |
0 |
0 |
100% |
hdl_registers/generator/html/test/test_register_html_generator.py |
(no function) |
26 |
0 |
0 |
100% |
hdl_registers/generator/python/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator.get_code |
8 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_value_type_name |
4 |
1 |
0 |
75% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_value_types |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_value_type |
18 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_field_python_type_name |
14 |
1 |
0 |
93% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_field_type_and_range_comment |
24 |
2 |
0 |
92% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_field_type_to_string_value |
18 |
2 |
0 |
89% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_access_methods |
13 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_read_as_class |
12 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_read_as_integer |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_read_common |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_write_as_class |
12 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_write_as_integer |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_register_write_common |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_index_variable |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_fields_write |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_field_read_modify_write |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_field_write |
15 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_field_write_common |
7 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_semi_qualified_register_name |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_semi_qualified_field_name |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_print_registers |
8 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._get_print_register |
14 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
PythonAccessorGenerator._format_with_black |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/accessor.py |
(no function) |
47 |
2 |
0 |
96% |
hdl_registers/generator/python/pickle.py |
PythonPickleGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/pickle.py |
PythonPickleGenerator.__init__ |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/pickle.py |
PythonPickleGenerator.create |
4 |
0 |
0 |
100% |
hdl_registers/generator/python/pickle.py |
PythonPickleGenerator.get_code |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/pickle.py |
PythonPickleGenerator.should_create |
1 |
1 |
0 |
0% |
hdl_registers/generator/python/pickle.py |
(no function) |
17 |
0 |
0 |
100% |
hdl_registers/generator/python/register_accessor_interface.py |
PythonRegisterAccessorInterface.read_register |
0 |
0 |
0 |
100% |
hdl_registers/generator/python/register_accessor_interface.py |
PythonRegisterAccessorInterface.write_register |
0 |
0 |
0 |
100% |
hdl_registers/generator/python/register_accessor_interface.py |
(no function) |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/reserved_keywords.py |
(no function) |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/conftest.py |
tmp_session_path |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/conftest.py |
generate_default_accessor |
12 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/conftest.py |
add_test_registers |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/conftest.py |
setup_test_register |
10 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/conftest.py |
add_empty_registers |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/conftest.py |
add_single_field_registers |
10 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/conftest.py |
(no function) |
19 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_basic.py |
test_generate_with_no_registers |
5 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_basic.py |
test_create_accessor_without_pickle_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_basic.py |
(no function) |
7 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
default_accessor |
8 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
default_accessor.DefaultAccessor.__init__ |
4 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
default_accessor.DefaultAccessor.set_read_value |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
default_accessor.DefaultAccessor.assert_call |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
get_a_value_int |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
a_value0_int |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
a_value0_class |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
a_value1_int |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
a_value1_class |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
a_value2_int |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
a_value2_class |
1 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_empty_r_register_plain |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_empty_r_w_register_plain |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_empty_r_wpulse_register_plain |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_empty_r_register_in_array |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_empty_r_w_register_in_array |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_empty_r_wpulse_register_in_array |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_w_register_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_r_w_register_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_wpulse_register_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_r_wpulse_register_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_w_register_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_r_w_register_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_wpulse_register_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_empty_r_wpulse_register_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_class_r_plain |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_class_r_w_plain |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_class_r_wpulse_plain |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_class_r_in_array |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_class_r_w_in_array |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_class_r_wpulse_in_array |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_w_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_r_w_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_wpulse_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_r_wpulse_plain |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_w_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_r_w_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_wpulse_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_class_r_wpulse_in_array |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_w_plain_single_bit |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_w_plain_single_unsigned |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_plain_single_sfixed |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_wpulse_plain_single_enumeration |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_wpulse_plain_single_uint |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_in_array_single_sfixed |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_wpulse_in_array_single_enumeration |
4 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_w_plain_multiple_bit_aa0 |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_w_plain_multiple_bit_aa1 |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_w_plain_multiple_unsigned_aa |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_wpulse_plain_multiple_signed_aa |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_wpulse_plain_multiple_ufixed_aa |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_wpulse_plain_multiple_sfixed_aa |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_wpulse_in_array_multiple_enumeration_aa |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_wpulse_in_array_multiple_uint_aa |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_wpulse_in_array_multiple_sint_aa |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_plain_multiple_bit_aa0 |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_plain_multiple_bit_aa1 |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_plain_multiple_unsigned_aa |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_plain_multiple_signed_aa |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_plain_multiple_ufixed_aa |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_plain_multiple_sfixed_aa |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_in_array_multiple_enumeration_aa |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_in_array_multiple_uint_aa |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_field_r_w_in_array_multiple_sint_aa |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_with_array_index_out_of_bound_should_raise_exception |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_with_array_index_negative_should_raise_exception |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_integer_out_of_range_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_read_enumeration_out_of_range_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_integer_out_of_range_should_raise_exception |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_write_enumeration_out_of_range_should_raise_exception |
17 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_register_accessor_read_value_out_of_range_should_raise_exception |
8 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_register_write_value_out_of_range_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_print_registers |
9 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_print_registers_value1 |
7 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
test_print_registers_value2 |
7 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_operations.py |
(no function) |
84 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_py.py |
default_accessor_py |
2 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_py.py |
test_correct_methods_for_r_register |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_py.py |
test_correct_methods_for_w_register |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_py.py |
test_correct_methods_for_r_w_register |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_py.py |
test_correct_methods_for_wpulse_register |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_py.py |
test_correct_methods_for_r_wpulse_register |
3 |
0 |
0 |
100% |
hdl_registers/generator/python/test/accessor/test_accessor_py.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/generator/python/test/test_pickle.py |
test_recreating_register_list_object |
6 |
0 |
0 |
100% |
hdl_registers/generator/python/test/test_pickle.py |
(no function) |
5 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.SHORT_DESCRIPTION |
0 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.COMMENT_START |
0 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.output_file |
0 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.get_code |
0 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.__init__ |
3 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.create |
10 |
2 |
0 |
80% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.create_if_needed |
4 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.should_create |
6 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._find_versions_and_hash_of_existing_file |
17 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.header |
1 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator.generated_source_info |
13 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._sanity_check |
2 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._check_reserved_keywords |
9 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._check_reserved_keywords.check |
3 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._check_for_name_clashes |
4 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._check_for_constant_name_clashes |
6 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._check_for_top_level_name_clashes |
15 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._check_for_field_name_clashes |
8 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
RegisterCodeGenerator._check_for_qualified_name_clashes |
15 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator.py |
(no function) |
45 |
1 |
0 |
98% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.iterate_constants |
1 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.iterate_register_objects |
1 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.iterate_registers |
5 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.iterate_plain_registers |
3 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.iterate_register_arrays |
3 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.qualified_register_name |
4 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.qualified_register_array_name |
1 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.qualified_field_name |
2 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.get_indentation |
2 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.get_separator_line |
6 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.comment |
2 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.comment_block |
1 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.register_description |
4 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.field_description |
2 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.field_setter_should_read_modify_write |
6 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
RegisterCodeGeneratorHelpers.to_pascal_case |
1 |
0 |
0 |
100% |
hdl_registers/generator/register_code_generator_helpers.py |
(no function) |
33 |
3 |
0 |
91% |
hdl_registers/generator/reserved_keywords.py |
(no function) |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generation.py |
test_can_generate_vhdl_without_error |
10 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generation.py |
test_can_generate_c_without_error |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generation.py |
test_can_generate_cpp_without_error |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generation.py |
test_can_generate_html_without_error |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generation.py |
test_can_generate_python_without_error |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generation.py |
(no function) |
30 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
CustomGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
CustomGenerator.get_code |
1 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
generator_from_toml |
2 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
generator_from_toml.get |
3 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_return_value |
9 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_should_not_run_if_nothing_has_changed |
8 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_should_run_if_hash_or_version_can_not_be_read |
9 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_should_run_again_if_toml_file_has_changed |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_should_not_run_again_if_toml_file_has_only_cosmetic_change |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_should_run_again_if_register_list_is_modified |
7 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_should_run_again_if_package_version_is_changed |
5 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_create_should_run_again_if_generator_version_is_changed |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_version_header_is_detected_even_if_not_on_first_line |
7 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_generated_source_info |
26 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_constant_with_reserved_name_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_plain_register_with_reserved_name_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_plain_register_field_with_reserved_name_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_register_array_with_reserved_name_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_array_register_with_reserved_name_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_array_register_field_with_reserved_name_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_reserved_name_check_works_even_with_strange_case |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_two_constants_with_the_same_name_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_two_registers_with_the_same_name_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_register_with_the_same_name_as_register_array_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_two_plain_fields_with_the_same_name_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_two_array_fields_with_the_same_name_should_raise_exception |
8 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_two_register_arrays_with_the_same_name_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_array_register_with_same_qualified_name_as_plain_register_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_plain_field_with_same_qualified_name_as_plain_register_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_plain_field_with_same_qualified_name_as_array_register_should_raise_exception |
8 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_array_field_with_same_qualified_name_as_plain_register_should_raise_exception |
8 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
test_relative_path_printout |
21 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator.py |
(no function) |
53 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator_helpers.py |
test_field_setter_should_read_modify_write |
7 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator_helpers.py |
test_field_setter_should_read_modify_write_should_raise_exception_if_there_are_no_fields |
4 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator_helpers.py |
test_field_setter_should_read_modify_write_raise_exception_if_the_register_is_not_writable |
5 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator_helpers.py |
test_to_pascal_case |
2 |
0 |
0 |
100% |
hdl_registers/generator/test/test_register_code_generator_helpers.py |
(no function) |
8 |
0 |
0 |
100% |
hdl_registers/generator/test/test_reserved_keywords.py |
test_is_all_lowercase |
2 |
0 |
0 |
100% |
hdl_registers/generator/test/test_reserved_keywords.py |
(no function) |
2 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/test/test_wrapper.py |
test_file_is_not_generated_without_registers |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/test/test_wrapper.py |
test_re_generating_file_without_registers_should_delete_old_file |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/test/test_wrapper.py |
(no function) |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/wrapper.py |
VhdlAxiLiteWrapperGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/wrapper.py |
VhdlAxiLiteWrapperGenerator.create |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/wrapper.py |
VhdlAxiLiteWrapperGenerator.get_code |
13 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/wrapper.py |
VhdlAxiLiteWrapperGenerator._get_was_accessed_ports |
7 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/axi_lite/wrapper.py |
(no function) |
12 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator.create |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator.get_code |
8 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_field_records |
16 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_records |
12 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._array_field_records |
16 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._get_register_record |
14 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._record_member_declaration_for_register |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_was_accessed |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_was_accessed_record |
22 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_field_record_conversion_implementations |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_field_record_conversion_implementations._get_functions |
15 |
1 |
0 |
93% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_record_conversion_implementations |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_record_up_to_slv |
16 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._get_registers_down_to_record_function |
16 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_was_accessed_conversion_implementations |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
VhdlRecordPackageGenerator._register_was_accessed_conversion_implementation |
10 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/record_package.py |
(no function) |
31 |
2 |
0 |
94% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator.get_code |
10 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._constants |
23 |
1 |
0 |
96% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._register_range_type_name |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._register_range |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._array_constants |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._array_register_index_function_signature |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._register_indexes |
7 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._register_map_head |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._field_declarations |
15 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._field_type_declaration |
17 |
2 |
0 |
88% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._field_init_value |
10 |
1 |
0 |
90% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._field_conversion_function_declarations |
6 |
1 |
0 |
83% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._array_index_function_implementations |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._register_map_body |
23 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/register_package.py |
VhdlRegisterPackageGenerator._field_conversion_implementations |
17 |
1 |
0 |
94% |
hdl_registers/generator/vhdl/register_package.py |
(no function) |
38 |
2 |
0 |
95% |
hdl_registers/generator/vhdl/reserved_keywords.py |
(no function) |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator.create |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator.get_code |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator._declarations |
20 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator._register_check_signature |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator._field_check_signature |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator._implementations |
17 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator._register_check_implementation |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator._field_check_implementation |
9 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/check_package.py |
VhdlSimulationCheckPackageGenerator._field_check_implementation.to_string |
5 |
1 |
0 |
80% |
hdl_registers/generator/vhdl/simulation/check_package.py |
(no function) |
24 |
3 |
0 |
88% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator.create |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator.get_code |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._declarations |
40 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._register_read_write_signature |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._field_read_write_signature |
11 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._should_be_able_to_access_field_as_integer |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._implementations |
30 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._register_read_implementation |
2 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._register_write_implementation |
2 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._field_read_implementation |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
VhdlSimulationReadWritePackageGenerator._field_write_implementation |
15 |
1 |
0 |
93% |
hdl_registers/generator/vhdl/simulation/read_write_package.py |
(no function) |
26 |
3 |
0 |
88% |
hdl_registers/generator/vhdl/simulation/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_check_package.py |
test_package_is_not_generated_without_registers |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_check_package.py |
test_re_generating_package_without_registers_should_delete_old_file |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_check_package.py |
test_only_readable_registers_are_included |
11 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_check_package.py |
(no function) |
7 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
test_package_is_not_generated_without_registers |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
test_re_generating_package_without_registers_should_delete_old_file |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
test_read_write_as_integer |
30 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
test_read_write_as_integer.check_access_as_named_type |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
test_read_write_as_integer.check_access_as_integer |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
test_read_write_as_integer.check_access_as_slv |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
test_read_write_as_integer.check_access_as_native |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_read_write_package.py |
(no function) |
8 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_wait_until_package.py |
test_package_is_not_generated_without_registers |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_wait_until_package.py |
test_re_generating_package_without_registers_should_delete_old_file |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/test/test_wait_until_package.py |
(no function) |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
VhdlSimulationGeneratorCommon.get_array_index_port |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
VhdlSimulationGeneratorCommon.get_array_index_association |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
VhdlSimulationGeneratorCommon.reg_index_constant |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
VhdlSimulationGeneratorCommon.reg_address_constant |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
VhdlSimulationGeneratorCommon.get_register_array_message |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
VhdlSimulationGeneratorCommon.get_base_address_message |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
VhdlSimulationGeneratorCommon.get_message |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/vhdl_simulation_generator_common.py |
(no function) |
18 |
2 |
0 |
89% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator.output_file |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator.create |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator.get_code |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator._declarations |
14 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator._register_wait_until_equals_signature |
8 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator._field_wait_until_equals_signature |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator._implementations |
12 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator._register_wait_until_equals_implementation |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator._field_wait_until_equals_implementation |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
VhdlSimulationWaitUntilPackageGenerator._get_common_constants |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/simulation/wait_until_package.py |
(no function) |
22 |
3 |
0 |
86% |
hdl_registers/generator/vhdl/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_record_package.py |
test_package_is_not_generated_without_registers |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_record_package.py |
test_re_generating_package_without_registers_should_delete_old_file |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_record_package.py |
(no function) |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
RegisterConfiguration.__init__ |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
RegisterConfiguration.test_vhdl_package |
15 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
register_configuration |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
test_vhdl_package_with_registers_and_constants |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
test_vhdl_package_with_registers_and_no_constants |
2 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
test_vhdl_package_with_constants_and_no_registers |
2 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
test_vhdl_package_with_only_one_register |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
test_vhdl_typedef |
17 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_package.py |
(no function) |
18 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
generate_all_vhdl_artifacts |
6 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
generate_strange_register_maps |
9 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
generate_strange_register_maps.create_packages |
18 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
generate_strange_register_maps.create_packages.append_register |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
generate_strange_register_maps.create_packages.append_registers |
2 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
_get_register_arrays_record_string |
1 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
test_registers_only_in_up_direction_should_give_no_down_type_or_port |
16 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
test_registers_only_in_down_direction_should_give_no_down_type_or_port |
16 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/test/test_register_vhdl_generator.py |
(no function) |
15 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.field_to_slv_function_name |
5 |
1 |
0 |
80% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.field_to_slv |
12 |
2 |
0 |
83% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.field_type_name |
6 |
1 |
0 |
83% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.has_any_software_accessible_register |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_software_accessible_registers |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_software_accessible_plain_registers |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_software_accessible_array_registers |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_software_accessible_register_arrays |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.has_any_hardware_accessible_register |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_hardware_accessible_registers |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_hardware_accessible_plain_registers |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_hardware_accessible_array_registers |
3 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon.iterate_hardware_accessible_register_arrays |
4 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
VhdlGeneratorCommon._create_if_there_are_registers_otherwise_delete_file |
5 |
0 |
0 |
100% |
hdl_registers/generator/vhdl/vhdl_generator_common.py |
(no function) |
30 |
3 |
0 |
90% |
hdl_registers/parser/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/parser/json.py |
from_json |
3 |
0 |
0 |
100% |
hdl_registers/parser/json.py |
_load_json_file |
9 |
0 |
0 |
100% |
hdl_registers/parser/json.py |
(no function) |
10 |
2 |
0 |
80% |
hdl_registers/parser/parser.py |
RegisterParser.__init__ |
7 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser.parse |
19 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_constant |
18 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_plain_register |
13 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._get_mode |
5 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_register_fields |
16 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_register_array |
28 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._check_field_items |
8 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_bit |
4 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_bit_vector |
5 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_enumeration |
5 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
RegisterParser._parse_integer |
6 |
0 |
0 |
100% |
hdl_registers/parser/parser.py |
_convert_to_new_format |
25 |
1 |
0 |
96% |
hdl_registers/parser/parser.py |
_convert_to_new_format._get_register_dict |
12 |
1 |
0 |
92% |
hdl_registers/parser/parser.py |
_convert_to_new_format._add_item |
3 |
1 |
0 |
67% |
hdl_registers/parser/parser.py |
_save_to_new_format |
14 |
1 |
0 |
93% |
hdl_registers/parser/parser.py |
(no function) |
42 |
2 |
0 |
95% |
hdl_registers/parser/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/parser/test/test_json.py |
test_load_nonexistent_json_file_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_json.py |
test_load_dirty_json_file_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/parser/test/test_json.py |
test_default_registers |
18 |
0 |
0 |
100% |
hdl_registers/parser/test/test_json.py |
test_two_registers_with_same_name_does_not_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_json.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_data_file_format_convert.py |
test_convert_big_toml_file |
9 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_data_file_format_convert.py |
test_convert_small_json_file |
9 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_data_file_format_convert.py |
test_convert_small_yaml_file |
9 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_data_file_format_convert.py |
(no function) |
8 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser.py |
test_unknown_top_level_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser.py |
test_unknown_top_level_item_type_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser.py |
test_order_of_registers_and_fields |
67 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser.py |
(no function) |
7 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_constant.py |
test_constants_in_toml |
20 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_constant.py |
test_constant_without_value_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_constant.py |
test_unknown_constant_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_constant.py |
test_unknown_constant_sub_item_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_constant.py |
test_data_type_on_non_string_constant_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_constant.py |
test_invalid_string_constant_data_type_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_constant.py |
(no function) |
11 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_default_register.py |
test_overriding_default_register |
3 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_default_register.py |
test_changing_mode_of_default_register_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_default_register.py |
(no function) |
7 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_register_field_without_type_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_array_register_field_without_type_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_register_field_with_unknown_type_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_array_register_field_with_unknown_type_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_unknown_bit_field_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_unknown_bit_vector_field_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_bit_vector_field_without_width_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_enumeration_field_without_elements_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
test_integer_field_without_max_value_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_field.py |
(no function) |
12 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_register_can_be_specified_with_and_without_type |
8 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_register_with_no_mode_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_unknown_register_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_array_register_can_be_specified_with_and_without_type |
8 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_array_register_with_bad_type_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_array_register_with_no_mode_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_unknown_array_register_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_plain_register_with_array_length_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_unknown_register_mode_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
test_unknown_array_register_mode_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register.py |
(no function) |
14 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register_array.py |
test_register_array_without_register_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register_array.py |
test_register_array_without_array_length_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register_array.py |
test_unknown_register_array_property_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_parser/test_parser_register_array.py |
(no function) |
6 |
0 |
0 |
100% |
hdl_registers/parser/test/test_toml.py |
test_load_nonexistent_toml_file_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_toml.py |
test_load_dirty_toml_file_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/parser/test/test_toml.py |
test_default_registers |
6 |
0 |
0 |
100% |
hdl_registers/parser/test/test_toml.py |
test_two_registers_with_same_name_should_raise_exception |
5 |
0 |
0 |
100% |
hdl_registers/parser/test/test_toml.py |
test_two_fields_with_same_name_should_raise_exception |
5 |
0 |
0 |
100% |
hdl_registers/parser/test/test_toml.py |
(no function) |
10 |
0 |
0 |
100% |
hdl_registers/parser/test/test_yaml.py |
test_load_nonexistent_yaml_file_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_yaml.py |
test_load_dirty_yaml_file_should_raise_exception |
7 |
0 |
0 |
100% |
hdl_registers/parser/test/test_yaml.py |
test_default_registers |
18 |
0 |
0 |
100% |
hdl_registers/parser/test/test_yaml.py |
test_two_registers_with_same_name_does_not_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/parser/test/test_yaml.py |
(no function) |
9 |
0 |
0 |
100% |
hdl_registers/parser/toml.py |
from_toml |
3 |
0 |
0 |
100% |
hdl_registers/parser/toml.py |
_load_toml_file |
7 |
0 |
0 |
100% |
hdl_registers/parser/toml.py |
(no function) |
9 |
2 |
0 |
78% |
hdl_registers/parser/yaml.py |
from_yaml |
3 |
0 |
0 |
100% |
hdl_registers/parser/yaml.py |
_load_yaml_file |
9 |
0 |
0 |
100% |
hdl_registers/parser/yaml.py |
(no function) |
9 |
2 |
0 |
78% |
hdl_registers/register.py |
Register.__init__ |
8 |
1 |
0 |
88% |
hdl_registers/register.py |
Register.append_bit |
3 |
0 |
0 |
100% |
hdl_registers/register.py |
Register.append_bit_vector |
3 |
0 |
0 |
100% |
hdl_registers/register.py |
Register.append_enumeration |
3 |
0 |
0 |
100% |
hdl_registers/register.py |
Register.append_integer |
3 |
0 |
0 |
100% |
hdl_registers/register.py |
Register._append_field |
4 |
0 |
0 |
100% |
hdl_registers/register.py |
Register.default_value |
4 |
0 |
0 |
100% |
hdl_registers/register.py |
Register.get_field |
4 |
0 |
0 |
100% |
hdl_registers/register.py |
Register.address |
1 |
0 |
0 |
100% |
hdl_registers/register.py |
Register.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/register.py |
(no function) |
22 |
2 |
0 |
91% |
hdl_registers/register_array.py |
RegisterArray.__init__ |
7 |
0 |
0 |
100% |
hdl_registers/register_array.py |
RegisterArray.append_register |
4 |
0 |
0 |
100% |
hdl_registers/register_array.py |
RegisterArray.get_register |
4 |
0 |
0 |
100% |
hdl_registers/register_array.py |
RegisterArray.index |
3 |
0 |
0 |
100% |
hdl_registers/register_array.py |
RegisterArray.get_start_index |
3 |
0 |
0 |
100% |
hdl_registers/register_array.py |
RegisterArray.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/register_array.py |
(no function) |
12 |
1 |
0 |
92% |
hdl_registers/register_list.py |
RegisterList.__init__ |
4 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.from_default_registers |
7 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.append_register |
6 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.append_register_array |
6 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.get_register |
7 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.get_register_array |
4 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.get_register_index |
8 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.add_constant |
14 |
2 |
0 |
86% |
hdl_registers/register_list.py |
RegisterList.get_constant |
4 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.object_hash |
1 |
0 |
0 |
100% |
hdl_registers/register_list.py |
RegisterList.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/register_list.py |
(no function) |
28 |
1 |
0 |
96% |
hdl_registers/register_mode.py |
RegisterMode.__init__ |
7 |
0 |
0 |
100% |
hdl_registers/register_mode.py |
RegisterMode.hardware_has_down |
1 |
0 |
0 |
100% |
hdl_registers/register_mode.py |
RegisterMode.is_software_accessible |
3 |
0 |
0 |
100% |
hdl_registers/register_mode.py |
RegisterMode.is_hardware_accessible |
3 |
0 |
0 |
100% |
hdl_registers/register_mode.py |
RegisterMode.__repr__ |
1 |
0 |
0 |
100% |
hdl_registers/register_mode.py |
RegisterMode.__str__ |
1 |
0 |
0 |
100% |
hdl_registers/register_mode.py |
RegisterMode.__eq__ |
3 |
1 |
0 |
67% |
hdl_registers/register_mode.py |
(no function) |
22 |
0 |
0 |
100% |
hdl_registers/register_modes.py |
(no function) |
2 |
0 |
0 |
100% |
hdl_registers/test/__init__.py |
(no function) |
0 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_repr_basic |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_repr_with_bits_appended |
8 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_bits_are_appended_properly_and_can_be_edited_in_place |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_bit_vectors_are_appended_properly_and_can_be_edited_in_place |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_integers_are_appended_properly_and_can_be_edited_in_place |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_appending_bit_to_full_register |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_appending_bit_vector_to_full_register |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_appending_integer_to_full_register |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_default_value |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_default_value_can_be_updated |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
test_get_field |
8 |
0 |
0 |
100% |
hdl_registers/test/test_register.py |
(no function) |
14 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_registers_are_appended_properly_and_can_be_edited_in_place |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_get_register |
8 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_repr_basic |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_repr_with_registers_appended |
8 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_invalid_length_should_raise_exception |
3 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_index |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_index_for_array_without_registers_should_raise_exception |
4 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_start_index |
9 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
test_start_index_with_argument_outside_of_length_should_raise_exception |
8 |
0 |
0 |
100% |
hdl_registers/test/test_register_array.py |
(no function) |
12 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_from_default_registers |
12 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_from_default_registers_with_bad_indexes_should_raise_exception |
6 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_header_constants |
11 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_registers_are_appended_properly_and_can_be_edited_in_place |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_register_arrays_are_appended_properly_and_can_be_edited_in_place |
7 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_get_register |
21 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_get_register_array |
15 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_get_register_index |
10 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_repr_basic |
3 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_repr_with_constant_added |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_repr_with_register_appended |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_repr_with_register_array_appended |
5 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
test_deep_copy_of_register_list_actually_copies_everything |
20 |
0 |
0 |
100% |
hdl_registers/test/test_register_list.py |
(no function) |
19 |
0 |
0 |
100% |
hdl_registers/test/test_register_mode.py |
test_repr |
1 |
0 |
0 |
100% |
hdl_registers/test/test_register_mode.py |
test_software_access_direction |
3 |
0 |
0 |
100% |
hdl_registers/test/test_register_mode.py |
test_hardware_access_direction |
6 |
0 |
0 |
100% |
hdl_registers/test/test_register_mode.py |
(no function) |
4 |
0 |
0 |
100% |
hdl_registers/test/test_register_modes.py |
test_dictionary_key_is_equal_to_shorthand |
2 |
0 |
0 |
100% |
hdl_registers/test/test_register_modes.py |
(no function) |
2 |
0 |
0 |
100% |