peakrdl-python 2.1.0rc2__tar.gz → 2.3.0__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.
Files changed (180) hide show
  1. peakrdl_python-2.3.0/LICENSE +165 -0
  2. peakrdl_python-2.3.0/PKG-INFO +326 -0
  3. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/generate_and_test.py +3 -3
  4. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/generate_testcases.py +3 -3
  5. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/pyproject.toml +2 -2
  6. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/__about__.py +7 -7
  7. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/__init__.py +5 -5
  8. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/__peakrdl__.py +5 -5
  9. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/_deploy_package.py +5 -5
  10. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/_node_walkers.py +5 -5
  11. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/class_names.py +5 -5
  12. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/compiler_udp.py +5 -5
  13. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/exporter.py +21 -19
  14. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/__init__.py +5 -5
  15. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/async_memory.py +5 -5
  16. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/async_register_and_field.py +5 -5
  17. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/base.py +5 -5
  18. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/base_field.py +5 -5
  19. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/base_register.py +5 -5
  20. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/callbacks.py +5 -5
  21. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/field_encoding.py +5 -5
  22. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/memory.py +5 -5
  23. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/register_and_field.py +5 -5
  24. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/sections.py +5 -5
  25. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/utility_functions.py +5 -5
  26. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/safe_name_utility.py +5 -5
  27. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/_callbacks.py +5 -5
  28. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/base.py +5 -5
  29. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/dummy_callbacks.py +5 -5
  30. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/field.py +96 -45
  31. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/memory.py +5 -5
  32. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/register.py +48 -16
  33. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/simulator.py +7 -7
  34. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/systemrdl_node_hashes.py +7 -7
  35. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/systemrdl_node_utility_functions.py +25 -5
  36. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/__init__.py +5 -5
  37. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap.py.jinja +5 -5
  38. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_field.py.jinja +5 -5
  39. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_memory.py.jinja +5 -5
  40. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_register.py.jinja +5 -5
  41. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_simulation.py.jinja +7 -7
  42. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_simulation_tb.py.jinja +22 -7
  43. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_system_rdl_name_mapping.py.jinja +5 -5
  44. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_tb.py.jinja +7 -7
  45. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_udp_property.py.jinja +5 -5
  46. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/addrmap_universal_property.py.jinja +5 -5
  47. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/baseclass_simulation_tb.py.jinja +5 -5
  48. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/baseclass_tb.py.jinja +5 -5
  49. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/child_definitions.py.jinja +5 -5
  50. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/example.py.jinja +5 -5
  51. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/field_enums.py.jinja +6 -6
  52. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/header.py.jinja +5 -5
  53. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/header_tb.py.jinja +5 -5
  54. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/property_enums.py.jinja +5 -5
  55. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/reg_definitions.py.jinja +5 -5
  56. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/templates/template_ultilities.py.jinja +5 -5
  57. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/unique_component_iterator.py +5 -5
  58. peakrdl_python-2.3.0/src/peakrdl_python.egg-info/PKG-INFO +326 -0
  59. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python.egg-info/SOURCES.txt +3 -1
  60. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python.egg-info/requires.txt +1 -1
  61. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates_dynamic_toml/header_check.py +5 -5
  62. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates_toml/header_check.py +5 -5
  63. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/pathological_register_maps/pathalogical_rdl_builder.py +5 -5
  64. peakrdl_python-2.3.0/tests/testcases/name_desc_stress_test.rdl +23 -0
  65. peakrdl_python-2.3.0/tests/testcases/overlapping_registers_and_fields.rdl +39 -0
  66. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/__init__.py +5 -5
  67. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/simple_components.py +5 -5
  68. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_array_indexing.py +5 -5
  69. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_building_inner_addrmap.py +5 -5
  70. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_export.py +5 -5
  71. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_field.py +5 -5
  72. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_name_desc_export.py +5 -5
  73. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_optimised_reg_array.py +5 -5
  74. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_reg.py +5 -5
  75. peakrdl_python-2.3.0/tests/unit_tests/test_sim.py +257 -0
  76. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/unit_tests/test_system_rdl_enum.py +5 -5
  77. peakrdl_python-2.1.0rc2/LICENSE +0 -674
  78. peakrdl_python-2.1.0rc2/PKG-INFO +0 -836
  79. peakrdl_python-2.1.0rc2/src/peakrdl_python.egg-info/PKG-INFO +0 -836
  80. peakrdl_python-2.1.0rc2/tests/testcases/shared_register_issue_202 +0 -24
  81. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/.github/workflows/action.yaml +0 -0
  82. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/.gitignore +0 -0
  83. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/.readthedocs.yaml +0 -0
  84. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/MANIFEST.in +0 -0
  85. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/README.md +0 -0
  86. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/api.rst +0 -0
  87. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/api_components.rst +0 -0
  88. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/command_line.rst +0 -0
  89. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/conf.py +0 -0
  90. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/customisation.rst +0 -0
  91. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/design_decisions.rst +0 -0
  92. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/design_tools.rst +0 -0
  93. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/generated_package.rst +0 -0
  94. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/genindex.rst +0 -0
  95. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/index.rst +0 -0
  96. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/installation.rst +0 -0
  97. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/docs/requirements.txt +0 -0
  98. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/array_access/array_access.rdl +0 -0
  99. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/array_access/demo_array_access.py +0 -0
  100. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/enumerated_fields/demo_enumerated_fields.py +0 -0
  101. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/enumerated_fields/enumerated_fields.rdl +0 -0
  102. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/optimised_access/demo_optimised_access.py +0 -0
  103. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/optimised_access/demo_optimised_array_access.py +0 -0
  104. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/optimised_access/optimised_access.rdl +0 -0
  105. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/optimised_access/optimised_array_access.rdl +0 -0
  106. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/overridden_names/demo_over_ridden_names.py +0 -0
  107. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/overridden_names/overridden_names.rdl +0 -0
  108. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/simulating_callbacks/chip_with_a_GPIO.rdl +0 -0
  109. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/simulating_callbacks/flashing_the_LED.py +0 -0
  110. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/tranversing_address_map/chip_with_registers.rdl +0 -0
  111. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/tranversing_address_map/dumping_register_state_to_json_file.py +0 -0
  112. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/tranversing_address_map/reg_dump.json +0 -0
  113. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/tranversing_address_map/reseting_registers.py +0 -0
  114. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/tranversing_address_map/writing_register_state_from_json_file.py +0 -0
  115. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/user_defined_properties/demo_user_defined_properties.py +0 -0
  116. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/user_defined_properties/user_defined_properties.rdl +0 -0
  117. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/why_ral/__init__.py +0 -0
  118. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/why_ral/gpio.rdl +0 -0
  119. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/why_ral/with_hal.py +0 -0
  120. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/why_ral/with_ral.py +0 -0
  121. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/example/why_ral/without_ral.py +0 -0
  122. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/setup.cfg +0 -0
  123. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/.coveragerc +0 -0
  124. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/lib/py.typed +0 -0
  125. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/py.typed +0 -0
  126. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/__init__.py +0 -0
  127. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python/sim_lib/py.typed +0 -0
  128. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python.egg-info/dependency_links.txt +0 -0
  129. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python.egg-info/entry_points.txt +0 -0
  130. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/src/peakrdl_python.egg-info/top_level.txt +0 -0
  131. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates/header.py.jinja +0 -0
  132. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates/header_tb.py.jinja +0 -0
  133. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates_dynamic/header.py.jinja +0 -0
  134. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates_dynamic/header_tb.py.jinja +0 -0
  135. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates_dynamic_toml/peakrdl.toml +0 -0
  136. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/alternative_templates_toml/peakrdl.toml +0 -0
  137. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/pathological_register_maps/templates/pathological_template.rdl.jinja +0 -0
  138. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/RDLFormatCode_example.rdl +0 -0
  139. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/addr_map.rdl +0 -0
  140. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/aliases.rdl +0 -0
  141. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/all_register_access_types.rdl +0 -0
  142. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/basic.rdl +0 -0
  143. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/block_a.xml +0 -0
  144. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/block_b.xml +0 -0
  145. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/deduplicated_field.rdl +0 -0
  146. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/different_array_types.rdl +0 -0
  147. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/enum_example.rdl +0 -0
  148. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/example_issue_106.rdl +0 -0
  149. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/extended_memories.rdl +0 -0
  150. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/extended_sizes_registers_array.rdl +0 -0
  151. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/field_scope.rdl +0 -0
  152. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/field_with_overridden_reset.rdl +0 -0
  153. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/fields_with_HW_write.rdl +0 -0
  154. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/fields_with_reset_values.rdl +0 -0
  155. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/hidden_property.rdl +0 -0
  156. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/large_field_combinations.rdl +0 -0
  157. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/memories.rdl +0 -0
  158. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/memories_with_registers.rdl +0 -0
  159. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/msb0_and_lsb0.rdl +0 -0
  160. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/multi_block.rdl +0 -0
  161. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/multifile.rdl +0 -0
  162. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/name_clash.rdl +0 -0
  163. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/name_desc_all_levels.rdl +0 -0
  164. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/name_desc_option_deduplicate.rdl +0 -0
  165. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/overridden_python_name.rdl +0 -0
  166. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/parametrised_readonly_and_readwrite.rdl +0 -0
  167. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/parametrised_top.rdl +0 -0
  168. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/reg_name_stress.rdl +0 -0
  169. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/regfile_and_arrays.rdl +0 -0
  170. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/reserved_elements.rdl +0 -0
  171. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/same_but_different_enum.rdl +0 -0
  172. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/signals_definitions_at_various_levels.rdl +0 -0
  173. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/simple.rdl +0 -0
  174. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/simple.xml +0 -0
  175. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/simulator_test.rdl +0 -0
  176. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/sizes_registers.rdl +0 -0
  177. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/sizes_registers_array.rdl +0 -0
  178. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/sparse_enum_issue_200.rdl +0 -0
  179. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/user_defined_properties.rdl +0 -0
  180. {peakrdl_python-2.1.0rc2 → peakrdl_python-2.3.0}/tests/testcases/write_only_enum_with_undefined_reset.rdl +0 -0
@@ -0,0 +1,165 @@
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+
9
+ This version of the GNU Lesser General Public License incorporates
10
+ the terms and conditions of version 3 of the GNU General Public
11
+ License, supplemented by the additional permissions listed below.
12
+
13
+ 0. Additional Definitions.
14
+
15
+ As used herein, "this License" refers to version 3 of the GNU Lesser
16
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
17
+ General Public License.
18
+
19
+ "The Library" refers to a covered work governed by this License,
20
+ other than an Application or a Combined Work as defined below.
21
+
22
+ An "Application" is any work that makes use of an interface provided
23
+ by the Library, but which is not otherwise based on the Library.
24
+ Defining a subclass of a class defined by the Library is deemed a mode
25
+ of using an interface provided by the Library.
26
+
27
+ A "Combined Work" is a work produced by combining or linking an
28
+ Application with the Library. The particular version of the Library
29
+ with which the Combined Work was made is also called the "Linked
30
+ Version".
31
+
32
+ The "Minimal Corresponding Source" for a Combined Work means the
33
+ Corresponding Source for the Combined Work, excluding any source code
34
+ for portions of the Combined Work that, considered in isolation, are
35
+ based on the Application, and not on the Linked Version.
36
+
37
+ The "Corresponding Application Code" for a Combined Work means the
38
+ object code and/or source code for the Application, including any data
39
+ and utility programs needed for reproducing the Combined Work from the
40
+ Application, but excluding the System Libraries of the Combined Work.
41
+
42
+ 1. Exception to Section 3 of the GNU GPL.
43
+
44
+ You may convey a covered work under sections 3 and 4 of this License
45
+ without being bound by section 3 of the GNU GPL.
46
+
47
+ 2. Conveying Modified Versions.
48
+
49
+ If you modify a copy of the Library, and, in your modifications, a
50
+ facility refers to a function or data to be supplied by an Application
51
+ that uses the facility (other than as an argument passed when the
52
+ facility is invoked), then you may convey a copy of the modified
53
+ version:
54
+
55
+ a) under this License, provided that you make a good faith effort to
56
+ ensure that, in the event an Application does not supply the
57
+ function or data, the facility still operates, and performs
58
+ whatever part of its purpose remains meaningful, or
59
+
60
+ b) under the GNU GPL, with none of the additional permissions of
61
+ this License applicable to that copy.
62
+
63
+ 3. Object Code Incorporating Material from Library Header Files.
64
+
65
+ The object code form of an Application may incorporate material from
66
+ a header file that is part of the Library. You may convey such object
67
+ code under terms of your choice, provided that, if the incorporated
68
+ material is not limited to numerical parameters, data structure
69
+ layouts and accessors, or small macros, inline functions and templates
70
+ (ten or fewer lines in length), you do both of the following:
71
+
72
+ a) Give prominent notice with each copy of the object code that the
73
+ Library is used in it and that the Library and its use are
74
+ covered by this License.
75
+
76
+ b) Accompany the object code with a copy of the GNU GPL and this license
77
+ document.
78
+
79
+ 4. Combined Works.
80
+
81
+ You may convey a Combined Work under terms of your choice that,
82
+ taken together, effectively do not restrict modification of the
83
+ portions of the Library contained in the Combined Work and reverse
84
+ engineering for debugging such modifications, if you also do each of
85
+ the following:
86
+
87
+ a) Give prominent notice with each copy of the Combined Work that
88
+ the Library is used in it and that the Library and its use are
89
+ covered by this License.
90
+
91
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
92
+ document.
93
+
94
+ c) For a Combined Work that displays copyright notices during
95
+ execution, include the copyright notice for the Library among
96
+ these notices, as well as a reference directing the user to the
97
+ copies of the GNU GPL and this license document.
98
+
99
+ d) Do one of the following:
100
+
101
+ 0) Convey the Minimal Corresponding Source under the terms of this
102
+ License, and the Corresponding Application Code in a form
103
+ suitable for, and under terms that permit, the user to
104
+ recombine or relink the Application with a modified version of
105
+ the Linked Version to produce a modified Combined Work, in the
106
+ manner specified by section 6 of the GNU GPL for conveying
107
+ Corresponding Source.
108
+
109
+ 1) Use a suitable shared library mechanism for linking with the
110
+ Library. A suitable mechanism is one that (a) uses at run time
111
+ a copy of the Library already present on the user's computer
112
+ system, and (b) will operate properly with a modified version
113
+ of the Library that is interface-compatible with the Linked
114
+ Version.
115
+
116
+ e) Provide Installation Information, but only if you would otherwise
117
+ be required to provide such information under section 6 of the
118
+ GNU GPL, and only to the extent that such information is
119
+ necessary to install and execute a modified version of the
120
+ Combined Work produced by recombining or relinking the
121
+ Application with a modified version of the Linked Version. (If
122
+ you use option 4d0, the Installation Information must accompany
123
+ the Minimal Corresponding Source and Corresponding Application
124
+ Code. If you use option 4d1, you must provide the Installation
125
+ Information in the manner specified by section 6 of the GNU GPL
126
+ for conveying Corresponding Source.)
127
+
128
+ 5. Combined Libraries.
129
+
130
+ You may place library facilities that are a work based on the
131
+ Library side by side in a single library together with other library
132
+ facilities that are not Applications and are not covered by this
133
+ License, and convey such a combined library under terms of your
134
+ choice, if you do both of the following:
135
+
136
+ a) Accompany the combined library with a copy of the same work based
137
+ on the Library, uncombined with any other library facilities,
138
+ conveyed under the terms of this License.
139
+
140
+ b) Give prominent notice with the combined library that part of it
141
+ is a work based on the Library, and explaining where to find the
142
+ accompanying uncombined form of the same work.
143
+
144
+ 6. Revised Versions of the GNU Lesser General Public License.
145
+
146
+ The Free Software Foundation may publish revised and/or new versions
147
+ of the GNU Lesser General Public License from time to time. Such new
148
+ versions will be similar in spirit to the present version, but may
149
+ differ in detail to address new problems or concerns.
150
+
151
+ Each version is given a distinguishing version number. If the
152
+ Library as you received it specifies that a certain numbered version
153
+ of the GNU Lesser General Public License "or any later version"
154
+ applies to it, you have the option of following the terms and
155
+ conditions either of that published version or of any later version
156
+ published by the Free Software Foundation. If the Library as you
157
+ received it does not specify a version number of the GNU Lesser
158
+ General Public License, you may choose any version of the GNU Lesser
159
+ General Public License ever published by the Free Software Foundation.
160
+
161
+ If the Library as you received it specifies that a proxy can decide
162
+ whether future versions of the GNU Lesser General Public License shall
163
+ apply, that proxy's public statement of acceptance of any version is
164
+ permanent authorization for you to choose that version for the
165
+ Library.
@@ -0,0 +1,326 @@
1
+ Metadata-Version: 2.4
2
+ Name: peakrdl-python
3
+ Version: 2.3.0
4
+ Summary: Generate Python Register Access Layer (RAL) from SystemRDL
5
+ Author: Keith Brady
6
+ License: GNU LESSER GENERAL PUBLIC LICENSE
7
+ Version 3, 29 June 2007
8
+
9
+ Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
10
+ Everyone is permitted to copy and distribute verbatim copies
11
+ of this license document, but changing it is not allowed.
12
+
13
+
14
+ This version of the GNU Lesser General Public License incorporates
15
+ the terms and conditions of version 3 of the GNU General Public
16
+ License, supplemented by the additional permissions listed below.
17
+
18
+ 0. Additional Definitions.
19
+
20
+ As used herein, "this License" refers to version 3 of the GNU Lesser
21
+ General Public License, and the "GNU GPL" refers to version 3 of the GNU
22
+ General Public License.
23
+
24
+ "The Library" refers to a covered work governed by this License,
25
+ other than an Application or a Combined Work as defined below.
26
+
27
+ An "Application" is any work that makes use of an interface provided
28
+ by the Library, but which is not otherwise based on the Library.
29
+ Defining a subclass of a class defined by the Library is deemed a mode
30
+ of using an interface provided by the Library.
31
+
32
+ A "Combined Work" is a work produced by combining or linking an
33
+ Application with the Library. The particular version of the Library
34
+ with which the Combined Work was made is also called the "Linked
35
+ Version".
36
+
37
+ The "Minimal Corresponding Source" for a Combined Work means the
38
+ Corresponding Source for the Combined Work, excluding any source code
39
+ for portions of the Combined Work that, considered in isolation, are
40
+ based on the Application, and not on the Linked Version.
41
+
42
+ The "Corresponding Application Code" for a Combined Work means the
43
+ object code and/or source code for the Application, including any data
44
+ and utility programs needed for reproducing the Combined Work from the
45
+ Application, but excluding the System Libraries of the Combined Work.
46
+
47
+ 1. Exception to Section 3 of the GNU GPL.
48
+
49
+ You may convey a covered work under sections 3 and 4 of this License
50
+ without being bound by section 3 of the GNU GPL.
51
+
52
+ 2. Conveying Modified Versions.
53
+
54
+ If you modify a copy of the Library, and, in your modifications, a
55
+ facility refers to a function or data to be supplied by an Application
56
+ that uses the facility (other than as an argument passed when the
57
+ facility is invoked), then you may convey a copy of the modified
58
+ version:
59
+
60
+ a) under this License, provided that you make a good faith effort to
61
+ ensure that, in the event an Application does not supply the
62
+ function or data, the facility still operates, and performs
63
+ whatever part of its purpose remains meaningful, or
64
+
65
+ b) under the GNU GPL, with none of the additional permissions of
66
+ this License applicable to that copy.
67
+
68
+ 3. Object Code Incorporating Material from Library Header Files.
69
+
70
+ The object code form of an Application may incorporate material from
71
+ a header file that is part of the Library. You may convey such object
72
+ code under terms of your choice, provided that, if the incorporated
73
+ material is not limited to numerical parameters, data structure
74
+ layouts and accessors, or small macros, inline functions and templates
75
+ (ten or fewer lines in length), you do both of the following:
76
+
77
+ a) Give prominent notice with each copy of the object code that the
78
+ Library is used in it and that the Library and its use are
79
+ covered by this License.
80
+
81
+ b) Accompany the object code with a copy of the GNU GPL and this license
82
+ document.
83
+
84
+ 4. Combined Works.
85
+
86
+ You may convey a Combined Work under terms of your choice that,
87
+ taken together, effectively do not restrict modification of the
88
+ portions of the Library contained in the Combined Work and reverse
89
+ engineering for debugging such modifications, if you also do each of
90
+ the following:
91
+
92
+ a) Give prominent notice with each copy of the Combined Work that
93
+ the Library is used in it and that the Library and its use are
94
+ covered by this License.
95
+
96
+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
97
+ document.
98
+
99
+ c) For a Combined Work that displays copyright notices during
100
+ execution, include the copyright notice for the Library among
101
+ these notices, as well as a reference directing the user to the
102
+ copies of the GNU GPL and this license document.
103
+
104
+ d) Do one of the following:
105
+
106
+ 0) Convey the Minimal Corresponding Source under the terms of this
107
+ License, and the Corresponding Application Code in a form
108
+ suitable for, and under terms that permit, the user to
109
+ recombine or relink the Application with a modified version of
110
+ the Linked Version to produce a modified Combined Work, in the
111
+ manner specified by section 6 of the GNU GPL for conveying
112
+ Corresponding Source.
113
+
114
+ 1) Use a suitable shared library mechanism for linking with the
115
+ Library. A suitable mechanism is one that (a) uses at run time
116
+ a copy of the Library already present on the user's computer
117
+ system, and (b) will operate properly with a modified version
118
+ of the Library that is interface-compatible with the Linked
119
+ Version.
120
+
121
+ e) Provide Installation Information, but only if you would otherwise
122
+ be required to provide such information under section 6 of the
123
+ GNU GPL, and only to the extent that such information is
124
+ necessary to install and execute a modified version of the
125
+ Combined Work produced by recombining or relinking the
126
+ Application with a modified version of the Linked Version. (If
127
+ you use option 4d0, the Installation Information must accompany
128
+ the Minimal Corresponding Source and Corresponding Application
129
+ Code. If you use option 4d1, you must provide the Installation
130
+ Information in the manner specified by section 6 of the GNU GPL
131
+ for conveying Corresponding Source.)
132
+
133
+ 5. Combined Libraries.
134
+
135
+ You may place library facilities that are a work based on the
136
+ Library side by side in a single library together with other library
137
+ facilities that are not Applications and are not covered by this
138
+ License, and convey such a combined library under terms of your
139
+ choice, if you do both of the following:
140
+
141
+ a) Accompany the combined library with a copy of the same work based
142
+ on the Library, uncombined with any other library facilities,
143
+ conveyed under the terms of this License.
144
+
145
+ b) Give prominent notice with the combined library that part of it
146
+ is a work based on the Library, and explaining where to find the
147
+ accompanying uncombined form of the same work.
148
+
149
+ 6. Revised Versions of the GNU Lesser General Public License.
150
+
151
+ The Free Software Foundation may publish revised and/or new versions
152
+ of the GNU Lesser General Public License from time to time. Such new
153
+ versions will be similar in spirit to the present version, but may
154
+ differ in detail to address new problems or concerns.
155
+
156
+ Each version is given a distinguishing version number. If the
157
+ Library as you received it specifies that a certain numbered version
158
+ of the GNU Lesser General Public License "or any later version"
159
+ applies to it, you have the option of following the terms and
160
+ conditions either of that published version or of any later version
161
+ published by the Free Software Foundation. If the Library as you
162
+ received it does not specify a version number of the GNU Lesser
163
+ General Public License, you may choose any version of the GNU Lesser
164
+ General Public License ever published by the Free Software Foundation.
165
+
166
+ If the Library as you received it specifies that a proxy can decide
167
+ whether future versions of the GNU Lesser General Public License shall
168
+ apply, that proxy's public statement of acceptance of any version is
169
+ permanent authorization for you to choose that version for the
170
+ Library.
171
+ Project-URL: Source, https://github.com/krcb197/PeakRDL-python
172
+ Project-URL: Tracker, https://github.com/krcb197/PeakRDL-python/issues
173
+ Project-URL: Documentation, https://peakrdl-python.readthedocs.io/
174
+ Project-URL: Changelog, https://github.com/krcb197/PeakRDL-python/releases
175
+ Keywords: SystemRDL,PeakRDL,CSR,compiler,tool,registers,generator,Python
176
+ Classifier: Development Status :: 5 - Production/Stable
177
+ Classifier: Programming Language :: Python
178
+ Classifier: Programming Language :: Python :: 3
179
+ Classifier: Programming Language :: Python :: 3.9
180
+ Classifier: Programming Language :: Python :: 3.10
181
+ Classifier: Programming Language :: Python :: 3.11
182
+ Classifier: Programming Language :: Python :: 3.12
183
+ Classifier: Programming Language :: Python :: 3.13
184
+ Classifier: Programming Language :: Python :: 3.14
185
+ Classifier: Programming Language :: Python :: 3 :: Only
186
+ Classifier: Intended Audience :: Developers
187
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
188
+ Classifier: Operating System :: OS Independent
189
+ Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
190
+ Classifier: Typing :: Typed
191
+ Requires-Python: >=3.9.2
192
+ Description-Content-Type: text/markdown
193
+ License-File: LICENSE
194
+ Requires-Dist: systemrdl-compiler>=1.31.0
195
+ Requires-Dist: jinja2
196
+ Requires-Dist: typing-extensions; python_version < "3.11"
197
+ Requires-Dist: more_itertools; python_version < "3.13"
198
+ Provides-Extra: dev
199
+ Requires-Dist: mypy; extra == "dev"
200
+ Requires-Dist: pylint; extra == "dev"
201
+ Requires-Dist: coverage; extra == "dev"
202
+ Requires-Dist: peakrdl; extra == "dev"
203
+ Provides-Extra: peakrdl
204
+ Requires-Dist: peakrdl; extra == "peakrdl"
205
+ Provides-Extra: unit-test
206
+ Requires-Dist: peakrdl; extra == "unit-test"
207
+ Requires-Dist: tomli; python_version < "3.11" and extra == "unit-test"
208
+ Dynamic: license-file
209
+
210
+ ![CI](https://github.com/krcb197/PeakRDL-python/actions/workflows/action.yaml/badge.svg)
211
+ [![linting: pylint](https://img.shields.io/badge/linting-pylint-yellowgreen)](https://github.com/pylint-dev/pylint)
212
+ [![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
213
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/peakrdl-python.svg)](https://pypi.org/project/peakrdl-python)
214
+ [![Documentation Status](https://readthedocs.org/projects/peakrdl-python/badge/?version=latest)](https://peakrdl-python.readthedocs.io/en/latest/?badge=latest)
215
+ [![Downloads](https://static.pepy.tech/badge/peakrdl-python)](https://pepy.tech/project/peakrdl-python)
216
+
217
+ # Introduction
218
+ PeakRDL Python is used to generate a python based Register Access Layer (RAL) from SystemRDL.
219
+
220
+ ## Documentation
221
+ See the [peakrdl-python Documentation](https://peakrdl-python.readthedocs.io/) for more details
222
+
223
+ ## Getting Started
224
+
225
+ ### Installation
226
+
227
+ 1. Install a recent version of Python 3
228
+ 2. Install `peakrdl-python`
229
+ ```console
230
+ python3 -m pip install peakrdl-python
231
+ ```
232
+ 3. (Optional) Install `peakrdl`, this is needed if you want to use peakrdl python from the command
233
+ line
234
+ ```console
235
+ python3 -m pip install peakrdl
236
+ ```
237
+
238
+ ### Demo
239
+
240
+ This demonstration relies on downloading the systemRDL example from Accelera, available here: [accelera-generic_example.rdl](https://github.com/SystemRDL/systemrdl-compiler/blob/main/examples/accelera-generic_example.rdl). This demonstration also
241
+ assumes that peakrdl has been installed.
242
+
243
+ 1. Build the Register Access Layer (RAL) from the systemRDL code
244
+ ```console
245
+ peakrdl python accelera-generic_example.rdl -o .
246
+ ```
247
+ This will create a python package called `some_register_map` containing the python RAL
248
+ 2. In addition to the RAL, peakrdl-python also generates a simulator that can be used to exercise
249
+ the RAL without connecting to real hardware. Enter the following code into a file:
250
+ ```python
251
+ """
252
+ A demonstration of using peakrdl-python using the accelera generic example
253
+ """
254
+ # import the top level RAL class
255
+ from some_register_map.reg_model import RegModel
256
+ # import the simulator class
257
+ from some_register_map.sim import Simulator
258
+
259
+ from some_register_map.lib import NormalCallbackSet
260
+
261
+ if __name__ == '__main__':
262
+ # create an instance of the RAL with the callbacks directed at the hardware simulator
263
+ hw_sim = Simulator(0)
264
+ ral = RegModel(callbacks=NormalCallbackSet(read_callback=hw_sim.read,
265
+ write_callback=hw_sim.write))
266
+
267
+ # read chip ID
268
+ chip_id_part_number = ral.chip_id_reg.part_num.read()
269
+ chip_id_revision_number = ral.chip_id_reg.part_num.read()
270
+ print(f'Chip ID:{chip_id_part_number}.{chip_id_revision_number}')
271
+ ```
272
+ save it as `some_register_map_demo.py`
273
+ 3. Run the example
274
+ ```commandline
275
+ python3 -m some_register_map_demo
276
+ ```
277
+ This will generate the following output on the console:
278
+ ```commandline
279
+ Chip ID:0.0
280
+ ```
281
+
282
+ # Usage
283
+
284
+ To make use of the RAL with real hardware or a different simulation, the callbacks will need to be
285
+ connected to the appropriate access function in order to perform an address space reads and writes
286
+
287
+ # Upgrading from previous versions (some important changes)
288
+
289
+ ## Upgrading from pre 0.9.0
290
+
291
+ In order to address a major limitation of peakrdl-python that prevented it from implementing the
292
+ full systemRDL specification, a breaking API change was needed for handling blocks:
293
+ * registers (in register array)
294
+ * memory entries in a memory
295
+
296
+ Users are encouraged to upgrade in order to avoid this limitation. However, there is a legacy mode
297
+ to support users with existing designs, see: _Legacy Block Callback and Block Access_ in the
298
+ documentation
299
+
300
+ ## Upgrading from pre 1.2.0
301
+
302
+ Version 1.2 introduced a new way to define the enumerations for the field encoding. This allows
303
+ metadata from the systemRDL to propagate through to the generated code. This may break advanced
304
+ usage of the python enumerations. User are encouraged to use the new feature, however, if there
305
+ are problems with the old enumeration types (based on `IntEnum`) can be used, see
306
+ _Legacy Enumeration Types_ in the documentation
307
+
308
+ ## Upgrading from pre 2.0.0
309
+
310
+ Version 2.0.0 introduced a significant change to the process for building the register model python
311
+ code. This change was intended to reduce the size of the generated code by only generating
312
+ python classes for systemRDL components that required unique classes. The previous versions were
313
+ more conservative and tended to generate a lot of duplicate classes.
314
+
315
+ Version 2.1.0 has improved this to ensure field encoding enumerations were correctly deduplicated.
316
+
317
+ The implementation requires a hash to be generated of each node in order to determine whether it is
318
+ unique or not. This hash was incorperated within the class names which resulted in the code
319
+ changing each time it was regenerated, version 2.1.0 introduces a option to either:
320
+ * The builtin python `hash` function, this is fast but is a salted hash so changes hashes export to
321
+ export
322
+ * Use the `SHA256` hash from the python `hashlib` standard library, this may slow down the export
323
+ of large register models but will be consistent, therefore is useful if the resultant code is being
324
+ checked into a version control system (such as GIT) and the differences are being reviewed
325
+
326
+
@@ -5,16 +5,16 @@ peakrdl-python is a tool to generate Python Register Access Layer (RAL) from Sys
5
5
  Copyright (C) 2021 - 2025
6
6
 
7
7
  This program is free software: you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
8
+ it under the terms of the GNU Lesser General Public License as published by
9
9
  the Free Software Foundation, either version 3 of the License, or
10
10
  (at your option) any later version.
11
11
 
12
12
  This program is distributed in the hope that it will be useful,
13
13
  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
15
+ GNU Lesser General Public License for more details.
16
16
 
17
- You should have received a copy of the GNU General Public License
17
+ You should have received a copy of the GNU Lesser General Public License
18
18
  along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
 
20
20
  script to generate the python wrappers from systemRDL and then execute the unit tests. This script
@@ -5,16 +5,16 @@ peakrdl-python is a tool to generate Python Register Access Layer (RAL) from Sys
5
5
  Copyright (C) 2021 - 2025
6
6
 
7
7
  This program is free software: you can redistribute it and/or modify
8
- it under the terms of the GNU General Public License as published by
8
+ it under the terms of the GNU Lesser General Public License as published by
9
9
  the Free Software Foundation, either version 3 of the License, or
10
10
  (at your option) any later version.
11
11
 
12
12
  This program is distributed in the hope that it will be useful,
13
13
  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
14
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- GNU General Public License for more details.
15
+ GNU Lesser General Public License for more details.
16
16
 
17
- You should have received a copy of the GNU General Public License
17
+ You should have received a copy of the GNU Lesser General Public License
18
18
  along with this program. If not, see <https://www.gnu.org/licenses/>.
19
19
 
20
20
  script to generate all the test cases from the test set
@@ -8,7 +8,7 @@ dynamic = ["version"]
8
8
  # Callable is broken in python 3.9.0 and 3.9.1 so these need to be excluded
9
9
  requires-python = ">=3.9.2"
10
10
  dependencies = [
11
- "systemrdl-compiler>=1.29.3", # this is needed to make sure all the latest type checking
11
+ "systemrdl-compiler>=1.31.0", # this is needed for the latest overlappign register features
12
12
  "jinja2",
13
13
  "typing-extensions;python_version<'3.11'",
14
14
  # the batched fucntion was adopted into the standard python library at 3.13
@@ -37,7 +37,7 @@ classifiers = [
37
37
  "Programming Language :: Python :: 3.14",
38
38
  "Programming Language :: Python :: 3 :: Only",
39
39
  "Intended Audience :: Developers",
40
- "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
40
+ "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
41
41
  "Operating System :: OS Independent",
42
42
  "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
43
43
  "Typing :: Typed"
@@ -1,20 +1,20 @@
1
1
  """
2
2
  peakrdl-python is a tool to generate Python Register Access Layer (RAL) from SystemRDL
3
- Copyright (C) 2021 - 2023
3
+ Copyright (C) 2021 - 2025
4
4
 
5
5
  This program is free software: you can redistribute it and/or modify
6
- it under the terms of the GNU General Public License as published by
7
- the Free Software Foundation, either version 3 of the License, or
8
- (at your option) any later version.
6
+ it under the terms of the GNU Lesser General Public License as
7
+ published by the Free Software Foundation, either version 3 of
8
+ the License, or (at your option) any later version.
9
9
 
10
10
  This program is distributed in the hope that it will be useful,
11
11
  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- GNU General Public License for more details.
13
+ GNU Lesser General Public License for more details.
14
14
 
15
- You should have received a copy of the GNU General Public License
15
+ You should have received a copy of the GNU Lesser General Public License
16
16
  along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
18
  Variables that describes the peakrdl-python Package
19
19
  """
20
- __version__ = "2.1.0rc2"
20
+ __version__ = "2.3.0"
@@ -3,16 +3,16 @@ peakrdl-python is a tool to generate Python Register Access Layer (RAL) from Sys
3
3
  Copyright (C) 2021 - 2025
4
4
 
5
5
  This program is free software: you can redistribute it and/or modify
6
- it under the terms of the GNU General Public License as published by
7
- the Free Software Foundation, either version 3 of the License, or
8
- (at your option) any later version.
6
+ it under the terms of the GNU Lesser General Public License as
7
+ published by the Free Software Foundation, either version 3 of
8
+ the License, or (at your option) any later version.
9
9
 
10
10
  This program is distributed in the hope that it will be useful,
11
11
  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- GNU General Public License for more details.
13
+ GNU Lesser General Public License for more details.
14
14
 
15
- You should have received a copy of the GNU General Public License
15
+ You should have received a copy of the GNU Lesser General Public License
16
16
  along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
18
  """
@@ -3,16 +3,16 @@ peakrdl-python is a tool to generate Python Register Access Layer (RAL) from Sys
3
3
  Copyright (C) 2021 - 2025
4
4
 
5
5
  This program is free software: you can redistribute it and/or modify
6
- it under the terms of the GNU General Public License as published by
7
- the Free Software Foundation, either version 3 of the License, or
8
- (at your option) any later version.
6
+ it under the terms of the GNU Lesser General Public License as
7
+ published by the Free Software Foundation, either version 3 of
8
+ the License, or (at your option) any later version.
9
9
 
10
10
  This program is distributed in the hope that it will be useful,
11
11
  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- GNU General Public License for more details.
13
+ GNU Lesser General Public License for more details.
14
14
 
15
- You should have received a copy of the GNU General Public License
15
+ You should have received a copy of the GNU Lesser General Public License
16
16
  along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
18
  Module for integrating with peakrdl. This module is not intended to be used directly
@@ -3,16 +3,16 @@ peakrdl-python is a tool to generate Python Register Access Layer (RAL) from Sys
3
3
  Copyright (C) 2021 - 2025
4
4
 
5
5
  This program is free software: you can redistribute it and/or modify
6
- it under the terms of the GNU General Public License as published by
7
- the Free Software Foundation, either version 3 of the License, or
8
- (at your option) any later version.
6
+ it under the terms of the GNU Lesser General Public License as
7
+ published by the Free Software Foundation, either version 3 of
8
+ the License, or (at your option) any later version.
9
9
 
10
10
  This program is distributed in the hope that it will be useful,
11
11
  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
- GNU General Public License for more details.
13
+ GNU Lesser General Public License for more details.
14
14
 
15
- You should have received a copy of the GNU General Public License
15
+ You should have received a copy of the GNU Lesser General Public License
16
16
  along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
18
  Classes to represent the package that is generated