peakrdl-python 3.1.0rc3__tar.gz → 3.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/PKG-INFO +1 -1
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/__about__.py +1 -1
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/base.py +1 -1
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/sections.py +0 -4
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap.py.jinja +4 -4
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_register.py.jinja +3 -3
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/PKG-INFO +1 -1
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/reserved_elements.rdl +7 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/.github/workflows/action.yaml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/.gitignore +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/.readthedocs.yaml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/LICENSE +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/MANIFEST.in +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/README.md +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/api.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/api_components.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/command_line.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/conf.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/customisation.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/design_decisions.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/design_tools.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/generated_package.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/genindex.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/index.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/installation.rst +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/docs/requirements.txt +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/array_access/array_access.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/array_access/demo_array_access.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/enumerated_fields/demo_enumerated_fields.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/enumerated_fields/enumerated_fields.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/optimised_access/demo_optimised_access.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/optimised_access/demo_optimised_array_access.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/optimised_access/optimised_access.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/optimised_access/optimised_array_access.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/overridden_names/demo_over_ridden_names.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/overridden_names/overridden_names.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/simulating_callbacks/chip_with_a_GPIO.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/simulating_callbacks/flashing_the_LED.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/tranversing_address_map/chip_with_registers.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/tranversing_address_map/dumping_register_state_to_json_file.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/tranversing_address_map/reg_dump.json +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/tranversing_address_map/reseting_registers.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/tranversing_address_map/writing_register_state_from_json_file.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/user_defined_properties/demo_user_defined_properties.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/user_defined_properties/user_defined_properties.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/why_ral/__init__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/why_ral/gpio.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/why_ral/with_hal.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/why_ral/with_ral.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/why_ral/without_ral.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/generate_and_test.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/generate_testcases.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/pyproject.toml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/setup.cfg +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/.coveragerc +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/__init__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/__peakrdl__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/_deploy_package.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/_node_walkers.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/class_names.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/compiler_udp.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/exporter.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/__init__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/async_memory.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/async_register_and_field.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/base_field.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/base_register.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/callbacks.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/field_encoding.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/memory.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/py.typed +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/register_and_field.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/utility_functions.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/__init__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/_async_base_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/_base_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/_common_base_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/async_field_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/async_mem_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/async_reg_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/async_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/field_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/mem_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/reg_test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/test_class.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/utilities.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/py.typed +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/safe_name_utility.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/__init__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/_callbacks.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/base.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/dummy_callbacks.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/field.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/memory.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/py.typed +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/register.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/simulator.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/systemrdl_node_hashes.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/systemrdl_node_utility_functions.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/__init__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_field.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_memory.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_simulation.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_simulation_tb.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_system_rdl_name_mapping.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_tb.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_udp_property.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_universal_property.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/baseclass_simulation_tb.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/baseclass_tb.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/child_definitions.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/example.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/field_enums.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/header.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/header_tb.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/property_enums.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/reg_definitions.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/template_ultilities.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/unique_component_iterator.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/SOURCES.txt +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/dependency_links.txt +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/entry_points.txt +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/requires.txt +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/top_level.txt +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates/header.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates/header_tb.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_dynamic/header.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_dynamic/header_tb.py.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_dynamic_toml/header_check.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_dynamic_toml/peakrdl.toml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_toml/header_check.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_toml/peakrdl.toml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/pathological_register_maps/pathological_rdl_builder.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/pathological_register_maps/templates/pathological_template.rdl.jinja +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/RDLFormatCode_example.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/addr_map.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/aliases.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/all_register_access_types.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/basic.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/block_a.xml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/block_b.xml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/deduplicated_field.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/different_array_types.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/enum_example.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/example_issue_106.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/extended_memories.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/extended_sizes_registers_array.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/field_scope.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/field_with_overridden_reset.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/fields_with_HW_write.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/fields_with_reset_values.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/hidden_property.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/large_field_combinations.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/memories.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/memories_with_registers.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/msb0_and_lsb0.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/multi_block.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/multifile.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/name_clash.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/name_desc_all_levels.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/name_desc_option_deduplicate.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/name_desc_stress_test.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/overlapping_registers_and_fields.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/overridden_python_name.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/parametrised_readonly_and_readwrite.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/parametrised_top.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/reg_name_stress.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/regfile_and_arrays.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/same_but_different_enum.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/signals_definitions_at_various_levels.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/simple.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/simple.xml +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/simulator_test.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/sizes_registers.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/sizes_registers_array.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/sparse_enum_issue_200.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/udp_with_referencing.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/user_defined_properties.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/write_only_enum_with_undefined_reset.rdl +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/__init__.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/simple_components.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_array_indexing.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_building_inner_addrmap.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_export.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_field.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_name_desc_export.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_optimised_reg_array.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_reg.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_sim.py +0 -0
- {peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_system_rdl_enum.py +0 -0
|
@@ -31,7 +31,7 @@ import re
|
|
|
31
31
|
from .callbacks import CallbackSet, CallbackSetLegacy
|
|
32
32
|
|
|
33
33
|
UDPStruct = dict[str, 'UDPType']
|
|
34
|
-
UDPType = Union[str, int, bool, IntEnum, UDPStruct]
|
|
34
|
+
UDPType = Union[str, int, bool, IntEnum, UDPStruct, list['UDPType']]
|
|
35
35
|
|
|
36
36
|
array_instance_re = re.compile(r'(?P<root_name>[A-Za-z_0-9]*)\[(?P<index>\d+)\]')
|
|
37
37
|
|
|
@@ -25,7 +25,6 @@ from typing import Optional, Union, TYPE_CHECKING,overload, Literal
|
|
|
25
25
|
from collections.abc import Iterator, Iterable
|
|
26
26
|
from abc import ABC, abstractmethod
|
|
27
27
|
import sys
|
|
28
|
-
from enum import IntEnum
|
|
29
28
|
|
|
30
29
|
from .base import Node, NodeArray, IterationClassification
|
|
31
30
|
|
|
@@ -48,9 +47,6 @@ if TYPE_CHECKING:
|
|
|
48
47
|
from .register_and_field import ReadableRegisterArray, WriteableRegisterArray
|
|
49
48
|
from .async_register_and_field import ReadableAsyncRegisterArray, WriteableAsyncRegisterArray
|
|
50
49
|
|
|
51
|
-
UDPStruct = dict[str, 'UDPType']
|
|
52
|
-
UDPType = Union[str, int, bool, IntEnum, UDPStruct]
|
|
53
|
-
|
|
54
50
|
class BaseSection(Node, Iterable[Union[Node, NodeArray]], ABC):
|
|
55
51
|
"""
|
|
56
52
|
base class of non-async and sync sections (AddressMaps and RegFile)
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap.py.jinja
RENAMED
|
@@ -145,7 +145,7 @@ class {{node.python_class_name}}({% if asyncoutput %}Async{% endif %}RegFile):
|
|
|
145
145
|
{{get_table_block(node.instance) | indent}}
|
|
146
146
|
"""
|
|
147
147
|
|
|
148
|
-
__slots__ : list[str] = [{%- for child_node in node.
|
|
148
|
+
__slots__ : list[str] = [{%- for child_node in node.children(unroll=False) -%}'__{{child_node.inst_name}}'{% if not loop.last %}, {% endif %}{%- endfor %}]
|
|
149
149
|
|
|
150
150
|
def __init__(self,
|
|
151
151
|
address: int,
|
|
@@ -159,7 +159,7 @@ class {{node.python_class_name}}({% if asyncoutput %}Async{% endif %}RegFile):
|
|
|
159
159
|
parent=parent)
|
|
160
160
|
|
|
161
161
|
# instance of objects within the class
|
|
162
|
-
{% for child_node in node.
|
|
162
|
+
{% for child_node in node.children(unroll=False) -%}
|
|
163
163
|
{{ regfile_or_addr_instance(child_node) | indent }}
|
|
164
164
|
{% endfor %}
|
|
165
165
|
|
|
@@ -214,7 +214,7 @@ class {{node.python_class_name}}({% if asyncoutput %}Async{% endif %}AddressMap)
|
|
|
214
214
|
{{get_table_block(node.instance) | indent}}
|
|
215
215
|
"""
|
|
216
216
|
|
|
217
|
-
__slots__ : list[str] = [{%- for child_node in node.
|
|
217
|
+
__slots__ : list[str] = [{%- for child_node in node.children(unroll=False) -%}{%- if isinstance(child_node, systemrdlRegNode) or isinstance(child_node, systemrdlRegfileNode) or isinstance(child_node, systemrdlAddrmapNode) or isinstance(child_node, systemrdlMemNode) -%}'__{{child_node.inst_name}}'{% if not loop.last %}, {% endif %}{% endif %}{%- endfor %}]
|
|
218
218
|
|
|
219
219
|
def __init__(self, *,
|
|
220
220
|
address:int {%- if node.instance == top_node -%}={{top_node.absolute_address}}{%- endif -%},
|
|
@@ -233,7 +233,7 @@ class {{node.python_class_name}}({% if asyncoutput %}Async{% endif %}AddressMap)
|
|
|
233
233
|
inst_name=inst_name,
|
|
234
234
|
parent=parent)
|
|
235
235
|
|
|
236
|
-
{% for child_node in node.
|
|
236
|
+
{% for child_node in node.children(unroll=False) -%}
|
|
237
237
|
{{ regfile_or_addr_instance(child_node) | indent }}
|
|
238
238
|
{% endfor %}
|
|
239
239
|
|
|
@@ -82,7 +82,7 @@ class {{node.python_class_name}}({{node.base_class(asyncoutput)}}):
|
|
|
82
82
|
{{get_table_block(node.instance) | indent}}
|
|
83
83
|
"""
|
|
84
84
|
|
|
85
|
-
__slots__ : list[str] = [{%- for child_node in node.
|
|
85
|
+
__slots__ : list[str] = [{%- for child_node in node.children(unroll=False) -%}'__{{child_node.inst_name}}'{% if not loop.last %}, {% endif %}{%- endfor %}]
|
|
86
86
|
|
|
87
87
|
def __init__(self,
|
|
88
88
|
address: int,
|
|
@@ -129,12 +129,12 @@ class {{node.python_class_name}}({{node.base_class(asyncoutput)}}):
|
|
|
129
129
|
|
|
130
130
|
{% if node.write_only %}
|
|
131
131
|
{# if the register has no readable components, all the fields must be writen as one #}
|
|
132
|
-
{% if asyncoutput %}async {% endif %}def write_fields(self, {%- for child_node in node.
|
|
132
|
+
{% if asyncoutput %}async {% endif %}def write_fields(self, {%- for child_node in node.fields() -%} {{safe_node_name(child_node)}} : {{node.lookup_field_data_python_class(child_node)}}{%- if not loop.last -%},{%- endif -%}{%- endfor -%}) -> None: # type: ignore[override]
|
|
133
133
|
"""
|
|
134
134
|
Do a write to the register, updating all fields
|
|
135
135
|
"""
|
|
136
136
|
reg_value = 0
|
|
137
|
-
{%- for child_node in node.
|
|
137
|
+
{%- for child_node in node.fields() %}
|
|
138
138
|
reg_value &= self.{{safe_node_name(child_node)}}.inverse_bitmask
|
|
139
139
|
reg_value |= self.{{safe_node_name(child_node)}}._encode_write_value({{safe_node_name(child_node)}})
|
|
140
140
|
{% endfor %}
|
|
@@ -9,6 +9,13 @@ addrmap reserved_elements {
|
|
|
9
9
|
field { fieldwidth=1; } show;
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
+
reg {
|
|
13
|
+
default sw = w;
|
|
14
|
+
default hw = r;
|
|
15
|
+
field { fieldwidth=1; } RSVD;
|
|
16
|
+
field { fieldwidth=1; } field_a;
|
|
17
|
+
} write_only_register;
|
|
18
|
+
|
|
12
19
|
reg {
|
|
13
20
|
default sw = rw;
|
|
14
21
|
default hw = r;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/enumerated_fields/demo_enumerated_fields.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/enumerated_fields/enumerated_fields.rdl
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/optimised_access/demo_optimised_access.py
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/optimised_access/optimised_access.rdl
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/optimised_access/optimised_array_access.rdl
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/overridden_names/demo_over_ridden_names.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/overridden_names/overridden_names.rdl
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/simulating_callbacks/chip_with_a_GPIO.rdl
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/simulating_callbacks/flashing_the_LED.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/example/tranversing_address_map/reg_dump.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/async_register_and_field.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/register_and_field.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib/utility_functions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/_base_test_class.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/async_mem_test_class.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/async_reg_test_class.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/async_test_class.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/field_test_class.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/mem_test_class.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/lib_test/reg_test_class.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/sim_lib/dummy_callbacks.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/systemrdl_node_hashes.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_field.py.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/addrmap_tb.py.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/baseclass_tb.py.jinja
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/example.py.jinja
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/field_enums.py.jinja
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/header.py.jinja
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/templates/header_tb.py.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python/unique_component_iterator.py
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/src/peakrdl_python.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates/header.py.jinja
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates/header_tb.py.jinja
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_dynamic/header.py.jinja
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_toml/header_check.py
RENAMED
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/alternative_templates_toml/peakrdl.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/all_register_access_types.rdl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/extended_sizes_registers_array.rdl
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/field_with_overridden_reset.rdl
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/fields_with_reset_values.rdl
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/large_field_combinations.rdl
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/memories_with_registers.rdl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/name_desc_option_deduplicate.rdl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/same_but_different_enum.rdl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/testcases/user_defined_properties.rdl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_building_inner_addrmap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_python-3.1.0rc3 → peakrdl_python-3.1.2}/tests/unit_tests/test_optimised_reg_array.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|