peakrdl-busdecoder 0.6.1__tar.gz → 0.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/workflows/test.yml +9 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/PKG-INFO +5 -4
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/README.md +4 -3
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/pyproject.toml +1 -1
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb4/apb4_tmpl.sv +0 -2
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/validate_design.py +1 -25
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/PKG-INFO +5 -4
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/uv.lock +1 -1
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.devcontainer/Dockerfile +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.devcontainer/devcontainer.json +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/ISSUE_TEMPLATE/question.md +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/pull_request_template.md +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/workflows/build.yml +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/workflows/docs.yml +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/workflows/format.yml +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/workflows/lint.yml +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/workflows/release.yml +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/workflows/typecheck.yml +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.gitignore +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.readthedocs.yaml +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/CONTRIBUTING.md +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/LICENSE +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/MANIFEST.in +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/Makefile +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/api.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/architecture.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/conf.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/configuring.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/cpuif/apb.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/cpuif/avalon.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/cpuif/axi4lite.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/cpuif/customizing.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/cpuif/internal_protocol.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/cpuif/introduction.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/cpuif/passthrough.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/Alpha-Beta Versioning +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/Hierarchy-and-Indexing +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/Program Flow +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/Resets +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/Signal Dereferencer +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/Validation Needed +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/1-port-declaration +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/1.1.hardware-interface +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/2-CPUIF +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/3-address-decode +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/4-fields +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/5-readback-mux +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/6-output-port-mapping +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/diagrams/arch.png +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/diagrams/diagrams.odg +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/diagrams/rbuf.png +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/diagrams/readback.png +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/diagrams/wbuf.png +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/faq.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/hwif.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/img/err.svg +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/img/ok.svg +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/img/warn.svg +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/index.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/licensing.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/limitations.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/props/addrmap.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/props/field.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/props/reg.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/props/rhs_props.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/props/signal.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/rdl_features/external.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/requirements.txt +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/udps/intro.rst +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/hdl-src/README.md +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/hdl-src/apb3_intf.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/hdl-src/apb4_intf.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/hdl-src/avalon_mm_intf.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/hdl-src/axi4lite_intf.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/setup.cfg +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/__init__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/__peakrdl__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/__init__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/body.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/combinational_body.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/for_loop_body.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/if_body.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/struct_body.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/__init__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb3/__init__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb3/apb3_cpuif.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb3/apb3_cpuif_flat.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb3/apb3_interface.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb3/apb3_tmpl.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb4/__init__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb4/apb4_cpuif.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb4/apb4_cpuif_flat.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb4/apb4_interface.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/axi4lite/__init__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_cpuif.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_cpuif_flat.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_interface.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/axi4lite/axi4_lite_tmpl.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/base_cpuif.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/fanin_gen.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/fanin_intermediate_gen.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/fanout_gen.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/interface.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/decode_logic_gen.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/design_scanner.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/design_state.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/exporter.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/identifier_filter.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/listener.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/module_tmpl.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/package_tmpl.sv +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/py.typed +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/struct_gen.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/sv_int.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/udps/__init__.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/utils.py +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/SOURCES.txt +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/dependency_links.txt +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/entry_points.txt +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/requires.txt +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/top_level.txt +0 -0
- {peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/tools/shims/xargs +0 -0
|
@@ -45,6 +45,15 @@ jobs:
|
|
|
45
45
|
- name: Run tests
|
|
46
46
|
run: uv run pytest tests/ --cov=peakrdl_busdecoder --cov-report=xml --cov-report=term
|
|
47
47
|
|
|
48
|
+
- name: Upload coverage to Coveralls
|
|
49
|
+
if: matrix.python-version == '3.12'
|
|
50
|
+
env:
|
|
51
|
+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
|
52
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
53
|
+
run: |
|
|
54
|
+
uv pip install coveralls
|
|
55
|
+
uv run coveralls --service=github
|
|
56
|
+
|
|
48
57
|
- name: Upload coverage to Codecov
|
|
49
58
|
uses: codecov/codecov-action@v4
|
|
50
59
|
if: matrix.python-version == '3.12'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: peakrdl-busdecoder
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: Generate a SystemVerilog bus decoder from SystemRDL for splitting CPU interfaces to multiple sub-address spaces
|
|
5
5
|
Author: Arnav Sacheti
|
|
6
6
|
License: LGPLv3
|
|
@@ -26,9 +26,10 @@ Provides-Extra: cli
|
|
|
26
26
|
Requires-Dist: peakrdl-cli>=1.2.3; extra == "cli"
|
|
27
27
|
Dynamic: license-file
|
|
28
28
|
|
|
29
|
-
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/build.yml)
|
|
30
|
+
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/test.yml)
|
|
31
|
+
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/docs.yml)
|
|
32
|
+
[](https://coveralls.io/github/arnavsacheti/PeakRDL-BusDecoder?branch=tests/coveralls)
|
|
32
33
|
[](https://pypi.org/project/peakrdl-busdecoder)
|
|
33
34
|
|
|
34
35
|
# PeakRDL-BusDecoder
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/build.yml)
|
|
2
|
+
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/test.yml)
|
|
3
|
+
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/docs.yml)
|
|
4
|
+
[](https://coveralls.io/github/arnavsacheti/PeakRDL-BusDecoder?branch=tests/coveralls)
|
|
4
5
|
[](https://pypi.org/project/peakrdl-busdecoder)
|
|
5
6
|
|
|
6
7
|
# PeakRDL-BusDecoder
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb4/apb4_tmpl.sv
RENAMED
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
assert_bad_data_width: assert($bits({{cpuif.signal("PWDATA")}}) == {{ds.package_name}}::{{ds.module_name|upper}}_DATA_WIDTH)
|
|
7
7
|
else $error("Interface data width of %0d is incorrect. Shall be %0d bits", $bits({{cpuif.signal("PWDATA")}}), {{ds.package_name}}::{{ds.module_name|upper}}_DATA_WIDTH);
|
|
8
8
|
end
|
|
9
|
-
assert_wr_sel: assert property (@(posedge {{cpuif.signal("PCLK")}}) {{cpuif.signal("PSEL")}} && {{cpuif.signal("PWRITE")}} |-> ##1 ({{cpuif.signal("PREADY")}} || {{cpuif.signal("PSLVERR")}}))
|
|
10
|
-
else $error("APB4 Slave port SEL implies that cpuif_wr_sel must be one-hot encoded");
|
|
11
9
|
`endif
|
|
12
10
|
{%- endif %}
|
|
13
11
|
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/validate_design.py
RENAMED
|
@@ -4,7 +4,7 @@ from systemrdl.node import AddressableNode, AddrmapNode, FieldNode, Node, Regfil
|
|
|
4
4
|
from systemrdl.rdltypes.references import PropertyReference
|
|
5
5
|
from systemrdl.walker import RDLListener, RDLWalker, WalkerAction
|
|
6
6
|
|
|
7
|
-
from .utils import
|
|
7
|
+
from .utils import ref_is_internal
|
|
8
8
|
|
|
9
9
|
if TYPE_CHECKING:
|
|
10
10
|
from .exporter import BusDecoderExporter
|
|
@@ -159,27 +159,3 @@ class DesignValidator(RDLListener):
|
|
|
159
159
|
else:
|
|
160
160
|
# Exiting top addrmap. Resolve final answer
|
|
161
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
|
-
)
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: peakrdl-busdecoder
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
4
4
|
Summary: Generate a SystemVerilog bus decoder from SystemRDL for splitting CPU interfaces to multiple sub-address spaces
|
|
5
5
|
Author: Arnav Sacheti
|
|
6
6
|
License: LGPLv3
|
|
@@ -26,9 +26,10 @@ Provides-Extra: cli
|
|
|
26
26
|
Requires-Dist: peakrdl-cli>=1.2.3; extra == "cli"
|
|
27
27
|
Dynamic: license-file
|
|
28
28
|
|
|
29
|
-
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/build.yml)
|
|
30
|
+
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/test.yml)
|
|
31
|
+
[](https://github.com/arnavsacheti/PeakRDL-BusDecoder/actions/workflows/docs.yml)
|
|
32
|
+
[](https://coveralls.io/github/arnavsacheti/PeakRDL-BusDecoder?branch=tests/coveralls)
|
|
32
33
|
[](https://pypi.org/project/peakrdl-busdecoder)
|
|
33
34
|
|
|
34
35
|
# PeakRDL-BusDecoder
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/.github/ISSUE_TEMPLATE/feature_request.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/2-CPUIF
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/4-fields
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/docs/dev_notes/template-layers/5-readback-mux
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/for_loop_body.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/if_body.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/body/struct_body.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/__init__.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb3/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb3/apb3_tmpl.sv
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/apb4/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/base_cpuif.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/fanin_gen.py
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/fanout_gen.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/cpuif/interface.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/decode_logic_gen.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/design_scanner.py
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/design_state.py
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/identifier_filter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/package_tmpl.sv
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder/udps/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/requires.txt
RENAMED
|
File without changes
|
{peakrdl_busdecoder-0.6.1 → peakrdl_busdecoder-0.6.3}/src/peakrdl_busdecoder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|