peakrdl-python 0.8.0__tar.gz → 0.8.1__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 (130) hide show
  1. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/PKG-INFO +1 -1
  2. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/generate_and_test.py +2 -2
  3. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/__about__.py +1 -1
  4. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/exporter.py +5 -0
  5. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python.egg-info/PKG-INFO +1 -1
  6. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/.github/workflows/action.yaml +0 -0
  7. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/.gitignore +0 -0
  8. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/.readthedocs.yaml +0 -0
  9. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/LICENSE +0 -0
  10. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/MANIFEST.in +0 -0
  11. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/README.md +0 -0
  12. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/api.rst +0 -0
  13. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/api_components.rst +0 -0
  14. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/command_line.rst +0 -0
  15. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/conf.py +0 -0
  16. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/customisation.rst +0 -0
  17. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/design_decisions.rst +0 -0
  18. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/design_tools.rst +0 -0
  19. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/generated_package.rst +0 -0
  20. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/genindex.rst +0 -0
  21. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/index.rst +0 -0
  22. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/installation.rst +0 -0
  23. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/docs/requirements.txt +0 -0
  24. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/array_access/array_access.rdl +0 -0
  25. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/array_access/demo_array_access.py +0 -0
  26. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/enumerated_fields/demo_enumerated_fields.py +0 -0
  27. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/enumerated_fields/enumerated_fields.rdl +0 -0
  28. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/optimised_access/demo_optimised_access.py +0 -0
  29. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/optimised_access/demo_optimised_array_access.py +0 -0
  30. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/optimised_access/optimised_access.rdl +0 -0
  31. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/optimised_access/optimised_array_access.rdl +0 -0
  32. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/overridden_names/demo_over_ridden_names.py +0 -0
  33. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/overridden_names/overridden_names.rdl +0 -0
  34. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/simulating_callbacks/chip_with_a_GPIO.rdl +0 -0
  35. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/simulating_callbacks/flashing_the_LED.py +0 -0
  36. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/tranversing_address_map/chip_with_registers.rdl +0 -0
  37. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/tranversing_address_map/dumping_register_state_to_json_file.py +0 -0
  38. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/tranversing_address_map/reg_dump.json +0 -0
  39. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/tranversing_address_map/reseting_registers.py +0 -0
  40. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/tranversing_address_map/writing_register_state_from_json_file.py +0 -0
  41. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/why_ral/__init__.py +0 -0
  42. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/why_ral/gpio.rdl +0 -0
  43. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/why_ral/with_hal.py +0 -0
  44. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/why_ral/with_ral.py +0 -0
  45. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/example/why_ral/without_ral.py +0 -0
  46. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/generate_testcases.py +0 -0
  47. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/pyproject.toml +0 -0
  48. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/setup.cfg +0 -0
  49. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/.coveragerc +0 -0
  50. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/__init__.py +0 -0
  51. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/__peakrdl__.py +0 -0
  52. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/_node_walkers.py +0 -0
  53. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/__init__.py +0 -0
  54. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/async_register.py +0 -0
  55. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/base.py +0 -0
  56. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/callbacks.py +0 -0
  57. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/fields.py +0 -0
  58. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/memory.py +0 -0
  59. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/register.py +0 -0
  60. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/lib/utility_functions.py +0 -0
  61. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/safe_name_utility.py +0 -0
  62. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/__init__.py +0 -0
  63. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/_callbacks.py +0 -0
  64. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/base.py +0 -0
  65. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/dummy_callbacks.py +0 -0
  66. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/field.py +0 -0
  67. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/memory.py +0 -0
  68. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/register.py +0 -0
  69. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/sim_lib/simulator.py +0 -0
  70. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/systemrdl_node_utility_functions.py +0 -0
  71. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/__init__.py +0 -0
  72. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/addrmap.py.jinja +0 -0
  73. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/addrmap_field.py.jinja +0 -0
  74. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/addrmap_memory.py.jinja +0 -0
  75. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/addrmap_register.py.jinja +0 -0
  76. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/addrmap_simulation.py.jinja +0 -0
  77. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/addrmap_simulation_tb.py.jinja +0 -0
  78. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/addrmap_tb.py.jinja +0 -0
  79. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/baseclass_simulation_tb.py.jinja +0 -0
  80. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/baseclass_tb.py.jinja +0 -0
  81. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/example.py.jinja +0 -0
  82. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/header.py.jinja +0 -0
  83. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/header_tb.py.jinja +0 -0
  84. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/reg_definitions.py.jinja +0 -0
  85. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python/templates/sim_addrmap.py.jinja +0 -0
  86. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python.egg-info/SOURCES.txt +0 -0
  87. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python.egg-info/dependency_links.txt +0 -0
  88. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python.egg-info/entry_points.txt +0 -0
  89. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python.egg-info/requires.txt +0 -0
  90. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/src/peakrdl_python.egg-info/top_level.txt +0 -0
  91. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/.mypy.ini +0 -0
  92. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/alternative_template_toml/peakrdl.toml +0 -0
  93. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/alternative_templates/header.py.jinja +0 -0
  94. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/alternative_templates/header_tb.py.jinja +0 -0
  95. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/pylint.rc +0 -0
  96. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/RDLFormatCode_example.rdl +0 -0
  97. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/addr_map.rdl +0 -0
  98. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/all_register_access_types.rdl +0 -0
  99. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/basic.rdl +0 -0
  100. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/block_a.xml +0 -0
  101. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/block_b.xml +0 -0
  102. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/different_array_types.rdl +0 -0
  103. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/enum_example.rdl +0 -0
  104. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/example_issue_106.rdl +0 -0
  105. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/field_scope.rdl +0 -0
  106. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/field_with_overridden_reset.rdl +0 -0
  107. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/fields_with_HW_write.rdl +0 -0
  108. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/fields_with_reset_values.rdl +0 -0
  109. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/memories.rdl +0 -0
  110. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/memories_with_registers.rdl +0 -0
  111. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/msb0_and_lsb0.rdl +0 -0
  112. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/multi_block.rdl +0 -0
  113. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/multifile.rdl +0 -0
  114. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/name_clash.rdl +0 -0
  115. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/overridden_python_name.rdl +0 -0
  116. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/parametrised_readonly_and_readwrite.rdl +0 -0
  117. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/regfile_and_arrays.rdl +0 -0
  118. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/same_but_different_enum.rdl +0 -0
  119. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/signals_definitions_at_various_levels.rdl +0 -0
  120. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/simple.rdl +0 -0
  121. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/simple.xml +0 -0
  122. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/simulator_test.rdl +0 -0
  123. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/sizes_registers.rdl +0 -0
  124. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/sizes_registers_array.rdl +0 -0
  125. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/testcases/write_only_enum_with_undefined_reset.rdl +0 -0
  126. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/unit_tests/__init__.py +0 -0
  127. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/unit_tests/simple_components.py +0 -0
  128. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/unit_tests/test_array_indexing.py +0 -0
  129. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/unit_tests/test_optimised_reg_array.py +0 -0
  130. {peakrdl_python-0.8.0 → peakrdl_python-0.8.1}/tests/unit_tests/test_reg.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: peakrdl-python
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: Generate Python Register Access Layer (RAL) from SystemRDL
5
5
  Author: Keith Brady
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -35,11 +35,11 @@ from unittest import TestLoader
35
35
  from unittest import TestSuite
36
36
  from unittest import TextTestRunner
37
37
 
38
- from coverage import Coverage
38
+ #from coverage import Coverage
39
39
 
40
40
  from systemrdl import RDLCompiler
41
41
 
42
- from peakrdl_ipxact import IPXACTImporter
42
+ #from peakrdl_ipxact import IPXACTImporter
43
43
 
44
44
  sys.path.append('src')
45
45
  from peakrdl_python import PythonExporter
@@ -17,4 +17,4 @@ 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__ = "0.8.0"
20
+ __version__ = "0.8.1"
@@ -18,9 +18,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
18
18
  Main Classes for the peakrdl-python
19
19
  """
20
20
  import os
21
+ import warnings
21
22
  from pathlib import Path
22
23
  from shutil import copy
23
24
  from typing import List, NoReturn, Iterable, Tuple, Dict, Any
25
+ import sys
24
26
 
25
27
  import jinja2 as jj
26
28
  from systemrdl import RDLWalker # type: ignore
@@ -533,6 +535,9 @@ class PythonExporter:
533
535
  Returns:
534
536
  List[str] : modules that have been exported:
535
537
  """
538
+ if sys.version_info < (3, 8):
539
+ warnings.warn('Support for Python 3.7 will be withdrawn in the next major release',
540
+ category=DeprecationWarning)
536
541
 
537
542
  # If it is the root node, skip to top addrmap
538
543
  if isinstance(node, RootNode):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: peakrdl-python
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: Generate Python Register Access Layer (RAL) from SystemRDL
5
5
  Author: Keith Brady
6
6
  License: GNU GENERAL PUBLIC LICENSE
File without changes
File without changes
File without changes