SimplHDL 0.13.5__tar.gz → 0.13.7__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.
- {simplhdl-0.13.5/src/simplhdl.egg-info → simplhdl-0.13.7}/PKG-INFO +4 -5
- {simplhdl-0.13.5 → simplhdl-0.13.7}/pyproject.toml +3 -4
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/__init__.py +1 -1
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/cocotb.py +56 -26
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/plugin/simulationflow.py +24 -11
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/project/files.py +5 -2
- {simplhdl-0.13.5 → simplhdl-0.13.7/src/simplhdl.egg-info}/PKG-INFO +4 -5
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl.egg-info/SOURCES.txt +3 -1
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl.egg-info/requires.txt +3 -3
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/cocotb.mk.j2 +1 -1
- simplhdl-0.13.7/src/simplhdl_peakrdl/compiler.py +26 -0
- simplhdl-0.13.7/src/simplhdl_peakrdl/systemrdl.py +470 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/cocotb.mk.j2 +4 -3
- simplhdl-0.13.7/tests/test_systemrdl.py +86 -0
- simplhdl-0.13.5/src/simplhdl_peakrdl/systemrdl.py +0 -325
- {simplhdl-0.13.5 → simplhdl-0.13.7}/LICENSE +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/README.md +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/setup.cfg +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/__main__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/_compat.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/cli/arguments.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/cli/info.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/cli/run.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/plugin/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/plugin/flow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/plugin/generator.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/plugin/implementationflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/plugin/loader.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/plugin/parser.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/project/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/project/attributes.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/project/base.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/project/design.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/project/fileset.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/project/project.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/simplhdl.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/tools.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl/utils.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl.egg-info/dependency_links.txt +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl.egg-info/entry_points.txt +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl.egg-info/top_level.txt +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_chisel/chisel.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_encrypt/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_encrypt/encrypt/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_encrypt/encrypt/encryptflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_fusesocparser/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_fusesocparser/fusesocparser.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/icarusflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/templates/icarus/Makefile.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/templates/icarus/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/templates/icarus/cmds.f.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/templates/icarus/cocotb.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/templates/icarus/simplhdl_iverilog_dump.v.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_icarus/resources/templates/icarus/sources.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_jinja2/jinja2.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/flake8/flake8flow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/lint/lintflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/flake8/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/flake8/setup.cfg.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/verible/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/verible/rules.cfg.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/vsg/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/vsg/files.json.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/resources/templates/vsg/rules.yml.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/verible/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/verible/veribleflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/vsg/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_lint/vsg/vsgflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/modelsim/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/modelsim/modelsimflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/Makefile.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/dependencies.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/files.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/fileset.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/modelsim.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/project.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/run.do.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_parser/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_parser/simplhdlparser.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_peakrdl/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/quartusdse/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/quartusdse/quartusdseflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/quartusexport/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/quartusexport/quartusexportflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/quartusflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/resources/templates/quartus/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/resources/templates/quartus/project.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/resources/templates/quartus/run.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_quartus/spd.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/questasim/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/questasim/questasimflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/resources/templates/questasim/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/resources/templates/questasim/modelsim.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/resources/templates/questasim/project.qrun.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/resources/templates/questasim/visualizer.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_questasim/resources/templates/questasim/vsim-run.do.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/rivierapro/Makefile.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/rivierapro/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/rivierapro/cocotb.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/rivierapro/dependencies.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/rivierapro/files.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/rivierapro/fileset.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/resources/templates/rivierapro/project.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/rivierapro/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_rivierapro/rivierapro/rivieraproflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/Makefile.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/dependencies.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/files.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/fileset.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/pli.tab.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/project.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/simv-run.do.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/synopsys_sim.setup.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/resources/templates/vcs/vcs.parameters.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/vcs/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vcs/vcs/vcsflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/ipxact.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/vivado/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/vivado/project.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/vivado/run.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/vivado/steps.tcl.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/xsim/Makefile.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/xsim/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/xsim/cocotb.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/xsim/dependencies.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/xsim/files.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/xsim/fileset.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/resources/templates/xsim/project.mk.j2 +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/vivadoexport/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/vivadoexport/vivadoexportflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/vivadoflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/xsim/__init__.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_vivado/xsim/xsimflow.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/tests/test_design.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/tests/test_files.py +0 -0
- {simplhdl-0.13.5 → simplhdl-0.13.7}/tests/test_fileset.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simplhdl
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.7
|
|
4
4
|
Summary: A framework for simulating and implementing HDL designs
|
|
5
5
|
Author-email: Rasmus Grøndahl Olsen <simplhdl@gmail.com>
|
|
6
6
|
Maintainer-email: Rasmus Grøndahl Olsen <simplhdl@gmail.com>
|
|
@@ -35,31 +35,30 @@ Classifier: Intended Audience :: Developers
|
|
|
35
35
|
Classifier: License :: OSI Approved :: MIT License
|
|
36
36
|
Classifier: Operating System :: OS Independent
|
|
37
37
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
38
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
39
38
|
Classifier: Programming Language :: Python :: 3.9
|
|
40
39
|
Classifier: Programming Language :: Python :: 3.10
|
|
41
40
|
Classifier: Programming Language :: Python :: 3.11
|
|
42
41
|
Classifier: Programming Language :: Python :: 3.12
|
|
43
42
|
Classifier: Programming Language :: Python :: 3.13
|
|
44
43
|
Classifier: Programming Language :: Python :: 3.14
|
|
45
|
-
Requires-Python: >=3.
|
|
44
|
+
Requires-Python: >=3.9
|
|
46
45
|
Description-Content-Type: text/markdown
|
|
47
46
|
License-File: LICENSE
|
|
48
47
|
Requires-Dist: argcomplete
|
|
49
48
|
Requires-Dist: black
|
|
50
49
|
Requires-Dist: flake8
|
|
51
50
|
Requires-Dist: gitpython
|
|
52
|
-
Requires-Dist: importlib-resources; python_version < "3.9"
|
|
53
51
|
Requires-Dist: jinja2
|
|
54
52
|
Requires-Dist: matplotlib
|
|
55
53
|
Requires-Dist: networkx
|
|
56
54
|
Requires-Dist: peakrdl-html
|
|
57
|
-
Requires-Dist: peakrdl-pyuvm
|
|
55
|
+
Requires-Dist: peakrdl-pyuvm>=0.9
|
|
58
56
|
Requires-Dist: peakrdl-regblock>=1.2
|
|
59
57
|
Requires-Dist: pyyaml
|
|
60
58
|
Requires-Dist: rich
|
|
61
59
|
Requires-Dist: singleton-decorator
|
|
62
60
|
Requires-Dist: systemrdl-compiler
|
|
61
|
+
Requires-Dist: tomli; python_version < "3.11"
|
|
63
62
|
Requires-Dist: types-pyyaml
|
|
64
63
|
Requires-Dist: vsg
|
|
65
64
|
Provides-Extra: dev
|
|
@@ -16,14 +16,13 @@ maintainers = [
|
|
|
16
16
|
authors = [
|
|
17
17
|
{ name = "Rasmus Grøndahl Olsen", email = "simplhdl@gmail.com" },
|
|
18
18
|
]
|
|
19
|
-
requires-python = ">=3.
|
|
19
|
+
requires-python = ">=3.9"
|
|
20
20
|
classifiers = [
|
|
21
21
|
"Development Status :: 4 - Beta",
|
|
22
22
|
"Intended Audience :: Developers",
|
|
23
23
|
"License :: OSI Approved :: MIT License",
|
|
24
24
|
"Operating System :: OS Independent",
|
|
25
25
|
"Programming Language :: Python :: 3 :: Only",
|
|
26
|
-
"Programming Language :: Python :: 3.8",
|
|
27
26
|
"Programming Language :: Python :: 3.9",
|
|
28
27
|
"Programming Language :: Python :: 3.10",
|
|
29
28
|
"Programming Language :: Python :: 3.11",
|
|
@@ -38,17 +37,17 @@ dependencies = [
|
|
|
38
37
|
"black",
|
|
39
38
|
"flake8",
|
|
40
39
|
"gitpython",
|
|
41
|
-
"importlib-resources; python_version<'3.9'",
|
|
42
40
|
"jinja2",
|
|
43
41
|
"matplotlib",
|
|
44
42
|
"networkx",
|
|
45
43
|
"peakrdl-html",
|
|
46
|
-
"peakrdl-pyuvm",
|
|
44
|
+
"peakrdl-pyuvm>=0.9",
|
|
47
45
|
"peakrdl-regblock>=1.2",
|
|
48
46
|
"pyyaml",
|
|
49
47
|
"rich",
|
|
50
48
|
"singleton-decorator",
|
|
51
49
|
"systemrdl-compiler",
|
|
50
|
+
"tomli; python_version<'3.11'",
|
|
52
51
|
"types-pyyaml",
|
|
53
52
|
"vsg",
|
|
54
53
|
]
|
|
@@ -27,6 +27,50 @@ if TYPE_CHECKING:
|
|
|
27
27
|
logger = logging.getLogger(__name__)
|
|
28
28
|
|
|
29
29
|
|
|
30
|
+
def get_lib_name_path(interface: str, simulator: str) -> Path:
|
|
31
|
+
output = sh(["cocotb-config", "--lib-name-path", interface, simulator]).strip()
|
|
32
|
+
path = Path(output)
|
|
33
|
+
if not path.exists():
|
|
34
|
+
raise FileNotFoundError(f"{path}: not found")
|
|
35
|
+
return path
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def get_lib_entry(interface: str, simulator: str) -> str:
|
|
39
|
+
output = sh(["cocotb-config", "--lib-entry", interface, simulator]).strip()
|
|
40
|
+
return output
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def get_libpython() -> str:
|
|
44
|
+
output = sh(["cocotb-config", "--libpython"]).strip()
|
|
45
|
+
path = Path(output)
|
|
46
|
+
if not path.exists():
|
|
47
|
+
raise FileNotFoundError(f"{path}: not found")
|
|
48
|
+
return path
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def get_pygpi_entry_point() -> str:
|
|
52
|
+
if Version(version("cocotb")) >= Version("2.1.0"):
|
|
53
|
+
output = sh(["cocotb-config", "--pygpi-entry-point"]).strip()
|
|
54
|
+
return output
|
|
55
|
+
return ""
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def get_pythonbin() -> str:
|
|
59
|
+
output = sh(["cocotb-config", "--python-bin"]).strip()
|
|
60
|
+
path = Path(output)
|
|
61
|
+
if not path.exists():
|
|
62
|
+
raise FileNotFoundError(f"{path}: not found")
|
|
63
|
+
return path
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def get_gpi_users() -> str:
|
|
67
|
+
return f"{get_libpython()};{get_pygpi_entry_point()}"
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def get_gpi_extra(interface: str, simulator: str) -> str:
|
|
71
|
+
return f"{get_lib_name_path(interface, simulator)}:cocotb{interface}_entry_point"
|
|
72
|
+
|
|
73
|
+
|
|
30
74
|
class Cocotb:
|
|
31
75
|
def __init__(self, project: Project, seed: int) -> None:
|
|
32
76
|
self.project = project
|
|
@@ -41,29 +85,16 @@ class Cocotb:
|
|
|
41
85
|
self.has_vhdl = project.defaultDesign.files(type=VhdlFile, usedin=UsedIn.SIMULATION) != []
|
|
42
86
|
|
|
43
87
|
def lib_name_path(self, simulator: str, interface: str) -> Path:
|
|
44
|
-
|
|
45
|
-
path = Path(output)
|
|
46
|
-
if not path.exists():
|
|
47
|
-
raise FileNotFoundError(f"{path}: not found")
|
|
48
|
-
return path
|
|
88
|
+
return get_lib_name_path(interface, simulator)
|
|
49
89
|
|
|
50
90
|
def libpython(self) -> str:
|
|
51
|
-
|
|
52
|
-
path = Path(output)
|
|
53
|
-
if not path.exists():
|
|
54
|
-
raise FileNotFoundError(f"{path}: not found")
|
|
55
|
-
return path
|
|
91
|
+
return get_libpython()
|
|
56
92
|
|
|
57
93
|
def pygpi_entry_point(self) -> str:
|
|
58
|
-
|
|
59
|
-
return output.strip()
|
|
94
|
+
return get_pygpi_entry_point()
|
|
60
95
|
|
|
61
96
|
def pythonbin(self) -> str:
|
|
62
|
-
|
|
63
|
-
path = Path(output)
|
|
64
|
-
if not path.exists():
|
|
65
|
-
raise FileNotFoundError(f"{path}: not found")
|
|
66
|
-
return path
|
|
97
|
+
return get_pythonbin()
|
|
67
98
|
|
|
68
99
|
def module(self) -> str | None:
|
|
69
100
|
if not self.enabled:
|
|
@@ -174,28 +205,27 @@ class Cocotb:
|
|
|
174
205
|
if cocotb_version >= Version("2.1.0"):
|
|
175
206
|
e["COCOTB_TEST_MODULES"] = self.top
|
|
176
207
|
e["COCOTB_TOPLEVEL"] = self.dut
|
|
177
|
-
e["PYGPI_PYTHON_BIN"] =
|
|
208
|
+
e["PYGPI_PYTHON_BIN"] = get_pythonbin()
|
|
178
209
|
e["COCOTB_RANDOM_SEED"] = str(self.seed)
|
|
179
|
-
e["GPI_USERS"] =
|
|
210
|
+
e["GPI_USERS"] = get_gpi_users()
|
|
180
211
|
elif cocotb_version >= Version("2.0.0"):
|
|
181
212
|
e["COCOTB_TEST_MODULES"] = self.top
|
|
182
213
|
e["COCOTB_TOPLEVEL"] = self.dut
|
|
183
|
-
e["PYGPI_PYTHON_BIN"] =
|
|
214
|
+
e["PYGPI_PYTHON_BIN"] = get_pythonbin()
|
|
184
215
|
e["COCOTB_RANDOM_SEED"] = str(self.seed)
|
|
185
|
-
e["LIBPYTHON_LOC"] =
|
|
216
|
+
e["LIBPYTHON_LOC"] = get_libpython()
|
|
186
217
|
else:
|
|
187
218
|
e["MODULE"] = self.top
|
|
188
219
|
e["TOPLEVEL"] = self.dut
|
|
189
|
-
e["LIBPYTHON_LOC"] =
|
|
220
|
+
e["LIBPYTHON_LOC"] = get_libpython()
|
|
190
221
|
e["PYTHONPYCACHEPREFIX"] = "./pycache"
|
|
191
222
|
e["GPI_EXTRA"] = ""
|
|
192
223
|
if self.has_verilog and self.has_vhdl:
|
|
193
224
|
if self.duttype == VhdlFile:
|
|
194
|
-
|
|
195
|
-
e["GPI_EXTRA"] = f"{lib_name_path}:cocotbvpi_entry_point"
|
|
225
|
+
interface = "vpi"
|
|
196
226
|
elif self.duttype == VerilogFile:
|
|
197
|
-
|
|
198
|
-
|
|
227
|
+
interface = "fli"
|
|
228
|
+
e["GPI_EXTRA"] = get_gpi_extra(interface, "questa")
|
|
199
229
|
if "PYTHONPATH" in e:
|
|
200
230
|
e["PYTHONPATH"] = self.pythonpath + os.pathsep + e.get("PYTHONPATH")
|
|
201
231
|
else:
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
try:
|
|
4
|
-
from importlib.resources import files as resources_files
|
|
5
|
-
except ImportError:
|
|
6
|
-
from importlib_resources import files as resources_files
|
|
7
3
|
import logging
|
|
8
4
|
import os
|
|
9
5
|
import shutil
|
|
@@ -13,20 +9,30 @@ from typing import Any, Callable, Generator, Tuple
|
|
|
13
9
|
|
|
14
10
|
from jinja2 import Environment, FileSystemLoader
|
|
15
11
|
|
|
16
|
-
from ..
|
|
12
|
+
from .._compat import resources_files
|
|
13
|
+
from ..cocotb import (
|
|
14
|
+
Cocotb,
|
|
15
|
+
get_gpi_extra,
|
|
16
|
+
get_gpi_users,
|
|
17
|
+
get_lib_entry,
|
|
18
|
+
get_lib_name_path,
|
|
19
|
+
get_libpython,
|
|
20
|
+
get_pygpi_entry_point,
|
|
21
|
+
get_pythonbin,
|
|
22
|
+
)
|
|
17
23
|
from ..project.files import (
|
|
24
|
+
CFile,
|
|
25
|
+
CppFile,
|
|
18
26
|
File,
|
|
19
27
|
HdlSearchPath,
|
|
20
|
-
|
|
28
|
+
MemoryFile,
|
|
21
29
|
SystemVerilogFile,
|
|
30
|
+
UsedIn,
|
|
22
31
|
VerilogFile,
|
|
23
32
|
VerilogIncludeFile,
|
|
24
33
|
VhdlFile,
|
|
25
|
-
CFile,
|
|
26
|
-
CppFile,
|
|
27
|
-
UsedIn,
|
|
28
34
|
)
|
|
29
|
-
from ..project.fileset import Fileset, FilesetOrder
|
|
35
|
+
from ..project.fileset import FileOrder, Fileset, FilesetOrder
|
|
30
36
|
from ..project.project import Project
|
|
31
37
|
from ..utils import (
|
|
32
38
|
append_suffix,
|
|
@@ -81,6 +87,13 @@ class SimulationFlow(FlowBase):
|
|
|
81
87
|
globals["defaultlib"] = "work"
|
|
82
88
|
globals["toplevels"] = " ".join(self.cocotb.toplevels)
|
|
83
89
|
globals["pythonpath"] = self.cocotb.pythonpath
|
|
90
|
+
globals["get_gpi_users"] = get_gpi_users
|
|
91
|
+
globals["get_gpi_extra"] = get_gpi_extra
|
|
92
|
+
globals["get_lib_entry"] = get_lib_entry
|
|
93
|
+
globals["get_lib_name_path"] = get_lib_name_path
|
|
94
|
+
globals["get_libpython"] = get_libpython
|
|
95
|
+
globals["get_pythonbin"] = get_pythonbin
|
|
96
|
+
globals["get_pygpi_entry_point"] = get_pygpi_entry_point
|
|
84
97
|
globals["cocotbtop"] = self.cocotb.top
|
|
85
98
|
globals["cocotbhdltype"] = self.cocotb.duttype
|
|
86
99
|
globals["cocotbdut"] = self.cocotb.dut
|
|
@@ -185,7 +198,7 @@ class SimulationFlow(FlowBase):
|
|
|
185
198
|
return generated
|
|
186
199
|
|
|
187
200
|
def copy_memory_files(self):
|
|
188
|
-
for file in self.project.defaultDesign.files(
|
|
201
|
+
for file in self.project.defaultDesign.files(MemoryFile):
|
|
189
202
|
shutil.copy(file.path.absolute(), self.builddir.absolute())
|
|
190
203
|
|
|
191
204
|
def is_uvm(self):
|
|
@@ -325,6 +325,9 @@ class SimulationFile(File):
|
|
|
325
325
|
class IPSpecificationFile(File): ...
|
|
326
326
|
|
|
327
327
|
|
|
328
|
+
class MemoryFile(File): ...
|
|
329
|
+
|
|
330
|
+
|
|
328
331
|
@FileFactory.register(extension=".sdc")
|
|
329
332
|
class SdcFile(ConstraintFile): ...
|
|
330
333
|
|
|
@@ -431,11 +434,11 @@ class HdlSearchPath(VerilogIncludeFile):
|
|
|
431
434
|
|
|
432
435
|
|
|
433
436
|
@FileFactory.register(extension=".hex")
|
|
434
|
-
class MemoryHexFile(
|
|
437
|
+
class MemoryHexFile(MemoryFile): ...
|
|
435
438
|
|
|
436
439
|
|
|
437
440
|
@FileFactory.register(extension=".mif")
|
|
438
|
-
class MemoryInitFile(
|
|
441
|
+
class MemoryInitFile(MemoryFile): ...
|
|
439
442
|
|
|
440
443
|
|
|
441
444
|
@FileFactory.register(extension="modelsim.ini")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simplhdl
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.7
|
|
4
4
|
Summary: A framework for simulating and implementing HDL designs
|
|
5
5
|
Author-email: Rasmus Grøndahl Olsen <simplhdl@gmail.com>
|
|
6
6
|
Maintainer-email: Rasmus Grøndahl Olsen <simplhdl@gmail.com>
|
|
@@ -35,31 +35,30 @@ Classifier: Intended Audience :: Developers
|
|
|
35
35
|
Classifier: License :: OSI Approved :: MIT License
|
|
36
36
|
Classifier: Operating System :: OS Independent
|
|
37
37
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
38
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
39
38
|
Classifier: Programming Language :: Python :: 3.9
|
|
40
39
|
Classifier: Programming Language :: Python :: 3.10
|
|
41
40
|
Classifier: Programming Language :: Python :: 3.11
|
|
42
41
|
Classifier: Programming Language :: Python :: 3.12
|
|
43
42
|
Classifier: Programming Language :: Python :: 3.13
|
|
44
43
|
Classifier: Programming Language :: Python :: 3.14
|
|
45
|
-
Requires-Python: >=3.
|
|
44
|
+
Requires-Python: >=3.9
|
|
46
45
|
Description-Content-Type: text/markdown
|
|
47
46
|
License-File: LICENSE
|
|
48
47
|
Requires-Dist: argcomplete
|
|
49
48
|
Requires-Dist: black
|
|
50
49
|
Requires-Dist: flake8
|
|
51
50
|
Requires-Dist: gitpython
|
|
52
|
-
Requires-Dist: importlib-resources; python_version < "3.9"
|
|
53
51
|
Requires-Dist: jinja2
|
|
54
52
|
Requires-Dist: matplotlib
|
|
55
53
|
Requires-Dist: networkx
|
|
56
54
|
Requires-Dist: peakrdl-html
|
|
57
|
-
Requires-Dist: peakrdl-pyuvm
|
|
55
|
+
Requires-Dist: peakrdl-pyuvm>=0.9
|
|
58
56
|
Requires-Dist: peakrdl-regblock>=1.2
|
|
59
57
|
Requires-Dist: pyyaml
|
|
60
58
|
Requires-Dist: rich
|
|
61
59
|
Requires-Dist: singleton-decorator
|
|
62
60
|
Requires-Dist: systemrdl-compiler
|
|
61
|
+
Requires-Dist: tomli; python_version < "3.11"
|
|
63
62
|
Requires-Dist: types-pyyaml
|
|
64
63
|
Requires-Dist: vsg
|
|
65
64
|
Provides-Extra: dev
|
|
@@ -81,6 +81,7 @@ src/simplhdl_modelsim/resources/templates/modelsim/run.do.j2
|
|
|
81
81
|
src/simplhdl_parser/__init__.py
|
|
82
82
|
src/simplhdl_parser/simplhdlparser.py
|
|
83
83
|
src/simplhdl_peakrdl/__init__.py
|
|
84
|
+
src/simplhdl_peakrdl/compiler.py
|
|
84
85
|
src/simplhdl_peakrdl/systemrdl.py
|
|
85
86
|
src/simplhdl_quartus/quartusflow.py
|
|
86
87
|
src/simplhdl_quartus/spd.py
|
|
@@ -152,4 +153,5 @@ src/simplhdl_vivado/xsim/__init__.py
|
|
|
152
153
|
src/simplhdl_vivado/xsim/xsimflow.py
|
|
153
154
|
tests/test_design.py
|
|
154
155
|
tests/test_files.py
|
|
155
|
-
tests/test_fileset.py
|
|
156
|
+
tests/test_fileset.py
|
|
157
|
+
tests/test_systemrdl.py
|
|
@@ -6,7 +6,7 @@ jinja2
|
|
|
6
6
|
matplotlib
|
|
7
7
|
networkx
|
|
8
8
|
peakrdl-html
|
|
9
|
-
peakrdl-pyuvm
|
|
9
|
+
peakrdl-pyuvm>=0.9
|
|
10
10
|
peakrdl-regblock>=1.2
|
|
11
11
|
pyyaml
|
|
12
12
|
rich
|
|
@@ -15,8 +15,8 @@ systemrdl-compiler
|
|
|
15
15
|
types-pyyaml
|
|
16
16
|
vsg
|
|
17
17
|
|
|
18
|
-
[:python_version < "3.
|
|
19
|
-
|
|
18
|
+
[:python_version < "3.11"]
|
|
19
|
+
tomli
|
|
20
20
|
|
|
21
21
|
[dev]
|
|
22
22
|
flake8
|
{simplhdl-0.13.5 → simplhdl-0.13.7}/src/simplhdl_modelsim/resources/templates/modelsim/cocotb.mk.j2
RENAMED
|
@@ -21,7 +21,7 @@ else
|
|
|
21
21
|
export PYTHONPATH := {{pythonpath}}:$(PYTHONPATH)
|
|
22
22
|
endif
|
|
23
23
|
export LIBPYTHON_LOC := $(shell cocotb-config --libpython)
|
|
24
|
-
|
|
24
|
+
export GPI_USERS := {{get_gpi_users()}}
|
|
25
25
|
export PYGPI_PYTHON_BIN := $(shell cocotb-config --python-bin)
|
|
26
26
|
export COCOTB_TEST_MODULES := {{cocotbtop}}
|
|
27
27
|
export COCOTB_TOPLEVEL := {{cocotbdut}}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from systemrdl import RDLCompiler
|
|
4
|
+
from systemrdl.component import Addrmap, Component
|
|
5
|
+
from systemrdl.node import RootNode
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class SimplHDLRDLCompiler(RDLCompiler):
|
|
9
|
+
def elaborate_root_maps(self) -> list[RootNode]:
|
|
10
|
+
instantiated_map_ids: set[int] = set()
|
|
11
|
+
|
|
12
|
+
def collect_instantiated_maps(component: Component) -> None:
|
|
13
|
+
for child in component.children:
|
|
14
|
+
if isinstance(child.original_def, Addrmap):
|
|
15
|
+
instantiated_map_ids.add(id(child.original_def))
|
|
16
|
+
collect_instantiated_maps(child)
|
|
17
|
+
|
|
18
|
+
for definition in self.root.comp_defs.values():
|
|
19
|
+
collect_instantiated_maps(definition)
|
|
20
|
+
|
|
21
|
+
map_names: list[str] = [
|
|
22
|
+
name
|
|
23
|
+
for name, definition in self.root.comp_defs.items()
|
|
24
|
+
if isinstance(definition, Addrmap) and id(definition) not in instantiated_map_ids
|
|
25
|
+
]
|
|
26
|
+
return [self.elaborate(name) for name in map_names]
|