peakrdl-busdecoder 0.2.0__py3-none-any.whl

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 (48) hide show
  1. peakrdl_busdecoder/__init__.py +3 -0
  2. peakrdl_busdecoder/__peakrdl__.py +136 -0
  3. peakrdl_busdecoder/body/__init__.py +14 -0
  4. peakrdl_busdecoder/body/body.py +22 -0
  5. peakrdl_busdecoder/body/combinational_body.py +10 -0
  6. peakrdl_busdecoder/body/for_loop_body.py +16 -0
  7. peakrdl_busdecoder/body/if_body.py +91 -0
  8. peakrdl_busdecoder/body/struct_body.py +25 -0
  9. peakrdl_busdecoder/cpuif/__init__.py +3 -0
  10. peakrdl_busdecoder/cpuif/apb3/__init__.py +4 -0
  11. peakrdl_busdecoder/cpuif/apb3/apb3_cpuif.py +67 -0
  12. peakrdl_busdecoder/cpuif/apb3/apb3_cpuif_flat.py +68 -0
  13. peakrdl_busdecoder/cpuif/apb3/apb3_interface.py +56 -0
  14. peakrdl_busdecoder/cpuif/apb3/apb3_tmpl.sv +33 -0
  15. peakrdl_busdecoder/cpuif/apb4/__init__.py +4 -0
  16. peakrdl_busdecoder/cpuif/apb4/apb4_cpuif.py +70 -0
  17. peakrdl_busdecoder/cpuif/apb4/apb4_cpuif_flat.py +70 -0
  18. peakrdl_busdecoder/cpuif/apb4/apb4_interface.py +60 -0
  19. peakrdl_busdecoder/cpuif/apb4/apb4_tmpl.sv +36 -0
  20. peakrdl_busdecoder/cpuif/axi4lite/__init__.py +4 -0
  21. peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_cpuif.py +84 -0
  22. peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_cpuif_flat.py +86 -0
  23. peakrdl_busdecoder/cpuif/axi4lite/axi4lite_interface.py +84 -0
  24. peakrdl_busdecoder/cpuif/axi4lite/axi4lite_tmpl.sv +60 -0
  25. peakrdl_busdecoder/cpuif/base_cpuif.py +118 -0
  26. peakrdl_busdecoder/cpuif/fanin_gen.py +64 -0
  27. peakrdl_busdecoder/cpuif/fanout_gen.py +50 -0
  28. peakrdl_busdecoder/cpuif/interface.py +190 -0
  29. peakrdl_busdecoder/decode_logic_gen.py +152 -0
  30. peakrdl_busdecoder/design_scanner.py +46 -0
  31. peakrdl_busdecoder/design_state.py +74 -0
  32. peakrdl_busdecoder/exporter.py +142 -0
  33. peakrdl_busdecoder/identifier_filter.py +263 -0
  34. peakrdl_busdecoder/listener.py +58 -0
  35. peakrdl_busdecoder/module_tmpl.sv +79 -0
  36. peakrdl_busdecoder/package_tmpl.sv +21 -0
  37. peakrdl_busdecoder/py.typed +0 -0
  38. peakrdl_busdecoder/struct_gen.py +57 -0
  39. peakrdl_busdecoder/sv_int.py +21 -0
  40. peakrdl_busdecoder/udps/__init__.py +5 -0
  41. peakrdl_busdecoder/utils.py +80 -0
  42. peakrdl_busdecoder/validate_design.py +185 -0
  43. peakrdl_busdecoder-0.2.0.dist-info/METADATA +40 -0
  44. peakrdl_busdecoder-0.2.0.dist-info/RECORD +48 -0
  45. peakrdl_busdecoder-0.2.0.dist-info/WHEEL +5 -0
  46. peakrdl_busdecoder-0.2.0.dist-info/entry_points.txt +2 -0
  47. peakrdl_busdecoder-0.2.0.dist-info/licenses/LICENSE +165 -0
  48. peakrdl_busdecoder-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,185 @@
1
+ from typing import TYPE_CHECKING
2
+
3
+ from systemrdl.node import AddressableNode, AddrmapNode, FieldNode, Node, RegfileNode, RegNode, SignalNode
4
+ from systemrdl.rdltypes.references import PropertyReference
5
+ from systemrdl.walker import RDLListener, RDLWalker, WalkerAction
6
+
7
+ from .utils import is_pow2, ref_is_internal, roundup_pow2
8
+
9
+ if TYPE_CHECKING:
10
+ from .exporter import BusDecoderExporter
11
+
12
+
13
+ class DesignValidator(RDLListener):
14
+ """
15
+ Performs additional rule-checks on the design that check for limitations
16
+ imposed by this exporter.
17
+ """
18
+
19
+ def __init__(self, exp: "BusDecoderExporter") -> None:
20
+ self.exp = exp
21
+ self.ds = exp.ds
22
+ self.msg = self.top_node.env.msg
23
+
24
+ self._contains_external_block_stack: list[bool] = []
25
+ self.contains_external_block = False
26
+
27
+ @property
28
+ def top_node(self) -> "AddrmapNode":
29
+ return self.exp.ds.top_node
30
+
31
+ def do_validate(self) -> None:
32
+ RDLWalker().walk(self.top_node, self)
33
+ if self.msg.had_error:
34
+ self.msg.fatal("Unable to export due to previous errors")
35
+
36
+ def enter_Component(self, node: "Node") -> WalkerAction | None:
37
+ if node.external and (node != self.top_node):
38
+ # Do not inspect external components. None of my business
39
+ return WalkerAction.SkipDescendants
40
+
41
+ # Check if any property references reach across the internal/external boundary
42
+ for prop_name in node.list_properties():
43
+ value = node.get_property(prop_name)
44
+ if isinstance(value, (PropertyReference, Node)):
45
+ if not ref_is_internal(self.top_node, value):
46
+ if isinstance(value, PropertyReference):
47
+ src_ref = value.src_ref
48
+ else:
49
+ src_ref = node.inst.property_src_ref.get(prop_name, node.inst.inst_src_ref)
50
+ self.msg.error(
51
+ "Property is assigned a reference that points to a component not internal to the busdecoder being exported.",
52
+ src_ref,
53
+ )
54
+ return None
55
+
56
+ def enter_Signal(self, node: "SignalNode") -> None:
57
+ # If encountering a CPUIF reset that is nested within the register model,
58
+ # warn that it will be ignored.
59
+ # Only cpuif resets in the top-level node or above will be honored
60
+ if node.get_property("cpuif_reset") and (node.parent != self.top_node):
61
+ self.msg.warning(
62
+ "Only cpuif_reset signals that are instantiated in the top-level "
63
+ "addrmap or above will be honored. Any cpuif_reset signals nested "
64
+ "within children of the addrmap being exported will be ignored.",
65
+ node.inst.inst_src_ref,
66
+ )
67
+
68
+ def enter_AddressableComponent(self, node: "AddressableNode") -> None:
69
+ # All registers must be aligned to the internal data bus width
70
+ alignment = self.exp.cpuif.data_width_bytes
71
+ if (node.raw_address_offset % alignment) != 0:
72
+ self.msg.error(
73
+ "Unaligned registers are not supported. Address offset of "
74
+ f"instance '{node.inst_name}' must be a multiple of {alignment}",
75
+ node.inst.inst_src_ref,
76
+ )
77
+ if node.is_array and (node.array_stride % alignment) != 0: # type: ignore # is_array implies stride is not none
78
+ self.msg.error(
79
+ "Unaligned registers are not supported. Address stride of "
80
+ f"instance array '{node.inst_name}' must be a multiple of {alignment}",
81
+ node.inst.inst_src_ref,
82
+ )
83
+
84
+ if not isinstance(node, RegNode):
85
+ # Entering a block-like node
86
+ if node == self.top_node:
87
+ # Ignore top addrmap's external property when entering
88
+ self._contains_external_block_stack.append(False)
89
+ else:
90
+ self._contains_external_block_stack.append(node.external)
91
+
92
+ def enter_Regfile(self, node: RegfileNode) -> None:
93
+ self._check_sharedextbus(node)
94
+
95
+ def enter_Addrmap(self, node: AddrmapNode) -> None:
96
+ self._check_sharedextbus(node)
97
+
98
+ def _check_sharedextbus(self, node: RegfileNode | AddrmapNode) -> None:
99
+ if node.get_property("sharedextbus"):
100
+ self.msg.error(
101
+ "This exporter does not support enabling the 'sharedextbus' property yet.",
102
+ node.inst.property_src_ref.get("sharedextbus", node.inst.inst_src_ref),
103
+ )
104
+
105
+ def enter_Reg(self, node: "RegNode") -> None:
106
+ # accesswidth of wide registers must be consistent within the register block
107
+ accesswidth = node.get_property("accesswidth")
108
+ regwidth = node.get_property("regwidth")
109
+
110
+ if accesswidth < regwidth:
111
+ # register is 'wide'
112
+ if accesswidth != self.exp.cpuif.data_width:
113
+ self.msg.error(
114
+ f"Multi-word registers that have an accesswidth ({accesswidth}) "
115
+ "that are inconsistent with this busdecoder's CPU bus width "
116
+ f"({self.exp.cpuif.data_width}) are not supported.",
117
+ node.inst.inst_src_ref,
118
+ )
119
+
120
+ def enter_Field(self, node: "FieldNode") -> None:
121
+ parent_accesswidth = node.parent.get_property("accesswidth")
122
+ parent_regwidth = node.parent.get_property("regwidth")
123
+ if (parent_accesswidth < parent_regwidth) and (node.lsb // parent_accesswidth) != (
124
+ node.msb // parent_accesswidth
125
+ ):
126
+ # field spans multiple sub-words
127
+
128
+ if node.is_sw_writable and not node.parent.get_property("buffer_writes"):
129
+ # ... and is writable without the protection of double-buffering
130
+ # Enforce 10.6.1-f
131
+ self.msg.error(
132
+ f"Software-writable field '{node.inst_name}' shall not span"
133
+ " multiple software-accessible subwords. Consider enabling"
134
+ " write double-buffering.\n"
135
+ "For more details, see: https://peakrdl-busdecoder.readthedocs.io/en/latest/udps/write_buffering.html",
136
+ node.inst.inst_src_ref,
137
+ )
138
+
139
+ if node.get_property("onread") is not None and not node.parent.get_property("buffer_reads"):
140
+ # ... is modified by an onread action without the atomicity of read buffering
141
+ # Enforce 10.6.1-f
142
+ self.msg.error(
143
+ f"The field '{node.inst_name}' spans multiple software-accessible"
144
+ " subwords and is modified on-read, making it impossible to"
145
+ " access its value correctly. Consider enabling read"
146
+ " double-buffering. \n"
147
+ "For more details, see: https://peakrdl-busdecoder.readthedocs.io/en/latest/udps/read_buffering.html",
148
+ node.inst.inst_src_ref,
149
+ )
150
+
151
+ def exit_AddressableComponent(self, node: AddressableNode) -> None:
152
+ if not isinstance(node, RegNode):
153
+ # Exiting block-like node
154
+ contains_external_block = self._contains_external_block_stack.pop()
155
+
156
+ if self._contains_external_block_stack:
157
+ # Still in the design. Update stack
158
+ self._contains_external_block_stack[-1] |= contains_external_block
159
+ else:
160
+ # Exiting top addrmap. Resolve final answer
161
+ self.contains_external_block = contains_external_block
162
+
163
+ if contains_external_block:
164
+ # Check that addressing follows strict alignment rules to allow
165
+ # for simplified address bit-pruning
166
+ if node.external:
167
+ err_suffix = "is external"
168
+ else:
169
+ err_suffix = "contains an external addrmap/regfile/mem"
170
+
171
+ req_align = roundup_pow2(node.size)
172
+ if (node.raw_address_offset % req_align) != 0:
173
+ self.msg.error(
174
+ f"Address offset +0x{node.raw_address_offset:x} of instance '{node.inst_name}' is not a power of 2 multiple of its size 0x{node.size:x}. "
175
+ f"This is required by the busdecoder exporter if a component {err_suffix}.",
176
+ node.inst.inst_src_ref,
177
+ )
178
+ if node.is_array:
179
+ assert node.array_stride is not None
180
+ if not is_pow2(node.array_stride):
181
+ self.msg.error(
182
+ f"Address stride of instance array '{node.inst_name}' is not a power of 2"
183
+ f"This is required by the busdecoder exporter if a component {err_suffix}.",
184
+ node.inst.inst_src_ref,
185
+ )
@@ -0,0 +1,40 @@
1
+ Metadata-Version: 2.4
2
+ Name: peakrdl-busdecoder
3
+ Version: 0.2.0
4
+ Summary: Generate a SystemVerilog bus decoder from SystemRDL for splitting CPU interfaces to multiple sub-address spaces
5
+ Author: Alex Mykyta
6
+ License: LGPLv3
7
+ Project-URL: Source, https://github.com/arnavsacheti/PeakRDL-BusDecoder
8
+ Project-URL: Tracker, https://github.com/arnavsacheti/PeakRDL-BusDecoder/issues
9
+ Project-URL: Changelog, https://github.com/arnavsacheti/PeakRDL-BusDecoder/releases
10
+ Project-URL: Documentation, https://peakrdl-busdecoder.readthedocs.io/
11
+ Keywords: SystemRDL,PeakRDL,bus decoder,address decoder,hierarchical addressing,compiler,tool,registers,generator,Verilog,SystemVerilog,register abstraction layer,FPGA,ASIC
12
+ Classifier: Development Status :: 5 - Production/Stable
13
+ Classifier: Programming Language :: Python
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3 :: Only
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: jinja2>=3.1.6
24
+ Requires-Dist: systemrdl-compiler~=1.30.1
25
+ Provides-Extra: cli
26
+ Requires-Dist: peakrdl-cli>=1.2.3; extra == "cli"
27
+ Dynamic: license-file
28
+
29
+ [![Documentation Status](https://readthedocs.org/projects/peakrdl-busdecoder/badge/?version=latest)](http://peakrdl-busdecoder.readthedocs.io)
30
+ [![build](https://github.com/arnavsacheti/PeakRDL-BusDecoder/workflows/build/badge.svg)](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions?query=workflow%3Abuild+branch%3Amain)
31
+ [![Coverage Status](https://coveralls.io/repos/github/arnavsacheti/PeakRDL-BusDecoder/badge.svg?branch=main)](https://coveralls.io/github/arnavsacheti/PeakRDL-BusDecoder?branch=main)
32
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/peakrdl-busdecoder.svg)](https://pypi.org/project/peakrdl-busdecoder)
33
+
34
+ # PeakRDL-BusDecoder
35
+ Generate a SystemVerilog bus decoder from SystemRDL that splits CPU interface signals to multiple sub-address spaces. This tool is designed for creating hierarchical register address maps by decoding bus transactions and routing them to the appropriate child address maps.
36
+
37
+ For the command line tool, see the [PeakRDL project](https://peakrdl.readthedocs.io).
38
+
39
+ ## Documentation
40
+ See the [PeakRDL-BusDecoder Documentation](https://peakrdl-busdecoder.readthedocs.io) for more details
@@ -0,0 +1,48 @@
1
+ peakrdl_busdecoder/__init__.py,sha256=zKSEa8EqCrZUtGoHCuZ0uNQVQMV2isVn47CgsDj5K48,75
2
+ peakrdl_busdecoder/__peakrdl__.py,sha256=phRHXzr6_7zIpgQtwg4-aY4N_Da4PSuDXNRZUgG_eN0,4429
3
+ peakrdl_busdecoder/decode_logic_gen.py,sha256=9ub2Vmx_vwONaUT9gCgLe6AixS0MTe7_q5foRBLdhG4,5256
4
+ peakrdl_busdecoder/design_scanner.py,sha256=syD6IXAJWYdpq2PQPvUGflPjhR_pO35R46Ld5K5XZHQ,1562
5
+ peakrdl_busdecoder/design_state.py,sha256=xwos_gw9qoV2OpuAXP95Hn_dFyV5cFdROfVGS6OB7Z0,2617
6
+ peakrdl_busdecoder/exporter.py,sha256=2Id5riWIR-AwvIU8fzjFC0NbIEyYzXk1YS6gXvEXMuA,5178
7
+ peakrdl_busdecoder/identifier_filter.py,sha256=poSIS1BMscORxOuDX_nXqvdNzClhKASdAVv9aDM_aqA,3972
8
+ peakrdl_busdecoder/listener.py,sha256=y62gXl_SOg_TGLYytw9xO5tRNe_kgv7dKbET_RlBpnQ,2233
9
+ peakrdl_busdecoder/module_tmpl.sv,sha256=OoscLFeh6FwChaZOFEmJXbz0OjRklifNE5jpAs2ZqN0,2853
10
+ peakrdl_busdecoder/package_tmpl.sv,sha256=E0_jYmXx1nEMb78WApbCvMWYlrAuNfSWB7Jw23UkBYU,852
11
+ peakrdl_busdecoder/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ peakrdl_busdecoder/struct_gen.py,sha256=6SIx7Eds2xrcpAqDBLSbNhy21sTdqMrIHT0I8QZe-FU,1690
13
+ peakrdl_busdecoder/sv_int.py,sha256=W0utmnR4XCuj3FVb9OGmRZ7SwlgEyO-XghMfd1I3iGA,872
14
+ peakrdl_busdecoder/utils.py,sha256=Kdcee6bhubI5XVX20JQ3wo0qYJTknqrv4l8kxhSd7wI,2219
15
+ peakrdl_busdecoder/validate_design.py,sha256=91yuWEzj0aAZ0eqzF1TF4N17yqG-D5oK5yYxDINlPms,8857
16
+ peakrdl_busdecoder/body/__init__.py,sha256=ZFTs8xIxeLyasyabLtGp7kClmmLlJpqdKJ854pmvTJg,311
17
+ peakrdl_busdecoder/body/body.py,sha256=X4T3iCr94cgoz76tt2WtvhGGCweUFpUr9ogD6ol0LIg,466
18
+ peakrdl_busdecoder/body/combinational_body.py,sha256=2FqbGHi405oEMAKlBfXz4hnLSn8Sr60kkFIUcL9oXf4,195
19
+ peakrdl_busdecoder/body/for_loop_body.py,sha256=lJYfDiB7MF9_mfbGEApoVHRViBCqpGRsJx5lzuq_tvk,449
20
+ peakrdl_busdecoder/body/if_body.py,sha256=S4oVS7yz04R1i-23W-aWpVcVZa5dW-H0FL_KnMy-Wsc,3261
21
+ peakrdl_busdecoder/body/struct_body.py,sha256=74ItYoYD-GqEidxc-ncV5y8fzGoM47NI4GnnweclmS8,624
22
+ peakrdl_busdecoder/cpuif/__init__.py,sha256=T8YrELGuOBIPgj1e86tNJ5tSCf7fXpPadqa71v5MEx8,59
23
+ peakrdl_busdecoder/cpuif/base_cpuif.py,sha256=QJ8F8VMZN57rNnLY8QHDmnPLaXR-CyCx2cNligPT5wU,4100
24
+ peakrdl_busdecoder/cpuif/fanin_gen.py,sha256=K2fZbxGx4um05LG18eDRPqXBp7-wBXwPmddOTKbe_NI,2053
25
+ peakrdl_busdecoder/cpuif/fanout_gen.py,sha256=mENigVzZ7edw3DMVkoXzyFQObV_r81hO4UP677IDlYk,1478
26
+ peakrdl_busdecoder/cpuif/interface.py,sha256=tFObXG18ashLrXSWn5O1ZwA-VNg9CL6w9XWi3qKd1sY,6148
27
+ peakrdl_busdecoder/cpuif/apb3/__init__.py,sha256=Uq82IJHzlITUvjTuETvPpSzvLEYoairzzPKfPz7kuC4,119
28
+ peakrdl_busdecoder/cpuif/apb3/apb3_cpuif.py,sha256=oskculfTBlXJWvJzcC0LeS5OH_s0GfOc0q7iuEvGzkw,2584
29
+ peakrdl_busdecoder/cpuif/apb3/apb3_cpuif_flat.py,sha256=5_li9azFbFc0q9CLpqQNPvbcALsNlOBwV9ROHZuZ81c,2374
30
+ peakrdl_busdecoder/cpuif/apb3/apb3_interface.py,sha256=hU0GUCZGYnvskmZU6NznMGgRJFliD360WgwhsQh9rqY,2147
31
+ peakrdl_busdecoder/cpuif/apb3/apb3_tmpl.sv,sha256=DCiBUQEEZ5zAo71Wra9IiyHazLk98SugLF2MdjxNYWU,1679
32
+ peakrdl_busdecoder/cpuif/apb4/__init__.py,sha256=k4JCbIrKGT8hiRvWJDcqc5xx7j9i_xYgpXU70sNaLsc,119
33
+ peakrdl_busdecoder/cpuif/apb4/apb4_cpuif.py,sha256=2XklIUPYuBatWonL8Clni_hm8bq8pzHXWuyASBwd2EY,2793
34
+ peakrdl_busdecoder/cpuif/apb4/apb4_cpuif_flat.py,sha256=JcQ7TfW2bWA9g_uCpsmEUNQfRikx5ZImhf2VSFGIdmw,2504
35
+ peakrdl_busdecoder/cpuif/apb4/apb4_interface.py,sha256=Ln5jIBhCHbIYS5sxR5AjFVvcMYD_rw71VF6KqyyNUkg,2449
36
+ peakrdl_busdecoder/cpuif/apb4/apb4_tmpl.sv,sha256=0Ql3ri9VVSJP9ODFpsparhUeKvWwjQgZDn0zQqmad7Q,2022
37
+ peakrdl_busdecoder/cpuif/axi4lite/__init__.py,sha256=5XuWfPK2jDzr6egKUDJFr8l3k3lW-feLIh-lN7Mo8Ks,145
38
+ peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_cpuif.py,sha256=QxgAKKN8tJ6gphWy2_ztfTEO92YDMXBgBQGEDfFbNJk,3326
39
+ peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_cpuif_flat.py,sha256=M9gR3aNuN3VE32iwBMVQuvBRxQ1g4zGW_YlT6Q9QDNw,3418
40
+ peakrdl_busdecoder/cpuif/axi4lite/axi4lite_interface.py,sha256=eBs3RLGGvvQen4C6MR9RUZIHuTQEidYHG4NGxlYY1Bc,3702
41
+ peakrdl_busdecoder/cpuif/axi4lite/axi4lite_tmpl.sv,sha256=Uz30kPye9wiAn1UIR9oNpahyn5KPrrAjbCI8_8-gxK8,3063
42
+ peakrdl_busdecoder/udps/__init__.py,sha256=gPc74OMVWTIr5vgtFArzbhEyi1OYjllR3ZFwHJ8APaY,106
43
+ peakrdl_busdecoder-0.2.0.dist-info/licenses/LICENSE,sha256=eAMIGRcnsTDZVr4qelHkJ49Rd_IiDY4_MVHU7N0UWSw,7646
44
+ peakrdl_busdecoder-0.2.0.dist-info/METADATA,sha256=xGwY74YR6s52NNmhUpNxQJ8MeK5p8UGG2PMUYDixAXg,2560
45
+ peakrdl_busdecoder-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
46
+ peakrdl_busdecoder-0.2.0.dist-info/entry_points.txt,sha256=7Xzgt-C2F4cQu1kRLpZa0MbXSFFMC1SWEDnZkY0GH7s,73
47
+ peakrdl_busdecoder-0.2.0.dist-info/top_level.txt,sha256=ZIYuTsl8cYby4g8tNR_JGzbYYTrG9mqYLSBqnY1Gpmk,19
48
+ peakrdl_busdecoder-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [peakrdl.exporters]
2
+ busdecoder = peakrdl_busdecoder.__peakrdl__:Exporter
@@ -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 @@
1
+ peakrdl_busdecoder